summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-05-21 22:31:08 +0200
committerStefan Metzmacher <metze@samba.org>2008-05-22 13:02:59 +0200
commit3b6b2f26fcad85d5fb44ee0f18d1a94a7245b44a (patch)
treefbc6fc22dc76f1ecf1b6e58e1b3628b3c0c7c4c8
parent5797e33b8171ee77762ea96dae7744f4bda255ee (diff)
downloadsamba-3b6b2f26fcad85d5fb44ee0f18d1a94a7245b44a.tar.gz
samba-3b6b2f26fcad85d5fb44ee0f18d1a94a7245b44a.tar.bz2
samba-3b6b2f26fcad85d5fb44ee0f18d1a94a7245b44a.zip
configure: remove HAVE_IPV6 test as LIBREPLACE_NETWORK_CHECKS already have this
metze (This used to be commit e94ff756be627b40c433cb53547007a5c219cc9e)
-rw-r--r--source3/configure.in23
1 files changed, 0 insertions, 23 deletions
diff --git a/source3/configure.in b/source3/configure.in
index f2691c47cf..8bc5e843e3 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -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;