From e84ec15d6ace0960d3d1da8458cde2826470a4a5 Mon Sep 17 00:00:00 2001 From: Arkadiusz Miskiewicz Date: Tue, 30 Dec 2008 18:24:11 +0100 Subject: [PATCH] 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 --- include/builddefs.in | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.47.2