1 |
robbat2 09/07/31 08:58:47 |
2 |
|
3 |
Added: yaz-3.0.47-icu-automagic.patch |
4 |
Log: |
5 |
Bug #277853: version bump. Thanks to John Klehm <xixsimplicityxix@×××××.com>. |
6 |
(Portage version: 2.2_rc33/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 dev-libs/yaz/files/yaz-3.0.47-icu-automagic.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/yaz/files/yaz-3.0.47-icu-automagic.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/yaz/files/yaz-3.0.47-icu-automagic.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: yaz-3.0.47-icu-automagic.patch |
15 |
=================================================================== |
16 |
--- yaz-3.0.47/configure.ac.orig 2009-07-08 04:58:43.000000000 -0700 |
17 |
+++ yaz-3.0.47/configure.ac 2009-07-31 01:46:21.764545198 -0700 |
18 |
@@ -367,14 +367,14 @@ |
19 |
|
20 |
dnl |
21 |
dnl |
22 |
-AC_CHECK_ICU([3.4],[ |
23 |
- if test "$xml_enabled" = "true"; then |
24 |
- ICU_CPPFLAGS="$ICU_CPPFLAGS -D YAZ_HAVE_ICU=1" |
25 |
- else |
26 |
- ICU_CPPFLAGS="" |
27 |
- AC_MSG_WARN([ICU support disabled because XML support is unavailable]) |
28 |
- fi |
29 |
-]) |
30 |
+dnl ------ ICU |
31 |
+AC_ARG_ENABLE(icu, [ --enable-icu enable ICU support],[enable_icu=$enableval],[enable_icu=no]) |
32 |
+if test "$enable_icu" = "yes"; then |
33 |
+ AC_CHECK_ICU([3.4],[ |
34 |
+ ICU_CPPFLAGS="$ICU_CPPFLAGS -D YAZ_HAVE_ICU=1"],[ |
35 |
+ AC_MSG_ERROR([For ICU support please install libicu34-dev or similar]) |
36 |
+ ]) |
37 |
+fi |
38 |
dnl |
39 |
dnl ------ Memory debugging |
40 |
AC_ARG_ENABLE([memdebug],[ --enable-memdebug enable memory debugging],[enable_memdebug=$enableval],[enable_memdebug=none]) |