STATIC_MODULES = @STATIC_MODULES@
LIBREADLINE = @LIBREADLINE@
+WITH_DHCP = @WITH_DHCP@
+
#
# Version to use for packaging and other Make related things
#
SNMPGET
PERL
openssl_version_check_config
+WITH_DHCP
modconfdir
dictdir
raddbdir
fi
+
STATIC_MODULES=
# Check whether --with-static_modules was given.
if test "x$WITH_DHCP" = "xyes"; then
AC_DEFINE(WITH_DHCP, [1], [define if you want DHCP support])
fi
+AC_SUBST(WITH_DHCP)
dnl #
dnl # Allow the user to specify a list of modules to be linked
+ifneq "$(WITH_DHCP)" "no"
SUBMAKEFILES := libfreeradius-dhcp.mk proto_dhcp.mk rlm_dhcp.mk dhcpclient.mk
+endif