mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
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:
3
configure
vendored
3
configure
vendored
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user