summaryrefslogtreecommitdiff
path: root/source3/lib/replace
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-05-16 12:46:10 +0200
committerStefan Metzmacher <metze@samba.org>2008-05-17 13:18:33 +0200
commit7bff7f433e864a21cae8df814394d13848f0c885 (patch)
treeb927e8647d6168d8e729dc3358f7b565b317ee3a /source3/lib/replace
parentb800fad625d4f9be6499d59d8b3119f84e3fc54e (diff)
downloadsamba-7bff7f433e864a21cae8df814394d13848f0c885.tar.gz
samba-7bff7f433e864a21cae8df814394d13848f0c885.tar.bz2
samba-7bff7f433e864a21cae8df814394d13848f0c885.zip
lib/replace: move sys/sockio.h and sys/un.h checks into AC_LIBREPLACE_NETWORK_CHECKS
metze (cherry picked from commit 7f26a5425e706a97cc07c5139b3fea4fde9e4020) (This used to be commit c97ff995e41d1cd31a7169e95ca415078da4a16c)
Diffstat (limited to 'source3/lib/replace')
-rw-r--r--source3/lib/replace/libreplace.m41
-rw-r--r--source3/lib/replace/libreplace_network.m41
2 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/replace/libreplace.m4 b/source3/lib/replace/libreplace.m4
index 2b33d97989..6a85ff5a82 100644
--- a/source3/lib/replace/libreplace.m4
+++ b/source3/lib/replace/libreplace.m4
@@ -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)
diff --git a/source3/lib/replace/libreplace_network.m4 b/source3/lib/replace/libreplace_network.m4
index d29c13196d..f2d177b165 100644
--- a/source3/lib/replace/libreplace_network.m4
+++ b/source3/lib/replace/libreplace_network.m4
@@ -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