From 1e5597bf853aba69c87c7486d74fcfe3fc6b61cc Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Sun, 17 Mar 2024 12:14:56 +0200 Subject: [PATCH] [autotools] Check for minimum ICU version as well We use unorm2_* APIs introduced in 49.0. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 928f4cc53..f853b7418 100644 --- a/configure.ac +++ b/configure.ac @@ -242,7 +242,7 @@ AC_ARG_WITH(icu, [with_icu=auto]) have_icu=false if test "x$with_icu" = "xyes" -o "x$with_icu" = "xbuiltin" -o "x$with_icu" = "xauto"; then - PKG_CHECK_MODULES(ICU, icu-uc, have_icu=true, :) + PKG_CHECK_MODULES(ICU, icu-uc >= 49.0, have_icu=true, :) fi if test \( "x$with_icu" = "xyes" -o "x$with_icu" = "xbuiltin" \) -a "x$have_icu" != "xtrue"; then AC_MSG_ERROR([icu support requested but icu-uc not found])