diff configure.in @ 519:a1b7c6cdd48a

Only use -lcrypt for Dropbear server binary
author Matt Johnston <matt@ucc.asn.au>
date Mon, 17 Nov 2008 14:04:14 +0000
parents db4f6adcb7e2
children d3ea8b9672f0
line wrap: on
line diff
--- a/configure.in	Wed Nov 12 13:13:00 2008 +0000
+++ b/configure.in	Mon Nov 17 14:04:14 2008 +0000
@@ -82,7 +82,8 @@
 	],,,)
 
 # Checks for libraries.
-AC_CHECK_LIB(crypt, crypt, LIBS="$LIBS -lcrypt")
+AC_CHECK_LIB(crypt, crypt, CRYPTLIB="-lcrypt")
+AC_SUBST(CRYPTLIB)	
 
 # Check if zlib is needed
 AC_ARG_WITH(zlib,