Skip to content
Snippets Groups Projects
Commit cb480bce authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Fixup crypt detection.

parent b279463b
No related branches found
No related tags found
No related merge requests found
......@@ -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])])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment