always look for -lnsl

This commit is contained in:
Todd C. Miller
1994-05-29 19:52:11 +00:00
parent 6224b05a73
commit 577b056ebc

View File

@@ -26,8 +26,8 @@ AC_PROG_CPP
dnl dnl
dnl find "uname" dnl find "uname"
dnl dnl
AC_PROGRAM_CHECK(UNAMEPROG, uname, uname ,) AC_PROGRAM_CHECK(UNAMEPROG, uname, uname, )
AC_PROGRAM_CHECK(TRPROG, tr, tr ,) AC_PROGRAM_CHECK(TRPROG, tr, tr, )
dnl dnl
dnl what architecture are we on? dnl what architecture are we on?
dnl dnl
@@ -141,14 +141,12 @@ AC_HAVE_FUNCS(getcwd strdup strchr strrchr sysconf)
dnl dnl
dnl library checks dnl library checks
dnl dnl
AC_HAVE_LIBRARY(nsl)
AC_HAVE_LIBRARY(shadow) AC_HAVE_LIBRARY(shadow)
AC_HAVE_LIBRARY(ufc) AC_HAVE_LIBRARY(ufc)
dnl dnl
dnl OS-dependent libraries dnl OS-dependent libraries
dnl dnl
if test -n "$OS" -a "$OS" != "sunos"; then
AC_HAVE_LIBRARY(nsl)
fi
if test -n "$OS" -a "$OS" = "irix" ; then if test -n "$OS" -a "$OS" = "irix" ; then
AC_IRIX_SUN AC_IRIX_SUN
fi fi