summaryrefslogtreecommitdiffstats
path: root/source/configure.in
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-05-21 22:31:08 +0200
committerKarolin Seeger <kseeger@samba.org>2008-05-22 16:47:44 +0200
commit470ed008bc1e2c42ef8857e78a57cabf6e8323fc (patch)
tree80e08e2283e0fc8c445c6766be6f46b533550d97 /source/configure.in
parentde837b6dd24b97738c9cca060a8d2b6882dc79cd (diff)
downloadsamba-470ed008bc1e2c42ef8857e78a57cabf6e8323fc.tar.gz
samba-470ed008bc1e2c42ef8857e78a57cabf6e8323fc.tar.xz
samba-470ed008bc1e2c42ef8857e78a57cabf6e8323fc.zip
configure: remove HAVE_IPV6 test as LIBREPLACE_NETWORK_CHECKS already have this
metze (cherry picked from commit c03fa242403fe28bc2b6ea84834457ce2410d3ca)
Diffstat (limited to 'source/configure.in')
-rw-r--r--source/configure.in23
1 files changed, 0 insertions, 23 deletions
diff --git a/source/configure.in b/source/configure.in
index 1da612a631c..e75da76bb64 100644
--- a/source/configure.in
+++ b/source/configure.in
@@ -2604,29 +2604,6 @@ SMB_CHECK_SYSCONF(_SC_NPROCESSORS_ONLN)
SMB_CHECK_SYSCONF(_SC_PAGESIZE)
AC_CHECK_FUNCS(getpagesize)
-dnl test for ipv6
-AC_CACHE_CHECK([for ipv6 support],samba_cv_HAVE_IPV6,[
-AC_TRY_COMPILE([
-#include <stdlib.h> /* for NULL */
-#include <sys/socket.h>
-#include <sys/types.h>
-#include <netdb.h>],
-[
-struct sockaddr_storage sa_store;
-struct addrinfo *ai = NULL;
-struct in6_addr in6addr;
-int s = socket(AF_INET6, SOCK_STREAM, 0);
-int ret = getaddrinfo(NULL, NULL, NULL, &ai);
-if (ret != 0) {
- const char *es = gai_strerror(ret);
-}
-freeaddrinfo(ai);
-],
-samba_cv_HAVE_IPV6=yes,samba_cv_HAVE_IPV6=no)])
-if test x"$samba_cv_HAVE_IPV6" = x"yes"; then
- AC_DEFINE(HAVE_IPV6,1,[Whether the system has IPv6 support])
-fi
-
################################################
# look for a method of setting the effective uid
seteuid=no;