raven-rhel9/compat-libicu4/icu-4.2.1-configure-cxx_try_link.patch
2024-02-21 15:07:07 +06:00

14 lines
451 B
Diff

diff -up icu/source/configure.in~ icu/source/configure.in
--- icu/source/configure.in~ 2014-03-07 21:55:33.000000000 +0000
+++ icu/source/configure.in 2014-03-07 21:56:30.000000000 +0000
@@ -268,6 +268,9 @@ if test "x$AR" = "x"; then
AC_MSG_ERROR(Archiver ar not found. Set AR= or fix PATH)
fi
+AC_LANG_PUSH([C++])
+AC_LINK_IFELSE([AC_LANG_PROGRAM()])
+AC_LANG_POP([C++])
AC_MSG_CHECKING([whether to enable renaming of symbols])
enabled=yes