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

Michael Adam obnox at samba.org
Tue Jan 27 11:36:56 GMT 2009


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

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


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

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

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

Summary of changes:
 source/lib/replace/libreplace_network.m4 |    5 ++++-
 1 files changed, 4 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 4edb55c..5fc62fd 100644
--- a/source/lib/replace/libreplace_network.m4
+++ b/source/lib/replace/libreplace_network.m4
@@ -7,7 +7,10 @@ LIBREPLACE_NETWORK_OBJS=""
 LIBREPLACE_NETWORK_LIBS=""
 
 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)
 
 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