Commit 44381b07 authored by Niels Möller's avatar Niels Möller

Check for -lnsl before checking for -lsocket, to avoid strange

confusion with Solaris' library dependencies.

Rev: ChangeLog:1.624
Rev: configure.ac:1.30
parent 5c66ab26
2003-02-18 Niels Mller <niels@s3.kth.se>
* configure.ac: Added check for inet_ntop in -lnsl.
Check for -lnsl before checking for -lsocket, to avoid strange
confusion with Solaris' library dependencies.
2003-02-17 Niels Mller <nisse@cuckoo.hack.org>
......
......@@ -437,17 +437,17 @@ fi
# Move these checks for system libraries earlier, before checks for
# gmp, liboop etc
AC_CHECK_LIB(crypt, crypt)
AC_CHECK_LIB(xnet, inet_addr)
AC_CHECK_LIB(socket, setsockopt)
# logwtmp is also in libutil
AC_CHECK_LIB(util, openpty)
# glibc has a nis-library "libnsl", which we don't need. So use
# AC_SEARCH_LIBS rather than AC_CHECK_LIB.
AC_SEARCH_LIBS(gethostbyname, nsl)
AC_SEARCH_LIBS(inet_ntop, nsl)
AC_CHECK_LIB(socket, setsockopt)
AC_CHECK_LIB(crypt, crypt)
AC_CHECK_LIB(xnet, inet_addr)
# logwtmp is also in libutil
AC_CHECK_LIB(util, openpty)
# This macro is new in autoconf-2.13
AC_SEARCH_LIBS(syslog, bsd socket inet, [AC_DEFINE(HAVE_SYSLOG)])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment