Code

i18n: Do not force USE_GETTEXT_SCHEME=fallthrough on NO_GETTEXT
authorJunio C Hamano <gitster@pobox.com>
Tue, 24 Jan 2012 00:31:09 +0000 (18:31 -0600)
committerJunio C Hamano <gitster@pobox.com>
Fri, 27 Jan 2012 18:26:37 +0000 (10:26 -0800)
It should merely be the default used when the builder does not say
anything about USE_GETTEXT_SCHEME.

Even with NO_GETTEXT, USE_GETTEXT_SCHEME=gnu may be a way to avoid
possibly slower emulation in our shell scripts.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile

index a4a33d4355d3cdda4ddeb3ba92edd19a1cfad9d0..634b2ece05b4025d20031dfd18b3dd782482b5ea 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1515,7 +1515,7 @@ ifdef GETTEXT_POISON
 endif
 ifdef NO_GETTEXT
        BASIC_CFLAGS += -DNO_GETTEXT
-       USE_GETTEXT_SCHEME = fallthrough
+       USE_GETTEXT_SCHEME ?= fallthrough
 endif
 ifdef NO_STRCASESTR
        COMPAT_CFLAGS += -DNO_STRCASESTR