mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-04 09:43:08 +02:00
7b95fd3bd2
On some platforms, e.g. FreeBSD, there is a requirement to allow the user to disable support for features even when the required library is present. Introduce tri-state options for the optional features: auto mimics the current behavior and is the default, enable requires libraries for the feature to be present, and disable disables the feature without checking the libraries.
6 lines
497 B
Meson
6 lines
497 B
Meson
option('configdir', type: 'string', value: '/etc/pgbackrest', description: 'Configuration directory')
|
|
option('fatal-errors', type: 'boolean', value: false, description: 'Stop compilation on first error')
|
|
option('liblz4', type: 'feature', value: 'auto', description: 'Enable LZ4 compression support')
|
|
option('libssh2', type: 'feature', value: 'auto', description: 'Enable SFTP storage support')
|
|
option('libzstd', type: 'feature', value: 'auto', description: 'Enable Zstandard compression support')
|