summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-13 12:32:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:18:34 -0500
commit84a56aca154a9c9a7ae9465db739bf173424cef0 (patch)
treed0d72d551906e48892a54bca5e3b1a44fc99d89b /source4
parentf6de92d47c669088299debfcc77dd571c97cf15c (diff)
downloadsamba-84a56aca154a9c9a7ae9465db739bf173424cef0.tar.gz
samba-84a56aca154a9c9a7ae9465db739bf173424cef0.tar.bz2
samba-84a56aca154a9c9a7ae9465db739bf173424cef0.zip
r18465: much better fix for a roken specifiv problem
metze (This used to be commit 1ae1e68fe9e1004f1a11847714b2e71715a1ce03)
Diffstat (limited to 'source4')
-rw-r--r--source4/heimdal_build/config.m46
-rw-r--r--source4/lib/replace/libreplace.m411
2 files changed, 1 insertions, 16 deletions
diff --git a/source4/heimdal_build/config.m4 b/source4/heimdal_build/config.m4
index e27a30bf22..f2a1e2039a 100644
--- a/source4/heimdal_build/config.m4
+++ b/source4/heimdal_build/config.m4
@@ -116,11 +116,7 @@ cv=`echo "$1" | sed 'y%./+- %__p__%'`
AC_MSG_CHECKING(for $1)
AC_CACHE_VAL([ac_cv_type_$cv],
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
-#include <sys/types.h>
-#if STDC_HEADERS
-#include <stdlib.h>
-#include <stddef.h>
-#endif
+AC_INCLUDES_DEFAULT
$2]],
[[$1 foo;]])],
[eval "ac_cv_type_$cv=yes"],
diff --git a/source4/lib/replace/libreplace.m4 b/source4/lib/replace/libreplace.m4
index 8649a50bba..2fe48d4e22 100644
--- a/source4/lib/replace/libreplace.m4
+++ b/source4/lib/replace/libreplace.m4
@@ -70,17 +70,6 @@ AC_CHECK_TYPE(uint32_t, unsigned long)
AC_CHECK_TYPE(ssize_t, int)
AC_CHECK_TYPE(ptrdiff_t, unsigned long long)
-dnl these are needed for heimdal roken.h
-AC_CHECK_TYPE(struct sockaddr, [], [], [
-AC_INCLUDES_DEFAULT
-#include <sys/socket.h>])
-AC_CHECK_TYPE(struct sockaddr_storage, [], [], [
-AC_INCLUDES_DEFAULT
-#include <sys/socket.h>])
-AC_CHECK_TYPE(struct addrinfo, [], [], [
-AC_INCLUDES_DEFAULT
-#include <netdb.h>])
-
AC_TYPE_SIGNAL
AC_TYPE_UID_T
AC_TYPE_MODE_T