changeset 1184:fbcd0a20e667

AC_SEARCH_LIBS not AC_CHECK_LIB to find crypt()
author Matt Johnston <matt@ucc.asn.au>
date Thu, 26 Nov 2015 21:58:25 +0800
parents d10468395a49
children 15726edd3a1c
files configure.ac
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Wed Nov 25 23:30:56 2015 +0800
+++ b/configure.ac	Thu Nov 26 21:58:25 2015 +0800
@@ -83,7 +83,7 @@
 	],,,)
 
 # 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