From 17ac14de9e2f4b171cba2c5832499fdf6a40523b Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 12 Jan 1995 12:24:29 +0000 Subject: try to improve svr4 socket library inquiries --- configure.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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], [ -- cgit v0.12