aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-09-21 03:49:47 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-09-21 03:49:47 +0000
commit314dc7dc3df37efa35058d8c1e3dd22dbbb2ed43 (patch)
tree8fa217ce61da0d1df0d8a05620bca5b6ad816d7a /configure.in
parent3b10e5b664edb6c5847006ca7813be9f0adbc4c3 (diff)
downloadfetchmail-314dc7dc3df37efa35058d8c1e3dd22dbbb2ed43.tar.gz
fetchmail-314dc7dc3df37efa35058d8c1e3dd22dbbb2ed43.tar.bz2
fetchmail-314dc7dc3df37efa35058d8c1e3dd22dbbb2ed43.zip
Greg Stark's fix.
svn path=/trunk/; revision=1381
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 698fc1e9..e8908274 100644
--- a/configure.in
+++ b/configure.in
@@ -40,7 +40,11 @@ AC_CHECK_FUNC(socket,
AC_CHECK_LIB(socket,socket)
AC_CHECK_LIB(inet,socket))
-AC_CHECK_LIB(nsl,inet_addr)
+# 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),
+ AC_CHECK_LIB(nsl,inet_addr))
+
AC_CHECK_LIB(opie,opiegenerator)
dnl Port hack for Interactive UNIX System V/386 Release 3.2