"Fossies" - the Fresh Open Source Software Archive

Member "mariadb-connector-c-3.0.8-src/cmake/CheckFunctions.cmake" (18 Dec 2018, 5516 Bytes) of package /linux/misc/mariadb-connector-c-3.0.8-src.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) CMake source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "CheckFunctions.cmake": 3.0.3-src_vs_3.0.4-src.

    1 #
    2 #  Copyright (C) 2013-2016 MariaDB Corporation AB
    3 #
    4 #  Redistribution and use is allowed according to the terms of the New
    5 #  BSD license.
    6 #  For details see the COPYING-CMAKE-SCRIPTS file.
    7 #
    8 
    9 # This file is included by CMakeLists.txt and
   10 # checks for various functions.
   11 # You will find the appropriate defines in 
   12 # include/my_config.h.in
   13 
   14 INCLUDE(CheckFunctionExists)
   15 
   16 CHECK_FUNCTION_EXISTS (access HAVE_ACCESS)
   17 CHECK_FUNCTION_EXISTS (aiowait HAVE_AIOWAIT)
   18 CHECK_FUNCTION_EXISTS (alarm HAVE_ALARM)
   19 CHECK_FUNCTION_EXISTS (alloca HAVE_ALLOCA)
   20 CHECK_FUNCTION_EXISTS (bcmp HAVE_BCMP)
   21 CHECK_FUNCTION_EXISTS (bfill HAVE_BFILL)
   22 CHECK_FUNCTION_EXISTS (bmove HAVE_BMOVE)
   23 CHECK_FUNCTION_EXISTS (bzero HAVE_BZERO)
   24 CHECK_FUNCTION_EXISTS (clock_gettime HAVE_CLOCK_GETTIME)
   25 CHECK_FUNCTION_EXISTS (compress HAVE_COMPRESS)
   26 CHECK_FUNCTION_EXISTS (crypt HAVE_CRYPT)
   27 CHECK_FUNCTION_EXISTS (dlerror HAVE_DLERROR)
   28 CHECK_FUNCTION_EXISTS (dlopen HAVE_DLOPEN)
   29 CHECK_FUNCTION_EXISTS (fchmod HAVE_FCHMOD)
   30 CHECK_FUNCTION_EXISTS (fcntl HAVE_FCNTL)
   31 CHECK_FUNCTION_EXISTS (fconvert HAVE_FCONVERT)
   32 CHECK_FUNCTION_EXISTS (fdatasync HAVE_FDATASYNC)
   33 CHECK_FUNCTION_EXISTS (fesetround HAVE_FESETROUND)
   34 CHECK_FUNCTION_EXISTS (finite HAVE_FINITE)
   35 CHECK_FUNCTION_EXISTS (fseeko HAVE_FSEEKO)
   36 CHECK_FUNCTION_EXISTS (fsync HAVE_FSYNC)
   37 CHECK_FUNCTION_EXISTS (getaddrinfo HAVE_GETADDRINFO)
   38 CHECK_FUNCTION_EXISTS (getcwd HAVE_GETCWD)
   39 CHECK_FUNCTION_EXISTS (gethostbyaddr_r HAVE_GETHOSTBYADDR_R)
   40 CHECK_FUNCTION_EXISTS (gethostbyname_r HAVE_GETHOSTBYNAME_R)
   41 CHECK_FUNCTION_EXISTS (gethrtime HAVE_GETHRTIME)
   42 CHECK_FUNCTION_EXISTS (getnameinfo HAVE_GETNAMEINFO)
   43 CHECK_FUNCTION_EXISTS (getpagesize HAVE_GETPAGESIZE)
   44 CHECK_FUNCTION_EXISTS (getpass HAVE_GETPASS)
   45 CHECK_FUNCTION_EXISTS (getpassphrase HAVE_GETPASSPHRASE)
   46 CHECK_FUNCTION_EXISTS (getpwnam HAVE_GETPWNAM)
   47 CHECK_FUNCTION_EXISTS (getpwuid HAVE_GETPWUID)
   48 CHECK_FUNCTION_EXISTS (getrlimit HAVE_GETRLIMIT)
   49 CHECK_FUNCTION_EXISTS (getrusage HAVE_GETRUSAGE)
   50 CHECK_FUNCTION_EXISTS (getwd HAVE_GETWD)
   51 CHECK_FUNCTION_EXISTS (gmtime_r HAVE_GMTIME_R)
   52 CHECK_FUNCTION_EXISTS (initgroups HAVE_INITGROUPS)
   53 CHECK_FUNCTION_EXISTS (ldiv HAVE_LDIV)
   54 CHECK_FUNCTION_EXISTS (localtime_r HAVE_LOCALTIME_R)
   55 CHECK_FUNCTION_EXISTS (log2 HAVE_LOG2)
   56 CHECK_FUNCTION_EXISTS (longjmp HAVE_LONGJMP)
   57 CHECK_FUNCTION_EXISTS (lstat HAVE_LSTAT)
   58 CHECK_FUNCTION_EXISTS (madvise HAVE_MADVISE)
   59 CHECK_FUNCTION_EXISTS (mallinfo HAVE_MALLINFO)
   60 CHECK_FUNCTION_EXISTS (memalign HAVE_MEMALIGN)
   61 CHECK_FUNCTION_EXISTS (memcpy HAVE_MEMCPY)
   62 CHECK_FUNCTION_EXISTS (memmove HAVE_MEMMOVE)
   63 CHECK_FUNCTION_EXISTS (mkstemp HAVE_MKSTEMP)
   64 CHECK_FUNCTION_EXISTS (mlock HAVE_MLOCK)
   65 CHECK_FUNCTION_EXISTS (mlockall HAVE_MLOCKALL)
   66 CHECK_FUNCTION_EXISTS (mmap HAVE_MMAP)
   67 CHECK_FUNCTION_EXISTS (mmap64 HAVE_MMAP64)
   68 CHECK_FUNCTION_EXISTS (nl_langinfo HAVE_NL_LANGINFO)
   69 CHECK_FUNCTION_EXISTS (setlocale HAVE_SETLOCALE)
   70 CHECK_FUNCTION_EXISTS (perror HAVE_PERROR)
   71 CHECK_FUNCTION_EXISTS (poll HAVE_POLL)
   72 CHECK_FUNCTION_EXISTS (pread HAVE_PREAD)
   73 CHECK_FUNCTION_EXISTS (pthread_attr_create HAVE_PTHREAD_ATTR_CREATE)
   74 CHECK_FUNCTION_EXISTS (pthread_attr_getstacksize HAVE_PTHREAD_ATTR_GETSTACKSIZE)
   75 CHECK_FUNCTION_EXISTS (pthread_attr_setprio HAVE_PTHREAD_ATTR_SETPRIO)
   76 CHECK_FUNCTION_EXISTS (pthread_attr_setschedparam HAVE_PTHREAD_ATTR_SETSCHEDPARAM)
   77 CHECK_FUNCTION_EXISTS (pthread_attr_setscope HAVE_PTHREAD_ATTR_SETSCOPE)
   78 CHECK_FUNCTION_EXISTS (pthread_attr_setstacksize HAVE_PTHREAD_ATTR_SETSTACKSIZE)
   79 CHECK_FUNCTION_EXISTS (pthread_condattr_create HAVE_PTHREAD_CONDATTR_CREATE)
   80 CHECK_FUNCTION_EXISTS (pthread_init HAVE_PTHREAD_INIT)
   81 CHECK_FUNCTION_EXISTS (pthread_key_delete HAVE_PTHREAD_KEY_DELETE)
   82 CHECK_FUNCTION_EXISTS (pthread_kill HAVE_PTHREAD_KILL)
   83 CHECK_FUNCTION_EXISTS (pthread_rwlock_rdlock HAVE_PTHREAD_RWLOCK_RDLOCK)
   84 CHECK_FUNCTION_EXISTS (pthread_setprio_np HAVE_PTHREAD_SETPRIO_NP)
   85 CHECK_FUNCTION_EXISTS (pthread_setschedparam HAVE_PTHREAD_SETSCHEDPARAM)
   86 CHECK_FUNCTION_EXISTS (pthread_sigmask HAVE_PTHREAD_SIGMASK)
   87 CHECK_FUNCTION_EXISTS (pthread_threadmask HAVE_PTHREAD_THREADMASK)
   88 CHECK_FUNCTION_EXISTS (pthread_yield_np HAVE_PTHREAD_YIELD_NP)
   89 CHECK_FUNCTION_EXISTS (readdir_r HAVE_READDIR_R)
   90 CHECK_FUNCTION_EXISTS (readlink HAVE_READLINK)
   91 CHECK_FUNCTION_EXISTS (realpath HAVE_REALPATH)
   92 CHECK_FUNCTION_EXISTS (rename HAVE_RENAME)
   93 CHECK_FUNCTION_EXISTS (sched_yield HAVE_SCHED_YIELD)
   94 CHECK_FUNCTION_EXISTS (select HAVE_SELECT)
   95 CHECK_FUNCTION_EXISTS (setfd HAVE_SETFD)
   96 CHECK_FUNCTION_EXISTS (setfilepointer HAVE_SETFILEPOINTER)
   97 CHECK_FUNCTION_EXISTS (sigaction HAVE_SIGACTION)
   98 CHECK_FUNCTION_EXISTS (sigthreadmask HAVE_SIGTHREADMASK)
   99 CHECK_FUNCTION_EXISTS (sigwait HAVE_SIGWAIT)
  100 CHECK_FUNCTION_EXISTS (sleep HAVE_SLEEP)
  101 CHECK_FUNCTION_EXISTS (snprintf HAVE_SNPRINTF)
  102 CHECK_FUNCTION_EXISTS (stpcpy HAVE_STPCPY)
  103 CHECK_FUNCTION_EXISTS (strerror HAVE_STRERROR)
  104 CHECK_FUNCTION_EXISTS (strlcpy HAVE_STRLCPY)
  105 CHECK_FUNCTION_EXISTS (strnlen HAVE_STRNLEN)
  106 CHECK_FUNCTION_EXISTS (strpbrk HAVE_STRPBRK)
  107 CHECK_FUNCTION_EXISTS (strsep HAVE_STRSEP)
  108 CHECK_FUNCTION_EXISTS (strstr HAVE_STRSTR)
  109 CHECK_FUNCTION_EXISTS (strtok_r HAVE_STRTOK_R)
  110 CHECK_FUNCTION_EXISTS (strtol HAVE_STRTOL)
  111 CHECK_FUNCTION_EXISTS (strtoll HAVE_STRTOLL)
  112 CHECK_FUNCTION_EXISTS (strtoul HAVE_STRTOUL)
  113 CHECK_FUNCTION_EXISTS (strtoull HAVE_STRTOULL)
  114 CHECK_FUNCTION_EXISTS (tell HAVE_TELL)
  115 CHECK_FUNCTION_EXISTS (thr_setconcurrency HAVE_THR_SETCONCURRENCY)
  116 CHECK_FUNCTION_EXISTS (thr_yield HAVE_THR_YIELD)
  117 CHECK_FUNCTION_EXISTS (vasprintf HAVE_VASPRINTF)
  118 CHECK_FUNCTION_EXISTS (vsnprintf HAVE_VSNPRINTF)