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 07:57:23 +0300 |
commit | b71e56a68384748f2dc712471957b719513508fb (patch) | |
tree | 2884c2c3354eedce57800b814605e463e14ea61e /json-writer.h | |
parent | aeb582a98374c094361cba1bd756dc6307432c42 (diff) |
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 'json-writer.h')
0 files changed, 0 insertions, 0 deletions