switch to ISSUN bool

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@13 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
imaginos
2004-08-24 22:49:36 +00:00
parent 1cdb55995c
commit 15dc927895
2 changed files with 4 additions and 2 deletions

3
configure vendored
View File

@@ -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

View File

@@ -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