ICU-1010 get the version from uversion.h since it's not in utypes.h anymore

X-SVN-Rev: 5059
This commit is contained in:
Yves Arrouye 2001-06-22 16:01:27 +00:00
parent a9fbec2b9c
commit d4f08f066d
2 changed files with 2374 additions and 4762 deletions

6888
icu4c/source/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -4,7 +4,7 @@ dnl Copyright (c) 1999-2000, International Business Machines Corporation and
dnl others. All Rights Reserved.
dnl Stephen F. Booth, heavily modified by Yves and others
dnl $Id: configure.in,v 1.109 2001/06/21 18:45:45 rviswanadha Exp $
dnl $Id: configure.in,v 1.110 2001/06/22 16:01:27 yves Exp $
dnl Process this file with autoconf to produce a configure script
AC_INIT(common/unicode/utypes.h)
@ -15,9 +15,9 @@ AC_SUBST(PACKAGE)
AC_MSG_CHECKING(for ICU version numbers)
dnl Get the ICU version from utypes.h
dnl Get the ICU version from uversion.h
changequote(<<, >>)dnl
VERSION=`sed -n 's/^[ ]*#[ ]*define[ ]*U_ICU_VERSION[ ]*"\([^"]*\)".*/\1/p' $srcdir/common/unicode/utypes.h`
VERSION=`sed -n 's/^[ ]*#[ ]*define[ ]*U_ICU_VERSION[ ]*"\([^"]*\)".*/\1/p' $srcdir/common/unicode/uversion.h`
dnl Compute a reasonable library version from the release version. This is
dnl very bad, but that's wanted... We want to make sure that the LIB_VERSION
dnl has at least a dot in it, so we'll add a .0 if needed.