You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by iv...@apache.org on 2024/09/02 10:27:37 UTC

svn commit: r1920380 - in /apr/apr-util/branches/1.7.x: CMakeLists.txt include/apu.hwc

Author: ivan
Date: Mon Sep  2 10:27:36 2024
New Revision: 1920380

URL: http://svn.apache.org/viewvc?rev=1920380&view=rev
Log:
CMake: Use #cmakedefine01 for APU_USE_EXPAT and APU_USE_LIBXML2.

Modified:
    apr/apr-util/branches/1.7.x/CMakeLists.txt
    apr/apr-util/branches/1.7.x/include/apu.hwc

Modified: apr/apr-util/branches/1.7.x/CMakeLists.txt
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.7.x/CMakeLists.txt?rev=1920380&r1=1920379&r2=1920380&view=diff
==============================================================================
--- apr/apr-util/branches/1.7.x/CMakeLists.txt (original)
+++ apr/apr-util/branches/1.7.x/CMakeLists.txt Mon Sep  2 10:27:36 2024
@@ -75,14 +75,6 @@ ENDIF()
 # create 1-or-0 representation of feature tests for apu.h
 
 SET(apu_have_apr_iconv_10 0) # not yet implemented
-SET(apu_use_libxml2_10 0)
-SET(apu_use_expat_10 0)
-
-IF(APU_USE_EXPAT)
-  SET(apu_use_expat_10 1)
-ELSE()
-  SET(apu_use_libxml2_10 1)
-ENDIF()
 
 SET(LDAP_LIBRARIES)
 IF(APR_HAS_LDAP)

Modified: apr/apr-util/branches/1.7.x/include/apu.hwc
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.7.x/include/apu.hwc?rev=1920380&r1=1920379&r2=1920380&view=diff
==============================================================================
--- apr/apr-util/branches/1.7.x/include/apu.hwc (original)
+++ apr/apr-util/branches/1.7.x/include/apu.hwc Mon Sep  2 10:27:36 2024
@@ -141,8 +141,8 @@
 #define APU_HAVE_ICONV          0
 #define APR_HAS_XLATE           (APU_HAVE_APR_ICONV || APU_HAVE_ICONV)
 
-#define APU_USE_EXPAT           @apu_use_expat_10@
-#define APU_USE_LIBXML2         @apu_use_libxml2_10@
+#cmakedefine01 APU_USE_EXPAT
+#cmakedefine01 APU_USE_LIBXML2
 
 #define APU_HAVE_MEMMEM         0