summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2015-11-26 21:58:25 +0800
committerMatt Johnston <matt@ucc.asn.au>2015-11-26 21:58:25 +0800
commit0e438f6d5c1490a8dfa49429291f9670394c116f (patch)
tree2c368ed448a1497c1e15e1fd95d4c87fbf52f016
parent9f1eb695b46334abcc79879a10e7fb227f4b9e99 (diff)
AC_SEARCH_LIBS not AC_CHECK_LIB to find crypt()
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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