]> Pileus Git - ~andy/fetchmail/commitdiff
Try to get libintl on systems that don't have gettext in libc.
authorEric S. Raymond <esr@thyrsus.com>
Wed, 20 Jun 2001 15:14:22 +0000 (15:14 -0000)
committerEric S. Raymond <esr@thyrsus.com>
Wed, 20 Jun 2001 15:14:22 +0000 (15:14 -0000)
svn path=/trunk/; revision=3363

configure.in

index 20e458d16e49c25676acb2e83db6fb02baced8c4..9411026ea6156e73a8ac3830d15cb8aaccecfb83 100644 (file)
@@ -91,6 +91,10 @@ AC_CHECK_LIB(cposix, strchr,
                [EXTRADEFS="$EXTRADEFS -D_SYSV3"
                LIBS="$LIBS -lcposix"])
 
+dnl Port hack for Sparc/NetBSD-1.5
+AC_CHECK_LIB(intl, gettext,
+               [LIBS="$LIBS -lintl"])
+
 AC_CHECK_FUNC(strstr, AC_DEFINE(HAVE_STRSTR), 
               [EXTRASRC="$EXTRASRC \$(srcdir)/strstr.c"
                EXTRAOBJ="$EXTRAOBJ strstr.o"])