aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-05-31 18:42:31 +0000
committerChristian Grothoff <christian@grothoff.org>2012-05-31 18:42:31 +0000
commit7de9f07b0fc3729679ad2678ce1a04aed88e0f7f (patch)
tree98c483f918b5fa57f69d8754b388485da4f2ecd3 /configure.ac
parentca8e0a2919ba490f89d7986865ceef679516f094 (diff)
downloadgnunet-7de9f07b0fc3729679ad2678ce1a04aed88e0f7f.tar.gz
gnunet-7de9f07b0fc3729679ad2678ce1a04aed88e0f7f.zip
-test for nss.h
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac12
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 2cc522bf6..a861bd409 100644
--- a/configure.ac
+++ b/configure.ac
@@ -339,6 +339,18 @@ else
339fi 339fi
340 340
341 341
342
343AC_CHECK_HEADERS([nss.h],[nss=true],[nss=false])
344if test x$nss = xnss
345then
346 AM_CONDITIONAL(HAVE_GLIBCNSS, false)
347 AC_MSG_WARN([No GNU libc nss header, will not build NSS plugin])
348else
349 AM_CONDITIONAL(HAVE_GLIBCNSS, true)
350fi
351
352
353
342# test for kvm and kstat (for CPU stats under BSD/Solaris) 354# test for kvm and kstat (for CPU stats under BSD/Solaris)
343AC_CHECK_LIB([kvm],[kvm_open]) 355AC_CHECK_LIB([kvm],[kvm_open])
344AC_CHECK_LIB([kstat],[kstat_open]) 356AC_CHECK_LIB([kstat],[kstat_open])