aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-06-20 15:14:22 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-06-20 15:14:22 +0000
commit45e6855b5dc0400f6a1f18f4042fd0292e8b03a9 (patch)
treeac86e3eaa5051d338e6ccfe71d021dfcf6d4a2a0
parentc7cd49747753e0ec2f9baf44ec028503ba359fda (diff)
downloadfetchmail-45e6855b5dc0400f6a1f18f4042fd0292e8b03a9.tar.gz
fetchmail-45e6855b5dc0400f6a1f18f4042fd0292e8b03a9.tar.bz2
fetchmail-45e6855b5dc0400f6a1f18f4042fd0292e8b03a9.zip
Try to get libintl on systems that don't have gettext in libc.
svn path=/trunk/; revision=3363
-rw-r--r--configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 20e458d1..9411026e 100644
--- a/configure.in
+++ b/configure.in
@@ -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"])