From 0e438f6d5c1490a8dfa49429291f9670394c116f Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Thu, 26 Nov 2015 21:58:25 +0800 Subject: AC_SEARCH_LIBS not AC_CHECK_LIB to find crypt() --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index ac0528f..6e9b211 100644 --- a/configure.ac +++ b/configure.ac @@ -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 -- cgit v1.2.3