summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-01-24 00:31:09 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-01-27 18:26:37 (GMT)
commit60f40791f9f7b671b300b752a9beebc7737a5242 (patch)
treee40a0fd66c9cf8468d2712a4076964d8e95f6593 /Makefile
parentba8c6ef62787c5c8a8c1e911ce72fb07294553e3 (diff)
downloadgit-60f40791f9f7b671b300b752a9beebc7737a5242.zip
git-60f40791f9f7b671b300b752a9beebc7737a5242.tar.gz
git-60f40791f9f7b671b300b752a9beebc7737a5242.tar.bz2
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a4a33d4..634b2ec 100644
--- 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