[patch 1/1] xfsdump: enable gettext

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx>
Index: xfsdump/include/builddefs.in
===================================================================
--- xfsdump.orig/include/builddefs.in
+++ 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
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux