[SCM] Samba Shared Repository - branch v3-0-test updated - release-3-0-32-137-gd09c9b4

Michael Adam obnox at samba.org
Tue Jan 27 11:40:52 GMT 2009


The branch, v3-0-test has been updated
       via  d09c9b459638242b9df53cc82a8849699d572486 (commit)
      from  84433b32a9339662ddad9443b90beafdcd8a2044 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-test


- Log -----------------------------------------------------------------
commit d09c9b459638242b9df53cc82a8849699d572486
Author: Michael Adam <obnox at samba.org>
Date:   Tue Jan 27 12:37:13 2009 +0100

    libreplace: fix bug #6066 - netinet/ip.h present but cannot be compiled
    
    under solaris
    
    Michael

-----------------------------------------------------------------------

Summary of changes:
 source/lib/replace/libreplace.m4 |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/lib/replace/libreplace.m4 b/source/lib/replace/libreplace.m4
index e430a7f..d41a864 100644
--- a/source/lib/replace/libreplace.m4
+++ b/source/lib/replace/libreplace.m4
@@ -97,7 +97,10 @@ AC_CHECK_HEADERS(sys/syslog.h syslog.h)
 AC_CHECK_HEADERS(sys/time.h time.h)
 AC_CHECK_HEADERS(stdarg.h vararg.h)
 AC_CHECK_HEADERS(sys/socket.h netinet/in.h netdb.h arpa/inet.h)
-AC_CHECK_HEADERS(netinet/ip.h netinet/tcp.h netinet/in_systm.h netinet/in_ip.h)
+AC_CHECK_HEADERS([netinet/ip.h], [], [], [#ifdef HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif])
+AC_CHECK_HEADERS(netinet/tcp.h netinet/in_systm.h netinet/in_ip.h)
 AC_CHECK_HEADERS(sys/sockio.h sys/un.h)
 AC_CHECK_HEADERS(stropts.h)
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list