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 #
./Make.inc \
./src/include/build-radpaths-h \
./src/main/Makefile \
+ ./src/main/radsniff.mk \
./src/main/checkrad.pl \
./src/main/radlast \
./src/main/radtest \