You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
440 B

  1. --- a/cmake/CheckIncludeFiles.cmake
  2. +++ b/cmake/CheckIncludeFiles.cmake
  3. @@ -46,4 +46,7 @@
  4. CHECK_INCLUDE_FILES (sys/un.h HAVE_SYS_UN_H)
  5. CHECK_INCLUDE_FILES (unistd.h HAVE_UNISTD_H)
  6. CHECK_INCLUDE_FILES (utime.h HAVE_UTIME_H)
  7. -CHECK_INCLUDE_FILES (ucontext.h HAVE_UCONTEXT_H)
  8. +CHECK_INCLUDE_FILES (ucontext.h HAVE_UCONTEXT_HEADER)
  9. +IF(HAVE_UCONTEXT_HEADER)
  10. + CHECK_FUNCTION_EXISTS(makecontext HAVE_UCONTEXT_H)
  11. +ENDIF(HAVE_UCONTEXT_HEADER)