[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apr-cvs
Subject:    svn commit: r1904738 - /apr/apr-util/branches/1.7.x/configure.in
From:       ylavic () apache ! org
Date:       2022-10-20 12:30:35
Message-ID: 20221020123035.6D73317A735 () svn01-us-east ! apache ! org
[Download RAW message or body]

Author: ylavic
Date: Thu Oct 20 12:30:35 2022
New Revision: 1904738

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


Modified:
    apr/apr-util/branches/1.7.x/configure.in

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=1904738&r1=1904737&r2=1904738&view=diff
 ==============================================================================
--- apr/apr-util/branches/1.7.x/configure.in (original)
+++ apr/apr-util/branches/1.7.x/configure.in Thu Oct 20 12:30:35 2022
@@ -176,8 +176,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])


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic