--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
+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.
fi
dnl extra argument: --with-dhcp
+WITH_DHCP=yes
AC_ARG_WITH(dhcp,
-[ --with-dhcp Compile in DHCP support. (default=no)],
+[ --with-dhcp Compile in DHCP support. (default=yes)],
[ case "$withval" in
yes)
- AC_DEFINE(WITH_DHCP, [1], [Include experimental support for DHCP])
- ;;
+ ;;
*)
- ;;
+ WITH_DHCP=no
esac ]
)
+if test "x$WITH_DHCP" = "xyes"; then
+ AC_DEFINE(WITH_DHCP, [1], [define if you want DHCP support])
+fi
dnl #
SOURCES := acct.c auth.c client.c conffile.c crypt.c exec.c files.c \
listen.c log.c mainconfig.c modules.c modcall.c \
- radiusd.c stats.c soh.c connection.c \
+ radiusd.c stats.c soh.c connection.c dhcpd.c \
session.c threads.c util.c valuepair.c version.c \
xlat.c process.c realms.c evaluate.c vmps.c detail.c
ifneq ($(OPENSSL_LIBS),)