aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 84dae585..8fd6d8e7 100644
--- a/configure.in
+++ b/configure.in
@@ -205,6 +205,11 @@ AC_ARG_ENABLE(netsec,
echo ' for network security support. Either it does not exist, or it was';
echo ' not built with network security support enabled.';
exit 1]) ])
+ unset ac_cv_header_net_security_h; AC_CHECK_HEADER(net/security.h,,
+ [ unset ac_cv_header_net_security_h; CPPFLAGS="$CPPFLAGS -I/usr/inet6/include"; CFLAGS="$CFLAGS -I/usr/inet6/include"; AC_CHECK_HEADER(net/security.h,,
+ [ echo 'configure: cannot find <net/security.h>, which is required for network security';
+ echo ' support.';
+ exit 1]) ])
AC_DEFINE(NET_SECURITY, 1) ])
### use option --with-gssapi=DIR to compile in GSSAPI support