diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2010-12-16 19:59:05 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2010-12-16 19:59:05 (GMT) |
commit | 8d3689072394e6410c766eac9a8b0cae598f6500 (patch) | |
tree | a0591d8bae8625071f9337049b5d9f33f3e900e0 /Utilities/cmcurl/CMake | |
parent | c5cbb318c5bc9c5bf0d5decb7c05b44853180cc0 (diff) | |
download | CMake-8d3689072394e6410c766eac9a8b0cae598f6500.zip CMake-8d3689072394e6410c766eac9a8b0cae598f6500.tar.gz CMake-8d3689072394e6410c766eac9a8b0cae598f6500.tar.bz2 |
Use _POLL_EMUL_H_ instead of HAVE_POLL_FINE
Headers define _POLL_EMUL_H_ if they are not in the kernel, so a try_run
check for them is not necessary.
Diffstat (limited to 'Utilities/cmcurl/CMake')
-rw-r--r-- | Utilities/cmcurl/CMake/OtherTests.cmake | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Utilities/cmcurl/CMake/OtherTests.cmake b/Utilities/cmcurl/CMake/OtherTests.cmake index ea1613d..7d2c66f 100644 --- a/Utilities/cmcurl/CMake/OtherTests.cmake +++ b/Utilities/cmcurl/CMake/OtherTests.cmake @@ -193,14 +193,6 @@ SET(EXTRA_DEFINES "${EXTRA_DEFINES}\n${headers_hack}\n#define __unused5") CURL_CHECK_C_SOURCE_COMPILES("struct timeval ts;\nts.tv_sec = 0;\nts.tv_usec = 0" HAVE_STRUCT_TIMEVAL) -INCLUDE(CurlCheckCSourceRuns) -SET(EXTRA_DEFINES) -SET(HEADER_INCLUDES) -IF(HAVE_SYS_POLL_H) - SET(HEADER_INCLUDES "sys/poll.h") -ENDIF(HAVE_SYS_POLL_H) -CURL_CHECK_C_SOURCE_RUNS("return poll((void *)0, 0, 10 /*ms*/)" HAVE_POLL_FINE) - SET(HAVE_SIG_ATOMIC_T 1) SET(EXTRA_DEFINES) SET(HEADER_INCLUDES) |