AC_SEARCH_LIBS not AC_CHECK_LIB to find crypt()

This commit is contained in:
Matt Johnston 2015-11-26 21:58:25 +08:00
parent 9f1eb695b4
commit 0e438f6d5c

View File

@ -83,7 +83,7 @@ AC_CHECK_DECL(__UCLIBC__,
],,,)
# Checks for libraries.
AC_CHECK_LIB(crypt, crypt, CRYPTLIB="-lcrypt")
AC_SEARCH_LIBS(crypt, crypt, CRYPTLIB="-lcrypt")
AC_SUBST(CRYPTLIB)
# Check if zlib is needed