diff configure.ac @ 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 f567a4152c14
children 15726edd3a1c
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