]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
build system: Make --enable-gettext actually enable gettext
authorArkadiusz Miskiewicz <arekm@maven.pl>
Tue, 30 Dec 2008 17:24:11 +0000 (18:24 +0100)
committerChristoph Hellwig <hch@brick.lst.de>
Tue, 30 Dec 2008 17:24:11 +0000 (18:24 +0100)
ENABLE_GETTEXT wasn't defined when --enable-gettext was
passed as configure option. Now this is fixed.

Reviewed-by: Christoph Hellwig <hch@lst.de>
include/builddefs.in

index f1b4340be77b8bd002a3f0150b6fab806df386da..f07d8d6487515b020bee0d691b7fd6e0ae5b01a6 100644 (file)
@@ -118,6 +118,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)