s3:configure: allow building without SCHEDULE_FOR_DELETION with --enable-old-ctdb
authorMichael Adam <obnox@samba.org>
Thu, 31 Mar 2011 14:12:02 +0000 (16:12 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 31 Mar 2011 16:55:38 +0000 (18:55 +0200)
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Thu Mar 31 18:55:38 CEST 2011 on sn-devel-104

source3/configure.in

index 6116c3648357e9acea9d87ffb23dcacc38576603..f0d54ccc3d6f4aa4b2d2f1135b6b30ad64d0d438 100644 (file)
@@ -5499,8 +5499,12 @@ if test "x$have_cluster_support" = "xyes" ; then
        ])
        if test x"$ac_cv_have_CTDB_CONTROL_SCHEDULE_FOR_DELETION_decl" != x"yes"
        then
-               ctdb_broken="support for SCHEDULE_FOR_DELETION control missing"
-               have_cluster_support=no
+               if test "x$enable_old_ctdb" = "xyes" ; then
+                       AC_MSG_WARN([ignoring missing SCHEDULE_FOR_DELETION (--enable-old-ctdb)])
+               else
+                       ctdb_broken="support for SCHEDULE_FOR_DELETION control missing"
+                       have_cluster_support=no
+               fi
        fi
 fi