diff --git a/CMakeLists.txt b/CMakeLists.txt index 31b453f064..15d3a3ab85 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -110,20 +110,6 @@ ELSE() ADD_COMPILE_DEFINITIONS(APR_HAVE_MODULAR_DSO=0) ENDIF() -# create 1-or-0 representation of feature tests for apr.h - -SET(apu_use_libxml2_10 0) -SET(apu_use_expat_10 0) -SET(apu_use_xmllite_10 0) - -IF(APU_USE_EXPAT) - SET(apu_use_expat_10 1) -ELSEIF(APU_USE_LIBXML2) - SET(apu_use_libxml2_10 1) -ELSE(APU_USE_XMLLITE) - SET(apu_use_xmllite_10 1) -ENDIF() - # Read current version. FILE(STRINGS include/apr_version.h VERSION_STRINGS REGEX "#define (APR_MAJOR_VERSION|APR_MINOR_VERSION|APR_PATCH_VERSION)") diff --git a/include/apr.hwc b/include/apr.hwc index c8fc491ea7..2e00035fdf 100644 --- a/include/apr.hwc +++ b/include/apr.hwc @@ -673,9 +673,9 @@ typedef int apr_wait_t; #cmakedefine01 APU_HAVE_ICONV #define APR_HAS_XLATE (APU_HAVE_ICONV) -#define APU_USE_EXPAT @apu_use_expat_10@ -#define APU_USE_LIBXML2 @apu_use_libxml2_10@ -#define APU_USE_XMLLITE @apu_use_xmllite_10@ +#cmakedefine01 APU_USE_EXPAT +#cmakedefine01 APU_USE_LIBXML2 +#cmakedefine01 APU_USE_XMLLITE /** @} */