lib/replace: move sys/sockio.h and sys/un.h checks into AC_LIBREPLACE_NETWORK_CHECKS
authorStefan Metzmacher <metze@samba.org>
Fri, 16 May 2008 10:46:10 +0000 (12:46 +0200)
committerStefan Metzmacher <metze@samba.org>
Sat, 17 May 2008 11:18:33 +0000 (13:18 +0200)
metze
(cherry picked from commit 7f26a5425e706a97cc07c5139b3fea4fde9e4020)
(This used to be commit c97ff995e41d1cd31a7169e95ca415078da4a16c)

source3/lib/replace/libreplace.m4
source3/lib/replace/libreplace_network.m4

index 2b33d97989a44e8f429cfac7b8b8b34bf1e27c55..6a85ff5a82904fabfbe84e61a84f5adbc3a6bbe5 100644 (file)
@@ -96,7 +96,6 @@ fi
 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/sockio.h sys/un.h)
 AC_CHECK_HEADERS(sys/mount.h mntent.h)
 AC_CHECK_HEADERS(stropts.h)
 
index d29c13196dcce145d112dfbf68be77709020cee5..f2d177b165417ed988a135482d389c7c4a4531f3 100644 (file)
@@ -8,6 +8,7 @@ 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(sys/sockio.h sys/un.h)
 
 dnl we need to check that net/if.h really can be used, to cope with hpux
 dnl where including it always fails