summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2016-10-01 00:12:07 +0200
committerFrancis Dupont <fdupont@isc.org>2016-10-01 00:12:07 +0200
commit6831578226aa308f2d90c10c1c5a41870e085ec6 (patch)
tree62a82055c430aa9ed215664b4cd32010050cbaed /configure
parenta1372bbec77052d550678db54ee2c10721480177 (diff)
downloadisc-dhcp-6831578226aa308f2d90c10c1c5a41870e085ec6.tar.gz
Solved the --with-libbind vs distchek issue
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure18
1 files changed, 18 insertions, 0 deletions
diff --git a/configure b/configure
index cf533b54..975ec212 100755
--- a/configure
+++ b/configure
@@ -627,6 +627,9 @@ LTLIBOBJS
LIBOBJS
LDAP_CFLAGS
LDAP_LIBS
+HAVE_BINDDIR_FALSE
+HAVE_BINDDIR_TRUE
+DISTCHECK_LIBBIND_CONFIGURE_FLAG
BINDLIBISCDIR
BINDLIBISCCFGDIR
BINDLIBDNSDIR
@@ -6907,6 +6910,7 @@ BINDLIBIRSDIR=
BINDLIBDNSDIR=
BINDLIBISCCFGDIR=
BINDLIBISCDIR=
+DISTCHECK_LIBBIND_CONFIGURE_FLAG=
# Check whether --with-libbind was given.
if test "${with_libbind+set}" = set; then :
@@ -6959,6 +6963,7 @@ no)
BINDLIBDNSDIR="$BINDDIR/lib"
BINDLIBISCCFGDIR="$BINDDIR/lib"
BINDLIBISCDIR="$BINDDIR/lib"
+ DISTCHECK_LIBBIND_CONFIGURE_FLAG="--with-libbind=$use_libbind"
;;
esac
@@ -6969,6 +6974,15 @@ esac
+ if test "$use_libbind" = "no"; then
+ HAVE_BINDDIR_TRUE=
+ HAVE_BINDDIR_FALSE='#'
+else
+ HAVE_BINDDIR_TRUE='#'
+ HAVE_BINDDIR_FALSE=
+fi
+
+
# OpenLDAP support.
# Check whether --with-ldap was given.
@@ -7498,6 +7512,10 @@ if test -z "${HAVE_ATF_TRUE}" && test -z "${HAVE_ATF_FALSE}"; then
as_fn_error $? "conditional \"HAVE_ATF\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
+if test -z "${HAVE_BINDDIR_TRUE}" && test -z "${HAVE_BINDDIR_FALSE}"; then
+ as_fn_error $? "conditional \"HAVE_BINDDIR\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
: "${CONFIG_STATUS=./config.status}"
ac_write_fail=0