This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]