summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-02-20 00:17:31 +0100
committerMichael Adam <obnox@samba.org>2008-02-20 00:17:31 +0100
commit31a356420d22c5babb40946355bb33a83294fe16 (patch)
tree2004eee84523a002bfc8298a54828b55a5e3fb02
parent89ad7e4ed1fb601c085282fe1622a2d055991dbb (diff)
downloadsamba-31a356420d22c5babb40946355bb33a83294fe16.tar.gz
samba-31a356420d22c5babb40946355bb33a83294fe16.tar.bz2
samba-31a356420d22c5babb40946355bb33a83294fe16.zip
configure: Use SAMBA_CONFIGURE_CPPFLAGS for AC_LIBREPLACE_BROKEN_CHECKS.
To fix the build (make test) after merging libreplace changes. Michael (This used to be commit af5ec88ece3ecca2b3c5d6585deec10fe851339b)
-rw-r--r--source3/configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 6ff1df2cec..afe68d7613 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -685,8 +685,13 @@ exit(1);
esac
+SAVE_CPPFLAGS="${CPPFLAGS}"
+CPPFLAGS="${CPPFLAGS} ${SAMBA_CONFIGURE_CPPFLAGS}"
+
AC_LIBREPLACE_BROKEN_CHECKS
+CPPFLAGS="${SAVE_CPPFLAGS}"
+
LIBREPLACE_DIR=`echo ${libreplacedir} | sed -e "s;${srcdir};;" -e "s;^/;;"`
LIBREPLACE_OBJS=""