Previously, our post-processing of HAVE_GETRANDOM did
was not applied to expat_config.h.
enable_testing()\r
endif(BUILD_tests)\r
\r
+\r
include(${CMAKE_CURRENT_LIST_DIR}/ConfigureChecks.cmake)\r
\r
macro(evaluate_detection_results use_ref have_ref thing_lower thing_title)\r
evaluate_detection_results(USE_SYS_GETRANDOM HAVE_SYSCALL_GETRANDOM "syscall SYS_getrandom" "Syscall SYS_getrandom")\r
endif()\r
\r
+configure_file(expat_config.h.cmake "${CMAKE_CURRENT_BINARY_DIR}/expat_config.h")\r
+add_definitions(-DHAVE_EXPAT_CONFIG_H)\r
+\r
\r
set(EXTRA_COMPILE_FLAGS)\r
if(FLAG_NO_STRICT_ALIASING)\r
}"\r
HAVE_SYSCALL_GETRANDOM)\r
\r
-configure_file(expat_config.h.cmake "${CMAKE_CURRENT_BINARY_DIR}/expat_config.h")\r
-add_definitions(-DHAVE_EXPAT_CONFIG_H)\r
-\r
check_c_compiler_flag("-fno-strict-aliasing" FLAG_NO_STRICT_ALIASING)\r
check_c_compiler_flag("-fvisibility=hidden" FLAG_VISIBILITY)\r