| To: | linux-xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH] build system: Make --enable-gettext actually enable gettext. |
| From: | Arkadiusz Miskiewicz <arekm@xxxxxxxx> |
| Date: | Tue, 16 Dec 2008 21:23:08 +0100 |
| Cc: | Arkadiusz Miskiewicz <arekm@xxxxxxxx> |
ENABLE_GETTEXT wasn't defined when --enable-gettext was
passed as configure option. Now this is fixed.
---
xfsprogs/include/builddefs.in | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/xfsprogs/include/builddefs.in b/xfsprogs/include/builddefs.in
index f1b4340..f07d8d6 100644
--- a/xfsprogs/include/builddefs.in
+++ b/xfsprogs/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)
--
1.6.0.5
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] EXCLUDED_FILE_TYPES: Fix macro for negation case., Arkadiusz Miskiewicz |
|---|---|
| Next by Date: | Re: 12x performance drop on md/linux+sw raid1 due to barriers [xfs], Dave Chinner |
| Previous by Thread: | [PATCH] EXCLUDED_FILE_TYPES: Fix macro for negation case., Arkadiusz Miskiewicz |
| Next by Thread: | Yo! Raps Gears Up For West Coast Block Starz Compilation, Yo! Raps |
| Indexes: | [Date] [Thread] [Top] [All Lists] |