diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index f79e9135..129583e6 100644 --- a/configure.ac +++ b/configure.ac @@ -250,8 +250,11 @@ if test "x${have_nss_includes}${have_nss_libs}" != "xyesyes"; then if test "$enable_server" == "check"; then AC_MSG_WARN([will not build stap-server, cannot find all libraries]) fi +else + AC_DEFINE([HAVE_NSS], [1], [Define to 1 if you have the nss libraries.]) fi AM_CONDITIONAL([BUILD_SERVER], [test "x${have_nss_includes}${have_nss_libs}" == "xyesyes" -a "$enable_server" != "no"]) +AM_CONDITIONAL([HAVE_NSS], [test "x${have_nss_includes}${have_nss_libs}" == "xyesyes"]) dnl Handle the optional grapher AC_ARG_ENABLE([grapher], |