meson_options: Add readline option

Make it possible to disable code that depends on readline even if
readline is pulled in by another dependency, like bluez.
This commit is contained in:
Jonas Holmberg 2022-11-07 15:35:01 +01:00
parent 02add5b3db
commit 050a51aab3
2 changed files with 6 additions and 2 deletions

View file

@ -265,3 +265,7 @@ option('flatpak',
description: 'Enable Flatpak support',
type: 'feature',
value: 'enabled')
option('readline',
description: 'Enable code that depends on libreadline',
type: 'feature',
value: 'auto')