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:50:59 UTC

svn commit: r1904730 - in /apr/apr-util/branches/1.7.x: ./ configure.in

Author: ylavic
Date: Thu Oct 20 09:50:59 2022
New Revision: 1904730

URL: http://svn.apache.org/viewvc?rev=1904730&view=rev
Log:
configure: Link to libcrypt (when available) for apr_password_validate.


Merges r1904726 from trunk.

Modified:
    apr/apr-util/branches/1.7.x/   (props changed)
    apr/apr-util/branches/1.7.x/configure.in

Propchange: apr/apr-util/branches/1.7.x/
------------------------------------------------------------------------------
  Merged /apr/apr/trunk:r1904726

Modified: apr/apr-util/branches/1.7.x/configure.in
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.7.x/configure.in?rev=1904730&r1=1904729&r2=1904730&view=diff
==============================================================================
--- apr/apr-util/branches/1.7.x/configure.in (original)
+++ apr/apr-util/branches/1.7.x/configure.in Thu Oct 20 09:50:59 2022
@@ -176,7 +176,8 @@ APU_FIND_ICONV
 dnl Enable DSO build; must be last:
 APU_CHECK_UTIL_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])