diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-03-23 17:42:33 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-03-23 17:42:33 +0300 |
commit | 1d4a64659b490140eae991bcc46ce8d8cdf3ab42 (patch) | |
tree | 01e2cc3ced563101eb9bc45cebfc6ca2097cec04 /CMakeLists.txt | |
parent | 689855e2bb5a1c911bab1f71da9aa963a8da62a2 (diff) | |
download | rspamd-1d4a64659b490140eae991bcc46ce8d8cdf3ab42.tar.gz rspamd-1d4a64659b490140eae991bcc46ce8d8cdf3ab42.zip |
* Main process now has 'hard termination time' - maximum time between getting termination signal and waiting for workers
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0abd13d9f..6f50b5677 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -423,6 +423,9 @@ ENDIF(HAVE_SYS_WAIT_H) IF(HAVE_TIME_H) LIST(APPEND CMAKE_REQUIRED_INCLUDES time.h) ENDIF(HAVE_TIME_H) +IF(HAVE_SYS_TIME_H) + LIST(APPEND CMAKE_REQUIRED_INCLUDES sys/time.h) +ENDIF(HAVE_SYS_TIME_H) CHECK_FUNCTION_EXISTS(setproctitle HAVE_SETPROCTITLE) CHECK_FUNCTION_EXISTS(getpagesize HAVE_GETPAGESIZE) @@ -434,6 +437,7 @@ CHECK_FUNCTION_EXISTS(flock HAVE_FLOCK) CHECK_FUNCTION_EXISTS(tanhl HAVE_TANHL) CHECK_FUNCTION_EXISTS(sendfile HAVE_SENDFILE) CHECK_FUNCTION_EXISTS(mkstemp HAVE_MKSTEMP) +CHECK_FUNCTION_EXISTS(setitimer HAVE_SETITIMER) CHECK_FUNCTION_EXISTS(clock_gettime HAVE_CLOCK_GETTIME) CHECK_SYMBOL_EXISTS(PATH_MAX limits.h HAVE_PATH_MAX) |