try to improve svr4 socket library inquiries

This commit is contained in:
Guido van Rossum 1995-01-12 12:24:29 +00:00
parent caa6380886
commit 17ac14de9e
1 changed files with 3 additions and 1 deletions

View File

@ -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], [