summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2015-04-18 10:08:26 +0200
committerFrancis Dupont <fdupont@isc.org>2015-04-18 10:08:26 +0200
commitf2d20b9e7accef90b0f996fb0ed07168770ccf19 (patch)
tree278572f4cd5fc75a5839c31f63692c81a05498d8 /configure
parentf3b6151972048f6ab832d526b0aff48772ad9c1c (diff)
downloadisc-dhcp-f2d20b9e7accef90b0f996fb0ed07168770ccf19.tar.gz
regen
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure b/configure
index 936660bc..1b74d509 100755
--- a/configure
+++ b/configure
@@ -629,6 +629,7 @@ LDAP_CFLAGS
BINDSRCDIR
BINDDIR
ac_prefix_program
+DISTCHECK_ATF_CONFIGURE_FLAG
HAVE_ATF_FALSE
HAVE_ATF_TRUE
ATF_BIN
@@ -5430,6 +5431,7 @@ fi
# Testing section
+DISTCHECK_ATF_CONFIGURE_FLAG=
atf_path="no"
# Check whether --with-atf was given.
@@ -5446,6 +5448,7 @@ else
fi
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"
@@ -5456,6 +5459,7 @@ if test "$atf_path" = "bind" ; then
BINDCONFIG="$BINDCONFIG --with-atf"
elif test "$atf_path" != "no" ; then
+ DISTCHECK_ATF_CONFIGURE_FLAG="--with-atf=$atf_path"
# Config path for pkg-config
atf_pcp=""
if test "$atf_path" != "yes" ; then
@@ -5516,6 +5520,7 @@ $as_echo "#define HAVE_ATF 1" >>confdefs.h
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
@@ -6529,6 +6534,8 @@ fi
# figure out pointer size
+SAVE_CFLAGS="$CFLAGS"
+CFLAGS="$CFLAGS -I$srcdir"
# The cast to long int works around a bug in the HP C Compiler
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
@@ -6566,6 +6573,7 @@ cat >>confdefs.h <<_ACEOF
_ACEOF
+CFLAGS="$SAVE_CFLAGS"
# Solaris does not have the msg_control or msg_controlen members
# in the msghdr structure unless you define: