]> granicus.if.org Git - sudo/commitdiff
fixed the test for irix 5.x to skip bad libs
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 6 Feb 1995 22:43:59 +0000 (22:43 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 6 Feb 1995 22:43:59 +0000 (22:43 +0000)
configure.in

index f91704824b7c94853913c7040636e33655812558..5b3a15eafa0dec27a270aaa2f3bcc4e6ccdba2e4 100644 (file)
@@ -231,7 +231,7 @@ dnl
 dnl library checks
 dnl
 dnl Irix 5.2 (at least) has bugs in -lnsl and -lsocket
-if test -n "$OS" -a "$OS" = "irix" -a $OSREV -ne 5 ; then
+if test "$OS" != "irix" -o $OSREV -ne 5 ; then
     AC_CHECK_LIB(nsl)
     AC_CHECK_LIB(socket)
 fi
@@ -240,7 +240,7 @@ AC_CHECK_LIB(ufc)
 dnl
 dnl OS-dependent libraries
 dnl
-if test -n "$OS" -a "$OS" = "irix" -a $OSREV -le 4 ; then
+if test "$OS" = "irix" -a $OSREV -le 4 ; then
     AC_IRIX_SUN
 fi
 dnl