diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2021-12-06 06:16:02 -0500 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2022-01-03 02:28:08 -0500 |
commit | 750414d3bb6f13c119220e56d0c8123e665dffc5 (patch) | |
tree | f923eeb914ce6f7f7e935d4b62963dfcd1ebec9c /SConstruct | |
parent | 86c2d3093686c4f945086c90af9b8a7900925b6b (diff) | |
download | lighttpd-git-750414d3bb6f13c119220e56d0c8123e665dffc5.tar.gz |
[build] default --with-pcre2 unless --with-pcre
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -258,8 +258,8 @@ vars.AddVariables( PackageVariable('with_wolfssl', 'enable wolfSSL support', 'no'), BoolVariable('with_nettle', 'enable Nettle support', 'no'), BoolVariable('with_pam', 'enable PAM auth support', 'no'), - PackageVariable('with_pcre2', 'enable pcre2 support', 'no'), - PackageVariable('with_pcre', 'enable pcre support', 'yes'), + PackageVariable('with_pcre2', 'enable pcre2 support', 'yes'), + PackageVariable('with_pcre', 'enable pcre support', 'no'), PackageVariable('with_pgsql', 'enable pgsql support', 'no'), PackageVariable('with_sasl', 'enable SASL support', 'no'), BoolVariable('with_sqlite3', 'enable sqlite3 support (required for webdav props)', 'no'), @@ -659,7 +659,7 @@ if 1: LIBPAM = 'pam', ) - if env['with_pcre2']: + if env['with_pcre2'] and not env['with_pcre']: pcre2_config = autoconf.checkProgram('pcre2', 'pcre2-config') if not autoconf.CheckParseConfigForLib('LIBPCRE', pcre2_config + ' --cflags --libs8'): fail("Couldn't find pcre2") |