hgoldfish/qtnetworkng
libressl/CMakeLists.txt
:283
check_function_exists(syslog HAVE_SYSLOG)
check_function_exists(syslog HAVE_SYSLOG)
add_definitions(-DHAVE_SYSLOG)
check_function_exists(syslog HAVE_SYSLOG)
add_definitions(-DHAVE_SYSLOG)
check_c_source_compiles ("
#include <stdio.h>
#include <syslog.h>
#include <stdarg.h>
int main(void) {
syslog(LOG_NOTICE, \"aaa %d\", 1);
return 0;
}
" HAVE_SYSLOG)
check_function_exists(syslog HAVE_SYSLOG)
add_definitions(-DHAVE_SYSLOG)
check_function_exists(syslog HAVE_SYSLOG)
add_definitions(-DHAVE_SYSLOG)
check_function_exists(syslog HAVE_SYSLOG)
check_function_exists(syslog HAVE_SYSLOG)
add_definitions(-DHAVE_SYSLOG)