summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorKaushik BV <kaushikbv@gluster.com>2011-02-24 00:08:46 +0000
committerAnand V. Avati <avati@dev.gluster.com>2011-03-01 02:06:09 -0800
commit7e546e16925e50dc33db05c67b8b5cad1b3922ef (patch)
tree2bcd9af33edb868b3690828a70edb0c3abc37604 /configure.ac
parenta3ab0ad1f1c0a5574ae294f5d72aac4df8f50124 (diff)
Gsync : Do not expose volume gsync, when geo-replication is disabled
Signed-off-by: Kaushik BV <kaushikbv@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1570 (geosync related changes) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1570
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 1a261a2..d2f686f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -296,9 +296,11 @@ case $host_os in
enable_georeplication=no
;;
esac
-
+SYNCDAEMON_COMPILE=0
if test "x$enable_georeplication" != "xno"; then
SYNCDAEMON_SUBDIR=utils
+ SYNCDAEMON_COMPILE=1
+
BUILD_SYNCDAEMON="yes"
AM_PATH_PYTHON([2.4])
echo -n "checking if python is python 2.x... "
@@ -316,7 +318,7 @@ if test "x$enable_georeplication" != "xno"; then
AC_MSG_ERROR([python does not have ctypes support])
fi
fi
-
+AC_SUBST(SYNCDAEMON_COMPILE)
AC_SUBST(SYNCDAEMON_SUBDIR)
# end SYNCDAEMON section