Author: dsahlberg
Date: Fri Jan  9 14:43:21 2026
New Revision: 1931194

Log:
Clear out some not-needed-anymore stuff related to Serf.


* subversion/libsvn_ra_serf/ra_serf.h
  Remove SERF version check. The same check exists in configure.ac.
  It doesn't (yet) exist in the CMake build system but it is discussed on dev@
* subversion/include/private/svn_dep_compat.h
  Remove the macro SERF_VERSION_AT_LEAST. It exists in all supported SERF
  versions already.

Thread on dev@ https://lists.apache.org/thread/d20734r67zd4qrgx79tt82xl8g1z5g2r

Modified:
   subversion/trunk/subversion/include/private/svn_dep_compat.h
   subversion/trunk/subversion/libsvn_ra_serf/ra_serf.h

Modified: subversion/trunk/subversion/include/private/svn_dep_compat.h
==============================================================================
--- subversion/trunk/subversion/include/private/svn_dep_compat.h        Fri Jan 
 9 13:45:24 2026        (r1931193)
+++ subversion/trunk/subversion/include/private/svn_dep_compat.h        Fri Jan 
 9 14:43:21 2026        (r1931194)
@@ -132,26 +132,6 @@ extern "C" {
 #endif
 
 /**
- * Check at compile time if the Serf version is at least a certain
- * level.
- * @param major The major version component of the version checked
- * for (e.g., the "1" of "1.3.0").
- * @param minor The minor version component of the version checked
- * for (e.g., the "3" of "1.3.0").
- * @param patch The patch level component of the version checked
- * for (e.g., the "0" of "1.3.0").
- *
- * @since New in 1.5.
- */
-#ifndef SERF_VERSION_AT_LEAST /* Introduced in Serf 0.1.1 */
-#define SERF_VERSION_AT_LEAST(major,minor,patch)                       \
-(((major) < SERF_MAJOR_VERSION)                                        \
- || ((major) == SERF_MAJOR_VERSION && (minor) < SERF_MINOR_VERSION)    \
- || ((major) == SERF_MAJOR_VERSION && (minor) == SERF_MINOR_VERSION && \
-     (patch) <= SERF_PATCH_VERSION))
-#endif /* SERF_VERSION_AT_LEAST */
-
-/**
  * By default, if libsvn is built against one version of SQLite
  * and then run using an older version, svn will error out:
  *

Modified: subversion/trunk/subversion/libsvn_ra_serf/ra_serf.h
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/ra_serf.h        Fri Jan  9 
13:45:24 2026        (r1931193)
+++ subversion/trunk/subversion/libsvn_ra_serf/ra_serf.h        Fri Jan  9 
14:43:21 2026        (r1931194)
@@ -48,11 +48,6 @@ extern "C" {
 #endif /* __cplusplus */
 
 
-/* Enforce the minimum version of serf. */
-#if !SERF_VERSION_AT_LEAST(1, 2, 1)
-#error Please update your version of serf to at least 1.2.1.
-#endif
-
 /** Wait duration (in microseconds) used in calls to serf_context_run() */
 #define SVN_RA_SERF__CONTEXT_RUN_DURATION 500000
 

Reply via email to