Skip to content

Commit 10d1c2b

Browse files
author
Gabor Berkes
committed
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.
1 parent e925078 commit 10d1c2b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

configure.ac

+11
Original file line numberDiff line numberDiff line change
@@ -582,6 +582,17 @@ if test "x$LUA_FOUND" = "x2"; then
582582
echo " + LUA ....disabled"
583583
fi
584584

585+
##PCRE
586+
if test "x${with_pcre}" != "x" \
587+
&& test "x${with_pcre}" != "xno" \
588+
&& test "x${PCRE_VERSION}" == "x"; then
589+
AC_MSG_NOTICE([*** pcre library not found.])
590+
else
591+
echo " + PCRE ....found "
592+
echo " using pcre v${PCRE_VERSION}"
593+
echo " ${PCRE_LDADD}, ${PCRE_CFLAGS}"
594+
fi
595+
585596

586597
## PCRE2
587598
if test "x$PCRE2_FOUND" = "x0"; then

0 commit comments

Comments
 (0)