From: Arkadiusz Miskiewicz Date: Tue, 30 Dec 2008 17:24:11 +0000 (+0100) Subject: build system: Make --enable-gettext actually enable gettext X-Git-Tag: v3.0.0~34 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e84ec15d6ace0960d3d1da8458cde2826470a4a5;p=thirdparty%2Fxfsprogs-dev.git build system: Make --enable-gettext actually enable gettext ENABLE_GETTEXT wasn't defined when --enable-gettext was passed as configure option. Now this is fixed. Reviewed-by: Christoph Hellwig --- diff --git a/include/builddefs.in b/include/builddefs.in index f1b4340be..f07d8d648 100644 --- a/include/builddefs.in +++ b/include/builddefs.in @@ -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)