summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac24
1 files changed, 0 insertions, 24 deletions
diff --git a/configure.ac b/configure.ac
index 7361434a..ae7eb30b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -475,30 +475,6 @@ AC_ARG_WITH([ipv6],
475 [AS_HELP_STRING([--with-ipv6], [support IPv6 @<:@default=check@:>@])], 475 [AS_HELP_STRING([--with-ipv6], [support IPv6 @<:@default=check@:>@])],
476 [], [with_ipv6=check]) 476 [], [with_ipv6=check])
477 477
478dnl Check for AF_INET6 support - unistd.h required for Darwin
479if test "$with_ipv6" != "no"; then
480 AC_CACHE_CHECK([for IPv6 support], np_cv_sys_ipv6, [
481 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#ifdef HAVE_UNISTD_H
482 #include <unistd.h>
483 #endif
484 #include <netinet/in.h>
485 #include <sys/socket.h>]], [[struct sockaddr_in6 sin6;
486 void *p;
487
488 sin6.sin6_family = AF_INET6;
489 sin6.sin6_port = 587;
490 p = &sin6.sin6_addr;]])],[np_cv_sys_ipv6=yes],[np_cv_sys_ipv6=no])
491 ])
492 if test "$np_cv_sys_ipv6" = "no" -a "$with_ipv6" != "check"; then
493 AC_MSG_FAILURE([--with-ipv6 was given, but test for IPv6 support failed])
494 fi
495 if test "$np_cv_sys_ipv6" = "yes"; then
496 AC_DEFINE(USE_IPV6,1,[Enable IPv6 support])
497 fi
498 with_ipv6="$np_cv_sys_ipv6"
499fi
500
501
502dnl Checks for Kerberos. Must come before openssl checks for Redhat EL 3 478dnl Checks for Kerberos. Must come before openssl checks for Redhat EL 3
503AC_CHECK_HEADERS(krb5.h,FOUNDINCLUDE=yes,FOUNDINCLUDE=no) 479AC_CHECK_HEADERS(krb5.h,FOUNDINCLUDE=yes,FOUNDINCLUDE=no)
504if test "$FOUNDINCLUDE" = "no"; then 480if test "$FOUNDINCLUDE" = "no"; then