Fixup crypt detection.

This commit is contained in:
Kurt Zeilenga 1998-09-20 23:22:32 +00:00
parent b279463b28
commit cb480bce95

View File

@ -433,7 +433,7 @@ AC_SUBST(LIBTERMCAP)
# FreeBSD (and others) have crypt(3) in -lcrypt
if test $ol_enable_crypt != no ; then
AC_CHECK_FUNC(crypt, have_crypt=yes, [
AC_CHECK_FUNC(crypt, [have_crypt=yes], [
AC_CHECK_LIB(crypt, crypt, [LUTIL_LIBS="$LUTIL_LIBS -lcrypt"
have_crypt=yes], [have_crypt=no])])