"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "CMakeLists.txt" between
Pound-3.0.1.tgz and Pound-3.0.2.tgz

About: Pound is a reverse proxy, load balancer and HTTPS front-end for Web server(s).

CMakeLists.txt  (Pound-3.0.1.tgz):CMakeLists.txt  (Pound-3.0.2.tgz)
# tunable variables - regenerate pound.h for it to take effect # tunable variables - regenerate pound.h for it to take effect
set (VERSION "3.0.1") set (VERSION "3.0.2")
set (MAXBUF 8192) set (MAXBUF 8192)
set (MAXHEADERS 128) set (MAXHEADERS 128)
set (RESURRECT_CYCLE 60) set (RESURRECT_CYCLE 60)
set (RESURRECT_TO 15) set (RESURRECT_TO 15)
set (HASH_FUNCTION HASH_FNV) set (HASH_FUNCTION HASH_FNV)
set (LOG_FACILITY LOG_DAEMON) set (LOG_FACILITY LOG_DAEMON)
set (H2TABSIZE 4096) set (H2TABSIZE 4096)
set (H2FRAMESIZE 16384) set (H2FRAMESIZE 16384)
# from here on there should be nothing to change # from here on there should be nothing to change
skipping to change at line 36 skipping to change at line 36
set(CMAKE_THREAD_PREFER_PTHREAD TRUE) set(CMAKE_THREAD_PREFER_PTHREAD TRUE)
set(THREADS_PREFER_PTHREAD_FLAG TRUE) set(THREADS_PREFER_PTHREAD_FLAG TRUE)
find_package(Threads REQUIRED) find_package(Threads REQUIRED)
include(CheckIncludeFiles) include(CheckIncludeFiles)
CHECK_INCLUDE_FILES("stdio.h;pthread.h;yaml.h;nanomsg/nn.h;nanomsg/inproc.h;nano msg/pipeline.h;nanomsg/pair.h;nanomsg/reqrep.h;stdlib.h;unistd.h;fcntl.h;ctype.h ;getopt.h;string.h;syslog.h;sys/types.h;sys/socket.h;netdb.h;sys/stat.h;time.h;p oll.h;semaphore.h;pwd.h;grp.h;signal.h;setjmp.h;mbedtls/config.h;mbedtls/certs.h ;mbedtls/oid.h;mbedtls/asn1.h;mbedtls/x509.h;mbedtls/entropy.h;mbedtls/ctr_drbg. h;mbedtls/ssl.h;mbedtls/error.h" HAVE_MANDATORY_INCLUDES LANGUAGE C) CHECK_INCLUDE_FILES("stdio.h;pthread.h;yaml.h;nanomsg/nn.h;nanomsg/inproc.h;nano msg/pipeline.h;nanomsg/pair.h;nanomsg/reqrep.h;stdlib.h;unistd.h;fcntl.h;ctype.h ;getopt.h;string.h;syslog.h;sys/types.h;sys/socket.h;netdb.h;sys/stat.h;time.h;p oll.h;semaphore.h;pwd.h;grp.h;signal.h;setjmp.h;mbedtls/config.h;mbedtls/certs.h ;mbedtls/oid.h;mbedtls/asn1.h;mbedtls/x509.h;mbedtls/entropy.h;mbedtls/ctr_drbg. h;mbedtls/ssl.h;mbedtls/error.h" HAVE_MANDATORY_INCLUDES LANGUAGE C)
if(NOT HAVE_MANDATORY_INCLUDES) if(NOT HAVE_MANDATORY_INCLUDES)
message(FATAL_ERROR "Missing mandatory header files!") message(FATAL_ERROR "Missing mandatory header files!")
endif() endif()
CHECK_INCLUDE_FILES(pcre2posix.h HAVE_PCRE2POSIX_H)
CHECK_INCLUDE_FILES(pcre/pcre2posix.h HAVE_PCRE_PCRE2POSIX_H)
CHECK_INCLUDE_FILES(pcreposix.h HAVE_PCREPOSIX_H) CHECK_INCLUDE_FILES(pcreposix.h HAVE_PCREPOSIX_H)
CHECK_INCLUDE_FILES(pcre/pcreposix.h HAVE_PCRE_PCREPOSIX_H) CHECK_INCLUDE_FILES(pcre/pcreposix.h HAVE_PCRE_PCREPOSIX_H)
CHECK_INCLUDE_FILES(regex.h HAVE_REGEX_H) CHECK_INCLUDE_FILES(regex.h HAVE_REGEX_H)
CHECK_INCLUDE_FILES(stdarg.h HAVE_STDARG_H) CHECK_INCLUDE_FILES(stdarg.h HAVE_STDARG_H)
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/include/pound.h.in ${CMAKE_CURRENT_SO URCE_DIR}/include/pound.h) CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/include/pound.h.in ${CMAKE_CURRENT_SO URCE_DIR}/include/pound.h)
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/MKDIST.in ${CMAKE_CURRENT_SOURCE_DIR} /MKDIST) CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/MKDIST.in ${CMAKE_CURRENT_SOURCE_DIR} /MKDIST)
target_link_libraries(pound -lyaml) target_link_libraries(pound -lyaml)
target_link_libraries(pound -lnanomsg) target_link_libraries(pound -lnanomsg)
skipping to change at line 73 skipping to change at line 75
FIND_LIBRARY(MBEDTLS mbedtls) FIND_LIBRARY(MBEDTLS mbedtls)
if(MBEDTLS) if(MBEDTLS)
target_link_libraries(pound -lmbedtls) target_link_libraries(pound -lmbedtls)
endif() endif()
if(NOT MBEDCRYPTO OR NOT MBEDX509 OR NOT MBEDTLS) if(NOT MBEDCRYPTO OR NOT MBEDX509 OR NOT MBEDTLS)
message(FATAL_ERROR "Missing mandatory library MbedTLS!") message(FATAL_ERROR "Missing mandatory library MbedTLS!")
endif() endif()
if(HAVE_PCRE2POSIX_H OR HAVE_PCRE_PCRE2POSIX_H)
FIND_LIBRARY(PCRE pcre2-posix)
if(PCRE)
target_link_libraries(pound -lpcre2-posix -lpcre2-8)
else()
message(FATAL_ERROR "pcre2posix.h found but libpcre2-posix is not available!")
endif()
else()
if(HAVE_PCREPOSIX_H OR HAVE_PCRE_PCREPOSIX_H) if(HAVE_PCREPOSIX_H OR HAVE_PCRE_PCREPOSIX_H)
FIND_LIBRARY(PCRE pcreposix) FIND_LIBRARY(PCRE pcreposix)
if(PCRE) if(PCRE)
target_link_libraries(pound -lpcreposix) target_link_libraries(pound -lpcreposix)
else() else()
message(FATAL_ERROR "pcreposix.h found but libpcreposix is not available!") message(FATAL_ERROR "pcreposix.h found but libpcreposix is not available!")
endif() endif()
endif() endif()
endif()
 End of changes. 4 change blocks. 
1 lines changed or deleted 11 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)