aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 745300939..d4ef1ed4e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -705,7 +705,14 @@ then
705 AM_CONDITIONAL(HAVE_GLIBCNSS, false) 705 AM_CONDITIONAL(HAVE_GLIBCNSS, false)
706 AC_MSG_WARN([No GNU libc nss header, will not build NSS plugin]) 706 AC_MSG_WARN([No GNU libc nss header, will not build NSS plugin])
707else 707else
708 AM_CONDITIONAL(HAVE_GLIBCNSS, true) 708 NSS_INCLUDES="
709 #include <nss.h>
710 "
711 AC_CHECK_DECL([NSS_STATUS_UNAVAIL],
712 [AM_CONDITIONAL(HAVE_GLIBCNSS, true)],
713 [AM_CONDITIONAL(HAVE_GLIBCNSS, false)
714 AC_MSG_WARN([No nss header fails to define NSS_STATUS_UNAVAIl, will not build NSS plugin])],
715 [$NSS_INCLUDES])
709fi 716fi
710 717
711 718