configure: Fix --disable-pcre2
authorFabian Keil <fk@fabiankeil.de>
Sun, 27 Aug 2023 10:13:48 +0000 (12:13 +0200)
committerFabian Keil <fk@fabiankeil.de>
Sun, 27 Aug 2023 10:55:06 +0000 (12:55 +0200)
commit7fb978c74a8a46bd105d9f0ced92a4be0c9647e6
tree10a2821698a2a508898984283101ca4a11545d4d
parent3d710ccc4e105d880de99e8e3fd6826805f7844d
configure: Fix --disable-pcre2

Previously it would result in neither pcre library being detected:

    checking for getnameinfo... (cached) yes
    configure: WARNING: Ignoring pcre2 even if it's available
    test: =: unexpected operator
    Enabling support for client-specific tags.
    checking for zlibVersion in -lz... (cached) yes
    Enabling compression support.
    test: =: unexpected operator
    test: =: unexpected operator
    configure: error: Detected neither pcre2 nor pcre library.
configure.in