Introduce --with-ssl={openssl} as a configure option
authorMichael Paquier <michael@paquier.xyz>
Mon, 1 Feb 2021 10:19:44 +0000 (19:19 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 1 Feb 2021 10:19:44 +0000 (19:19 +0900)
commitfe61df7f82aa6e0879476146dbe1da9c89b4946b
treed1c7ca42a5f3739bb9e221f8c0130a805267ef30
parent7c5d57caed4d8af705d0cc3131d0d8ed72b7a41d
Introduce --with-ssl={openssl} as a configure option

This is a replacement for the existing --with-openssl, extending the
logic to make easier the addition of new SSL libraries.  The grammar is
chosen to be similar to --with-uuid, where multiple values can be
chosen, with "openssl" as the only supported value for now.

The original switch, --with-openssl, is kept for compatibility.

Author: Daniel Gustafsson, Michael Paquier
Reviewed-by: Jacob Champion
Discussion: https://postgr.es/m/FAB21FC8-0F62-434F-AA78-6BD9336D630A@yesql.se
22 files changed:
configure
configure.ac
contrib/Makefile
contrib/pgcrypto/Makefile
doc/src/sgml/installation.sgml
doc/src/sgml/pgcrypto.sgml
doc/src/sgml/sslinfo.sgml
src/Makefile.global.in
src/backend/libpq/Makefile
src/backend/libpq/hba.c
src/common/Makefile
src/include/pg_config.h.in
src/interfaces/libpq/Makefile
src/test/Makefile
src/test/modules/Makefile
src/test/modules/ssl_passphrase_callback/Makefile
src/test/modules/ssl_passphrase_callback/t/001_testfunc.pl
src/test/ssl/Makefile
src/test/ssl/t/001_ssltests.pl
src/test/ssl/t/002_scram.pl
src/tools/msvc/Solution.pm
src/tools/msvc/config_default.pl