1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
- # Generated by GNU Autoconf 2.69 for PostgreSQL 9.6beta1 .
3
+ # Generated by GNU Autoconf 2.69 for PostgreSQL 9.6.0 .
4
4
#
5
5
# Report bugs to <pgsql-bugs@postgresql.org>.
6
6
#
@@ -582,8 +582,8 @@ MAKEFLAGS=
582
582
# Identity of this package.
583
583
PACKAGE_NAME=' PostgreSQL'
584
584
PACKAGE_TARNAME=' postgresql'
585
- PACKAGE_VERSION=' 9.6beta1 '
586
- PACKAGE_STRING=' PostgreSQL 9.6beta1 '
585
+ PACKAGE_VERSION=' 9.6.0 '
586
+ PACKAGE_STRING=' PostgreSQL 9.6.0 '
587
587
PACKAGE_BUGREPORT=' pgsql-bugs@postgresql.org'
588
588
PACKAGE_URL=' '
589
589
@@ -1398,7 +1398,7 @@ if test "$ac_init_help" = "long"; then
1398
1398
# Omit some internal or obsolete options to make the list less imposing.
1399
1399
# This message is too long to be a string in the A/UX 3.1 sh.
1400
1400
cat << _ACEOF
1401
- \` configure' configures PostgreSQL 9.6beta1 to adapt to many kinds of systems.
1401
+ \` configure' configures PostgreSQL 9.6.0 to adapt to many kinds of systems.
1402
1402
1403
1403
Usage: $0 [OPTION]... [VAR=VALUE]...
1404
1404
1463
1463
1464
1464
if test -n " $ac_init_help " ; then
1465
1465
case $ac_init_help in
1466
- short | recursive ) echo " Configuration of PostgreSQL 9.6beta1 :" ;;
1466
+ short | recursive ) echo " Configuration of PostgreSQL 9.6.0 :" ;;
1467
1467
esac
1468
1468
cat << \_ACEOF
1469
1469
1615
1615
test -n "$ac_init_help" && exit $ac_status
1616
1616
if $ac_init_version; then
1617
1617
cat <<\_ACEOF
1618
- PostgreSQL configure 9.6beta1
1618
+ PostgreSQL configure 9.6.0
1619
1619
generated by GNU Autoconf 2.69
1620
1620
1621
1621
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2326,7 +2326,7 @@ cat >config.log <<_ACEOF
2326
2326
This file contains any messages produced by compilers while
2327
2327
running configure, to aid debugging if configure makes a mistake.
2328
2328
2329
- It was created by PostgreSQL $as_me 9.6beta1 , which was
2329
+ It was created by PostgreSQL $as_me 9.6.0 , which was
2330
2330
generated by GNU Autoconf 2.69. Invocation command line was
2331
2331
2332
2332
$ $0 $@
@@ -9538,9 +9538,9 @@ else
9538
9538
as_fn_error $? " library 'crypto' is required for OpenSSL" " $LINENO " 5
9539
9539
fi
9540
9540
9541
- { $as_echo " $as_me :${as_lineno-$LINENO } : checking for SSL_library_init in -lssl" >&5
9542
- $as_echo_n " checking for SSL_library_init in -lssl... " >&6 ; }
9543
- if ${ac_cv_lib_ssl_SSL_library_init +: } false ; then :
9541
+ { $as_echo " $as_me :${as_lineno-$LINENO } : checking for SSL_new in -lssl" >&5
9542
+ $as_echo_n " checking for SSL_new in -lssl... " >&6 ; }
9543
+ if ${ac_cv_lib_ssl_SSL_new +: } false ; then :
9544
9544
$as_echo_n " (cached) " >&6
9545
9545
else
9546
9546
ac_check_lib_save_LIBS=$LIBS
@@ -9554,27 +9554,27 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9554
9554
#ifdef __cplusplus
9555
9555
extern "C"
9556
9556
#endif
9557
- char SSL_library_init ();
9557
+ char SSL_new ();
9558
9558
int
9559
9559
main ()
9560
9560
{
9561
- return SSL_library_init ();
9561
+ return SSL_new ();
9562
9562
;
9563
9563
return 0;
9564
9564
}
9565
9565
_ACEOF
9566
9566
if ac_fn_c_try_link " $LINENO " ; then :
9567
- ac_cv_lib_ssl_SSL_library_init =yes
9567
+ ac_cv_lib_ssl_SSL_new =yes
9568
9568
else
9569
- ac_cv_lib_ssl_SSL_library_init =no
9569
+ ac_cv_lib_ssl_SSL_new =no
9570
9570
fi
9571
9571
rm -f core conftest.err conftest.$ac_objext \
9572
9572
conftest$ac_exeext conftest.$ac_ext
9573
9573
LIBS=$ac_check_lib_save_LIBS
9574
9574
fi
9575
- { $as_echo " $as_me :${as_lineno-$LINENO } : result: $ac_cv_lib_ssl_SSL_library_init " >&5
9576
- $as_echo " $ac_cv_lib_ssl_SSL_library_init " >&6 ; }
9577
- if test " x$ac_cv_lib_ssl_SSL_library_init " = xyes; then :
9575
+ { $as_echo " $as_me :${as_lineno-$LINENO } : result: $ac_cv_lib_ssl_SSL_new " >&5
9576
+ $as_echo " $ac_cv_lib_ssl_SSL_new " >&6 ; }
9577
+ if test " x$ac_cv_lib_ssl_SSL_new " = xyes; then :
9578
9578
cat >> confdefs.h << _ACEOF
9579
9579
#define HAVE_LIBSSL 1
9580
9580
_ACEOF
@@ -9644,9 +9644,9 @@ else
9644
9644
as_fn_error $? " library 'eay32' or 'crypto' is required for OpenSSL" " $LINENO " 5
9645
9645
fi
9646
9646
9647
- { $as_echo " $as_me :${as_lineno-$LINENO } : checking for library containing SSL_library_init " >&5
9648
- $as_echo_n " checking for library containing SSL_library_init ... " >&6 ; }
9649
- if ${ac_cv_search_SSL_library_init +: } false ; then :
9647
+ { $as_echo " $as_me :${as_lineno-$LINENO } : checking for library containing SSL_new " >&5
9648
+ $as_echo_n " checking for library containing SSL_new ... " >&6 ; }
9649
+ if ${ac_cv_search_SSL_new +: } false ; then :
9650
9650
$as_echo_n " (cached) " >&6
9651
9651
else
9652
9652
ac_func_search_save_LIBS=$LIBS
@@ -9659,11 +9659,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9659
9659
#ifdef __cplusplus
9660
9660
extern "C"
9661
9661
#endif
9662
- char SSL_library_init ();
9662
+ char SSL_new ();
9663
9663
int
9664
9664
main ()
9665
9665
{
9666
- return SSL_library_init ();
9666
+ return SSL_new ();
9667
9667
;
9668
9668
return 0;
9669
9669
}
@@ -9676,25 +9676,25 @@ for ac_lib in '' ssleay32 ssl; do
9676
9676
LIBS=" -l$ac_lib $ac_func_search_save_LIBS "
9677
9677
fi
9678
9678
if ac_fn_c_try_link " $LINENO " ; then :
9679
- ac_cv_search_SSL_library_init =$ac_res
9679
+ ac_cv_search_SSL_new =$ac_res
9680
9680
fi
9681
9681
rm -f core conftest.err conftest.$ac_objext \
9682
9682
conftest$ac_exeext
9683
- if ${ac_cv_search_SSL_library_init +: } false ; then :
9683
+ if ${ac_cv_search_SSL_new +: } false ; then :
9684
9684
break
9685
9685
fi
9686
9686
done
9687
- if ${ac_cv_search_SSL_library_init +: } false ; then :
9687
+ if ${ac_cv_search_SSL_new +: } false ; then :
9688
9688
9689
9689
else
9690
- ac_cv_search_SSL_library_init =no
9690
+ ac_cv_search_SSL_new =no
9691
9691
fi
9692
9692
rm conftest.$ac_ext
9693
9693
LIBS=$ac_func_search_save_LIBS
9694
9694
fi
9695
- { $as_echo " $as_me :${as_lineno-$LINENO } : result: $ac_cv_search_SSL_library_init " >&5
9696
- $as_echo " $ac_cv_search_SSL_library_init " >&6 ; }
9697
- ac_res=$ac_cv_search_SSL_library_init
9695
+ { $as_echo " $as_me :${as_lineno-$LINENO } : result: $ac_cv_search_SSL_new " >&5
9696
+ $as_echo " $ac_cv_search_SSL_new " >&6 ; }
9697
+ ac_res=$ac_cv_search_SSL_new
9698
9698
if test " $ac_res " ! = no; then :
9699
9699
test " $ac_res " = " none required" || LIBS=" $ac_res $LIBS "
9700
9700
@@ -9711,6 +9711,37 @@ if test "x$ac_cv_func_SSL_get_current_compression" = xyes; then :
9711
9711
#define HAVE_SSL_GET_CURRENT_COMPRESSION 1
9712
9712
_ACEOF
9713
9713
9714
+ fi
9715
+ done
9716
+
9717
+ # Functions introduced in OpenSSL 1.1.0. We used to check for
9718
+ # OPENSSL_VERSION_NUMBER, but that didn't work with 1.1.0, because LibreSSL
9719
+ # defines OPENSSL_VERSION_NUMBER to claim version 2.0.0, even though it
9720
+ # doesn't have these OpenSSL 1.1.0 functions. So check for individual
9721
+ # functions.
9722
+ for ac_func in OPENSSL_init_ssl BIO_get_data BIO_meth_new ASN1_STRING_get0_data RAND_OpenSSL
9723
+ do :
9724
+ as_ac_var=` $as_echo " ac_cv_func_$ac_func " | $as_tr_sh `
9725
+ ac_fn_c_check_func " $LINENO " " $ac_func " " $as_ac_var "
9726
+ if eval test \" x\$ " $as_ac_var " \" = x" yes" ; then :
9727
+ cat >> confdefs.h << _ACEOF
9728
+ #define ` $as_echo " HAVE_$ac_func " | $as_tr_cpp ` 1
9729
+ _ACEOF
9730
+
9731
+ fi
9732
+ done
9733
+
9734
+ # OpenSSL versions before 1.1.0 required setting callback functions, for
9735
+ # thread-safety. In 1.1.0, it's no longer required, and CRYPTO_lock()
9736
+ # function was removed.
9737
+ for ac_func in CRYPTO_lock
9738
+ do :
9739
+ ac_fn_c_check_func " $LINENO " " CRYPTO_lock" " ac_cv_func_CRYPTO_lock"
9740
+ if test " x$ac_cv_func_CRYPTO_lock " = xyes; then :
9741
+ cat >> confdefs.h << _ACEOF
9742
+ #define HAVE_CRYPTO_LOCK 1
9743
+ _ACEOF
9744
+
9714
9745
fi
9715
9746
done
9716
9747
@@ -16433,7 +16464,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16433
16464
# report actual input values of CONFIG_FILES etc. instead of their
16434
16465
# values after options handling.
16435
16466
ac_log="
16436
- This file was extended by PostgreSQL $as_me 9.6beta1 , which was
16467
+ This file was extended by PostgreSQL $as_me 9.6.0 , which was
16437
16468
generated by GNU Autoconf 2.69. Invocation command line was
16438
16469
16439
16470
CONFIG_FILES = $CONFIG_FILES
@@ -16503,7 +16534,7 @@ _ACEOF
16503
16534
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16504
16535
ac_cs_config=" ` $as_echo " $ac_configure_args " | sed 's/^ //; s/[\\ " " \`\$ ]/\\\\ &/g'` "
16505
16536
ac_cs_version=" \\
16506
- PostgreSQL config.status 9.6beta1
16537
+ PostgreSQL config.status 9.6.0
16507
16538
configured by $0 , generated by GNU Autoconf 2.69,
16508
16539
with options \\ " \$ ac_cs_config\\ "
16509
16540
0 commit comments