i18n: Do not force USE_GETTEXT_SCHEME=fallthrough on NO_GETTEXT
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>
Junio C Hamano committed
Jan 23, 2012 at 18:31 UTC
60f40791f9f7b671b300b752a9beebc7737a5242
1 file changed
+1
-1
Makefile
+1
-1
@@ -1515,7 +1515,7 @@ ifdef GETTEXT_POISON
1515
endif
1516
ifdef NO_GETTEXT
1517
BASIC_CFLAGS += -DNO_GETTEXT
1518
- USE_GETTEXT_SCHEME = fallthrough
1518
+ USE_GETTEXT_SCHEME ?= fallthrough
1519
endif
1520
ifdef NO_STRCASESTR
1521
COMPAT_CFLAGS += -DNO_STRCASESTR