]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
configure: libintl checks require args
authorAidan Van Dyk <aidan@ifax.com>
Fri, 28 Dec 2007 21:55:16 +0000 (21:55 +0000)
committerAidan Van Dyk <aidan@ifax.com>
Fri, 28 Dec 2007 21:55:16 +0000 (21:55 +0000)
Some platforms require the gettext check to have args, as with
strftime

configure

index 800a949a8257ad2f35afd285a1bc0e2610eedcfd..4298b4a2755a96b8d862abc7e6eb804d819d9b77 100755 (executable)
--- 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"
                     }