]> git.ipfire.org Git - thirdparty/dhcp.git/blobdiff - configure.ac
[#189] Whitespace fixes in opened files
[thirdparty/dhcp.git] / configure.ac
index d6924bf955b658769aef81f24d168420c17f0d60..c7ad192245404eb6f97f0799d83d4b5e311a982b 100644 (file)
@@ -1,4 +1,4 @@
-AC_INIT([DHCP],[4.4.0],[dhcp-users@isc.org])
+AC_INIT([DHCP],[4.4.2],[dhcp-users@isc.org])
 
 
 # we specify "foreign" to avoid having to have the GNU mandated files,
@@ -249,24 +249,15 @@ fi
 
 # Testing section
 
+# Bind Makefile needs to know ATF is not included.
+AM_CONDITIONAL(BIND_ATF, test "foo" = "barr")
+
 DISTCHECK_ATF_CONFIGURE_FLAG=
 atf_path="no"
 AC_ARG_WITH([atf],
-    AS_HELP_STRING([--with-atf=PATH],[specify location where atf was installed (or "bind")]),
+    AS_HELP_STRING([--with-atf=PATH],[specify location where atf was installed]),
     [atf_path="$withval"])
-AM_CONDITIONAL(BIND_ATF, test "$atf_path" = "bind")
-if test "$atf_path" = "bind" ; then
-    DISTCHECK_ATF_CONFIGURE_FLAG="--with-atf=bind"
-    atf_pcp="bind"
-    atf_path="\${top_srcdir}/bind/atf"
-    ATF_CFLAGS="-I$atf_path/include -DUNIT_TEST"
-    ATF_LDFLAGS="-L$atf_path/lib -latf-c"
-    ATF_BIN=`cd $srcdir; pwd`/bind/atf/bin
-    AC_SUBST(ATF_CFLAGS)
-    AC_SUBST(ATF_LDFLAGS)
-    AC_SUBST(ATF_BIN)
-    BINDCONFIG="$BINDCONFIG --with-atf"
-elif test "$atf_path" != "no" ; then
+if test "$atf_path" != "no" ; then
     DISTCHECK_ATF_CONFIGURE_FLAG="--with-atf=$atf_path"
     # Config path for pkg-config
     atf_pcp=""
@@ -638,7 +629,7 @@ if test "$have_nanosleep" = "rt"; then
        LIBS="-lrt $LIBS"
 fi
 
-# check for /dev/random (declares HAVE_DEV_RANDOM)
+# check for /dev/random (declares ISC_PATH_RANDOMDEV)
 AC_MSG_CHECKING(for random device)
 AC_ARG_WITH(randomdev,
        AS_HELP_STRING([--with-randomdev=PATH],[Path for random device
@@ -662,8 +653,8 @@ else
        else
                AC_MSG_RESULT($use_randomdev)
                AC_CHECK_FILE($use_randomdev,
-                   AC_DEFINE([HAVE_DEV_RANDOM], [1], 
-                       [Define to 1 if you have the /dev/random or other configured file.]),
+                   AC_DEFINE_UNQUOTED([ISC_PATH_RANDOMDEV], ["$use_randomdev"], 
+                       [Define if you have the /dev/random or other configured file.]),
                    AC_MSG_ERROR(cannot find $use_randomdev))
        fi
        BINDCONFIG="$BINDCONFIG --with-randomdev=$use_randomdev"
@@ -1009,9 +1000,11 @@ AC_CONFIG_FILES([
   dhcpctl/Makefile.am
   dhcpctl/Makefile
   includes/Makefile
+  keama/Makefile
   omapip/Makefile.am
   omapip/Makefile
   relay/Makefile
+  relay/tests/Makefile
   server/Makefile
   tests/Makefile.am
   tests/Makefile