]> granicus.if.org Git - sudo/commitdiff
always look for -lnsl
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 29 May 1994 19:52:11 +0000 (19:52 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 29 May 1994 19:52:11 +0000 (19:52 +0000)
configure.in

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