cmake: remove HAVE_FORK since it leads to performance issuses with the cuba lib.

This commit is contained in:
suter_a 2018-06-12 11:25:23 +02:00
parent 6103a293dc
commit 7f82ecb9e7
2 changed files with 0 additions and 4 deletions

View File

@ -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)

View File

@ -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