summaryrefslogtreecommitdiff
path: root/source3/lib/replace/libreplace.m4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-06-02 09:10:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:05 -0500
commite893d7f021d149803aa85e347e0a8acefde210ac (patch)
tree9af37dc1bf763b66cf94b8669ff1aa8ab6c77bb2 /source3/lib/replace/libreplace.m4
parentb25bebb960eee796d5c5b1483f20250ed286894b (diff)
downloadsamba-e893d7f021d149803aa85e347e0a8acefde210ac.tar.gz
samba-e893d7f021d149803aa85e347e0a8acefde210ac.tar.bz2
samba-e893d7f021d149803aa85e347e0a8acefde210ac.zip
r23309: sync lib/replace with SAMBA_4_0
metze (This used to be commit 20965d800fcac0c55853fb12cdd36b5836fc7e56)
Diffstat (limited to 'source3/lib/replace/libreplace.m4')
-rw-r--r--source3/lib/replace/libreplace.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/lib/replace/libreplace.m4 b/source3/lib/replace/libreplace.m4
index e9b19b7cf5..f06d7f83dc 100644
--- a/source3/lib/replace/libreplace.m4
+++ b/source3/lib/replace/libreplace.m4
@@ -99,7 +99,7 @@ AC_CHECK_HEADERS(stdarg.h vararg.h)
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)
-
+AC_CHECK_HEADERS(sys/mount.h mntent.h)
dnl we need to check that net/if.h really can be used, to cope with hpux
dnl where including it always fails
@@ -354,6 +354,7 @@ AC_LIBREPLACE_LOCATION_CHECKS
AC_LIBREPLACE_CC_CHECKS
AC_LIBREPLACE_BROKEN_CHECKS
AC__LIBREPLACE_ALL_CHECKS_END
+CFLAGS="$CFLAGS -I$libreplacedir"
])
m4_include(libreplace_cc.m4)