summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2022-09-22 22:53:18 -0700
committerGlenn Strauss <gstrauss@gluelogic.com>2022-09-23 03:39:22 -0400
commitd58f4ea2003547307e1415a3120f5d0d93b06d98 (patch)
treea41a7bb6f57e0b0ac00a190daa9b86092d4843f6 /meson_options.txt
parent6b31f76cd9b36b6033607181238fbf41c5b81e07 (diff)
downloadlighttpd-git-d58f4ea2003547307e1415a3120f5d0d93b06d98.tar.gz
[meson] turn pcre into a combo option
A single with_pcre option is better than with_pcre2 and with_pcre, but retain with_pcre2 for compatibility with existing usage Signed-off-by: Rosen Penev <rosenp@gmail.com> github: #116
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/meson_options.txt b/meson_options.txt
index d2196ac2..d21e349c 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -94,9 +94,10 @@ option('with_pcre2',
description: 'with regex support [default: on]',
)
option('with_pcre',
- type: 'boolean',
- value: false,
- description: 'with regex support [default: off]',
+ type: 'combo',
+ choices: ['auto','pcre2','pcre','disabled'],
+ value: 'auto',
+ description: 'with regex support [default: auto]',
)
option('with_pgsql',
type: 'feature',