Fix versioning to avoid changing the soname!
Mon May 6 12:17:14 2002 Owen Taylor <otaylor@redhat.com> * configure.in: Fix versioning to avoid changing the soname! [ merge from stable ] * Makefile.am (EXTRA_DIST): Add ChangeLog.pre-2-0 (#78641) * m4macros/gtk-2.0.m4: save CFLAGS/LIBS properly when compiling "what went wrong" test case. (#79329) * m4macros/gtk-2.0.m4: Remove reference to editing pkg-config script. (From Jim Gettys)
This commit is contained in:
17
ChangeLog
17
ChangeLog
@ -1,4 +1,19 @@
|
|||||||
2002-05-05 Matthias Clasen <maclas@gmx.de>
|
Mon May 6 12:17:14 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* configure.in: Fix versioning to avoid changing the
|
||||||
|
soname!
|
||||||
|
|
||||||
|
[ merge from stable ]
|
||||||
|
|
||||||
|
* Makefile.am (EXTRA_DIST): Add ChangeLog.pre-2-0 (#78641)
|
||||||
|
|
||||||
|
* m4macros/gtk-2.0.m4: save CFLAGS/LIBS properly when
|
||||||
|
compiling "what went wrong" test case. (#79329)
|
||||||
|
|
||||||
|
* m4macros/gtk-2.0.m4: Remove reference to editing
|
||||||
|
pkg-config script. (From Jim Gettys)
|
||||||
|
|
||||||
|
02-05-05 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* configure.in: Bump version to 2.1.0, binary, interface age 0.
|
* configure.in: Bump version to 2.1.0, binary, interface age 0.
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,19 @@
|
|||||||
2002-05-05 Matthias Clasen <maclas@gmx.de>
|
Mon May 6 12:17:14 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* configure.in: Fix versioning to avoid changing the
|
||||||
|
soname!
|
||||||
|
|
||||||
|
[ merge from stable ]
|
||||||
|
|
||||||
|
* Makefile.am (EXTRA_DIST): Add ChangeLog.pre-2-0 (#78641)
|
||||||
|
|
||||||
|
* m4macros/gtk-2.0.m4: save CFLAGS/LIBS properly when
|
||||||
|
compiling "what went wrong" test case. (#79329)
|
||||||
|
|
||||||
|
* m4macros/gtk-2.0.m4: Remove reference to editing
|
||||||
|
pkg-config script. (From Jim Gettys)
|
||||||
|
|
||||||
|
02-05-05 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* configure.in: Bump version to 2.1.0, binary, interface age 0.
|
* configure.in: Bump version to 2.1.0, binary, interface age 0.
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,19 @@
|
|||||||
2002-05-05 Matthias Clasen <maclas@gmx.de>
|
Mon May 6 12:17:14 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* configure.in: Fix versioning to avoid changing the
|
||||||
|
soname!
|
||||||
|
|
||||||
|
[ merge from stable ]
|
||||||
|
|
||||||
|
* Makefile.am (EXTRA_DIST): Add ChangeLog.pre-2-0 (#78641)
|
||||||
|
|
||||||
|
* m4macros/gtk-2.0.m4: save CFLAGS/LIBS properly when
|
||||||
|
compiling "what went wrong" test case. (#79329)
|
||||||
|
|
||||||
|
* m4macros/gtk-2.0.m4: Remove reference to editing
|
||||||
|
pkg-config script. (From Jim Gettys)
|
||||||
|
|
||||||
|
02-05-05 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* configure.in: Bump version to 2.1.0, binary, interface age 0.
|
* configure.in: Bump version to 2.1.0, binary, interface age 0.
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,19 @@
|
|||||||
2002-05-05 Matthias Clasen <maclas@gmx.de>
|
Mon May 6 12:17:14 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* configure.in: Fix versioning to avoid changing the
|
||||||
|
soname!
|
||||||
|
|
||||||
|
[ merge from stable ]
|
||||||
|
|
||||||
|
* Makefile.am (EXTRA_DIST): Add ChangeLog.pre-2-0 (#78641)
|
||||||
|
|
||||||
|
* m4macros/gtk-2.0.m4: save CFLAGS/LIBS properly when
|
||||||
|
compiling "what went wrong" test case. (#79329)
|
||||||
|
|
||||||
|
* m4macros/gtk-2.0.m4: Remove reference to editing
|
||||||
|
pkg-config script. (From Jim Gettys)
|
||||||
|
|
||||||
|
02-05-05 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* configure.in: Bump version to 2.1.0, binary, interface age 0.
|
* configure.in: Bump version to 2.1.0, binary, interface age 0.
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,19 @@
|
|||||||
2002-05-05 Matthias Clasen <maclas@gmx.de>
|
Mon May 6 12:17:14 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* configure.in: Fix versioning to avoid changing the
|
||||||
|
soname!
|
||||||
|
|
||||||
|
[ merge from stable ]
|
||||||
|
|
||||||
|
* Makefile.am (EXTRA_DIST): Add ChangeLog.pre-2-0 (#78641)
|
||||||
|
|
||||||
|
* m4macros/gtk-2.0.m4: save CFLAGS/LIBS properly when
|
||||||
|
compiling "what went wrong" test case. (#79329)
|
||||||
|
|
||||||
|
* m4macros/gtk-2.0.m4: Remove reference to editing
|
||||||
|
pkg-config script. (From Jim Gettys)
|
||||||
|
|
||||||
|
02-05-05 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* configure.in: Bump version to 2.1.0, binary, interface age 0.
|
* configure.in: Bump version to 2.1.0, binary, interface age 0.
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,19 @@
|
|||||||
2002-05-05 Matthias Clasen <maclas@gmx.de>
|
Mon May 6 12:17:14 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* configure.in: Fix versioning to avoid changing the
|
||||||
|
soname!
|
||||||
|
|
||||||
|
[ merge from stable ]
|
||||||
|
|
||||||
|
* Makefile.am (EXTRA_DIST): Add ChangeLog.pre-2-0 (#78641)
|
||||||
|
|
||||||
|
* m4macros/gtk-2.0.m4: save CFLAGS/LIBS properly when
|
||||||
|
compiling "what went wrong" test case. (#79329)
|
||||||
|
|
||||||
|
* m4macros/gtk-2.0.m4: Remove reference to editing
|
||||||
|
pkg-config script. (From Jim Gettys)
|
||||||
|
|
||||||
|
02-05-05 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* configure.in: Bump version to 2.1.0, binary, interface age 0.
|
* configure.in: Bump version to 2.1.0, binary, interface age 0.
|
||||||
|
|
||||||
|
|||||||
@ -13,6 +13,7 @@ EXTRA_DIST = \
|
|||||||
NEWS.pre-1-0 \
|
NEWS.pre-1-0 \
|
||||||
ChangeLog.pre-1-0 \
|
ChangeLog.pre-1-0 \
|
||||||
ChangeLog.pre-1-2 \
|
ChangeLog.pre-1-2 \
|
||||||
|
ChangeLog.pre-2-0 \
|
||||||
README.cvs-commits \
|
README.cvs-commits \
|
||||||
README.win32 \
|
README.win32 \
|
||||||
config.h.win32 \
|
config.h.win32 \
|
||||||
|
|||||||
18
configure.in
18
configure.in
@ -31,7 +31,7 @@ GTK_MAJOR_VERSION=2
|
|||||||
GTK_MINOR_VERSION=1
|
GTK_MINOR_VERSION=1
|
||||||
GTK_MICRO_VERSION=0
|
GTK_MICRO_VERSION=0
|
||||||
GTK_INTERFACE_AGE=0
|
GTK_INTERFACE_AGE=0
|
||||||
GTK_BINARY_AGE=0
|
GTK_BINARY_AGE=100
|
||||||
GTK_VERSION=$GTK_MAJOR_VERSION.$GTK_MINOR_VERSION.$GTK_MICRO_VERSION
|
GTK_VERSION=$GTK_MAJOR_VERSION.$GTK_MINOR_VERSION.$GTK_MICRO_VERSION
|
||||||
dnl This is the X.Y used in -lgtk-FOO-X.Y
|
dnl This is the X.Y used in -lgtk-FOO-X.Y
|
||||||
GTK_API_VERSION=2.0
|
GTK_API_VERSION=2.0
|
||||||
@ -46,8 +46,14 @@ AC_SUBST(GTK_API_VERSION)
|
|||||||
AC_SUBST(GTK_VERSION)
|
AC_SUBST(GTK_VERSION)
|
||||||
|
|
||||||
# libtool versioning
|
# libtool versioning
|
||||||
LT_RELEASE=$GTK_MAJOR_VERSION.$GTK_MINOR_VERSION
|
#LT_RELEASE=$GTK_MAJOR_VERSION.$GTK_MINOR_VERSION
|
||||||
LT_CURRENT=`expr $GTK_MICRO_VERSION - $GTK_INTERFACE_AGE`
|
#LT_CURRENT=`expr $GTK_MICRO_VERSION - $GTK_INTERFACE_AGE`
|
||||||
|
#LT_REVISION=$GTK_INTERFACE_AGE
|
||||||
|
#LT_AGE=`expr $GTK_BINARY_AGE - $GTK_INTERFACE_AGE`
|
||||||
|
#LT_CURRENT_MINUS_AGE=`expr $LT_CURRENT - $LT_AGE`
|
||||||
|
|
||||||
|
LT_RELEASE=$GTK_MAJOR_VERSION.0
|
||||||
|
LT_CURRENT=`expr 100 '*' $GTK_MINOR_VERSION + $GTK_MICRO_VERSION - $GTK_INTERFACE_AGE`
|
||||||
LT_REVISION=$GTK_INTERFACE_AGE
|
LT_REVISION=$GTK_INTERFACE_AGE
|
||||||
LT_AGE=`expr $GTK_BINARY_AGE - $GTK_INTERFACE_AGE`
|
LT_AGE=`expr $GTK_BINARY_AGE - $GTK_INTERFACE_AGE`
|
||||||
LT_CURRENT_MINUS_AGE=`expr $LT_CURRENT - $LT_AGE`
|
LT_CURRENT_MINUS_AGE=`expr $LT_CURRENT - $LT_AGE`
|
||||||
@ -58,9 +64,11 @@ AC_SUBST(LT_AGE)
|
|||||||
AC_SUBST(LT_CURRENT_MINUS_AGE)
|
AC_SUBST(LT_CURRENT_MINUS_AGE)
|
||||||
|
|
||||||
# Define a string for the earliest version that this release has
|
# Define a string for the earliest version that this release has
|
||||||
# binary compatibility with. This is used for module locations.
|
# forward/backwards binary compatibility with. This is used for module
|
||||||
|
# locations. (Should this be backwards-compat instead?)
|
||||||
#
|
#
|
||||||
GTK_BINARY_VERSION=$GTK_MAJOR_VERSION.$GTK_MINOR_VERSION.$LT_CURRENT
|
#GTK_BINARY_VERSION=$GTK_MAJOR_VERSION.$GTK_MINOR_VERSION.$LT_CURRENT
|
||||||
|
GTK_BINARY_VERSION=$GTK_MAJOR_VERSION.0.$LT_CURRENT
|
||||||
AC_SUBST(GTK_BINARY_VERSION)
|
AC_SUBST(GTK_BINARY_VERSION)
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|||||||
@ -163,6 +163,8 @@ main ()
|
|||||||
:
|
:
|
||||||
else
|
else
|
||||||
echo "*** Could not run GTK+ test program, checking why..."
|
echo "*** Could not run GTK+ test program, checking why..."
|
||||||
|
ac_save_CFLAGS="$CFLAGS"
|
||||||
|
ac_save_LIBS="$LIBS"
|
||||||
CFLAGS="$CFLAGS $GTK_CFLAGS"
|
CFLAGS="$CFLAGS $GTK_CFLAGS"
|
||||||
LIBS="$LIBS $GTK_LIBS"
|
LIBS="$LIBS $GTK_LIBS"
|
||||||
AC_TRY_LINK([
|
AC_TRY_LINK([
|
||||||
@ -179,9 +181,7 @@ main ()
|
|||||||
echo "*** If you have an old version installed, it is best to remove it, although"
|
echo "*** If you have an old version installed, it is best to remove it, although"
|
||||||
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
|
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
|
||||||
[ echo "*** The test program failed to compile or link. See the file config.log for the"
|
[ echo "*** The test program failed to compile or link. See the file config.log for the"
|
||||||
echo "*** exact error that occured. This usually means GTK+ was incorrectly installed"
|
echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."])
|
||||||
echo "*** or that you have moved GTK+ since it was installed. In the latter case, you"
|
|
||||||
echo "*** may want to edit the pkg-config script: $PKG_CONFIG" ])
|
|
||||||
CFLAGS="$ac_save_CFLAGS"
|
CFLAGS="$ac_save_CFLAGS"
|
||||||
LIBS="$ac_save_LIBS"
|
LIBS="$ac_save_LIBS"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user