ICU-208 experimental support for ICU's rule of release X.Y2 being binary compatible w/ X.Y

X-SVN-Rev: 2674
This commit is contained in:
Yves Arrouye 2000-10-13 18:29:14 +00:00
parent ed49fe1e13
commit 7b50082ed3
7 changed files with 183 additions and 175 deletions

View file

@ -37,8 +37,8 @@ INSTALL_DATA = @INSTALL_DATA@
CC = @CC@
CXX = @CXX@
PACKAGE = @PACKAGE@
SO_TARGET_VERSION = @VERSION@
SO_TARGET_VERSION_MAJOR = @VERSION_MAJOR@
SO_TARGET_VERSION = @LIB_VERSION@
SO_TARGET_VERSION_MAJOR = @LIB_VERSION_MAJOR@
VERSION = @VERSION@
## Platform-specific setup

View file

@ -2,7 +2,7 @@
#******************************************************************************
# Copyright (C) 1999, International Business Machines
# Corporation and others. All Rights Reserved.
# $Revision: 1.11 $
# $Revision: 1.12 $
#******************************************************************************
# This Makefile is designed to be included into projects which make use
# of the ICU.
@ -34,9 +34,9 @@ oldincludedir = @oldincludedir@
infodir = @infodir@
mandir = @mandir@
PACKAGE = @PACKAGE@
VERSION_MAJOR = @VERSION_MAJOR@
VERSION_MINOR = @VERSION_MINOR@
VERSION = @VERSION@
LIB_VERSION = @LIB_VERSION@
LIB_VERSION_MAJOR = @LIB_VERSION_MAJOR@
CC = @CC@
CXX = @CXX@

325
icu4c/source/configure vendored

File diff suppressed because it is too large Load diff

View file

@ -17,10 +17,15 @@ dnl Get the ICU version from utypes.h
changequote(<<, >>)dnl
VERSION=`sed -n 's/^[ ]*#[ ]*define[ ]*U_ICU_VERSION[ ]*"\([^"]*\)".*/\1/p' $srcdir/common/unicode/utypes.h`
AC_SUBST(VERSION)
VERSION_MAJOR=`echo $VERSION | sed 's/\..*//'`
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.
LIB_VERSION=`echo $VERSION | sed -e 's/\.//' -e 's/^\([^.]*\)$/\1.0/'`
LIB_VERSION_MAJOR=`echo $LIB_VERSION | sed 's/\..*//'`
changequote([, ])dnl
AC_SUBST(VERSION_MAJOR)
AC_MSG_RESULT([release $VERSION])
AC_SUBST(LIB_VERSION)
AC_SUBST(LIB_VERSION_MAJOR)
AC_MSG_RESULT([release $VERSION, library $LIB_VERSION])
UNICODE_VERSION="3.0.0"
AC_SUBST(UNICODE_VERSION)

View file

@ -38,8 +38,8 @@ CC = @CC@
CXX = @CXX@
PACKAGE = @PACKAGE@
VERSION = @VERSION@
SO_TARGET_VERSION = @VERSION@
SO_TARGET_VERSION_MAJOR = @VERSION_MAJOR@
SO_TARGET_VERSION = @LIB_VERSION@
SO_TARGET_VERSION_MAJOR = @LIB_VERSION_MAJOR@
## Platform-specific setup
@host_frag@

View file

@ -32,8 +32,8 @@ CC = @CC@
CXX = @CXX@
PACKAGE = @PACKAGE@
VERSION = @VERSION@
SO_TARGET_VERSION = @VERSION@
SO_TARGET_VERSION_MAJOR = @VERSION_MAJOR@
SO_TARGET_VERSION = @LIB_VERSION@
SO_TARGET_VERSION_MAJOR = @LIB_VERSION_MAJOR@
## Platform-specific setup
@host_frag@

View file

@ -32,8 +32,8 @@ CC = @CC@
CXX = @CXX@
PACKAGE = @PACKAGE@
VERSION = @VERSION@
SO_TARGET_VERSION = @VERSION@
SO_TARGET_VERSION_MAJOR = @VERSION_MAJOR@
SO_TARGET_VERSION = @LIB_VERSION@
SO_TARGET_VERSION_MAJOR = @LIB_VERSION_MAJOR@
## Platform-specific setup
@host_frag@