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 12:34:55 UTC

svn commit: r1904740 - in /apr/apr-util/branches/1.6.x: ./ configure.in

Author: ylavic
Date: Thu Oct 20 12:34:55 2022
New Revision: 1904740

URL: http://svn.apache.org/viewvc?rev=1904740&view=rev
Log:
Follow up to r1904730: AC_SEARCH_LIBS might return "none required".


Merges r1904738 from ^/apr/apr-util/branches/1.7.x.

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

Propchange: apr/apr-util/branches/1.6.x/
------------------------------------------------------------------------------
  Merged /apr/apr-util/branches/1.7.x:r1904738

Modified: apr/apr-util/branches/1.6.x/configure.in
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.6.x/configure.in?rev=1904740&r1=1904739&r2=1904740&view=diff
==============================================================================
--- apr/apr-util/branches/1.6.x/configure.in (original)
+++ apr/apr-util/branches/1.6.x/configure.in Thu Oct 20 12:34:55 2022
@@ -175,8 +175,14 @@ APU_FIND_ICONV
 dnl Enable DSO build; must be last:
 APU_CHECK_UTIL_DSO
 
-AC_SEARCH_LIBS(crypt, crypt ufc,
-               [APR_ADDTO(APRUTIL_LIBS, [$ac_cv_search_crypt])])
+AC_SEARCH_LIBS(crypt, crypt ufc)
+case "$ac_cv_search_crypt" in
+*)
+    APR_ADDTO(APRUTIL_LIBS, [$ac_cv_search_crypt])
+    ;;
+"no"|"none required")
+    ;;
+esac
 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])