mirror of
https://github.com/znc/znc.git
synced 2026-07-30 05:23:53 +02:00
check to see if lib gnugetopt is required
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@634 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+3
-1
@@ -29,7 +29,7 @@ function appendCXX {
|
||||
}
|
||||
if `echo $host_os | grep -i 'freebsd' >/dev/null 2>/dev/null`; then
|
||||
appendInc -I/usr/local/include
|
||||
appendLib -L/usr/local/lib -lcompat -lgnugetopt
|
||||
appendLib -L/usr/local/lib -lcompat
|
||||
appendCXX -D__GNU_LIBRARY__
|
||||
elif `echo $host_os | grep -i 'sol' >/dev/null 2>/dev/null`; then
|
||||
appendLib -lsocket -lnsl
|
||||
@@ -46,7 +46,9 @@ AC_ARG_ENABLE( ipv6, [ --enable-ipv6 enable ipv6 support], appendCXX -DHAVE_IP
|
||||
AC_ARG_ENABLE( modules, [ --disable-modules disable modules], MODULES="no", MODULES="yes")
|
||||
AC_ARG_ENABLE( openssl, [ --disable-openssl disable openssl], NOSSL=1,)
|
||||
AC_ARG_ENABLE( perl, [ --disable-perl disable perl], NOPERL=1,)
|
||||
AC_ARG_ENABLE( ipv6, [ --enable-ipv6 enable ipv6 support], appendCXX -DHAVE_IPV6,)
|
||||
|
||||
AC_CHECK_LIB( gnugetopt, getopt_long,)
|
||||
AC_CHECK_FUNCS( stat lstat chmod open, , echo "Missing Required libc feature" && exit 1)
|
||||
if test "$MODULES" = "yes"; then
|
||||
AC_CHECK_FUNC( dlopen,NOCHECK_DL=1,)
|
||||
|
||||
Reference in New Issue
Block a user