diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-01-17 13:24:04 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-01-17 13:24:04 (GMT) |
commit | 8c4aea54d6e1412962e00a96a0aa3e4f2d96259f (patch) | |
tree | c59ae5ae3c62bd242c7d2fd1b60c2557dcfa6d1d | |
parent | fedf21722ad2b7c2a9c8d51dba1bb16a3f0080ca (diff) | |
download | CMake-8c4aea54d6e1412962e00a96a0aa3e4f2d96259f.zip CMake-8c4aea54d6e1412962e00a96a0aa3e4f2d96259f.tar.gz CMake-8c4aea54d6e1412962e00a96a0aa3e4f2d96259f.tar.bz2 |
More portability issues. Sigaction is a symbol
-rw-r--r-- | Source/CTest/Curl/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/CTest/Curl/CMakeLists.txt b/Source/CTest/Curl/CMakeLists.txt index 4ec5384..7a0dcd9 100644 --- a/Source/CTest/Curl/CMakeLists.txt +++ b/Source/CTest/Curl/CMakeLists.txt @@ -118,6 +118,7 @@ ENDIF(HAVE_LIBSSL) CHECK_LIBRARY_EXISTS("${CURL_LIBS}" dlopen "" HAVE_DLOPEN) SET(CMAKE_REQUIRED_LIBRARIES ${CURL_LIBS}) +CHECK_INCLUDE_FILE("features.h" HAVE_FEATURES_H) CHECK_INCLUDE_FILE("sys/types.h" HAVE_SYS_TYPES_H) CHECK_INCLUDE_FILE("inttypes.h" HAVE_INTTYPES_H) CHECK_INCLUDE_FILE("alloca.h" HAVE_ALLOCA_H) @@ -216,10 +217,13 @@ CHECK_FUNCTION_EXISTS(tcgetattr HAVE_TCGETATTR) CHECK_FUNCTION_EXISTS(perror HAVE_PERROR) CHECK_FUNCTION_EXISTS(closesocket HAVE_CLOSESOCKET) CHECK_FUNCTION_EXISTS(setvbuf HAVE_SETVBUF) -CHECK_FUNCTION_EXISTS(sigaction HAVE_SIGACTION) CHECK_FUNCTION_EXISTS(signal HAVE_SIGNAL) CHECK_FUNCTION_EXISTS(sigsetjmp HAVE_SIGSETJMP) +IF(HAVE_SIGNAL) + CHECK_SYMBOL_EXISTS(sigaction "signal.h" HAVE_SIGACTION) +ENDIF(HAVE_SIGNAL) + IF(NOT HAVE_SIGSETJMP) IF(HAVE_SETJMP_H) CHECK_SYMBOL_EXISTS(sigsetjmp "setjmp.h" HAVE_MACRO_SIGSETJMP) |