Merge pull request #5794 from LAP2/fix/configure-utf8proc-cppflags

Keep earlier CPPFLAGS when utf8proc is found with pkg-config
This commit is contained in:
Nicholas Marriott authored and GitHub committed 2026-10-22 13:59:21 +01:00
commit 554f5e94d9
1 file changed
+1 -1
+1 -1
View File
@@ -465,7 +465,7 @@ if test "x$try_utf8proc" = xyes; then
libutf8proc,
[
AM_CPPFLAGS="$LIBUTF8PROC_CFLAGS $AM_CPPFLAGS"
CPPFLAGS="$LIBUTF8PROC_CFLAGS $SAVED_CPPFLAGS"
CPPFLAGS="$AM_CPPFLAGS $SAVED_CPPFLAGS"
LIBS="$LIBUTF8PROC_LIBS $LIBS"
utf8proc_version=`$PKG_CONFIG --modversion libutf8proc 2>/dev/null`
test "x$utf8proc_version" = x && utf8proc_version=on