ElektraInitiative/libelektra
src/include/CMakeLists.txt
:26
check_include_file (unistd.h HAVE_UNISTD_H)
check_include_file (unistd.h HAVE_UNISTD_H)
check_include_file(unistd.h HAVE_UNISTD_H)
CHECK_INCLUDE_FILES (unistd.h HAVE_UNISTD_H)
check_include_files(unistd.h HAVE_UNISTD_H)
list(APPEND CHECK_VARIABLES
HAVE_ARC4RANDOM_BUF
HAVE_CBOR_H
HAVE_CLOCK_GETTIME
HAVE_ENDIAN_H
HAVE_ERR_H
HAVE_FREEZERO
HAVE_GETLINE
HAVE_GETOPT
HAVE_GETPAGESIZE
HAVE_GETRANDOM
HAVE_MEMSET_S
HAVE_OPENSSLV_H
HAVE_POSIX_IOCTL
HAVE_READPASSPHRASE
HAVE_RECALLOCARRAY
HAVE_SIGACTION
HAVE_SIGNAL_H
HAVE_STRLCAT
HAVE_STRLCPY
HAVE_SYSCONF
HAVE_SYS_RANDOM_H
HAVE_TIMESPECSUB
HAVE_TIMINGSAFE_BCMP
HAVE_UNISTD_H
HAVE_WEBAUTHN_H
)
add_definitions(-DHAVE_UNISTD_H)
check_include_file_cxx(unistd.h HAVE_UNISTD_H)
check_include_file("unistd.h" HAVE_UNISTD_H)
check_include_file_cxx (unistd.h HAVE_UNISTD_H)
else (HAVE_UNISTD_H)
endif (HAVE_UNISTD_H)
check_include_file("unistd.h" HAVE_UNISTD_H)
file(APPEND ${CONF_OUT_FILE} "#cmakedefine HAVE_UNISTD_H 1\n")
check_include_file(unistd.h HAVE_UNISTD_H)
check_include_file(unistd.h HAVE_UNISTD_H)
target_compile_definitions(
libminizip
PRIVATE $<$<BOOL:${MSVC}>:_CRT_SECURE_NO_WARNINGS>
$<$<BOOL:${HAVE___ATTR__VIS_HIDDEN}>:HAVE_HIDDEN>
$<$<BOOL:${HAVE_UNISTD_H}>:HAVE_UNISTD_H=1>
PUBLIC $<$<BOOL:${HAVE_OFF64_T}>:_LARGEFILE64_SOURCE=1>
$<$<BOOL:${BZIP2_FOUND}>:HAVE_BZIP2=1>
$<$<BOOL:NOT:${HAVE_FOPEN64}>:USE_FILE32API=1>)
target_compile_definitions(
libminizipstatic
PRIVATE $<$<BOOL:${MSVC}>:_CRT_SECURE_NO_WARNINGS>
$<$<BOOL:${HAVE___ATTR__VIS_HIDDEN}>:HAVE_HIDDEN>
$<$<BOOL:${HAVE_UNISTD_H}>:HAVE_UNISTD_H=1>
PUBLIC $<$<BOOL:${HAVE_OFF64_T}>:_LARGEFILE64_SOURCE=1>
$<$<BOOL:${BZIP2_FOUND}>:HAVE_BZIP2=1>
$<$<BOOL:NOT:${HAVE_FOPEN64}>:USE_FILE32API=1>)
CHECK_INCLUDE_FILES (unistd.h HAVE_UNISTD_H)
foreach(_variable IN ITEMS
HAVE_STDATOMIC_H
HAVE_STDBOOL_H
HAVE_STROPTS_H
HAVE_SYS_IOCTL_H
HAVE_SYS_SOCKET_H
HAVE_SYS_TYPES_H
HAVE_UNISTD_H
)
check_include_file("unistd.h" HAVE_UNISTD_H)
check_include_files(unistd.h HAVE_UNISTD_H)
list(APPEND CHECK_VARIABLES
HAVE_ARC4RANDOM_BUF
HAVE_ASPRINTF
HAVE_CBOR_H
HAVE_CLOCK_GETTIME
HAVE_ENDIAN_H
HAVE_ERR_H
HAVE_FREEZERO
HAVE_GETLINE
HAVE_GETOPT
HAVE_GETPAGESIZE
HAVE_GETRANDOM
HAVE_MEMSET_S
HAVE_OPENSSLV_H
HAVE_POSIX_IOCTL
HAVE_READPASSPHRASE
HAVE_RECALLOCARRAY
HAVE_SIGNAL_H
HAVE_STRLCAT
HAVE_STRLCPY
HAVE_STRSEP
HAVE_SYSCONF
HAVE_SYS_RANDOM_H
HAVE_TIMESPECSUB
HAVE_TIMINGSAFE_BCMP
HAVE_UNISTD_H
)
check_include_file(unistd.h HAVE_UNISTD_H)
CHECK_INCLUDE_FILES (unistd.h HAVE_UNISTD_H)
check_include_files(unistd.h HAVE_UNISTD_H)
list(APPEND CHECK_VARIABLES
HAVE_ARC4RANDOM_BUF
HAVE_CBOR_H
HAVE_CLOCK_GETTIME
HAVE_ENDIAN_H
HAVE_ERR_H
HAVE_FREEZERO
HAVE_GETLINE
HAVE_GETOPT
HAVE_GETPAGESIZE
HAVE_GETRANDOM
HAVE_MEMSET_S
HAVE_OPENSSLV_H
HAVE_POSIX_IOCTL
HAVE_READPASSPHRASE
HAVE_RECALLOCARRAY
HAVE_SIGACTION
HAVE_SIGNAL_H
HAVE_STRLCAT
HAVE_STRLCPY
HAVE_SYSCONF
HAVE_SYS_RANDOM_H
HAVE_TIMESPECSUB
HAVE_TIMINGSAFE_BCMP
HAVE_UNISTD_H
HAVE_WEBAUTHN_H
)
check_include_file("unistd.h" HAVE_UNISTD_H)
check_include_file(unistd.h HAVE_UNISTD_H)
CHECK_INCLUDE_FILE(unistd.h HAVE_UNISTD_H)
CHECK_INCLUDE_FILES(unistd.h HAVE_UNISTD_H)
check_include_files ("unistd.h" HAVE_UNISTD_H)
add_definitions (-DHAVE_UNISTD_H)
list (APPEND CMAKE_REQUIRED_DEFINITIONS -DHAVE_UNISTD_H)
check_include_file("unistd.h" HAVE_UNISTD_H)
check_include_file("unistd.h" HAVE_UNISTD_H)
string(REGEX REPLACE
"#undef +(HAVE_UNISTD_H)" "#define \\1 1"
FTCONFIG_H "${FTCONFIG_H}")
check_include_files(unistd.h HAVE_UNISTD_H)
check_include_file(unistd.h HAVE_UNISTD_H)
foreach (def
HAVE_SYS_TIME_H
HAVE_UNISTD_H
HAVE_SYS_SOCKET_H
)
check_include_file(unistd.h HAVE_UNISTD_H)
string(REGEX REPLACE "#ifdef HAVE_UNISTD_H.*" "@ZCONF_UNISTD_LINE@" _line "${_line}")
check_include_files (unistd.h HAVE_UNISTD_H)
ADD_DEFINITIONS(
-DPACKAGE_NAME=\"FULL-PACKAGE-NAME\"
-DPACKAGE_TARNAME=\"full-package-name\"
-DPACKAGE_VERSION=\"VERSION\"
-DPACKAGE_STRING=\"FULL-PACKAGE-NAME_VERSION\"
-DDEFPACKAGE_BUGREPORT=\"BUG-REPORT-ADDRESS\"
-DPACKAGE=\"bison++\"
-DVERSION=\"2.21.5\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_ALLOCA_H=1 -DHAVE_MALLOC_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_STDLIB_H=1
-DHAVE_MALLOC=1
-DXPFILE="${COVISEDIR}/src/tools/bison++/bison.cc"
-DXHFILE="${COVISEDIR}/src/tools/bison++/bison.h"
-DXPFILE1="${COVISEDIR}/src/tools/bison++/bison.hairy"
)
check_include_file (unistd.h HAVE_UNISTD_H)
check_include_file("unistd.h" HAVE_UNISTD_H)
string(REGEX REPLACE
"#undef +(HAVE_UNISTD_H)" "#define \\1"
FTCONFIG_H "${FTCONFIG_H}")
check_include_file(unistd.h HAVE_UNISTD_H)
check_include_files(unistd.h HAVE_UNISTD_H)
list(APPEND CHECK_VARIABLES
HAVE_ARC4RANDOM_BUF
HAVE_ASPRINTF
HAVE_CBOR_H
HAVE_CLOCK_GETTIME
HAVE_ENDIAN_H
HAVE_ERR_H
HAVE_FREEZERO
HAVE_GETLINE
HAVE_GETOPT
HAVE_GETPAGESIZE
HAVE_GETRANDOM
HAVE_MEMSET_S
HAVE_OPENSSLV_H
HAVE_POSIX_IOCTL
HAVE_READPASSPHRASE
HAVE_RECALLOCARRAY
HAVE_SIGNAL_H
HAVE_STRLCAT
HAVE_STRLCPY
HAVE_STRSEP
HAVE_SYSCONF
HAVE_SYS_RANDOM_H
HAVE_TIMESPECSUB
HAVE_TIMINGSAFE_BCMP
HAVE_UNISTD_H
)
CHECK_INCLUDE_FILES (unistd.h HAVE_UNISTD_H)
check_include_file (unistd.h HAVE_UNISTD_H)
check_include_files(unistd.h HAVE_UNISTD_H)
CHECK_INCLUDE_FILES(unistd.h HAVE_UNISTD_H)
string(REGEX MATCHALL "[^\n]*\n" CONFIG
"${CONFIG}
/* Define to 1 if you have the `getpagesize' function. */
#undef HAVE_GETPAGESIZE
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if you have a working `mmap' system call. */
#undef HAVE_MMAP
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define to 1 if you have the <sys/param.h> header file. */
#undef HAVE_SYS_PARAM_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the home page for this package. */
#undef PACKAGE_URL
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* The size of `int', as computed by sizeof. */
#undef SIZEOF_INT
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
")
check_include_file("unistd.h" HAVE_UNISTD_H)
check_include_file(unistd.h HAVE_UNISTD_H)
check_include_file ( unistd.h HAVE_UNISTD_H )
check_include_files(unistd.h HAVE_UNISTD_H)
CHECK_INCLUDE_FILE("unistd.h" HAVE_UNISTD_H)
check_include_file("unistd.h" HAVE_UNISTD_H)
add_definitions(-DHAVE_UNISTD_H)
check_include_file("unistd.h" HAVE_UNISTD_H)
target_compile_definitions(${target_name} PUBLIC "-DHAVE_UNISTD_H")
target_compile_definitions(openstudio_utilities_minimal PUBLIC "-DHAVE_UNISTD_H")
check_include_files(unistd.h HAVE_UNISTD_H)
check_include_file("unistd.h" HAVE_UNISTD_H)
check_include_file(unistd.h HAVE_UNISTD_H)
target_compile_definitions(${PROJECT_NAME} PRIVATE HAVE_UNISTD_H)
check_include_file("unistd.h" HAVE_UNISTD_H)
string(REGEX REPLACE
"#undef +(HAVE_UNISTD_H)" "#define \\1"
FTCONFIG_H "${FTCONFIG_H}")
check_include_file(unistd.h HAVE_UNISTD_H)
check_include_file (unistd.h HAVE_UNISTD_H)
check_include_files(unistd.h HAVE_UNISTD_H)
check_include_files(
"unistd.h"
HAVE_UNISTD_H
)
check_include_file("unistd.h" HAVE_UNISTD_H)
foreach (def
HAVE_SYS_TIME_H
HAVE_UNISTD_H
HAVE_SYS_TYPES_H
HAVE_SYS_SOCKET_H
)
check_include_file(unistd.h HAVE_UNISTD_H)
string(REGEX REPLACE "#ifdef HAVE_UNISTD_H.*" "@ZCONF_UNISTD_LINE@" _line "${_line}")
CHECK_INCLUDE_FILES(unistd.h HAVE_UNISTD_H)
CHECK_INCLUDE_FILE("unistd.h" HAVE_UNISTD_H)
check_include_file(unistd.h HAVE_UNISTD_H)
CHECK_INCLUDE_FILE_CXX("unistd.h" HAVE_UNISTD_H)
check_include_file(unistd.h HAVE_UNISTD_H)
string(REGEX REPLACE "#ifdef HAVE_UNISTD_H.*" "@ZCONF_UNISTD_LINE@" _line "${_line}")
check_include_files(unistd.h HAVE_UNISTD_H)
check_include_file(unistd.h HAVE_UNISTD_H)
check_include_file("unistd.h" HAVE_UNISTD_H)
CHECK_INCLUDE_file("unistd.h" HAVE_UNISTD_H)
check_include_files (unistd.h HAVE_UNISTD_H)
check_include_file(unistd.h HAVE_UNISTD_H)
check_include_file("unistd.h" HAVE_UNISTD_H)
check_include_file (unistd.h HAVE_UNISTD_H)
else (HAVE_UNISTD_H)
endif (HAVE_UNISTD_H)
string(REGEX REPLACE "#ifdef HAVE_UNISTD_H.*" "@ZCONF_UNISTD_LINE@" _line "${_line}")
CHECK_INCLUDE_FILES(unistd.h HAVE_UNISTD_H)
CHECK_INCLUDE_FILES(unistd.h HAVE_UNISTD_H)
CHECK_INCLUDE_FILES (unistd.h HAVE_UNISTD_H)
check_include_file("unistd.h" HAVE_UNISTD_H)
check_include_file(unistd.h HAVE_UNISTD_H)