diff options
Diffstat (limited to '')
-rw-r--r-- | CMakeLists.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 46e01ae..4d54ada 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -237,6 +237,21 @@ if(HAVE_GETPAGESIZE) | |||
237 | add_definitions(-DHAVE_GETPAGESIZE) | 237 | add_definitions(-DHAVE_GETPAGESIZE) |
238 | endif() | 238 | endif() |
239 | 239 | ||
240 | check_function_exists(getprogname HAVE_GETPROGNAME) | ||
241 | if(HAVE_GETPROGNAME) | ||
242 | add_definitions(-DHAVE_GETPROGNAME) | ||
243 | endif() | ||
244 | |||
245 | check_function_exists(syslog_r HAVE_SYSLOG_R) | ||
246 | if(HAVE_SYSLOG_R) | ||
247 | add_definitions(-DHAVE_SYSLOG_R) | ||
248 | endif() | ||
249 | |||
250 | check_function_exists(syslog HAVE_SYSLOG) | ||
251 | if(HAVE_SYSLOG) | ||
252 | add_definitions(-DHAVE_SYSLOG) | ||
253 | endif() | ||
254 | |||
240 | check_symbol_exists(timespecsub sys/time.h HAVE_TIMESPECSUB) | 255 | check_symbol_exists(timespecsub sys/time.h HAVE_TIMESPECSUB) |
241 | if(HAVE_TIMESPECSUB) | 256 | if(HAVE_TIMESPECSUB) |
242 | add_definitions(-DHAVE_TIMESPECSUB) | 257 | add_definitions(-DHAVE_TIMESPECSUB) |