diff options
author | Vadim Kochan <vadim4j@gmail.com> | 2019-04-18 05:04:19 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-04-19 04:57:23 (GMT) |
commit | b71e56a68384748f2dc712471957b719513508fb (patch) | |
tree | 2884c2c3354eedce57800b814605e463e14ea61e /chdir-notify.h | |
parent | aeb582a98374c094361cba1bd756dc6307432c42 (diff) | |
download | git-b71e56a68384748f2dc712471957b719513508fb.zip git-b71e56a68384748f2dc712471957b719513508fb.tar.gz git-b71e56a68384748f2dc712471957b719513508fb.tar.bz2 |
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 'chdir-notify.h')
0 files changed, 0 insertions, 0 deletions