Refactor: improve PCRE settings output in configure.ac

Enhanced the `configure.ac` script to provide clearer and more readable output for PCRE and PCRE2 settings during configuration. This change improves usability by ensuring that the configuration process displays relevant details in a structured and user-friendly format.

This update aligns with the broader PCRE to PCRE2 migration effort, making the build configuration process more transparent and consistent.
This commit is contained in:
Gabor Berkes 2024-12-20 08:12:06 +00:00
parent e92507868e
commit 10d1c2be74

View File

@ -582,6 +582,17 @@ if test "x$LUA_FOUND" = "x2"; then
echo " + LUA ....disabled" echo " + LUA ....disabled"
fi fi
##PCRE
if test "x${with_pcre}" != "x" \
&& test "x${with_pcre}" != "xno" \
&& test "x${PCRE_VERSION}" == "x"; then
AC_MSG_NOTICE([*** pcre library not found.])
else
echo " + PCRE ....found "
echo " using pcre v${PCRE_VERSION}"
echo " ${PCRE_LDADD}, ${PCRE_CFLAGS}"
fi
## PCRE2 ## PCRE2
if test "x$PCRE2_FOUND" = "x0"; then if test "x$PCRE2_FOUND" = "x0"; then