[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-4872-ga223b09

Michael Adam obnox at samba.org
Tue Jan 27 14:53:55 GMT 2009


The branch, v3-3-test has been updated
       via  a223b096700bc54b446a0e152c842b088566720b (commit)
      from  1b7beaed69823b3c401bc4c0b1c502b671169168 (commit)

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


- Log -----------------------------------------------------------------
commit a223b096700bc54b446a0e152c842b088566720b
Author: Michael Adam <obnox at samba.org>
Date:   Tue Jan 27 15:48:20 2009 +0100

    libreplace: fix detection of netinet/ip.h on solaris 8
    
    (The test needs to additionally include <netinet/in_systm.h>.)
    
    Michael

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

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


Changeset truncated at 500 lines:

diff --git a/source/lib/replace/libreplace_network.m4 b/source/lib/replace/libreplace_network.m4
index 5fc62fd..5d16459 100644
--- a/source/lib/replace/libreplace_network.m4
+++ b/source/lib/replace/libreplace_network.m4
@@ -7,10 +7,14 @@ LIBREPLACE_NETWORK_OBJS=""
 LIBREPLACE_NETWORK_LIBS=""
 
 AC_CHECK_HEADERS(sys/socket.h netinet/in.h netdb.h arpa/inet.h)
+AC_CHECK_HEADERS(netinet/in_systm.h)
 AC_CHECK_HEADERS([netinet/ip.h], [], [], [#ifdef HAVE_NETINET_IN_H
 #include <netinet/in.h>
+#endif
+#ifdef HAVE_NETINET_IN_SYSTM_H
+#include <netinet/in_systm.h>
 #endif])
-AC_CHECK_HEADERS(netinet/tcp.h netinet/in_systm.h netinet/in_ip.h)
+AC_CHECK_HEADERS(netinet/tcp.h netinet/in_ip.h)
 AC_CHECK_HEADERS(sys/sockio.h sys/un.h)
 
 dnl we need to check that net/if.h really can be used, to cope with hpux


-- 
Samba Shared Repository


More information about the samba-cvs mailing list