ports/databases/postgresql92-server/files/extra-patch-icu4
Martin Matuska a76c10aedc - Update to 9.0.2
- Unify ICU handling

PR:		ports/153245
Approved by:	maintainer (timeout)
2010-12-31 09:57:21 +00:00

46 lines
1.7 KiB
Text

--- configure.in.orig 2010-12-17 10:24:25.585364941 +0100
+++ configure.in 2010-12-17 10:25:08.921592644 +0100
@@ -947,23 +947,27 @@
fi
if test "$with_icu" = yes ; then
- AC_CHECK_LIB(icui18n, ucol_open_44, [], [
- AC_CHECK_LIB(icui18n, ucol_open_43, [], [
- AC_CHECK_LIB(icui18n, ucol_open_3_8, [], [
- AC_CHECK_LIB(icui18n, ucol_open_3_6, [], [
- AC_CHECK_LIB(icui18n, ucol_open_3_4, [], [AC_MSG_ERROR([library 'icui18n' is required for ICU])])
- ])
- ])
- ])
+ AC_CHECK_LIB(icui18n, ucol_open_46, [], [
+ AC_CHECK_LIB(icui18n, ucol_open_44, [], [
+ AC_CHECK_LIB(icui18n, ucol_open_43, [], [
+ AC_CHECK_LIB(icui18n, ucol_open_3_8, [], [
+ AC_CHECK_LIB(icui18n, ucol_open_3_6, [], [
+ AC_CHECK_LIB(icui18n, ucol_open_3_4, [], [AC_MSG_ERROR([library 'icui18n' is required for ICU])])
+ ])
+ ])
+ ])
+ ])
])
- AC_CHECK_LIB(icuuc, ucnv_fromUChars_44, [], [
- AC_CHECK_LIB(icuuc, ucnv_fromUChars_43, [], [
- AC_CHECK_LIB(icuuc, ucnv_fromUChars_3_8, [], [
- AC_CHECK_LIB(icuuc, ucnv_fromUChars_3_6, [], [
- AC_CHECK_LIB(icuuc, ucnv_fromUChars_3_4, [], [AC_MSG_ERROR([library 'icuuc' is required for ICU])])
- ])
- ])
- ])
+ AC_CHECK_LIB(icuuc, ucnv_fromUChars_46, [], [
+ AC_CHECK_LIB(icuuc, ucnv_fromUChars_44, [], [
+ AC_CHECK_LIB(icuuc, ucnv_fromUChars_43, [], [
+ AC_CHECK_LIB(icuuc, ucnv_fromUChars_3_8, [], [
+ AC_CHECK_LIB(icuuc, ucnv_fromUChars_3_6, [], [
+ AC_CHECK_LIB(icuuc, ucnv_fromUChars_3_4, [], [AC_MSG_ERROR([library 'icuuc' is required for ICU])])
+ ])
+ ])
+ ])
+ ])
])
fi