--disable-dependency-tracking speeds up one-time build
--enable-dependency-tracking do not reject slow dependency extractors
--enable-dhcpv6 enable support for DHCPv6 (default is yes)
+ --enable-paranoia enable support for chroot/setuid (default is no)
+ --eanble-early-chroot enable chrooting prior to configuration (default is
+ no)
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
fi
+# PARANOIA is off by default (until we can test it with all features)
+# Check whether --enable-paranoia was given.
+if test "${enable_paranoia+set}" = set; then
+ enableval=$enable_paranoia;
+fi
+
+# Check whether --enable-early_chroot was given.
+if test "${enable_early_chroot+set}" = set; then
+ enableval=$enable_early_chroot;
+fi
+
+# If someone enables early chroot, but does not enable paranoia, do so for
+# them.
+if test "$enable_paranoia" != "yes" && \
+ test "$enable_early_chroot" = "yes" ; then
+ enable_paranoia="yes"
+fi
+
+if test "$enable_paranoia" = "yes" ; then
+
+cat >>confdefs.h <<\_ACEOF
+#define PARANOIA 1
+_ACEOF
+
+fi
+if test "$enable_early_chroot" = "yes" ; then
+
+cat >>confdefs.h <<\_ACEOF
+#define EARLY_CHROOT 1
+_ACEOF
+
+fi
+
###
### Path fun. Older versions of DHCP were installed in /usr/sbin, so we
### need to look there and potentially overwrite by default (but not if