BUG: was not setting HAVE_PROCESS_H properly

This commit is contained in:
Ken Martin 2007-03-20 09:51:01 -04:00
parent 56ce727d10
commit 2bd4301797
3 changed files with 6 additions and 0 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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}