aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql91-server/files/extra-patch-icu4
blob: 28c8a8cfff3314800f637fb6dfd7f8a9b4409e73 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- configure.in.orig	2010-03-25 22:25:10.655197193 +0100
+++ configure.in	2010-03-25 22:25:13.611658318 +0100
@@ -945,15 +945,19 @@
 fi
 
 if test "$with_icu" = yes ; then
-  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_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_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_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