summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 2dd9471..7bfe4f1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -63,7 +63,10 @@ AS_IF([test x$enable_libwrap = xyes], [
AC_SEARCH_LIBS([pthread_create], [pthread])
+SAVE_CPPFLAGS="$CPPFLAGS"
+CPPFLAGS="$CPPFLAGS $TIRPC_CFLAGS"
AC_CHECK_HEADERS([nss.h rpcsvc/mount.h])
+CPPFLAGS="$SAVE_CPPFLAGS"
# make sbindir available for substitution in config file
# 2 "evals" needed to expand variable names