build(autoconf): check if we have ctdb_protocol.h in the cluster checks
authorBjörn Baumbach <bb@sernet.de>
Tue, 30 Oct 2012 12:26:24 +0000 (13:26 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 1 Nov 2012 09:22:13 +0000 (10:22 +0100)
Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/configure.in

index 327e55ea51548eabc46f0563cdd1702a16eaf452..179d12d1207d2db66e34298b08e06956b0d20bcf 100644 (file)
@@ -4969,7 +4969,7 @@ ctdb_broken="no"
 SAVED_CPPFLAGS="$CPPFLAGS"
 CPPFLAGS="$CPPFLAGS ${SAMBA_CONFIGURE_CPPFLAGS} $CTDB_CPPFLAGS"
 
-AC_CHECK_HEADERS(ctdb.h ctdb_private.h,,,[
+AC_CHECK_HEADERS(ctdb.h ctdb_private.h ctdb_protocol.h ,,,[
 #include "confdefs.h"
 #define NO_CONFIG_H
 #include "replace.h"