From dfd5323bda7d48d2f63737910afaf17629b0e18d Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 18 Oct 2007 10:55:59 +0200 Subject: remove configure checks which are now in libreplace metze (This used to be commit 50d5eec508bd5b98b81825b4e20c06f698029fdf) --- source3/configure.in | 62 ---------------------------------------------------- 1 file changed, 62 deletions(-) (limited to 'source3') diff --git a/source3/configure.in b/source3/configure.in index d1a05d1b22..22989dbe53 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -2939,40 +2939,6 @@ SMB_CHECK_SYSCONF(_SC_NPROCESSORS_ONLN) SMB_CHECK_SYSCONF(_SC_PAGESIZE) AC_CHECK_FUNCS(getpagesize) -dnl test for socklen_t -AC_CACHE_CHECK([for socklen_t],samba_cv_HAVE_SA_FAMILY_T,[ -AC_TRY_COMPILE([ -#include -#include -#include -#include -#include -], -[ -socklen_t foo; -], -samba_cv_HAVE_SOCKLEN_T=yes,samba_cv_HAVE_SOCKLEN_T=no)]) -if test x"$samba_cv_HAVE_SOCKLEN_T" = x"yes"; then - AC_DEFINE(HAVE_SOCKLEN_T,1,[Whether the system has socklen_t]) -fi - -dnl test for sa_family_t -AC_CACHE_CHECK([for sa_family_t],samba_cv_HAVE_SA_FAMILY_T,[ -AC_TRY_COMPILE([ -#include -#include -#include -#include -#include -], -[ -sa_family_t foo; -], -samba_cv_HAVE_SA_FAMILY_T=yes,samba_cv_HAVE_SA_FAMILY_T=no)]) -if test x"$samba_cv_HAVE_SA_FAMILY_T" = x"yes"; then - AC_DEFINE(HAVE_SA_FAMILY_T,1,[Whether the system has sa_family_t]) -fi - dnl test for getifaddrs and freeifaddrs AC_CACHE_CHECK([for getifaddrs and freeifaddrs],samba_cv_HAVE_GETIFADDRS,[ AC_TRY_COMPILE([ @@ -3084,34 +3050,6 @@ if test x"$samba_cv_HAVE_IPV6" = x"yes"; then AC_DEFINE(HAVE_IPV6,1,[Whether the system has IPv6 support]) fi -dnl test for struct sockaddr_storage -AC_CACHE_CHECK([for struct sockaddr_storage],samba_cv_HAVE_STRUCT_SOCKADDR_STORAGE,[ -AC_TRY_COMPILE([ -#include -#include -#include ], -[ -struct sockaddr_storage sa_store; -], -samba_cv_HAVE_STRUCT_SOCKADDR_STORAGE=yes,samba_cv_HAVE_STRUCT_SOCKADDR_STORAGE=no)]) -if test x"$samba_cv_HAVE_STRUCT_SOCKADDR_STORAGE" = x"yes"; then - AC_DEFINE(HAVE_STRUCT_SOCKADDR_STORAGE,1,[Whether the system has struct sockaddr_storage]) -fi - -dnl test for struct struct sockaddr_in6 -AC_CACHE_CHECK([for struct sockaddr_in6],samba_cv_HAVE_STRUCT_SOCKADDR_IN6,[ -AC_TRY_COMPILE([ -#include -#include -#include ], -[ -struct sockaddr_in6 sa6; -], -samba_cv_HAVE_STRUCT_SOCKADDR_IN6=yes,samba_cv_HAVE_STRUCT_SOCKADDR_IN6=no)]) -if test x"$samba_cv_HAVE_STRUCT_SOCKADDR_IN6" = x"yes"; then - AC_DEFINE(HAVE_STRUCT_SOCKADDR_IN6,1,[Whether the system has struct sockaddr_in6]) -fi - ################################################ # look for a method of setting the effective uid seteuid=no; -- cgit