Skip to contentSkip to conversation

xfsdump: enable gettext

PATCH In review Ben Myers 2 participants 3 messages Oct 31, 2012

lore
Share & tools
lore
author
#1 lore raw

PATCH 1/1 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.

include/builddefs.in +4 -0
Index: xfsdump/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)
 

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs