summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-01-12 12:24:29 (GMT)
committerGuido van Rossum <guido@python.org>1995-01-12 12:24:29 (GMT)
commit17ac14de9e2f4b171cba2c5832499fdf6a40523b (patch)
tree23b890819568788bef5983db641c0454e55fc668
parentcaa63808861d4e92d4dc1005fc01de0f2e4a8fd0 (diff)
downloadcpython-17ac14de9e2f4b171cba2c5832499fdf6a40523b.zip
cpython-17ac14de9e2f4b171cba2c5832499fdf6a40523b.tar.gz
cpython-17ac14de9e2f4b171cba2c5832499fdf6a40523b.tar.bz2
try to improve svr4 socket library inquiries
-rw-r--r--configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 34af46f..d240519 100644
--- a/configure.in
+++ b/configure.in
@@ -125,7 +125,9 @@ AC_MSG_RESULT($LINKFORSHARED)
AC_CHECK_LIB(dl, dlopen) # Dynamic linking for SunOS/Solaris and SYSV
AC_CHECK_LIB(dld, shl_load) # Dynamic linking for HP-UX
AC_CHECK_LIB(sun, getpwnam) # NIS (== YP) interface for IRIX 4
-AC_CHECK_LIB(socket, socket, [LIBS=-lsocket -linet -lnsl], [], [-linet -lnsl])
+AC_CHECK_LIB(nsl, gethostbyname, [LIBS="-lnsl $LIBS"]) # hosts db interface
+AC_CHECK_LIB(inet, ???, [LIBS="-linet $LIBS"]) # SVR4 internet???
+AC_CHECK_LIB(socket, socket, [LIBS="-lsocket $LIBS"]) # SVR4 sockets
AC_CHECKING(for --with-readline)
AC_ARG_WITH(readline, [--with-readline=DIRECTORY GNU readline], [