summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2023-03-13 06:46:09 +0100
committerPeter Eisentraut <peter@eisentraut.org>2023-03-13 07:04:11 +0100
commit6a3002715eca4ae68e4d76606a6b3fd56d633741 (patch)
tree8d295a38ef61b70fb7c3e13b302d68ae3ef8916b /meson_options.txt
parent1f282c24e464d8b2647b86bf465e04cc540404f6 (diff)
downloadpostgresql-6a3002715eca4ae68e4d76606a6b3fd56d633741.tar.gz
meson: Make auto the default of the ssl option
The 'ssl' option is of type 'combo', but we add a choice 'auto' that simulates the behavior of a feature option. This way, openssl is used automatically by default if present, but we retain the ability to potentially select another ssl library. Author: Nazir Bilal Yavuz <byavuz81@gmail.com> Discussion: https://www.postgresql.org/message-id/flat/ad65ffd1-a9a7-fda1-59c6-f7dc763c3051%40enterprisedb.com
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 7d33c9f1d4..4402dd4299 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -130,8 +130,8 @@ option('readline', type : 'feature', value : 'auto',
option('selinux', type : 'feature', value : 'disabled',
description: 'build with SELinux support')
-option('ssl', type : 'combo', choices : ['none', 'openssl'],
- value : 'none',
+option('ssl', type : 'combo', choices : ['auto', 'none', 'openssl'],
+ value : 'auto',
description: 'use LIB for SSL/TLS support (openssl)')
option('systemd', type : 'feature', value: 'auto',