From d25dc80e2b6453982a01ef22602418db72c811d0 Mon Sep 17 00:00:00 2001 From: jsm28 Date: Tue, 21 Aug 2007 15:35:30 +0000 Subject: gcc: 2007-08-21 Paul Brook Nathan Sidwell Mark Mitchell Joseph Myers * configure.ac: Add --with-pkgversion and --with-bugurl. * configure: Regenerate. * doc/install.texi: Document them. * version.c (version_string): Remove VERSUFFIX. (VERSUFFIX): Remove. (pkgversion_string): New. (bug_report_url): Do not hard-code initializer. * version.h (pkgversion_string): Declare. * Makefile.in (PKGVERSION_s, BUGURL_s, PKGVERSION, BUGURL_TEXI): Define. (version.o): Define PKGVERSION and BUGURL. (gcc-vers.texi): Define VERSION_PACKAGE and BUGURL. (%.pod): Define BUGURL. * gcc.c (process_command, main): Use pkgversion_string. * toplev.c (compile_file, print_version): Likewise. * protoize.c (main): Likewise. * gcov.c (print_version): Likewise. Update copyright date. * gcov-dump.c (print_version): Likewise. Update copyright date. * mips-tdump.c (main): Likewise. Update copyright date. * mips-tfile.c (main): Likewise. Update copyright date. * doc/include/gcc-common.texi: Include VERSION_PACKAGE as subtitle. * doc/bugreport.texi: Use BUGURL for bug-reporting instructions; shorten description. * doc/gcc.texi: Include VERSION_PACKAGE in version description. * doc/gccint.texi: Likewise. * doc/invoke.texi: Use BUGURL for bug-reporting instructions. Update copyright date. gcc/fortran: 2007-08-21 Paul Brook Nathan Sidwell Mark Mitchell Joseph Myers * gfortranspec.c (lang_specific_driver): Use pkgversion_string. * Make-lang.in (gfortran.pod): Define BUGURL. * invoke.texi: Use BUGURL for bug-reporting instructions. gcc/java: 2007-08-21 Paul Brook Nathan Sidwell Mark Mitchell Joseph Myers * jcf-dump.c (version): Use pkgversion_string. Update copyright date. gcc/treelang: 2007-08-21 Paul Brook Nathan Sidwell Mark Mitchell Joseph Myers * tree1.c (treelang_handle_option): Use pkgversion_string. * treelang.texi (which-treelang): Define to use VERSION_PACKAGE. maintainer-scripts: 2007-08-21 Paul Brook Nathan Sidwell Mark Mitchell Joseph Myers * gcc_release: Do not include copies of bugs.html in releases. * update_web_docs_svn: Set VERSION_PACKAGE and BUGURL in gcc-vers.texi. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127667 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/version.c | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) (limited to 'gcc/version.c') diff --git a/gcc/version.c b/gcc/version.c index 762c4beea91..75f285aeee0 100644 --- a/gcc/version.c +++ b/gcc/version.c @@ -1,26 +1,17 @@ #include "version.h" -/* This is the trailing component of the string reported as the - version number by all components of the compiler. For an official - FSF release, it is empty. If you distribute a modified version of - GCC, please change this string to indicate that. The suggested - format is a leading space, followed by your organization's name - in parentheses. You may also wish to include a number indicating - the revision of your modified compiler. */ - -#define VERSUFFIX "" - /* This is the location of the online document giving instructions for reporting bugs. If you distribute a modified version of GCC, - please change this to refer to a document giving instructions for - reporting bugs to you, not us. (You are of course welcome to - forward us bugs reported to you, if you determine that they are - not bugs in your modifications.) */ + please configure with --with-bugurl pointing to a document giving + instructions for reporting bugs to you, not us. (You are of course + welcome to forward us bugs reported to you, if you determine that + they are not bugs in your modifications.) */ -const char bug_report_url[] = ""; +const char bug_report_url[] = BUGURL; /* The complete version string, assembled from several pieces. BASEVER, DATESTAMP, DEVPHASE, and REVISION are defined by the Makefile. */ -const char version_string[] = BASEVER DATESTAMP DEVPHASE VERSUFFIX REVISION; +const char version_string[] = BASEVER DATESTAMP DEVPHASE REVISION; +const char pkgversion_string[] = PKGVERSION; -- cgit v1.2.1