mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-09 01:07:16 +01:00
117 lines
5.3 KiB
CMake
117 lines
5.3 KiB
CMake
#
|
|
# Copyright (C) 2013-2016 MariaDB Corporation AB
|
|
#
|
|
# Redistribution and use is allowed according to the terms of the New
|
|
# BSD license.
|
|
# For details see the COPYING-CMAKE-SCRIPTS file.
|
|
#
|
|
|
|
# This file is included by CMakeLists.txt and
|
|
# checks for various functions.
|
|
# You will find the appropiate defines in
|
|
# include/my_config.h.in
|
|
|
|
INCLUDE(CheckFunctionExists)
|
|
|
|
CHECK_FUNCTION_EXISTS (access HAVE_ACCESS)
|
|
CHECK_FUNCTION_EXISTS (aiowait HAVE_AIOWAIT)
|
|
CHECK_FUNCTION_EXISTS (alarm HAVE_ALARM)
|
|
CHECK_FUNCTION_EXISTS (alloca HAVE_ALLOCA)
|
|
CHECK_FUNCTION_EXISTS (bcmp HAVE_BCMP)
|
|
CHECK_FUNCTION_EXISTS (bfill HAVE_BFILL)
|
|
CHECK_FUNCTION_EXISTS (bmove HAVE_BMOVE)
|
|
CHECK_FUNCTION_EXISTS (bzero HAVE_BZERO)
|
|
CHECK_FUNCTION_EXISTS (clock_gettime HAVE_CLOCK_GETTIME)
|
|
CHECK_FUNCTION_EXISTS (compress HAVE_COMPRESS)
|
|
CHECK_FUNCTION_EXISTS (crypt HAVE_CRYPT)
|
|
CHECK_FUNCTION_EXISTS (dlerror HAVE_DLERROR)
|
|
CHECK_FUNCTION_EXISTS (dlopen HAVE_DLOPEN)
|
|
CHECK_FUNCTION_EXISTS (fchmod HAVE_FCHMOD)
|
|
CHECK_FUNCTION_EXISTS (fcntl HAVE_FCNTL)
|
|
CHECK_FUNCTION_EXISTS (fconvert HAVE_FCONVERT)
|
|
CHECK_FUNCTION_EXISTS (fdatasync HAVE_FDATASYNC)
|
|
CHECK_FUNCTION_EXISTS (fesetround HAVE_FESETROUND)
|
|
CHECK_FUNCTION_EXISTS (finite HAVE_FINITE)
|
|
CHECK_FUNCTION_EXISTS (fseeko HAVE_FSEEKO)
|
|
CHECK_FUNCTION_EXISTS (fsync HAVE_FSYNC)
|
|
CHECK_FUNCTION_EXISTS (getaddrinfo HAVE_GETADDRINFO)
|
|
CHECK_FUNCTION_EXISTS (getcwd HAVE_GETCWD)
|
|
CHECK_FUNCTION_EXISTS (gethostbyaddr_r HAVE_GETHOSTBYADDR_R)
|
|
CHECK_FUNCTION_EXISTS (gethostbyname_r HAVE_GETHOSTBYNAME_R)
|
|
CHECK_FUNCTION_EXISTS (gethrtime HAVE_GETHRTIME)
|
|
CHECK_FUNCTION_EXISTS (getnameinfo HAVE_GETNAMEINFO)
|
|
CHECK_FUNCTION_EXISTS (getpagesize HAVE_GETPAGESIZE)
|
|
CHECK_FUNCTION_EXISTS (getpass HAVE_GETPASS)
|
|
CHECK_FUNCTION_EXISTS (getpassphrase HAVE_GETPASSPHRASE)
|
|
CHECK_FUNCTION_EXISTS (getpwnam HAVE_GETPWNAM)
|
|
CHECK_FUNCTION_EXISTS (getpwuid HAVE_GETPWUID)
|
|
CHECK_FUNCTION_EXISTS (getrlimit HAVE_GETRLIMIT)
|
|
CHECK_FUNCTION_EXISTS (getrusage HAVE_GETRUSAGE)
|
|
CHECK_FUNCTION_EXISTS (getwd HAVE_GETWD)
|
|
CHECK_FUNCTION_EXISTS (gmtime_r HAVE_GMTIME_R)
|
|
CHECK_FUNCTION_EXISTS (initgroups HAVE_INITGROUPS)
|
|
CHECK_FUNCTION_EXISTS (ldiv HAVE_LDIV)
|
|
CHECK_FUNCTION_EXISTS (localtime_r HAVE_LOCALTIME_R)
|
|
CHECK_FUNCTION_EXISTS (log2 HAVE_LOG2)
|
|
CHECK_FUNCTION_EXISTS (longjmp HAVE_LONGJMP)
|
|
CHECK_FUNCTION_EXISTS (lstat HAVE_LSTAT)
|
|
CHECK_FUNCTION_EXISTS (madvise HAVE_MADVISE)
|
|
CHECK_FUNCTION_EXISTS (mallinfo HAVE_MALLINFO)
|
|
CHECK_FUNCTION_EXISTS (memalign HAVE_MEMALIGN)
|
|
CHECK_FUNCTION_EXISTS (memcpy HAVE_MEMCPY)
|
|
CHECK_FUNCTION_EXISTS (memmove HAVE_MEMMOVE)
|
|
CHECK_FUNCTION_EXISTS (mkstemp HAVE_MKSTEMP)
|
|
CHECK_FUNCTION_EXISTS (mlock HAVE_MLOCK)
|
|
CHECK_FUNCTION_EXISTS (mlockall HAVE_MLOCKALL)
|
|
CHECK_FUNCTION_EXISTS (mmap HAVE_MMAP)
|
|
CHECK_FUNCTION_EXISTS (mmap64 HAVE_MMAP64)
|
|
CHECK_FUNCTION_EXISTS (perror HAVE_PERROR)
|
|
CHECK_FUNCTION_EXISTS (poll HAVE_POLL)
|
|
CHECK_FUNCTION_EXISTS (pread HAVE_PREAD)
|
|
CHECK_FUNCTION_EXISTS (pthread_attr_create HAVE_PTHREAD_ATTR_CREATE)
|
|
CHECK_FUNCTION_EXISTS (pthread_attr_getstacksize HAVE_PTHREAD_ATTR_GETSTACKSIZE)
|
|
CHECK_FUNCTION_EXISTS (pthread_attr_setprio HAVE_PTHREAD_ATTR_SETPRIO)
|
|
CHECK_FUNCTION_EXISTS (pthread_attr_setschedparam HAVE_PTHREAD_ATTR_SETSCHEDPARAM)
|
|
CHECK_FUNCTION_EXISTS (pthread_attr_setscope HAVE_PTHREAD_ATTR_SETSCOPE)
|
|
CHECK_FUNCTION_EXISTS (pthread_attr_setstacksize HAVE_PTHREAD_ATTR_SETSTACKSIZE)
|
|
CHECK_FUNCTION_EXISTS (pthread_condattr_create HAVE_PTHREAD_CONDATTR_CREATE)
|
|
CHECK_FUNCTION_EXISTS (pthread_init HAVE_PTHREAD_INIT)
|
|
CHECK_FUNCTION_EXISTS (pthread_key_delete HAVE_PTHREAD_KEY_DELETE)
|
|
CHECK_FUNCTION_EXISTS (pthread_kill HAVE_PTHREAD_KILL)
|
|
CHECK_FUNCTION_EXISTS (pthread_rwlock_rdlock HAVE_PTHREAD_RWLOCK_RDLOCK)
|
|
CHECK_FUNCTION_EXISTS (pthread_setprio_np HAVE_PTHREAD_SETPRIO_NP)
|
|
CHECK_FUNCTION_EXISTS (pthread_setschedparam HAVE_PTHREAD_SETSCHEDPARAM)
|
|
CHECK_FUNCTION_EXISTS (pthread_sigmask HAVE_PTHREAD_SIGMASK)
|
|
CHECK_FUNCTION_EXISTS (pthread_threadmask HAVE_PTHREAD_THREADMASK)
|
|
CHECK_FUNCTION_EXISTS (pthread_yield_np HAVE_PTHREAD_YIELD_NP)
|
|
CHECK_FUNCTION_EXISTS (readdir_r HAVE_READDIR_R)
|
|
CHECK_FUNCTION_EXISTS (readlink HAVE_READLINK)
|
|
CHECK_FUNCTION_EXISTS (realpath HAVE_REALPATH)
|
|
CHECK_FUNCTION_EXISTS (rename HAVE_RENAME)
|
|
CHECK_FUNCTION_EXISTS (sched_yield HAVE_SCHED_YIELD)
|
|
CHECK_FUNCTION_EXISTS (select HAVE_SELECT)
|
|
CHECK_FUNCTION_EXISTS (setfd HAVE_SETFD)
|
|
CHECK_FUNCTION_EXISTS (setfilepointer HAVE_SETFILEPOINTER)
|
|
CHECK_FUNCTION_EXISTS (sigaction HAVE_SIGACTION)
|
|
CHECK_FUNCTION_EXISTS (sigthreadmask HAVE_SIGTHREADMASK)
|
|
CHECK_FUNCTION_EXISTS (sigwait HAVE_SIGWAIT)
|
|
CHECK_FUNCTION_EXISTS (sleep HAVE_SLEEP)
|
|
CHECK_FUNCTION_EXISTS (snprintf HAVE_SNPRINTF)
|
|
CHECK_FUNCTION_EXISTS (stpcpy HAVE_STPCPY)
|
|
CHECK_FUNCTION_EXISTS (strerror HAVE_STRERROR)
|
|
CHECK_FUNCTION_EXISTS (strlcpy HAVE_STRLCPY)
|
|
CHECK_FUNCTION_EXISTS (strnlen HAVE_STRNLEN)
|
|
CHECK_FUNCTION_EXISTS (strpbrk HAVE_STRPBRK)
|
|
CHECK_FUNCTION_EXISTS (strsep HAVE_STRSEP)
|
|
CHECK_FUNCTION_EXISTS (strstr HAVE_STRSTR)
|
|
CHECK_FUNCTION_EXISTS (strtok_r HAVE_STRTOK_R)
|
|
CHECK_FUNCTION_EXISTS (strtol HAVE_STRTOL)
|
|
CHECK_FUNCTION_EXISTS (strtoll HAVE_STRTOLL)
|
|
CHECK_FUNCTION_EXISTS (strtoul HAVE_STRTOUL)
|
|
CHECK_FUNCTION_EXISTS (strtoull HAVE_STRTOULL)
|
|
CHECK_FUNCTION_EXISTS (tell HAVE_TELL)
|
|
CHECK_FUNCTION_EXISTS (thr_setconcurrency HAVE_THR_SETCONCURRENCY)
|
|
CHECK_FUNCTION_EXISTS (thr_yield HAVE_THR_YIELD)
|
|
CHECK_FUNCTION_EXISTS (vasprintf HAVE_VASPRINTF)
|
|
CHECK_FUNCTION_EXISTS (vsnprintf HAVE_VSNPRINTF)
|