cmake HAVE_UNISTD_H examples

nghttp2/nghttp2 CMakeLists.txt :346

check_include_file("unistd.h"       HAVE_UNISTD_H)

snl-dakota/dakota src/CMakeLists.txt :165

check_include_file(unistd.h HAVE_UNISTD_H)

snl-dakota/dakota src/CMakeLists.txt :167

add_definitions("-DHAVE_UNISTD_H")

snl-dakota/dakota src/CMakeLists.txt :168

endif(HAVE_UNISTD_H)

Kitware/VTK ThirdParty/expat/vtkexpat/ConfigureChecks.cmake :19

check_include_file("unistd.h" HAVE_UNISTD_H)

Kitware/VTK ThirdParty/freetype/vtkfreetype/CMakeLists.txt :45

check_include_file("unistd.h" HAVE_UNISTD_H)

Kitware/VTK ThirdParty/hdf5/vtkhdf5/config/cmake_ext_mod/ConfigureChecks.cmake :157

foreach (def
        HAVE_SYS_TIME_H
        HAVE_UNISTD_H
        HAVE_SYS_TYPES_H
    )

Kitware/VTK ThirdParty/libxml2/vtklibxml2/CMakeLists.txt :114

check_include_files(unistd.h HAVE_UNISTD_H)

Kitware/VTK ThirdParty/libxml2/vtklibxml2/CMakeLists.txt :210

check_include_files(unistd.h HAVE_UNISTD_H)

Kitware/VTK ThirdParty/netcdf/vtknetcdf/CMakeLists.txt :246

check_include_file("unistd.h" HAVE_UNISTD_H)

Kitware/VTK ThirdParty/tiff/vtktiff/cmake/IncludeChecks.cmake :36

check_include_file(unistd.h    HAVE_UNISTD_H)

chdb-io/chdb contrib/zlib-ng-cmake/CMakeLists.txt :105

string(REGEX REPLACE "#ifdef HAVE_UNISTD_H.*" "@ZCONF_UNISTD_LINE@" _line "${_line}")

GlobalArrays/ga cmake/ga-checks.cmake :125

check_include_files("unistd.h" HAVE_UNISTD_H)

GlobalArrays/ga cmx/CMakeLists.txt :113

check_include_files("unistd.h" HAVE_UNISTD_H)

GlobalArrays/ga comex/cmake/comex-utils.cmake :30

check_include_files("unistd.h" HAVE_UNISTD_H)

mongodb/mongo-bi-connector-odbc-driver configure.cmake :418

CHECK_INCLUDE_FILES (unistd.h HAVE_UNISTD_H)

SwagSoftware/Kisak-Strike thirdparty/gperftools-2.8.1/CMakeLists.txt :213

check_include_file("unistd.h" HAVE_UNISTD_H)

torch/DEPRECEATED-torch7-distro exe/qtlua/qlua/CMakeLists.txt :41

CHECK_INCLUDE_FILES(unistd.h HAVE_UNISTD_H)

torch/DEPRECEATED-torch7-distro pkg/paths/CMakeLists.txt :8

CHECK_INCLUDE_FILES(unistd.h HAVE_UNISTD_H)

LibreDWG/libredwg CMakeLists.txt :62

CHECK_INCLUDE_FILE("unistd.h" HAVE_UNISTD_H)

openclonk/openclonk CMakeLists.txt :201

CHECK_INCLUDE_FILE_CXX(unistd.h HAVE_UNISTD_H)

ucla-vision/xivo thirdparty/glog/CMakeLists.txt :111

check_include_file_cxx (unistd.h HAVE_UNISTD_H)

ucla-vision/xivo thirdparty/glog/CMakeLists.txt :362

else (HAVE_UNISTD_H)

ucla-vision/xivo thirdparty/glog/CMakeLists.txt :364

endif (HAVE_UNISTD_H)

ucla-vision/xivo thirdparty/gperftools/CMakeLists.txt :196

check_include_file("unistd.h" HAVE_UNISTD_H)

3MFConsortium/lib3mf CMakeLists.txt :198

target_compile_options(${PROJECT_NAME} PRIVATE "-DHAVE_UNISTD_H")

