datastax/cpp-driver
src/third_party/sparsehash/CMakeLists.txt
:98
check_include_file(inttypes.h HAVE_INTTYPES_H)
check_include_file(inttypes.h HAVE_INTTYPES_H)
check_include_file(inttypes.h HAVE_INTTYPES_H)
add_definitions(-DHAVE_INTTYPES_H)
check_include_file("inttypes.h" HAVE_INTTYPES_H)
check_include_file_cxx ("inttypes.h" HAVE_INTTYPES_H)
check_include_file_cxx (inttypes.h HAVE_INTTYPES_H)
else (HAVE_INTTYPES_H)
endif (HAVE_INTTYPES_H)
check_include_file("inttypes.h" HAVE_INTTYPES_H)
check_include_files("inttypes.h" HAVE_INTTYPES_H)
check_include_file(inttypes.h HAVE_INTTYPES_H)
CHECK_INCLUDE_FILES(inttypes.h HAVE_INTTYPES_H)
CHECK_INCLUDE_FILES(inttypes.h HAVE_INTTYPES_H)
check_include_file("inttypes.h" HAVE_INTTYPES_H)
check_include_files(inttypes.h HAVE_INTTYPES_H)
elseif (HAVE_INTTYPES_H)
check_include_files (inttypes.h HAVE_INTTYPES_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 (inttypes.h HAVE_INTTYPES_H)
check_include_file(inttypes.h HAVE_INTTYPES_H)
CHECK_INCLUDE_FILES (inttypes.h HAVE_INTTYPES_H)
check_include_file (inttypes.h HAVE_INTTYPES_H)
check_include_files(inttypes.h HAVE_INTTYPES_H)
CHECK_INCLUDE_FILES(inttypes.h HAVE_INTTYPES_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(inttypes.h HAVE_INTTYPES_H)
CHECK_INCLUDE_FILE("inttypes.h" HAVE_INTTYPES_H)
check_include_files(inttypes.h HAVE_INTTYPES_H)
check_include_file("inttypes.h" HAVE_INTTYPES_H)
check_include_file(inttypes.h HAVE_INTTYPES_H)
target_compile_definitions(${PROJECT_NAME} PRIVATE HAVE_INTTYPES_H)
check_include_files("inttypes.h" HAVE_INTTYPES_H)
check_include_file(inttypes.h HAVE_INTTYPES_H)
check_include_files(inttypes.h HAVE_INTTYPES_H)
check_include_file("inttypes.h" HAVE_INTTYPES_H)
CHECK_INCLUDE_FILES(inttypes.h HAVE_INTTYPES_H)
check_include_files(inttypes.h HAVE_INTTYPES_H)
CHECK_INCLUDE_FILE (inttypes.h HAVE_INTTYPES_H)
check_include_file("inttypes.h" HAVE_INTTYPES_H)
CHECK_INCLUDE_file("inttypes.h" HAVE_INTTYPES_H)
check_include_file (inttypes.h HAVE_INTTYPES_H)
else (HAVE_INTTYPES_H)
endif (HAVE_INTTYPES_H)
add_compile_definitions(
# Package info:
PACKAGE_NAME="XZ Utils"
PACKAGE_BUGREPORT="lasse.collin@tukaani.org"
PACKAGE_URL="https://tukaani.org/xz/"
# Features:
HAVE_CHECK_CRC32
HAVE_CHECK_CRC64
HAVE_CHECK_SHA256
HAVE_DECODERS
HAVE_DECODER_ARM
HAVE_DECODER_ARMTHUMB
HAVE_DECODER_DELTA
HAVE_DECODER_IA64
HAVE_DECODER_LZMA1
HAVE_DECODER_LZMA2
HAVE_DECODER_POWERPC
HAVE_DECODER_SPARC
HAVE_DECODER_X86
HAVE_ENCODERS
HAVE_ENCODER_ARM
HAVE_ENCODER_ARMTHUMB
HAVE_ENCODER_DELTA
HAVE_ENCODER_IA64
HAVE_ENCODER_LZMA1
HAVE_ENCODER_LZMA2
HAVE_ENCODER_POWERPC
HAVE_ENCODER_SPARC
HAVE_ENCODER_X86
HAVE_MF_BT2
HAVE_MF_BT3
HAVE_MF_BT4
HAVE_MF_HC3
HAVE_MF_HC4
# Standard headers and types are available:
HAVE_STDBOOL_H
HAVE__BOOL
HAVE_STDINT_H
HAVE_INTTYPES_H
HAVE___BUILTIN_BSWAPXX
HAVE___BUILTIN_ASSUME_ALIGNED
_GNU_SOURCE
__EXTENSIONS__
_POSIX_PTHREAD_SEMANTICS
_TANDEM_SOURCE
_ALL_SOURCE
HAVE_CLOCK_GETTIME=1
HAVE_DECL_CLOCK_MONOTONIC=1
HAVE_PTHREAD_CONDATTR_SETCLOCK
MYTHREAD_POSIX
)
CHECK_INCLUDE_FILES (inttypes.h HAVE_INTTYPES_H)
check_include_file("inttypes.h" HAVE_INTTYPES_H)
check_include_file(inttypes.h HAVE_INTTYPES_H)
check_include_file_cxx(inttypes.h HAVE_INTTYPES_H)
check_include_file("inttypes.h" HAVE_INTTYPES_H)
check_include_file(inttypes.h HAVE_INTTYPES_H)
foreach (VAR HAVE_STDINT_H HAVE_INTTYPES_H HAVE_MALLOC_H HAVE_MALLOC_USABLE_SIZE)
check_include_file(inttypes.h HAVE_INTTYPES_H)
check_include_file(inttypes.h HAVE_INTTYPES_H)
check_include_file("inttypes.h" HAVE_INTTYPES_H)
check_include_file("inttypes.h" HAVE_INTTYPES_H)
check_include_file(inttypes.h HAVE_INTTYPES_H)
check_include_files(inttypes.h HAVE_INTTYPES_H)
check_include_file("inttypes.h" HAVE_INTTYPES_H)
check_include_file(inttypes.h HAVE_INTTYPES_H)
check_include_file("inttypes.h" HAVE_INTTYPES_H)
check_include_file("inttypes.h" HAVE_INTTYPES_H)
check_include_file("inttypes.h" HAVE_INTTYPES_H)
add_definitions(-DHAVE_INTTYPES_H)
check_include_file(inttypes.h HAVE_INTTYPES_H)
target_compile_definitions(${PROJECT_NAME} PUBLIC
-DHAVE_INTTYPES_H
-DHAVE_UNISTD_H
-DHAVE_ERRNO_H
-DHAVE_NETINET_IN_H
-DHAVE_SYS_IOCTL_H
-DHAVE_SYS_MMAN_H
-DHAVE_SYS_MOUNT_H
-DHAVE_SYS_PRCTL_H
-DHAVE_SYS_RESOURCE_H
-DHAVE_SYS_SELECT_H
-DHAVE_SYS_STAT_H
-DHAVE_SYS_TYPES_H
-DHAVE_STDLIB_H
-DHAVE_STRDUP
-DHAVE_MMAP
-DHAVE_UTIME_H
-DHAVE_GETPAGESIZE
-DHAVE_LSEEK64
-DHAVE_LSEEK64_PROTOTYPE
-DHAVE_EXT2_IOCTLS
-DHAVE_LINUX_FD_H
-DHAVE_TYPE_SSIZE_T
-DHAVE_SYS_TIME_H
-DHAVE_SYS_PARAM_H
-DHAVE_SYSCONF
)
find_path(HAVE_INTTYPES_H inttypes.h)
CHECK_INCLUDE_FILE("inttypes.h" HAVE_INTTYPES_H)
target_compile_definitions(rcksum PUBLIC HAVE_INTTYPES_H=1)
target_compile_definitions(md4test PRIVATE HAVE_INTTYPES_H=1)
CHECK_INCLUDE_FILE("inttypes.h" HAVE_INTTYPES_H)
target_compile_definitions(zsync PRIVATE HAVE_INTTYPES_H=1)
target_compile_definitions(sha1test PRIVATE HAVE_INTTYPES_H=1)
CHECK_INCLUDE_FILE("inttypes.h" HAVE_INTTYPES_H)
check_include_file("inttypes.h" HAVE_INTTYPES_H)
check_include_file("inttypes.h" HAVE_INTTYPES_H)
CHECK_INCLUDE_FILES (inttypes.h HAVE_INTTYPES_H)
check_include_files(inttypes.h HAVE_INTTYPES_H)
check_include_file (inttypes.h HAVE_INTTYPES_H)
CHECK_INCLUDE_FILES(inttypes.h HAVE_INTTYPES_H)
check_include_file(inttypes.h HAVE_INTTYPES_H)
check_include_file(inttypes.h HAVE_INTTYPES_H)
check_include_files(inttypes.h HAVE_INTTYPES_H)
CHECK_INCLUDE_FILES(inttypes.h HAVE_INTTYPES_H)
CHECK_INCLUDE_FILE(inttypes.h HAVE_INTTYPES_H)
FOREACH(have
HAVE_GETPAGESIZE
HAVE_INTTYPES_H
HAVE_MEMORY_H
HAVE_STDINT_H
HAVE_STDLIB_H
HAVE_STRINGS_H
HAVE_STRING_H
HAVE_SYS_STAT_H
HAVE_SYS_TYPES_H
HAVE_SYS_PARAM_H
HAVE_UNISTD_H
)
TRY_COMPILE(${var}_COMPILED
${GCCCONFIG_BINARY_DIR}
${GCCCONFIG_SOURCE_DIR}/gcc_c_tests.c
OUTPUT_VARIABLE OUTPUT
COMPILE_DEFINITIONS
-DTEST_${var}
-DHAVE_GETPAGESIZE=${HAVE_GETPAGESIZE}
-DHAVE_INTTYPES_H=${HAVE_INTTYPES_H}
-DHAVE_MEMORY_H=${HAVE_MEMORY_H}
-DHAVE_STDINT_H=${HAVE_STDINT_H}
-DHAVE_STDLIB_H=${HAVE_STDLIB_H}
-DHAVE_STRINGS_H=${HAVE_STRINGS_H}
-DHAVE_STRING_H=${HAVE_STRING_H}
-DHAVE_SYS_STAT_H=${HAVE_SYS_STAT_H}
-DHAVE_SYS_TYPES_H=${HAVE_SYS_TYPES_H}
-DHAVE_SYS_PARAM_H=${HAVE_SYS_PARAM_H}
-DHAVE_UNISTD_H=${HAVE_UNISTD_H}
-DSTDC_HEADERS=${STDC_HEADERS}
)
TRY_RUN(${var}_RESULT ${var}_COMPILED
${GCCCONFIG_BINARY_DIR}
${GCCCONFIG_SOURCE_DIR}/gcc_c_tests.c
OUTPUT_VARIABLE OUTPUT
COMPILE_DEFINITIONS
-DTEST_${var}
-DHAVE_GETPAGESIZE=${HAVE_GETPAGESIZE}
-DHAVE_INTTYPES_H=${HAVE_INTTYPES_H}
-DHAVE_MEMORY_H=${HAVE_MEMORY_H}
-DHAVE_STDINT_H=${HAVE_STDINT_H}
-DHAVE_STDLIB_H=${HAVE_STDLIB_H}
-DHAVE_STRINGS_H=${HAVE_STRINGS_H}
-DHAVE_STRING_H=${HAVE_STRING_H}
-DHAVE_SYS_STAT_H=${HAVE_SYS_STAT_H}
-DHAVE_SYS_TYPES_H=${HAVE_SYS_TYPES_H}
-DHAVE_SYS_PARAM_H=${HAVE_SYS_PARAM_H}
-DHAVE_UNISTD_H=${HAVE_UNISTD_H}
-DSTDC_HEADERS=${STDC_HEADERS}
)
CHECK_INCLUDE_FILES (inttypes.h HAVE_INTTYPES_H)
CHECK_INCLUDE_FILES (inttypes.h HAVE_INTTYPES_H)
check_include_files(inttypes.h HAVE_INTTYPES_H)
check_include_file(inttypes.h HAVE_INTTYPES_H)
check_include_file("inttypes.h" HAVE_INTTYPES_H)
check_c_source_compiles("
#define __EXTENSIONS__ 1
#include <stdio.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#ifdef STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# ifdef HAVE_STDLIB_H
# include <stdlib.h>
# endif
#endif
#ifdef HAVE_STRING_H
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
# include <memory.h>
# endif
# include <string.h>
#endif
#ifdef HAVE_STRINGS_H
# include <strings.h>
#endif
#ifdef HAVE_INTTYPES_H
# include <inttypes.h>
#endif
#ifdef HAVE_STDINT_H
# include <stdint.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
int main() { return 0; }"
DODEFINE_EXTENSIONS)
check_include_file (inttypes.h HAVE_INTTYPES_H)
check_include_files(inttypes.h HAVE_INTTYPES_H)
add_compile_definitions(
# Package info:
PACKAGE_NAME="XZ Utils"
PACKAGE_BUGREPORT="lasse.collin@tukaani.org"
PACKAGE_URL="https://tukaani.org/xz/"
# Features:
HAVE_CHECK_CRC32
HAVE_CHECK_CRC64
HAVE_CHECK_SHA256
HAVE_DECODERS
HAVE_DECODER_ARM
HAVE_DECODER_ARMTHUMB
HAVE_DECODER_DELTA
HAVE_DECODER_IA64
HAVE_DECODER_LZMA1
HAVE_DECODER_LZMA2
HAVE_DECODER_POWERPC
HAVE_DECODER_SPARC
HAVE_DECODER_X86
HAVE_ENCODERS
HAVE_ENCODER_ARM
HAVE_ENCODER_ARMTHUMB
HAVE_ENCODER_DELTA
HAVE_ENCODER_IA64
HAVE_ENCODER_LZMA1
HAVE_ENCODER_LZMA2
HAVE_ENCODER_POWERPC
HAVE_ENCODER_SPARC
HAVE_ENCODER_X86
HAVE_MF_BT2
HAVE_MF_BT3
HAVE_MF_BT4
HAVE_MF_HC3
HAVE_MF_HC4
# Standard headers and types are available:
HAVE_STDBOOL_H
HAVE__BOOL
HAVE_STDINT_H
HAVE_INTTYPES_H
HAVE___BUILTIN_BSWAPXX
HAVE___BUILTIN_ASSUME_ALIGNED
_GNU_SOURCE
__EXTENSIONS__
_POSIX_PTHREAD_SEMANTICS
_TANDEM_SOURCE
_ALL_SOURCE
HAVE_CLOCK_GETTIME=1
HAVE_DECL_CLOCK_MONOTONIC=1
HAVE_PTHREAD_CONDATTR_SETCLOCK
MYTHREAD_POSIX
)
check_include_file("inttypes.h" HAVE_INTTYPES_H)
check_include_file(inttypes.h HAVE_INTTYPES_H)
check_include_file(inttypes.h HAVE_INTTYPES_H)
target_compile_definitions(togl PRIVATE -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=0 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1)