This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
First suggestion to lift version handling
- From: Christian Jönsson <c dot christian dot joensson at telia dot com>
- To: Binutils <binutils at sources dot redhat dot com>
- Date: Tue, 5 Mar 2002 12:13:50 +0100
- Subject: First suggestion to lift version handling
Here's my first suggestion to lift version handling in the binutils
sources, to differ the main branch (experimental) from (any)
prerelease branch. A regeneration of bfd/configure is thus needed.
Now, let's figure out how the bfd_version_string can be used in the
test suite so that test results from different branches, and releases,
can be seen from log files.
Cheers,
/ChJ
For the 2.12 prerelease branch:
2002-03-05 Christian Jönsson <c.christian.joensson@telia.com>
* configure.in (bfd_version_string): Add (prerelease) to prerelase
branches.
*** bfd/configure.in.orig Tue Mar 5 07:44:24 2002
--- bfd/configure.in Tue Mar 5 11:33:42 2002
***************
*** 20,26 ****
if test x${is_release} = x; then
dnl Sad, but we can't use XSTRING here to pick up the date from version.h
dnl because traditional C doesn't allow it.
! bfd_version_string="\"${VERSION} ${bfd_version_date}\""
fi
dnl Since we need to edit bfd-in3.h to get the date for bfd_version_string,
dnl we may as well substitute for bfd_version_date too. That way we don't
--- 20,26 ----
if test x${is_release} = x; then
dnl Sad, but we can't use XSTRING here to pick up the date from version.h
dnl because traditional C doesn't allow it.
! bfd_version_string="\"${VERSION} ${bfd_version_date} (prerelease)\""
fi
dnl Since we need to edit bfd-in3.h to get the date for bfd_version_string,
dnl we may as well substitute for bfd_version_date too. That way we don't
and for the main branch:
2002-03-05 Christian Jönsson <c.christian.joensson@telia.com>
* configure.in (bfd_version_string): Add (experimental) to main
branch.
*** bfd/configure.in.orig Mon Mar 4 07:36:30 2002
--- bfd/configure.in Tue Mar 5 11:45:14 2002
***************
*** 20,26 ****
if test x${is_release} = x; then
dnl Sad, but we can't use XSTRING here to pick up the date from version.h
dnl because traditional C doesn't allow it.
! bfd_version_string="\"${VERSION} ${bfd_version_date}\""
fi
dnl Since we need to edit bfd-in3.h to get the date for bfd_version_string,
dnl we may as well substitute for bfd_version_date too. That way we don't
--- 20,26 ----
if test x${is_release} = x; then
dnl Sad, but we can't use XSTRING here to pick up the date from version.h
dnl because traditional C doesn't allow it.
! bfd_version_string="\"${VERSION} ${bfd_version_date} (experimental)\""
fi
dnl Since we need to edit bfd-in3.h to get the date for bfd_version_string,
dnl we may as well substitute for bfd_version_date too. That way we don't