You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by yl...@apache.org on 2022/10/20 09:31:51 UTC
svn commit: r1904726 - /apr/apr/trunk/configure.in
Author: ylavic
Date: Thu Oct 20 09:31:50 2022
New Revision: 1904726
URL: http://svn.apache.org/viewvc?rev=1904726&view=rev
Log:
configure: Link to libcrypt (when available) for apr_password_validate.
Modified:
apr/apr/trunk/configure.in
Modified: apr/apr/trunk/configure.in
URL: http://svn.apache.org/viewvc/apr/apr/trunk/configure.in?rev=1904726&r1=1904725&r2=1904726&view=diff
==============================================================================
--- apr/apr/trunk/configure.in (original)
+++ apr/apr/trunk/configure.in Thu Oct 20 09:31:50 2022
@@ -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])