diff options
author | Jan Holesovsky <kendy@suse.cz> | 2011-10-13 12:18:06 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2011-10-13 12:18:06 +0200 |
commit | 8667bf02947dbd91043932842564cf2018ef37d6 (patch) | |
tree | 24e3ed165424c42b73661cff7669a6b7a78201de | |
parent | 4456143b68c5093ca558579e9bc90cd3dd49cab1 (diff) |
icu-config check that survives older icu versions.
-rw-r--r-- | configure.in | 2 |
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` |