summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2015-04-16 23:47:32 +0200
committerFrancis Dupont <fdupont@isc.org>2015-04-16 23:47:32 +0200
commitb4a10c76f139f8070780b71366fcc083cbb1f126 (patch)
treeaf270ad0edf4259666f5ad44d2a3562b80f8bdf5 /configure
parent1b245c913a93296cd6924d81cf7f876f874b080c (diff)
downloadisc-dhcp-b4a10c76f139f8070780b71366fcc083cbb1f126.tar.gz
rebased on #39300 for HP-UX make
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure17
1 files changed, 17 insertions, 0 deletions
diff --git a/configure b/configure
index 72862d21..e7ed8e0c 100755
--- a/configure
+++ b/configure
@@ -639,6 +639,8 @@ RANLIB
EGREP
GREP
CPP
+CROSS_COMPILING_FALSE
+CROSS_COMPILING_TRUE
BINDCONFIG
am__fastdepCC_FALSE
am__fastdepCC_TRUE
@@ -4449,6 +4451,17 @@ fi
# We can have some flags to pass to bind configure
BINDCONFIG=
+if test "$cross_compiling" = "yes"; then
+ BINDCONFIG="--host=$host"
+fi
+
+ if test "$cross_compiling" = "yes"; then
+ CROSS_COMPILING_TRUE=
+ CROSS_COMPILING_FALSE='#'
+else
+ CROSS_COMPILING_TRUE='#'
+ CROSS_COMPILING_FALSE=
+fi
# POSIX doesn't include the IPv6 Advanced Socket API and glibc hides
@@ -6988,6 +7001,10 @@ if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
+if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
+ as_fn_error $? "conditional \"CROSS_COMPILING\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
if test -z "${BIND_ATF_TRUE}" && test -z "${BIND_ATF_FALSE}"; then
as_fn_error $? "conditional \"BIND_ATF\" was never defined.