robotology/yarp extern/thrift/thrift/build/cmake/ConfigureChecks.cmake :39

check_include_file(unistd.h HAVE_UNISTD_H)

Yellow-Camper/libevhtp CMakeLists.txt :32

check_include_files(unistd.h    HAVE_UNISTD_H)

malaterre/GDCM Utilities/gdcmopenjpeg/CMakeLists.txt :229

CHECK_INCLUDE_FILE("unistd.h"       HAVE_UNISTD_H)

HumbleNet/HumbleNet 3rdparty/libwebsockets/CMakeLists.txt :240

CHECK_INCLUDE_FILE(unistd.h HAVE_UNISTD_H)

goatshriek/stumpless CMakeLists.txt :75

check_include_files(unistd.h HAVE_UNISTD_H)

goatshriek/stumpless CMakeLists.txt :236

endif(HAVE_UNISTD_H)

TA-Lib/ta-lib CMakeLists.txt :158

check_include_files(unistd.h HAVE_UNISTD_H)

vxl/vxl config/cmake/config/VXLIntrospectionConfig.cmake :519

CHECK_INCLUDE_FILE_CXX("unistd.h" HAVE_UNISTD_H)

ElektraInitiative/libelektra src/include/CMakeLists.txt :26

check_include_file (unistd.h HAVE_UNISTD_H)

FujiNetWIFI/fujinet-firmware components/expat/expat/expat/ConfigureChecks.cmake :19

check_include_file("unistd.h" HAVE_UNISTD_H)

FujiNetWIFI/fujinet-firmware components/libsmb2/cmake/ConfigureChecks.cmake :27

check_include_file("unistd.h" HAVE_UNISTD_H)

FujiNetWIFI/fujinet-firmware components/lz4/CMakeLists.txt :14

target_compile_definitions(${COMPONENT_LIB} PRIVATE HAVE_UNISTD_H)

FujiNetWIFI/fujinet-firmware components/lzma/CMakeLists.txt :14

target_compile_definitions(${COMPONENT_LIB} PRIVATE HAVE_UNISTD_H)

FujiNetWIFI/fujinet-firmware components/zlib/CMakeLists.txt :14

target_compile_definitions(${COMPONENT_LIB} PRIVATE HAVE_UNISTD_H)

FujiNetWIFI/fujinet-firmware components_pc/libsmb2/cmake/ConfigureChecks.cmake :27

check_include_file("unistd.h" HAVE_UNISTD_H)

FujiNetWIFI/fujinet-firmware components_pc/libssh/ConfigureChecks.cmake :54

check_include_file(unistd.h HAVE_UNISTD_H)

craigsapp/midifile CMakeLists.txt :12

check_include_files(unistd.h HAVE_UNISTD_H)

securesystemslab/multicompiler cmake/config-ix.cmake :71

check_include_file(unistd.h HAVE_UNISTD_H)

clibs/cmocka ConfigureChecks.cmake :67

check_include_file(unistd.h HAVE_UNISTD_H)

Lewuathe/mlir-hello thirdparty/llvm-project/llvm/cmake/config-ix.cmake :57

check_include_file(unistd.h HAVE_UNISTD_H)

microsoft/DirectXShaderCompiler cmake/config-ix.cmake :72

check_include_file(unistd.h HAVE_UNISTD_H)

monkey/monkey mk_core/CMakeLists.txt :84

