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