cmake: remove HAVE_FORK since it leads to performance issuses with the cuba lib.
This commit is contained in:
parent
6103a293dc
commit
7f82ecb9e7
@ -37,7 +37,6 @@ include(CheckIncludeFiles)
|
|||||||
include(CheckFunctionExists)
|
include(CheckFunctionExists)
|
||||||
check_include_files(alloca.h HAVE_ALLOCA_H)
|
check_include_files(alloca.h HAVE_ALLOCA_H)
|
||||||
check_include_files("sys/ipc.h;sys/shm.h" HAVE_SHMGET)
|
check_include_files("sys/ipc.h;sys/shm.h" HAVE_SHMGET)
|
||||||
check_function_exists(fork HAVE_FORK)
|
|
||||||
check_include_files(dlfcn.h HAVE_DLFCN_H)
|
check_include_files(dlfcn.h HAVE_DLFCN_H)
|
||||||
check_function_exists(erf HAVE_ERF)
|
check_function_exists(erf HAVE_ERF)
|
||||||
check_function_exists(getloadavg HAVE_GETLOADAVG)
|
check_function_exists(getloadavg HAVE_GETLOADAVG)
|
||||||
|
@ -2,9 +2,6 @@
|
|||||||
|
|
||||||
#define PACKAGE_VERSION "@PROJECT_VERSION@"
|
#define PACKAGE_VERSION "@PROJECT_VERSION@"
|
||||||
|
|
||||||
// define to 1 if you have fork and it should be used
|
|
||||||
#cmakedefine HAVE_FORK 1
|
|
||||||
|
|
||||||
// define to 1 if you have <alloca.h> and it should be used
|
// define to 1 if you have <alloca.h> and it should be used
|
||||||
#cmakedefine HAVE_ALLOCA_H 1
|
#cmakedefine HAVE_ALLOCA_H 1
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user