From 15dc9278951ff9070e2fe10bedb45911094c6971 Mon Sep 17 00:00:00 2001 From: imaginos Date: Tue, 24 Aug 2004 22:49:36 +0000 Subject: [PATCH] switch to ISSUN bool git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@13 726aef4b-f618-498e-8847-2d620e286838 --- configure | 3 ++- configure.in | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/configure b/configure index bd58b110..75d9f4e5 100755 --- a/configure +++ b/configure @@ -1866,6 +1866,7 @@ if `echo $host_os | grep -i 'freebsd' >/dev/null 2>/dev/null`; then appendLib -L/usr/local/lib -lcompat elif `echo $host_os | grep -i 'sol' >/dev/null 2>/dev/null`; then appendLib -lsocket -lnsl + ISSUN=1 fi @@ -2760,7 +2761,7 @@ fi MODFLAGS="$MODFLAGS -I`pwd`" MODTARGET="modules" appendLib -ldl - if `echo $host_os | grep -i 'sol' >/dev/null 2>/dev/null`; then + if test -n "$ISSUN"; then appendCXX -mimpure-text fi fi diff --git a/configure.in b/configure.in index bab839d5..bc09f77e 100644 --- a/configure.in +++ b/configure.in @@ -32,6 +32,7 @@ if `echo $host_os | grep -i 'freebsd' >/dev/null 2>/dev/null`; then appendLib -L/usr/local/lib -lcompat elif `echo $host_os | grep -i 'sol' >/dev/null 2>/dev/null`; then appendLib -lsocket -lnsl + ISSUN=1 fi AC_ARG_WITH( openssl, [ --with-openssl=/path/to/openssl], OPENSSL=$withval,) @@ -56,7 +57,7 @@ if test "$MODULES" = "yes"; then MODFLAGS="$MODFLAGS -I`pwd`" MODTARGET="modules" appendLib -ldl - if `echo $host_os | grep -i 'sol' >/dev/null 2>/dev/null`; then + if test -n "$ISSUN"; then appendCXX -mimpure-text fi fi