diff options
author | Vicențiu Ciorbaru <vicentiu@mariadb.org> | 2018-03-16 14:12:00 +0200 |
---|---|---|
committer | Vicențiu Ciorbaru <vicentiu@mariadb.org> | 2018-03-16 14:12:00 +0200 |
commit | 98eb9518db1da854048b09d94244a982a1d32f9a (patch) | |
tree | 9f00cc33b5cb43fd11da3c3d62903b4c009bffa0 /configure.cmake | |
parent | b0c43d0c381dba1ab859de8f643d8d91dd806009 (diff) | |
parent | 0a534348c75cf435d2017959855de2efa798fd0b (diff) | |
download | mariadb-git-98eb9518db1da854048b09d94244a982a1d32f9a.tar.gz |
Merge remote-tracking branch 'origin/10.1' into 10.2
Diffstat (limited to 'configure.cmake')
-rw-r--r-- | configure.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.cmake b/configure.cmake index 21701209696..c2fbeb6cf5c 100644 --- a/configure.cmake +++ b/configure.cmake @@ -1022,6 +1022,9 @@ CHECK_INCLUDE_FILE(ucontext.h HAVE_UCONTEXT_H) IF(NOT HAVE_UCONTEXT_H) CHECK_INCLUDE_FILE(sys/ucontext.h HAVE_UCONTEXT_H) ENDIF() +IF(HAVE_UCONTEXT_H) + CHECK_FUNCTION_EXISTS(makecontext HAVE_UCONTEXT_H) +ENDIF() CHECK_STRUCT_HAS_MEMBER("struct timespec" tv_sec "time.h" STRUCT_TIMESPEC_HAS_TV_SEC) CHECK_STRUCT_HAS_MEMBER("struct timespec" tv_nsec "time.h" STRUCT_TIMESPEC_HAS_TV_NSEC) |