summaryrefslogtreecommitdiff
path: root/source4/lib/replace/configure.ac
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-02-27 01:29:12 +0100
committerMichael Adam <obnox@samba.org>2008-02-27 01:29:12 +0100
commit3a90bed29f6ddb2566f73f02a59eef1b0f1b7554 (patch)
treede329ad12ef855e0c0c0895859af96801dcb4be7 /source4/lib/replace/configure.ac
parent28464179174d2c3d1c1bc124ba9c2519e08a5fc9 (diff)
downloadsamba-3a90bed29f6ddb2566f73f02a59eef1b0f1b7554.tar.gz
samba-3a90bed29f6ddb2566f73f02a59eef1b0f1b7554.tar.bz2
samba-3a90bed29f6ddb2566f73f02a59eef1b0f1b7554.zip
libreplace: fix standalone build on some systems.
getifaddr tests include system/network.h, which does not find getaddrinfo.h without "-I.". Michael (This used to be commit cd95c702ed90128f659e27709c61d4c6abc969ef)
Diffstat (limited to 'source4/lib/replace/configure.ac')
-rw-r--r--source4/lib/replace/configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/replace/configure.ac b/source4/lib/replace/configure.ac
index beeb77e152..72d788ddcc 100644
--- a/source4/lib/replace/configure.ac
+++ b/source4/lib/replace/configure.ac
@@ -3,6 +3,8 @@ AC_INIT(replace.c)
AC_CONFIG_SRCDIR([replace.c])
AC_CONFIG_HEADER(config.h)
+CFLAGS="$CFLAGS -I."
+
AC_LIBREPLACE_ALL_CHECKS
if test "$ac_cv_prog_gcc" = yes; then