summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/src/Makefile.am1
-rw-r--r--cli/src/cli.c6
2 files changed, 0 insertions, 7 deletions
diff --git a/cli/src/Makefile.am b/cli/src/Makefile.am
index 63e3409165d..c6323e591de 100644
--- a/cli/src/Makefile.am
+++ b/cli/src/Makefile.am
@@ -20,7 +20,6 @@ AM_CPPFLAGS = $(GF_CPPFLAGS) \
-I$(top_builddir)/rpc/xdr/src\
-DDATADIR=\"$(localstatedir)\" \
-DCONFDIR=\"$(sysconfdir)/glusterfs\" \
- -DXLATORDIR=\"$(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator\" \
-DGSYNCD_PREFIX=\"$(GLUSTERFS_LIBEXECDIR)\"\
-DSYNCDAEMON_COMPILE=$(SYNCDAEMON_COMPILE) -DSBIN_DIR=\"$(sbindir)\"\
$(XML_CPPFLAGS)
diff --git a/cli/src/cli.c b/cli/src/cli.c
index 7903b57edb6..b58f211d3dd 100644
--- a/cli/src/cli.c
+++ b/cli/src/cli.c
@@ -338,12 +338,6 @@ cli_opt_parse (char *opt, struct cli_state *state)
exit (0);
}
- /* XLATORDIR passed through a -D flag to GCC */
- if (strcmp (opt, "print-xlatordir") == 0) {
- cli_out ("%s", XLATORDIR);
- exit (0);
- }
-
if (strcmp (opt, "xml") == 0) {
#if (HAVE_LIB_XML)
state->mode |= GLUSTER_MODE_XML;