URL:
https://github.com/SSSD/sssd/pull/5593
Title: #5593: BUILD: prefer PCRE2 over PCRE
sumit-bose commented:
"""
> it looks like only `PCRE_LIBS` and `PCRE_CLAGS` are used in
`Makefile.am` but the configure check defines only `PCRE2_LIBS` and `PCRE2_CFLAGS` if
version 2 is found.
Hmm... indeed. Looks like an oversight in original introduction of pcre2... Thanks for
the catch.
Interesting that it was compiling and linking anyway somehow.
Anyway, I updated first patch to include `PCRE2_*` in `Makefile.am`
Hi,
thank you, this seem to work, now e.g. `-lpcre2-8` can be seen in the build logs. Since we
cannot use both libraries at once I wonder if it would be more clear to only use
`PCRE_LIBS` and `PCRE_CLAGS` and define them in the case libpcre2 is found as well?
bye,
Sumit
"""
See the full comment at
https://github.com/SSSD/sssd/pull/5593#issuecomment-825454223