diff options
author | Kristian Nielsen <knielsen@knielsen-hq.org> | 2016-02-01 16:29:00 +0100 |
---|---|---|
committer | Kristian Nielsen <knielsen@knielsen-hq.org> | 2016-02-01 16:29:00 +0100 |
commit | 955126e31d091a8588f1b6f23506c5d63a644904 (patch) | |
tree | ba76de07c0c6f92eef71b62a587ab5b503710560 /configure.cmake | |
parent | a4ff37e912ee50d2ccee7fa50a361f9990ac78b4 (diff) | |
parent | 8cf1f50967ff58abb7d9688ae64ac662e66389c0 (diff) | |
download | mariadb-git-955126e31d091a8588f1b6f23506c5d63a644904.tar.gz |
Merge MDEV-9112 into 10.0
Conflicts:
configure.cmake
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 d7bdd1eb668..76946c40f82 100644 --- a/configure.cmake +++ b/configure.cmake @@ -1057,5 +1057,8 @@ CHECK_STRUCT_HAS_MEMBER("struct dirent" d_ino "dirent.h" STRUCT_DIRENT_HAS_D_IN CHECK_STRUCT_HAS_MEMBER("struct dirent" d_namlen "dirent.h" STRUCT_DIRENT_HAS_D_NAMLEN) SET(SPRINTF_RETURNS_INT 1) CHECK_INCLUDE_FILE(ucontext.h HAVE_UCONTEXT_H) +IF(NOT HAVE_UCONTEXT_H) + CHECK_INCLUDE_FILE(sys/ucontext.h 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) |