From 6e3b94d3bcaacba0fed4f977248b0fbe6fcd6812 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 15 Sep 2006 19:14:36 +0000 Subject: r18563: - move more of the header checks into lib/replace/ - change the test for net/if.h to do a full compile, not just an existance test. net/if.h is completely broken on hpux, and can never compile (it uses stuff before it defines it), so by using a AC_TRY_COMPILE() test we avoid using net/if.h on hpux, which should fix the build (This used to be commit bde18f3d5ce837f600bae8d63f31d92a579fe1f2) --- source4/lib/socket/config.m4 | 5 ----- 1 file changed, 5 deletions(-) (limited to 'source4/lib/socket') diff --git a/source4/lib/socket/config.m4 b/source4/lib/socket/config.m4 index 5cb567238c..250b3001eb 100644 --- a/source4/lib/socket/config.m4 +++ b/source4/lib/socket/config.m4 @@ -1,5 +1,3 @@ -AC_CHECK_HEADERS(sys/socket.h sys/sockio.h sys/un.h) - AC_CHECK_FUNCS(writev) AC_CHECK_FUNCS(readv) @@ -98,9 +96,6 @@ fi dnl don't build ipv6 by default, unless the above test enables it, or dnl the configure uses --with-static-modules=socket_ipv6 -AC_CHECK_HEADERS(arpa/inet.h net/if.h netdb.h netinet/in.h sys/time.h) -AC_CHECK_HEADERS(netinet/ip.h netinet/tcp.h netinet/in_systm.h netinet/in_ip.h) - ################## # look for a method of finding the list of network interfaces -- cgit