comparison 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
comparison
equal deleted inserted replaced
518:ce104c8b0be1 519:a1b7c6cdd48a
80 no_loginfunc_check=1 80 no_loginfunc_check=1
81 AC_MSG_NOTICE([Using uClibc - login() and logout() probably don't work, so we won't use them.]) 81 AC_MSG_NOTICE([Using uClibc - login() and logout() probably don't work, so we won't use them.])
82 ],,,) 82 ],,,)
83 83
84 # Checks for libraries. 84 # Checks for libraries.
85 AC_CHECK_LIB(crypt, crypt, LIBS="$LIBS -lcrypt") 85 AC_CHECK_LIB(crypt, crypt, CRYPTLIB="-lcrypt")
86 AC_SUBST(CRYPTLIB)
86 87
87 # Check if zlib is needed 88 # Check if zlib is needed
88 AC_ARG_WITH(zlib, 89 AC_ARG_WITH(zlib,
89 [ --with-zlib=PATH Use zlib in PATH], 90 [ --with-zlib=PATH Use zlib in PATH],
90 [ 91 [