From: James Turner Date: Thu, 2 Jun 2011 22:01:17 +0000 (+0100) Subject: Fix for bug 331, cmake was missing mkfifo() check. Thanks to Olaf Flebbe for the... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b0985c6b022e67b5875b33cbbf809392b8c21745;p=flightgear.git Fix for bug 331, cmake was missing mkfifo() check. Thanks to Olaf Flebbe for the catch! --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 1ec1f627e..06f3517b3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -224,6 +224,8 @@ include_directories(${PROJECT_BINARY_DIR}/src/Include) add_definitions(-DHAVE_CONFIG_H) +check_function_exists(mkfifo HAVE_MKFIFO) + # configure a header file to pass some of the CMake settings # to the source code configure_file ( diff --git a/src/Include/config_cmake.h.in b/src/Include/config_cmake.h.in index 047717038..721253db8 100644 --- a/src/Include/config_cmake.h.in +++ b/src/Include/config_cmake.h.in @@ -19,6 +19,7 @@ #cmakedefine HAVE_SYS_TIME_H #cmakedefine HAVE_WINDOWS_H #cmakedefine HAVE_CULLSETTINGS_CLEAR_MASK +#cmakedefine HAVE_MKFIFO #define VERSION "@FLIGHTGEAR_VERSION@"