]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/lib-gettext.sh
i18n: make GETTEXT_POISON a runtime option
[thirdparty/git.git] / t / lib-gettext.sh
index eec757f104708df3a00935cef89dd7dad537afb9..755f4214319fb931870b701d4177a32f38849565 100644 (file)
@@ -12,7 +12,7 @@ export GIT_TEXTDOMAINDIR GIT_PO_PATH
 
 . "$GIT_BUILD_DIR"/git-sh-i18n
 
-if test_have_prereq GETTEXT && ! test_have_prereq GETTEXT_POISON
+if test_have_prereq GETTEXT && test_have_prereq C_LOCALE_OUTPUT
 then
        # is_IS.UTF-8 on Solaris and FreeBSD, is_IS.utf8 on Debian
        is_IS_locale=$(locale -a 2>/dev/null |