mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
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:
parent
e92507868e
commit
10d1c2be74
11
configure.ac
11
configure.ac
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user