configure.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8667bf02947dbd91043932842564cf2018ef37d6
Author: Jan Holesovsky <ke...@suse.cz>
Date:   Thu Oct 13 12:18:06 2011 +0200

    icu-config check that survives older icu versions.

diff --git a/configure.in b/configure.in
index c613ffb..d7b9a5c 100644
--- a/configure.in
+++ b/configure.in
@@ -6063,7 +6063,7 @@ if test -n "$with_system_icu" -o -n "$with_system_libs" 
&& \
     AC_PATH_PROG(ICUCONFIG,icu-config,,[$ICUPATH])
 
     AC_MSG_CHECKING([ICU version])
-    ICU_VERSION=`$ICUCONFIG --noverify --version`
+    ICU_VERSION=`$ICUCONFIG --noverify --version 2>/dev/null || $ICUCONFIG 
--version`
     ICU_MAJOR=`echo $ICU_VERSION | cut -d"." -f1`
     ICU_MINOR=`echo $ICU_VERSION | cut -d"." -f2`
     ICU_MICRO=`echo $ICU_VERSION | cut -d"." -f3`
_______________________________________________
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to