summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@suse.de>2014-12-16 12:49:17 -0500
committerSteve Dickson <steved@redhat.com>2014-12-16 13:08:27 -0500
commitee114b7a9447428a24e27aa4a95823df2d682d7f (patch)
treee0080ce8427ed5be0b5c3a1e71ab34b9823462f6
parent6222337afc7f9089911dea4ce4b3896c12cfaf9f (diff)
downloadrpcbind-ee114b7a9447428a24e27aa4a95823df2d682d7f.tar.gz
configure: check for <nss.h>
There's code in rpcbind that tries to configure nss lookups so that it avoids NIS when resolving user names or service names. Unfortunately, this code is turned into a no-op unless HAVE_NSS_H is defined. Which it is not unless the configure script actually checks for it. Signed-off-by: Olaf Kirch <okir@suse.de> Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 75e7e71..27496c7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,4 +55,6 @@ AS_IF([test x$enable_libwrap = xyes], [
AC_SEARCH_LIBS([pthread_create], [pthread])
+AC_CHECK_HEADERS(nss.h)
+
AC_OUTPUT([Makefile])