summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2022-10-20 09:31:50 +0000
committerYann Ylavic <ylavic@apache.org>2022-10-20 09:31:50 +0000
commitb4d4a974aafb712f51cf6b9e480dd39010644474 (patch)
tree3252fd5b4edcbfed951cfc79d970c726e0e2eef7 /configure.in
parenta783ca8b7af24dd3392ce3658acbbf52d18af14e (diff)
downloadapr-b4d4a974aafb712f51cf6b9e480dd39010644474.tar.gz
configure: Link to libcrypt (when available) for apr_password_validate.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1904726 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 653d2597b..f8eda6456 100644
--- a/configure.in
+++ b/configure.in
@@ -3053,7 +3053,8 @@ APU_FIND_ICONV
dnl Enable DSO build; must be last:
APR_MODULAR_DSO
-AC_SEARCH_LIBS(crypt, crypt ufc)
+AC_SEARCH_LIBS(crypt, crypt ufc,
+ [APR_ADDTO(APRUTIL_LIBS, [$ac_cv_search_crypt])])
AC_MSG_CHECKING(if system crypt() function is threadsafe)
if test "x$apu_crypt_threadsafe" = "x1"; then
AC_DEFINE(APU_CRYPT_THREADSAFE, 1, [Define if the system crypt() function is threadsafe])