check_c_source_compiles("
  #include <unistd.h>
  int main() {
     return 0;
  }" HAVE_UNISTD_H)

MiKTeX/miktex CMakeLists.txt :1420

check_include_files(unistd.h HAVE_UNISTD_H)

MiKTeX/miktex Libraries/3rd/freetype2/CMakeLists.txt :85

string(REGEX REPLACE
    "#undef +(HAVE_UNISTD_H)" "#define \\1 1"
    ftconfig_h "${ftconfig_h}"
)

MergHQ/CRYENGINE Code/Libs/zlib/CMakeLists.txt :54

ADD_DEFINITIONS(-DHAVE_UNISTD_H)

mysql/mysql-proxy CMakeLists.txt :197

CHECK_INCLUDE_FILES(unistd.h     HAVE_UNISTD_H)

HDFGroup/hdf5 config/ConfigureChecks.cmake :195

foreach (def
        HAVE_SYS_TIME_H
        HAVE_UNISTD_H
        HAVE_SYS_SOCKET_H
    )

HDFGroup/hdf5 config/cmake/ZLIBNG/CMakeLists.txt :417

check_include_file(unistd.h    HAVE_UNISTD_H)

HDFGroup/hdf5 config/cmake/ZLIBNG/CMakeLists.txt :1053

string(REGEX REPLACE "#ifdef HAVE_UNISTD_H.*" "@ZCONF_UNISTD_LINE@" _line "${_line}")

mongodb/mongo-c-driver src/libmongoc/CMakeLists.txt :113

check_include_files ("unistd.h" HAVE_UNISTD_H)

mongodb/mongo-c-driver src/libmongoc/CMakeLists.txt :116

add_definitions (-DHAVE_UNISTD_H)

mongodb/mongo-c-driver src/libmongoc/CMakeLists.txt :117

list (APPEND CMAKE_REQUIRED_DEFINITIONS -DHAVE_UNISTD_H)

gammu/gammu CMakeLists.txt :96

check_include_file (unistd.h HAVE_UNISTD_H)

gammu/gammu CMakeLists.txt :220

else(HAVE_UNISTD_H)

gammu/gammu CMakeLists.txt :222

endif (HAVE_UNISTD_H)

alibaba/AliSQL configure.cmake :398

CHECK_INCLUDE_FILES (unistd.h HAVE_UNISTD_H)

alibaba/AliSQL storage/tokudb/ft-index/cmake_modules/TokuFeatureDetection.cmake :44

check_include_files(unistd.h HAVE_UNISTD_H)

google/snappy CMakeLists.txt :114

check_include_file("unistd.h" HAVE_UNISTD_H)

baresip/re cmake/re-config.cmake :54

check_include_file(unistd.h HAVE_UNISTD_H)

baresip/re cmake/re-config.cmake :56

list(APPEND RE_DEFINITIONS HAVE_UNISTD_H)

navit-gps/navit CMakeLists.txt :840

CHECK_INCLUDE_FILES (unistd.h HAVE_UNISTD_H)

fluent/fluent-bit lib/c-ares-1.34.4/CMakeLists.txt :237

CHECK_INCLUDE_FILES (unistd.h              HAVE_UNISTD_H)

fluent/fluent-bit lib/jansson-e23f558/CMakeLists.txt :80

check_include_files (unistd.h HAVE_UNISTD_H)

fluent/fluent-bit lib/monkey/mk_core/CMakeLists.txt :84

check_c_source_compiles("
  #include <unistd.h>
  int main() {
     return 0;
  }" HAVE_UNISTD_H)

fluent/fluent-bit lib/nghttp2-1.65.0/CMakeLists.txt :330

check_include_file("unistd.h"       HAVE_UNISTD_H)

fluent/fluent-bit lib/onigmo/CMakeLists.txt :158

check_include_file(unistd.h HAVE_UNISTD_H)

chatopera/clause thirdparty/glog/CMakeLists.txt :82

check_include_file (unistd.h HAVE_UNISTD_H)

chatopera/clause thirdparty/glog/CMakeLists.txt :326

else (HAVE_UNISTD_H)

chatopera/clause thirdparty/glog/CMakeLists.txt :328

endif (HAVE_UNISTD_H)

Geocld/PeaSyo third-party/json-c/CMakeLists.txt :128

check_include_file(unistd.h         HAVE_UNISTD_H)

arkdb/arkproxy configure.cmake :233

CHECK_INCLUDE_FILES (unistd.h HAVE_UNISTD_H)

arkdb/arkproxy pcre/CMakeLists.txt :91

CHECK_INCLUDE_FILE(unistd.h     HAVE_UNISTD_H)

obgm/libcoap CMakeLists.txt :296

check_include_file(unistd.h HAVE_UNISTD_H)

DiligentGraphics/DiligentTools ThirdParty/zlib.cmake :53

target_compile_definitions(ZLib PRIVATE HAVE_UNISTD_H)

Dillonb/n64 src/contrib/libsamplerate/CMakeLists.txt :94

check_include_file(unistd.h HAVE_UNISTD_H)

joedrago/colorist ext/libwebp/cmake/deps.cmake :125

check_include_files(unistd.h HAVE_UNISTD_H)

joedrago/colorist ext/openjpeg/CMakeLists.txt :229

CHECK_INCLUDE_FILE("unistd.h"       HAVE_UNISTD_H)

joedrago/colorist ext/openjpeg/thirdparty/libtiff/CMakeLists.txt :109

CHECK_INCLUDE_FILES("unistd.h" HAVE_UNISTD_H)

antrad/Abuse_1996 CMakeLists.txt :23

check_include_files(unistd.h HAVE_UNISTD_H)

apache/xerces-c cmake/XercesIncludes.cmake :43

check_include_file_cxx(unistd.h                    HAVE_UNISTD_H)

InsightSoftwareConsortium/ITK Modules/Core/Common/CMakeLists.txt :63

check_include_files(
  "unistd.h"
  HAVE_UNISTD_H
)

InsightSoftwareConsortium/ITK Modules/ThirdParty/Expat/src/expat/ConfigureChecks.cmake :19

check_include_file("unistd.h" HAVE_UNISTD_H)

InsightSoftwareConsortium/ITK Modules/ThirdParty/HDF5/src/itkhdf5/config/cmake/ConfigureChecks.cmake :178

foreach (def
        HAVE_SYS_TIME_H
        HAVE_UNISTD_H
        HAVE_SYS_TYPES_H
        HAVE_SYS_SOCKET_H
    )

InsightSoftwareConsortium/ITK Modules/ThirdParty/HDF5/src/itkhdf5/config/cmake/ZLIBNG/CMakeLists.txt :352

check_include_file(unistd.h    HAVE_UNISTD_H)

InsightSoftwareConsortium/ITK Modules/ThirdParty/HDF5/src/itkhdf5/config/cmake/ZLIBNG/CMakeLists.txt :952

string(REGEX REPLACE "#ifdef HAVE_UNISTD_H.*" "@ZCONF_UNISTD_LINE@" _line "${_line}")

InsightSoftwareConsortium/ITK Modules/ThirdParty/MINC/src/libminc/CMakeLists.txt :195

CHECK_INCLUDE_FILES(unistd.h    HAVE_UNISTD_H)

InsightSoftwareConsortium/ITK Modules/ThirdParty/OpenJPEG/src/openjpeg/CMakeLists.txt :210

CHECK_INCLUDE_FILE("unistd.h"       HAVE_UNISTD_H)

InsightSoftwareConsortium/ITK Modules/ThirdParty/TIFF/src/itktiff/cmake/IncludeChecks.cmake :36

check_include_file(unistd.h    HAVE_UNISTD_H)

InsightSoftwareConsortium/ITK Modules/ThirdParty/VNL/src/vxl/config/cmake/config/VXLIntrospectionConfig.cmake :519

CHECK_INCLUDE_FILE_CXX("unistd.h" HAVE_UNISTD_H)

InsightSoftwareConsortium/ITK Modules/ThirdParty/ZLIB/src/itkzlib-ng/CMakeLists.txt :401

check_include_file(unistd.h    HAVE_UNISTD_H)

InsightSoftwareConsortium/ITK Modules/ThirdParty/ZLIB/src/itkzlib-ng/CMakeLists.txt :1058

string(REGEX REPLACE "#ifdef HAVE_UNISTD_H.*" "@ZCONF_UNISTD_LINE@" _line "${_line}")

danigm/poppler ConfigureChecks.cmake :25

check_include_files(unistd.h HAVE_UNISTD_H)

SsageParuders/Android_Native_Surface my_android_opencv/3rdparty/libtiff/CMakeLists.txt :35

check_include_file(unistd.h    HAVE_UNISTD_H)

SsageParuders/Android_Native_Surface my_android_opencv/3rdparty/openjpeg/CMakeLists.txt :136

CHECK_INCLUDE_FILE("unistd.h"       HAVE_UNISTD_H)