ICU-7193 Update configure script.

X-SVN-Rev: 26925
This commit is contained in:
Michael Ow 2009-11-17 16:57:41 +00:00
parent 824ed01f70
commit 8a0445c9c1
2 changed files with 2 additions and 2 deletions

View file

@ -1943,7 +1943,7 @@ $as_echo_n "checking for ICU version numbers... " >&6; }
geticuversion() {
sed -n 's/^[ ]*#[ ]*define[ ]*U_ICU_VERSION[ ]*"\([^"]*\)".*/\1/p' "$@"
}
VERSION=`geticuversion $srcdir/common/unicode/uversion.h`
VERSION=`geticuversion $srcdir/common/unicode/uvernum.h`
if test x"$VERSION" = x; then
VERSION=`geticuversion $srcdir/common/unicode/*.h`
if test x"$VERSION" = x; then

View file

@ -21,7 +21,7 @@ AC_MSG_CHECKING(for ICU version numbers)
geticuversion() {
[sed -n 's/^[ ]*#[ ]*define[ ]*U_ICU_VERSION[ ]*"\([^"]*\)".*/\1/p' "$@"]
}
VERSION=`geticuversion $srcdir/common/unicode/uversion.h`
VERSION=`geticuversion $srcdir/common/unicode/uvernum.h`
if test x"$VERSION" = x; then
VERSION=`geticuversion $srcdir/common/unicode/*.h`
if test x"$VERSION" = x; then