svn commit: r1931337 - subversion/trunk

[email protected]
Newsgroups gmane.comp.version-control.subversion.svn
Message-ID <176853840612.2570806.5581127934545157044@svn02-us-east.apache.org>
Author: brane
Date: Fri Jan 16 04:40:05 2026
New Revision: 1931337

Log:
Follow up to r1931334: Look for adler32_z() in the CMake build, too.

* CMakeLists.txt: Add authckeck for adler32_z() in zlib.

Modified:
   subversion/trunk/CMakeLists.txt

Modified: subversion/trunk/CMakeLists.txt
==============================================================================
--- subversion/trunk/CMakeLists.txt	Fri Jan 16 04:20:02 2026	(r1931336)
+++ subversion/trunk/CMakeLists.txt	Fri Jan 16 04:40:05 2026	(r1931337)
@@ -682,6 +682,10 @@ if (HAVE_UNISTD_H)
   autocheck_symbol_exists("getpid" "unistd.h" HAVE_GETPID)
 endif()
 
+set(CMAKE_REQUIRED_LIBRARIES external-zlib)
+autocheck_symbol_exists("adler32_z" "zlib.h" SVN_ZLIB_HAS_ADLER32_Z)
+unset(CMAKE_REQUIRED_LIBRARIES)
+
 include_directories("${CMAKE_CURRENT_BINARY_DIR}")
 
 file(GLOB public_headers "subversion/include/*.h")
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.