fix warnings

This commit is contained in:
Ken Martin 2004-02-16 09:49:29 -05:00
parent eb7ab7964a
commit a46e0d3476
1 changed files with 14 additions and 3 deletions

View File

@ -59,17 +59,23 @@ SET(libCurl_SRCS
transfer.c
strequal.c
easy.c
security.c
krb4.c
http_chunks.c
strtok.c
connect.c
llist.c
hash.c
multi.c
content_encoding.c
)
# if we have Kerberos 4, right now this is never on
IF(KRB4)
SET(libCurl_SRCS ${libCurl_SRCS}
krb4.c
security.c
)
ENDIF(KRB4)
OPTION(CURL_MALLOC_DEBUG "Debug mallocs in Curl" OFF)
MARK_AS_ADVANCED(CURL_MALLOC_DEBUG)
IF(CURL_MALLOC_DEBUG)
@ -78,6 +84,7 @@ IF(CURL_MALLOC_DEBUG)
)
ENDIF(CURL_MALLOC_DEBUG)
# On windows preload settings
IF(WIN32)
INCLUDE(${LIBCURL_SOURCE_DIR}/Platforms/WindowsCache.cmake)
@ -381,6 +388,10 @@ IF(NOT HAVE_ZLIB_H)
SET(HAVE_LIBZ 0)
ENDIF(NOT HAVE_ZLIB_H)
IF(HAVE_LIBZ)
SET(libCurl_SRCS ${libCurl_SRCS} content_encoding.c)
ENDIF(HAVE_LIBZ)
# Check for nonblocking
SET(HAVE_SOME_NONBLOCK 0)