summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-01-23 14:25:19 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-01-23 14:25:19 -0800
commitba8c6ef62787c5c8a8c1e911ce72fb07294553e3 (patch)
treed59a27595049942c388da295eff3e76d5b5795cd
parentadd a Makefile switch to avoid gettext translation in shell scripts (diff)
downloadtgif-ba8c6ef62787c5c8a8c1e911ce72fb07294553e3.tar.xz
i18n: Make NO_GETTEXT imply fallthrough scheme in shell l10n
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a0f2464a9b..a4a33d4355 100644
--- a/Makefile
+++ b/Makefile
@@ -1515,6 +1515,7 @@ ifdef GETTEXT_POISON
endif
ifdef NO_GETTEXT
BASIC_CFLAGS += -DNO_GETTEXT
+ USE_GETTEXT_SCHEME = fallthrough
endif
ifdef NO_STRCASESTR
COMPAT_CFLAGS += -DNO_STRCASESTR