diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-02-24 13:43:22 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-02-24 13:43:22 +0100 |
commit | 41d45203ffd0936acbd4649b23e926b90c9a3333 (patch) | |
tree | 8497ddcfdd715fbd5a038d680ffab1229af3bbbc /configure.ac | |
parent | 8fe30a808b12159162d5ecebbba040d976fe91fd (diff) | |
download | gnunet-41d45203ffd0936acbd4649b23e926b90c9a3333.tar.gz gnunet-41d45203ffd0936acbd4649b23e926b90c9a3333.zip |
trying to fix #5605
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
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]) |
707 | else | 707 | else |
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]) | ||
709 | fi | 716 | fi |
710 | 717 | ||
711 | 718 | ||