summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorLibravatar John Szakmeister <john@szakmeister.net>2012-02-18 14:38:04 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-02-20 00:01:53 -0800
commita8356d43e3602fb65a9ae57a5cf1ca98a75f5cc3 (patch)
treec5dc466a8349b3ca7cc6913ae6a5280da01ff001 /compat
parentGit 1.7.9 (diff)
downloadtgif-a8356d43e3602fb65a9ae57a5cf1ca98a75f5cc3.tar.xz
configure: don't use -lintl when there is no gettext support
The current configure script uses -lintl if gettext is not found in the C library, but does so before checking if there is libintl.h available in the first place, in which case we would later define NO_GETTEXT. Instead, check for the existence of libintl.h first. Only when libintl.h exists and libintl is not in libc, ask for -lintl. Signed-off-by: John Szakmeister <john@szakmeister.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat')
0 files changed, 0 insertions, 0 deletions