]> git.mxchange.org Git - flightgear.git/commitdiff
Fix for bug 331, cmake was missing mkfifo() check. Thanks to Olaf Flebbe for the...
authorJames Turner <zakalawe@mac.com>
Thu, 2 Jun 2011 22:01:17 +0000 (23:01 +0100)
committerJames Turner <zakalawe@mac.com>
Thu, 2 Jun 2011 22:01:17 +0000 (23:01 +0100)
CMakeLists.txt
src/Include/config_cmake.h.in

index 1ec1f627ec1cdfd416ae01d6cc62086adea442f5..06f3517b3119cb91e88b8cd5524faa775b52b62e 100644 (file)
@@ -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 (
index 047717038e266e1721c7f0f9846cb716bd132bfe..721253db8f2c30ca6a50df0f5ce4a36ca965af8c 100644 (file)
@@ -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@"