diff options
author | Vadim Kochan <vadim4j@gmail.com> | 2019-04-18 08:04:19 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-04-19 13:57:23 +0900 |
commit | b71e56a68384748f2dc712471957b719513508fb (patch) | |
tree | 2884c2c3354eedce57800b814605e463e14ea61e /t/t9818-git-p4-block.sh | |
parent | mingw: allow building with an MSYS2 runtime v3.x (diff) | |
download | tgif-b71e56a68384748f2dc712471957b719513508fb.tar.xz |
autoconf: #include <libintl.h> when checking for gettext()
Some libc implementations like uclibc or musl provides
gettext stubs via libintl library but this case is not checked
by AC_CHECK_LIB(c, gettext ...) because gcc has gettext as builtin
which passess the check.
So check it with included libintl.h where gettext may unfold into
libintl_gettext which will cause check to fail if libintl_gettext are
needed to be linked with -lintl.
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9818-git-p4-block.sh')
0 files changed, 0 insertions, 0 deletions