GreatSQL/GreatSQL
extra/curl/curl-7.86.0/CMakeLists.txt
:1098
check_symbol_exists(snprintf "${CURL_INCLUDES}" HAVE_SNPRINTF)
check_symbol_exists(snprintf "${CURL_INCLUDES}" HAVE_SNPRINTF)
add_definitions(-DHAVE_SNPRINTF)
check_symbol_exists (snprintf cstdio HAVE_SNPRINTF)
check_function_exists("snprintf" HAVE_SNPRINTF)
check_symbol_exists("snprintf" "stdio.h" HAVE_SNPRINTF)
check_symbol_exists(snprintf "${CURL_INCLUDES}" HAVE_SNPRINTF)
set_property(DIRECTORY APPEND
PROPERTY COMPILE_DEFINITIONS
HAVE_SNPRINTF
)
check_symbol_exists (snprintf "stdio.h" HAVE_SNPRINTF)
check_symbol_exists(snprintf "stdio.h" HAVE_SNPRINTF)
CHECK_SYMBOL_EXISTS(snprintf stdio.h HAVE_SNPRINTF)
check_symbol_exists("snprintf" "stdio.h" HAVE_SNPRINTF)
check_symbol_exists (snprintf stdio.h HAVE_SNPRINTF)
check_cxx_symbol_exists(snprintf cstdio HAVE_SNPRINTF)
check_symbol_exists (snprintf "stdio.h" HAVE_SNPRINTF)
CHECK_SYMBOL_EXISTS("snprintf" "stdio.h" HAVE_SNPRINTF)
CHECK_SYMBOL_EXISTS(snprintf "stdio.h" HAVE_SNPRINTF)
check_symbol_exists (snprintf stdio.h HAVE_SNPRINTF)
set_property (SOURCE src/windows/port.cc APPEND PROPERTY COMPILE_DEFINITIONS
HAVE_SNPRINTF)
endif (WIN32 AND HAVE_SNPRINTF)
check_symbol_exists(snprintf "stdio.h" HAVE_SNPRINTF)
CHECK_FUNCTION_EXISTS (snprintf HAVE_SNPRINTF)
check_symbol_exists(snprintf stdio.h HAVE_SNPRINTF)
check_function_exists(sprintf HAVE_SNPRINTF)
check_function_exists("snprintf" HAVE_SNPRINTF)
check_symbol_exists(snprintf "stdio.h" HAVE_SNPRINTF)
check_symbol_exists(snprintf stdio.h HAVE_SNPRINTF)
check_symbol_exists(snprintf stdio.h HAVE_SNPRINTF)
check_symbol_exists(snprintf "${CURL_INCLUDES}" HAVE_SNPRINTF)
check_function_exists("snprintf" HAVE_SNPRINTF)
check_symbol_exists("snprintf" "stdio.h" HAVE_SNPRINTF)
check_symbol_exists("snprintf" "stdio.h" HAVE_SNPRINTF)
check_symbol_exists(snprintf "stdio.h" HAVE_SNPRINTF)
CHECK_FUNCTION_EXISTS(snprintf HAVE_SNPRINTF)
endif(NOT HAVE_SNPRINTF)
check_symbol_exists(snprintf stdio.h HAVE_SNPRINTF)
CHECK_FUNCTION_EXISTS (snprintf HAVE_SNPRINTF)
check_symbol_exists(snprintf "stdio.h" HAVE_SNPRINTF)
check_symbol_exists(snprintf "stdio.h" HAVE_SNPRINTF)
CHECK_FUNCTION_EXISTS(snprintf HAVE_SNPRINTF)
check_symbol_exists(snprintf stdio.h HAVE_SNPRINTF)
check_symbol_exists(snprintf "stdio.h" HAVE_SNPRINTF)
check_symbol_exists(snprintf stdio.h HAVE_SNPRINTF)
check_function_exists(sprintf HAVE_SNPRINTF)
CHECK_FUNCTION_EXISTS("snprintf" HAVE_SNPRINTF)
add_definitions( -DHAVE_SNPRINTF)
check_symbol_exists(snprintf "stdio.h" HAVE_SNPRINTF)
check_c_source_compiles("
#include <stdio.h>
int main(void) {
char buf[10];
snprintf(buf, 10, \"Test %d\", 1);
return 0;
}"
HAVE_SNPRINTF)
check_symbol_exists(snprintf "stdio.h" HAVE_SNPRINTF)
check_c_source_compiles("
#include <stdio.h>
int main(void) {
char buf[10];
snprintf(buf, 10, \"Test %d\", 1);
return 0;
}" HAVE_SNPRINTF)
check_c_source_compiles("
#include <stdio.h>
int main(void) {
char buf[10];
snprintf(buf, 10, \"Test %d\", 1);
return 0;
}"
HAVE_SNPRINTF)
set_target_properties(${_pythoninterface_test_target_name} PROPERTIES COMPILE_FLAGS "/DHAVE_SNPRINTF")
CHECK_FUNCTION_EXISTS (snprintf HAVE_SNPRINTF)
check_c_source_compiles("
#include <stdio.h>
int main(int argc, char *argv[])
{
char buf[16];
(void)snprintf(buf, sizeof(buf), \"foo\");
return (0);
}
" HAVE_SNPRINTF)
check_symbol_exists(snprintf "stdio.h" HAVE_SNPRINTF)
check_symbol_exists (snprintf stdio.h HAVE_SNPRINTF)
set_property (SOURCE src/windows/port.cc APPEND PROPERTY COMPILE_DEFINITIONS
HAVE_SNPRINTF)
endif (WIN32 AND HAVE_SNPRINTF)
check_symbol_exists(snprintf "stdio.h" HAVE_SNPRINTF)
CHECK_CXX_SOURCE_COMPILES("#include <stdio.h>
int main() {snprintf(0,0,0); return 1;}" HAVE_SNPRINTF)
check_function_exists("snprintf" HAVE_SNPRINTF)
check_symbol_exists("snprintf" "stdio.h" HAVE_SNPRINTF)
check_symbol_exists(snprintf stdio.h HAVE_SNPRINTF)
check_symbol_exists(snprintf stdio.h HAVE_SNPRINTF)
check_symbol_exists(snprintf stdio.h HAVE_SNPRINTF)
check_symbol_exists(snprintf stdio.h HAVE_SNPRINTF)
check_symbol_exists(snprintf stdio.h HAVE_SNPRINTF)
check_symbol_exists(snprintf stdio.h HAVE_SNPRINTF)
check_symbol_exists(snprintf stdio.h HAVE_SNPRINTF)
check_symbol_exists(snprintf stdio.h HAVE_SNPRINTF)
check_function_exists(snprintf HAVE_SNPRINTF)
check_symbol_exists(snprintf "stdio.h" HAVE_SNPRINTF)