Re: [PATCH v3] meson: disable PCRE2 dependency by default in macOS
- From
Carlo Arenas <carenas@gmail.com>
- Date
- Jul 15, 2025, 12:01 UTC
- Message-ID
- <CAPUEspjCbi0U6HYxEvpqMW9FPLn98VMePDTNfadQbt_9GHsZsw@mail.gmail.com>
- In-Reply-To
- <2414b962-e843-4ac0-814f-bb4bc7aacda7@gentoo.org>
On Mon, Jul 14, 2025 at 6:55 PM Eli Schwartz <eschwartz@gentoo.org> wrote:
> > Please double-check my work, that this compiler.has_header() is > sufficient on your reproducer system to detect and disable the > non-working feature.
it is indeed all that was needed, abd makes me wonder if a future version of dependency() shouldn't have a "has_header" parameter like the one used in find_libray() to allow for this validation to happen internally and fallback as needed.
Posted a v4 with your code and modifications to still allow a fallback to the wrap.
Carlo