r18465: much better fix for a roken specifiv problem
authorStefan Metzmacher <metze@samba.org>
Wed, 13 Sep 2006 12:32:27 +0000 (12:32 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:18:34 +0000 (14:18 -0500)
metze
(This used to be commit 1ae1e68fe9e1004f1a11847714b2e71715a1ce03)

source4/heimdal_build/config.m4
source4/lib/replace/libreplace.m4

index e27a30bf2257c19c0a46bd371db73547f91cda73..f2a1e2039a0a3389b10480bdef0980b147fdbf5a 100644 (file)
@@ -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"],
index 8649a50bba91156d891d3184153224906d79ff5a..2fe48d4e220b77e50aefe04a6d54052bf75bd0e5 100644 (file)
@@ -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