--with-ascend-binary Include support for Ascend binary filter attributes (default=yes)
--with-threads Use threads, if available. (default=yes)
--with-vmps Compile in VMPS support. (default=yes)
- --with-dhcp Compile in DHCP support. (default=no)
+ --with-dhcp Compile in DHCP support. (default=yes)
--with-static-modules=QUOTED-MODULE-LIST
--with-modules=QUOTED-MODULE-LIST
--with-experimental-modules Use experimental and unstable modules. (default=no)
fi
+if test "x$GCC" = "xyes"; then
+ CFLAGS="$CFLAGS -Wall -D_GNU_SOURCE"
+fi
+
# Check whether --enable-largefile was given.
if test "${enable_largefile+set}" = set; then
enableval=$enable_largefile;
if test "${with_system_libltdl+set}" = set; then
withval=$with_system_libltdl;
LIBLTDL="-lltdl"
-INCLTDL=
+INCLTDL=-DWITH_SYSTEM_LTDL
LTDL_SUBDIRS=
else
fi
-else
- LIBTOOL="`pwd`/libtool"
+else
+
+ LIBTOOL="`pwd`/libtool"
+
fi
+WITH_DHCP=yes
# Check whether --with-dhcp was given.
if test "${with_dhcp+set}" = set; then
withval=$with_dhcp; case "$withval" in
yes)
+ ;;
+ *)
+ WITH_DHCP=no
+ esac
+
+fi
+
+if test "x$WITH_DHCP" = "xyes"; then
cat >>confdefs.h <<\_ACEOF
#define WITH_DHCP 1
_ACEOF
- ;;
- *)
- ;;
- esac
-
fi
+
+
STATIC_MODULES=
# Check whether --with-static_modules was given.
+
+
for ac_header in \
unistd.h \
crypt.h \
prot.h \
pwd.h \
grp.h \
+ stddef.h \
fnmatch.h \
sia.h \
siad.h
+
for ac_header in \
openssl/ssl.h \
openssl/crypto.h \
openssl/err.h \
openssl/evp.h \
+ openssl/md5.h \
+ openssl/md4.h \
+ openssl/sha.h \
openssl/ocsp.h \
openssl/engine.h
do
/* end confdefs.h. */
#include <utmpx.h>
+#ifdef HAVE_STDDEF_H
+#include <stddef.h>
+#endif
#ifndef offsetof
#define offsetof(TYPE, MEMBER) ((int) &((TYPE *)0)->MEMBER)
#endif
/* end confdefs.h. */
#include <netinet/in.h>
+#ifdef HAVE_STDDEF_H
+#include <stddef.h>
+#endif
#ifndef offsetof
#define offsetof(TYPE, MEMBER) ((int) &((TYPE *)0)->MEMBER)
#endif
/* end confdefs.h. */
#include <netinet/in.h>
+#ifdef HAVE_STDDEF_H
+#include <stddef.h>
+#endif
#ifndef offsetof
#define offsetof(TYPE, MEMBER) ((int) &((TYPE *)0)->MEMBER)
#endif
fi
-if test "x$GCC" = "xyes"; then
- CFLAGS="$CFLAGS -Wall -D_GNU_SOURCE"
-fi
-
{ echo "$as_me:$LINENO: checking for developer gcc flags" >&5
echo $ECHO_N "checking for developer gcc flags... $ECHO_C" >&6; }
if test "x$developer" = "xyes" -a "x$GCC" = "xyes"; then
unset ac_cv_env_LIBS_set
unset ac_cv_env_LIBS_value
- ac_config_files="$ac_config_files ./Make.inc ./src/include/build-radpaths-h ./src/main/Makefile ./src/main/checkrad.pl ./src/main/radlast ./src/main/radtest ./scripts/rc.radiusd ./scripts/radwatch ./scripts/radiusd.cron.daily ./scripts/radiusd.cron.monthly ./scripts/cryptpasswd ./raddb/dictionary ./raddb/radrelay.conf ./raddb/radiusd.conf"
+ ac_config_files="$ac_config_files ./Make.inc ./src/include/build-radpaths-h ./src/main/Makefile ./src/main/radsniff.mk ./src/main/checkrad.pl ./src/main/radlast ./src/main/radtest ./scripts/rc.radiusd ./scripts/radwatch ./scripts/radiusd.cron.daily ./scripts/radiusd.cron.monthly ./scripts/cryptpasswd ./raddb/dictionary ./raddb/radrelay.conf ./raddb/radiusd.conf"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure