Mercurial > nomad > experimental
changeset 292:ccd581da0d91
cmake: check for presence of door.h
Not all systems define Solaris/Illumos door related macros, etc.
Eventually, we'll guard the code with checks for HAVE_DOORS that this commit
defines.
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
author | Josef 'Jeff' Sipek <jeffpc@josefsipek.net> |
---|---|
date | Thu, 28 Apr 2016 17:49:36 -0400 |
parents | 125e4168e843 |
children | d6f2d60a2475 |
files | cmake/config.cmake src/common/include/nomad/config.h.in |
diffstat | 2 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/cmake/config.cmake Thu Apr 28 17:49:34 2016 -0400 +++ b/cmake/config.cmake Thu Apr 28 17:49:36 2016 -0400 @@ -21,10 +21,13 @@ # include(CheckFunctionExists) +include(CheckIncludeFiles) include(CheckCSourceCompiles) include(cmake/config/xdr.cmake) +check_include_files(door.h HAVE_DOORS) + set(CMAKE_MODULE_PATH "${CMAKE_DIR}/Modules") find_package(umem) find_package(avl)