summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2011-10-13 12:18:06 +0200
committerJan Holesovsky <kendy@suse.cz>2011-10-13 12:18:06 +0200
commit8667bf02947dbd91043932842564cf2018ef37d6 (patch)
tree24e3ed165424c42b73661cff7669a6b7a78201de
parent4456143b68c5093ca558579e9bc90cd3dd49cab1 (diff)
icu-config check that survives older icu versions.
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index c613ffb1eaa4..d7b9a5c1702b 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`