summaryrefslogtreecommitdiff
path: root/databases/postgresql83-server/files/extra-patch-icu4
blob: 2c5ca8e56e5114c7db08b894d881cdca3a2b7114 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
--- configure.in.orig	2010-12-17 11:17:22.892862951 +0100
+++ configure.in	2010-12-17 11:17:59.498605923 +0100
@@ -19,7 +19,7 @@
 
 AC_INIT([PostgreSQL], [8.3.13], [pgsql-bugs@postgresql.org])
 
-m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.62], [], [m4_fatal([Autoconf version 2.62 is required.
+m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.68], [], [m4_fatal([Autoconf version 2.68 is required.
 Untested combinations of 'autoconf' and PostgreSQL versions are not
 recommended.  You can remove the check from 'configure.in' but it is then
 your responsibility whether the result works or not.])])
@@ -795,19 +795,27 @@
 fi
 
 if test "$with_icu" = yes ; then
-  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_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