aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-11-30 18:10:30 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-11-30 18:10:30 +0000
commit77b7b4f0fe5ec113c6823bd8db0e83e355a4e350 (patch)
tree79585d0090e6426b6d6df825ab4521b8f0716f90 /configure.in
parenta6d47514f633deb1b0035af83fd454ea0b642bb8 (diff)
downloadfetchmail-77b7b4f0fe5ec113c6823bd8db0e83e355a4e350.tar.gz
fetchmail-77b7b4f0fe5ec113c6823bd8db0e83e355a4e350.tar.bz2
fetchmail-77b7b4f0fe5ec113c6823bd8db0e83e355a4e350.zip
Find -lintl on systems that have it.
svn path=/trunk/; revision=2242
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index e29000e2..217f1ba2 100644
--- a/configure.in
+++ b/configure.in
@@ -76,6 +76,11 @@ AC_CHECK_FUNC(socket,
AC_CHECK_LIB(socket,socket)
AC_CHECK_LIB(inet,socket))
+# If gettext isn't in the C library, maybe there's a -lintl.
+AC_CHECK_FUNC(gettext,
+ AC_MSG_RESULT(using libc's gettext),
+ AC_CHECK_LIB(intl,gettext))
+
# The condition in this test copes with the presence of inet_addr in libc6.
AC_CHECK_FUNC(inet_addr,
AC_MSG_RESULT(using libc's inet_addr),