@@ -25,7 +25,7 @@ set(POSTGRES_VERSION
2525 ${POSTGRES_MAJOR_VERSION} .${POSTGRES_MINOR_VERSION} .${POSTGRES_PATCH_VERSION} )
2626
2727set (PG_VERSION "11devel" )
28- set (PG_VERSION_NUM 100000 )
28+ set (PG_VERSION_NUM 110000 )
2929set (PACKAGE_BUGREPORT "pgsql-bugs@postgresql.org" )
3030
3131 # Offer the user the choice of overriding the installation directories
@@ -286,6 +286,15 @@ if(USE_BONJOUR)
286286 endif ()
287287endif ()
288288
289+ option (WITH_SYSTEM_TZDATA "Define to use system tzdata information." OFF )
290+ if (WITH_SYSTEM_TZDATA)
291+ if (EXISTS ${WITH_SYSTEM_TZDATA} )
292+ add_compile_options (-DSYSTEMTZDIR= "${WITH_SYSTEM_TZDATA} " )
293+ else ()
294+ message (FATAL_ERROR "tzdata directory \" ${WITH_SYSTEM_TZDATA} \" does not exists" )
295+ endif ()
296+ endif ()
297+
289298option (STRONG_RANDOM "Strong random number source" ON )
290299option (STRONG_RANDOM_SOURCE "which random number source to use - openssl, win32, dev" OFF )
291300if (STRONG_RANDOM)
@@ -691,6 +700,11 @@ if(OPENSSL_FOUND)
691700 set (CMAKE_REQUIRED_INCLUDES "${CMAKE_REQUIRED_INCLUDES} ;${OPENSSL_INCLUDE_DIR} " )
692701 set (CMAKE_REQUIRED_LIBRARIES ${OPENSSL_LIBRARIES} )
693702 check_function_exists (SSL_get_current_compression HAVE_SSL_GET_CURRENT_COMPRESSION )
703+ check_function_exists (BIO_get_data HAVE_BIO_GET_DATA )
704+ check_function_exists (BIO_meth_new HAVE_BIO_METH_NEW )
705+ message (STATUS "OpenSSL version: ${OPENSSL_VERSION} libs: ${OPENSSL_LIBRARIES} include: ${OPENSSL_INCLUDE_DIR} " )
706+ else ()
707+ message (STATUS "OpenSSL: off" )
694708endif (OPENSSL_FOUND )
695709
696710if (USE_SYSTEMD)
0 commit comments