From: John Szakmeister Date: Sat, 18 Feb 2012 19:38:04 +0000 (-0500) Subject: configure: don't use -lintl when there is no gettext support X-Git-Tag: v1.7.9.3~29^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/a8356d43e3602fb65a9ae57a5cf1ca98a75f5cc3?hp=a8356d43e3602fb65a9ae57a5cf1ca98a75f5cc3 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 Signed-off-by: Junio C Hamano ---