Print an explicit message during configuration telling if we are using 'libpcre' or 'libpcre2'.

[GB.PCRE]
* NEW: Print an explicit message during configuration telling if we are using 'libpcre' or 'libpcre2'.
This commit is contained in:
Benoît Minisini 2022-09-24 13:57:48 +02:00
parent 59051975ec
commit 42de34d162

View file

@ -17,11 +17,13 @@ if test "$have_pcre" != "yes"; then
pcre, PCRE, gb.pcre, [src],
libpcre, [trying with pcre])
gb_use_pcre2=0
AC_MSG_NOTICE([Using libpcre])
else
AC_DEFINE_UNQUOTED(PCRE2, 1, libpcre2 is used)
gb_use_pcre2=1
AC_MSG_NOTICE([Using libpcre2])
fi