diff options
author | Ken Martin <ken.martin@kitware.com> | 2007-03-20 13:51:01 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2007-03-20 13:51:01 (GMT) |
commit | 2bd4301797ac943e9bb5be3f38eb2f0cd491591d (patch) | |
tree | fd8a4c1b5c376561c02548d1ea80e04940ec5a67 /Utilities/cmcurl | |
parent | 56ce727d1019886d210b7f6181504f279052816c (diff) | |
download | CMake-2bd4301797ac943e9bb5be3f38eb2f0cd491591d.zip CMake-2bd4301797ac943e9bb5be3f38eb2f0cd491591d.tar.gz CMake-2bd4301797ac943e9bb5be3f38eb2f0cd491591d.tar.bz2 |
BUG: was not setting HAVE_PROCESS_H properly
Diffstat (limited to 'Utilities/cmcurl')
-rw-r--r-- | Utilities/cmcurl/CMakeLists.txt | 2 | ||||
-rw-r--r-- | Utilities/cmcurl/Platforms/WindowsCache.cmake | 1 | ||||
-rw-r--r-- | Utilities/cmcurl/config.h.in | 3 |
3 files changed, 6 insertions, 0 deletions
diff --git a/Utilities/cmcurl/CMakeLists.txt b/Utilities/cmcurl/CMakeLists.txt index 290c120..c04de73 100644 --- a/Utilities/cmcurl/CMakeLists.txt +++ b/Utilities/cmcurl/CMakeLists.txt @@ -189,6 +189,8 @@ IF(CURL_SPECIAL_LIBZ) SET(HAVE_ZLIB_H 0) ENDIF(CURL_SPECIAL_LIBZ) +# do we have process.h +CHECK_INCLUDE_FILE("process.h" HAVE_PROCESS_H) # If we have features.h, then do the _BSD_SOURCE magic CHECK_INCLUDE_FILE("features.h" HAVE_FEATURES_H) diff --git a/Utilities/cmcurl/Platforms/WindowsCache.cmake b/Utilities/cmcurl/Platforms/WindowsCache.cmake index a0ae5a6..1e115c1 100644 --- a/Utilities/cmcurl/Platforms/WindowsCache.cmake +++ b/Utilities/cmcurl/Platforms/WindowsCache.cmake @@ -23,6 +23,7 @@ IF(NOT UNIX) SET(HAVE_NETINET_IF_ETHER_H 0) SET(HAVE_NETINET_IN_H 0) SET(HAVE_NET_IF_H 0) + SET(HAVE_PROCESS_H 1) SET(HAVE_PWD_H 0) SET(HAVE_SETJMP_H 1) SET(HAVE_SGTTY_H 0) diff --git a/Utilities/cmcurl/config.h.in b/Utilities/cmcurl/config.h.in index c8ae15e..6f2e5db 100644 --- a/Utilities/cmcurl/config.h.in +++ b/Utilities/cmcurl/config.h.in @@ -354,6 +354,9 @@ /* we have a POSIX-style strerror_r() */ #cmakedefine HAVE_POSIX_STRERROR_R ${HAVE_POSIX_STRERROR_R} +/* Define to 1 if you have the <process.h> header file. */ +#cmakedefine HAVE_PROCESS_H ${HAVE_PROCESS_H} + /* Define to 1 if you have the <pwd.h> header file. */ #cmakedefine HAVE_PWD_H ${HAVE_PWD_H} |