diff options
author | Ben Myers <bpm@sgi.com> | 2012-10-31 17:15:14 -0500 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2012-10-31 20:10:02 -0500 |
commit | ba2fc483287a409146c7d060267013934e2b55b7 (patch) | |
tree | f71592acb0e8b286510d3e3aa6dc2ccd5579225c | |
parent | d051fe685c2aaa37186b3b980f1bee7f0d59fab1 (diff) | |
download | xfsdump-dev-ba2fc483287a409146c7d060267013934e2b55b7.tar.gz |
xfsdump: enable gettext
ENABLE_GETTEXT was not being defined when --enable-gettext
was specified as a config option, neither the German or
Polish translations were working. Add this define to
builddefs.in
See commit e84ec15d in xfsprogs.
Signed-off-by: Ben Myers <bpm@sgi.com>
Reviewed-by: Phil White <pwhite@sgi.com>
-rw-r--r-- | include/builddefs.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/builddefs.in b/include/builddefs.in index d5cc8d3f..269c928f 100644 --- a/include/builddefs.in +++ b/include/builddefs.in @@ -95,6 +95,10 @@ GCFLAGS = $(OPTIMIZER) $(DEBUG) \ -DVERSION=\"$(PKG_VERSION)\" -DLOCALEDIR=\"$(PKG_LOCALE_DIR)\" \ -DPACKAGE=\"$(PKG_NAME)\" -I$(TOPDIR)/include +ifeq ($(ENABLE_GETTEXT),yes) +GCFLAGS += -DENABLE_GETTEXT +endif + # First, Global, Platform, Local CFLAGS CFLAGS += $(FCFLAGS) $(GCFLAGS) $(PCFLAGS) $(LCFLAGS) |