From 84a56aca154a9c9a7ae9465db739bf173424cef0 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 13 Sep 2006 12:32:27 +0000 Subject: r18465: much better fix for a roken specifiv problem metze (This used to be commit 1ae1e68fe9e1004f1a11847714b2e71715a1ce03) --- source4/heimdal_build/config.m4 | 6 +----- source4/lib/replace/libreplace.m4 | 11 ----------- 2 files changed, 1 insertion(+), 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 -#if STDC_HEADERS -#include -#include -#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 ]) -AC_CHECK_TYPE(struct sockaddr_storage, [], [], [ -AC_INCLUDES_DEFAULT -#include ]) -AC_CHECK_TYPE(struct addrinfo, [], [], [ -AC_INCLUDES_DEFAULT -#include ]) - AC_TYPE_SIGNAL AC_TYPE_UID_T AC_TYPE_MODE_T -- cgit