summaryrefslogtreecommitdiff
path: root/source/configure.in
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
commitaf5ec88ece3ecca2b3c5d6585deec10fe851339b (patch)
tree417ece05507a3670c4fb004de6aa73012cec7172 /source/configure.in
parent69b2ebc797fa986bf395f4d045ea663240e9ec2c (diff)
downloadsamba-af5ec88ece3ecca2b3c5d6585deec10fe851339b.tar.gz
configure: Use SAMBA_CONFIGURE_CPPFLAGS for AC_LIBREPLACE_BROKEN_CHECKS.
To fix the build (make test) after merging libreplace changes. Michael
Diffstat (limited to 'source/configure.in')
-rw-r--r--source/configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/configure.in b/source/configure.in
index 6ff1df2cec3..afe68d7613a 100644
--- a/source/configure.in
+++ b/source/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=""