From: Aidan Van Dyk Date: Fri, 28 Dec 2007 21:55:16 +0000 (+0000) Subject: configure: libintl checks require args X-Git-Tag: HYLAFAX-6_0_0-beta1~182 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e17d18dfd5868142eaf1854e1bee4d4abfbfc07d;p=thirdparty%2FHylaFAX.git configure: libintl checks require args Some platforms require the gettext check to have args, as with strftime --- diff --git a/configure b/configure index 800a949a..4298b4a2 100755 --- a/configure +++ b/configure @@ -1654,8 +1654,8 @@ if [ "$CHECK_NLS" != "no" ]; then CheckForIncludeFile locale.h && CheckForIncludeFile libintl.h && { ENABLE_NLS="#define ENABLE_NLS 1" - CheckForLibrary gettext -lc || { - CheckForLibrary gettext -lintl && { + CheckForLibraryWithArgs gettext '""' -lc || { + CheckForLibraryWithArgs gettext '""' -lintl && { Note "Looks like -lintl is needed for gettext support." MACHDEPLIBS="$MACHDEPLIBS -lintl" }