summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-08-22 13:35:55 -0700
committerRoland McGrath <roland@hack.frob.com>2012-08-22 13:35:55 -0700
commitc53d909c80a6c61a96e488b7efc0b1d41d56a4ea (patch)
tree657bd84a3214797bdc56201fca26fe9e92ce6713 /configure
parent3cc3ef96d6c060e9d45b43f5482dc4e03945b30e (diff)
Add --disable-build-nscd configure option.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure15
1 files changed, 15 insertions, 0 deletions
diff --git a/configure b/configure
index 6301a1b3d9..e240576645 100755
--- a/configure
+++ b/configure
@@ -655,6 +655,7 @@ multi_arch
base_machine
add_on_subdirs
add_ons
+build_nscd
link_obsolete_rpc
libc_cv_nss_crypt
all_warnings
@@ -751,6 +752,7 @@ enable_multi_arch
enable_nss_crypt
enable_obsolete_rpc
enable_systemtap
+enable_build_nscd
enable_nscd
with_cpu
'
@@ -1410,6 +1412,7 @@ Optional Features:
--enable-obsolete-rpc build and install the obsolete RPC code for
link-time usage
--enable-systemtap enable systemtap static probe points [default=no]
+ --disable-build-nscd disable building and installing the nscd daemon
--disable-nscd library functions will not contact the nscd daemon
Optional Packages:
@@ -3756,6 +3759,15 @@ See \`config.log' for more details" "$LINENO" 5; }
fi
fi
+# Check whether --enable-build-nscd was given.
+if test "${enable_build_nscd+set}" = set; then :
+ enableval=$enable_build_nscd; build_nscd=$enableval
+else
+ build_nscd=default
+fi
+
+
+
# Note the use of $use_nscd is near the bottom of the file.
# Check whether --enable-nscd was given.
if test "${enable_nscd+set}" = set; then :
@@ -7423,6 +7435,9 @@ if test "x$use_nscd" != xno; then
$as_echo "#define USE_NSCD 1" >>confdefs.h
fi
+if test "x$build_nscd" = xdefault; then
+ build_nscd=$use_nscd
+fi
# Test for old glibc 2.0.x headers so that they can be removed properly
# Search only in includedir.