svn commit: samba r18465 - in branches/SAMBA_4_0/source: heimdal_build lib/replace

metze at samba.org metze at samba.org
Wed Sep 13 12:32:27 GMT 2006


Author: metze
Date: 2006-09-13 12:32:27 +0000 (Wed, 13 Sep 2006)
New Revision: 18465

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18465

Log:
much better fix for a roken specifiv problem

metze
Modified:
   branches/SAMBA_4_0/source/heimdal_build/config.m4
   branches/SAMBA_4_0/source/lib/replace/libreplace.m4


Changeset:
Modified: branches/SAMBA_4_0/source/heimdal_build/config.m4
===================================================================
--- branches/SAMBA_4_0/source/heimdal_build/config.m4	2006-09-13 11:40:21 UTC (rev 18464)
+++ branches/SAMBA_4_0/source/heimdal_build/config.m4	2006-09-13 12:32:27 UTC (rev 18465)
@@ -116,11 +116,7 @@
 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"],

Modified: branches/SAMBA_4_0/source/lib/replace/libreplace.m4
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/libreplace.m4	2006-09-13 11:40:21 UTC (rev 18464)
+++ branches/SAMBA_4_0/source/lib/replace/libreplace.m4	2006-09-13 12:32:27 UTC (rev 18465)
@@ -70,17 +70,6 @@
 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



More information about the samba-cvs mailing list