diff options
Diffstat (limited to 'cli')
-rw-r--r-- | cli/src/Makefile.am | 3 | ||||
-rw-r--r-- | cli/src/cli-cmd-volume.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/cli/src/Makefile.am b/cli/src/Makefile.am index f2a03030f1f..2847f5d7859 100644 --- a/cli/src/Makefile.am +++ b/cli/src/Makefile.am @@ -16,7 +16,8 @@ AM_CFLAGS = -fPIC -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D$(GF_HOST_OS)\ -I$(top_srcdir)/rpc/xdr/src\ -DDATADIR=\"$(localstatedir)\" \ -DCONFDIR=\"$(sysconfdir)/glusterfs\" $(GF_GLUSTERFS_CFLAGS)\ - -DGSYNCD_PREFIX=\"$(libexecdir)\" + -DGSYNCD_PREFIX=\"$(libexecdir)\"\ + -DSYNCDAEMON_COMPILE=$(SYNCDAEMON_COMPILE) CLEANFILES = diff --git a/cli/src/cli-cmd-volume.c b/cli/src/cli-cmd-volume.c index 5039fa2dd48..9e93d4e973c 100644 --- a/cli/src/cli-cmd-volume.c +++ b/cli/src/cli-cmd-volume.c @@ -1002,10 +1002,11 @@ struct cli_cmd volume_cmds[] = { cli_cmd_volume_reset_cbk, "reset all the reconfigured options"}, +#if (SYNCDAEMON_COMPILE) {"volume gsync <start|stop|configure> <MASTER> <SLAVE> [options]", cli_cmd_volume_gsync_set_cbk, "Geo-sync operations"}, - +#endif { NULL, NULL, NULL } }; |