configure: remove HAVE_IPV6 test as LIBREPLACE_NETWORK_CHECKS already have this
authorStefan Metzmacher <metze@samba.org>
Wed, 21 May 2008 20:31:08 +0000 (22:31 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 22 May 2008 11:02:59 +0000 (13:02 +0200)
metze
(This used to be commit e94ff756be627b40c433cb53547007a5c219cc9e)

source3/configure.in

index f2691c47cf3c7fb27b2eb4e4dcd116c955d7f046..8bc5e843e3aef0b4bbd2d3be6e5beab7d2729799 100644 (file)
@@ -2609,29 +2609,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;