diff options
author | Michael Adam <obnox@samba.org> | 2009-10-28 23:56:59 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-11-03 01:02:37 +0100 |
commit | 08d2a3f4bf1a4e3ce571ff59c9a582243c3db57a (patch) | |
tree | 8b79a229d20f16d688c43db050ada74278ad6955 /source3 | |
parent | 9be4d3dd4f46f0fbd4e20ec33bae7f2e23dba2fd (diff) | |
download | samba-08d2a3f4bf1a4e3ce571ff59c9a582243c3db57a.tar.gz samba-08d2a3f4bf1a4e3ce571ff59c9a582243c3db57a.tar.xz samba-08d2a3f4bf1a4e3ce571ff59c9a582243c3db57a.zip |
s3:configure: add a check for the new CTDB_CONTROL_TRANS2_ACTIVE
Michael
Diffstat (limited to 'source3')
-rw-r--r-- | source3/configure.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in index dca97f468f2..83ea8579e6a 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -5197,6 +5197,23 @@ else ctdb_broken="missing transaction support" fi +AC_HAVE_DECL(CTDB_CONTROL_TRANS2_ACTIVE,[ +#include "confdefs.h" +#define NO_CONFIG_H +#include "replace.h" +#include "system/wait.h" +#include "system/network.h" +#include <talloc.h> +#include <tdb.h> +#include <ctdb.h> +#include <ctdb_private.h> +]) +if test x"$ac_cv_have_CTDB_CONTROL_TRANS2_ACTIVE_decl" = x"yes"; then + ctdb_broken=no +else + ctdb_broken="transaction support too old" +fi + # in ctdb 1.0.57 ctdb_control_tcp was temparary renamed to ctdb_tcp_client AC_CHECK_TYPE(struct ctdb_tcp_client,[ AC_DEFINE([ctdb_control_tcp],[ctdb_tcp_client],[ctdb ipv4 support]) |