From 41d45203ffd0936acbd4649b23e926b90c9a3333 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 24 Feb 2019 13:43:22 +0100 Subject: trying to fix #5605 --- configure.ac | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 745300939..d4ef1ed4e 100644 --- a/configure.ac +++ b/configure.ac @@ -705,7 +705,14 @@ then AM_CONDITIONAL(HAVE_GLIBCNSS, false) AC_MSG_WARN([No GNU libc nss header, will not build NSS plugin]) else - AM_CONDITIONAL(HAVE_GLIBCNSS, true) + NSS_INCLUDES=" + #include + " + AC_CHECK_DECL([NSS_STATUS_UNAVAIL], + [AM_CONDITIONAL(HAVE_GLIBCNSS, true)], + [AM_CONDITIONAL(HAVE_GLIBCNSS, false) + AC_MSG_WARN([No nss header fails to define NSS_STATUS_UNAVAIl, will not build NSS plugin])], + [$NSS_INCLUDES]) fi -- cgit v1.2.3