s3:build: fix detection of CTDB headers on systems without system-libtalloc
authorMichael Adam <obnox@samba.org>
Tue, 1 Dec 2009 14:22:20 +0000 (15:22 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 1 Dec 2009 16:10:25 +0000 (17:10 +0100)
Michael

source3/configure.in

index af52c933bdf5a5fd9f76802939b6f739e1d4e1d3..fc62fc20ea6a5ac4b6d1274293857370878443d8 100644 (file)
@@ -5204,7 +5204,7 @@ AC_ARG_WITH(ctdb,
   esac])
 
 SAVED_CPPFLAGS="$CPPFLAGS"
-CPPFLAGS="$CPPFLAGS $CTDB_CPPFLAGS"
+CPPFLAGS="$CPPFLAGS ${SAMBA_CONFIGURE_CPPFLAGS} $CTDB_CPPFLAGS"
 ctdb_broken="missing or broken headers"
 
 AC_CHECK_HEADERS(ctdb.h ctdb_private.h,,,[