/* version.c -- binutils version information
- Copyright 1991, 96, 97, 98, 99, 2000 Free Software Foundation, Inc.
+ Copyright 1991, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+ Free Software Foundation, Inc.
This file is part of GNU Binutils.
#include <stdio.h>
#include "bfd.h"
+#include "bfdver.h"
#include "bucomm.h"
-/* This is the version numbers for the binutils. They all change in
- lockstep -- it's easier that way. */
-
-const char *program_version = VERSION;
-
/* Print the version number and copyright information, and exit. This
implements the --version option for the various programs. */
{
/* This output is intended to follow the GNU standards document. */
/* xgettext:c-format */
- printf ("GNU %s %s\n", name, program_version);
- printf (_("Copyright 1997, 98, 99, 2000 Free Software Foundation, Inc.\n"));
+ printf ("GNU %s %s\n", name, BFD_VERSION_STRING);
+ printf (_("Copyright 2002 Free Software Foundation, Inc.\n"));
printf (_("\
This program is free software; you may redistribute it under the terms of\n\
the GNU General Public License. This program has absolutely no warranty.\n"));