Fix plumbing of version number from config.h to vg_main.c

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@26
This commit is contained in:
Julian Seward 2002-03-24 12:18:35 +00:00
parent 55f4b6e0b4
commit bd48889f4a
5 changed files with 18 additions and 9 deletions

View File

@ -1452,6 +1452,13 @@ extern Int VGOFF_(helper_request_normal_exit);
#endif /* ndef __VG_INCLUDE_H */
/* ---------------------------------------------------------------------
Finally - autoconf-generated settings
------------------------------------------------------------------ */
#include "config.h"
/*--------------------------------------------------------------------*/
/*--- end vg_include.h ---*/
/*--------------------------------------------------------------------*/

View File

@ -32,7 +32,6 @@
#include "vg_include.h"
#include "vg_constants.h"
#include "vg_version.h"
/* ---------------------------------------------------------------------
@ -1011,12 +1010,11 @@ static void process_cmd_line_options ( void )
VG_(clo_logfile_fd) = eventually_logfile_fd;
# define STRINGIFY(xx) __STRING(xx)
if (VG_(clo_verbosity > 0))
VG_(message)(Vg_UserMsg,
"valgrind-%s, a memory error detector for x86 GNU/Linux.",
STRINGIFY(VG_VERSION));
# undef STRINGIFY
VERSION);
if (VG_(clo_verbosity > 0))
VG_(message)(Vg_UserMsg,
"Copyright (C) 2000-2002, and GNU GPL'd, by Julian Seward.");

View File

@ -1452,6 +1452,13 @@ extern Int VGOFF_(helper_request_normal_exit);
#endif /* ndef __VG_INCLUDE_H */
/* ---------------------------------------------------------------------
Finally - autoconf-generated settings
------------------------------------------------------------------ */
#include "config.h"
/*--------------------------------------------------------------------*/
/*--- end vg_include.h ---*/
/*--------------------------------------------------------------------*/

View File

@ -32,7 +32,6 @@
#include "vg_include.h"
#include "vg_constants.h"
#include "vg_version.h"
/* ---------------------------------------------------------------------
@ -1011,12 +1010,11 @@ static void process_cmd_line_options ( void )
VG_(clo_logfile_fd) = eventually_logfile_fd;
# define STRINGIFY(xx) __STRING(xx)
if (VG_(clo_verbosity > 0))
VG_(message)(Vg_UserMsg,
"valgrind-%s, a memory error detector for x86 GNU/Linux.",
STRINGIFY(VG_VERSION));
# undef STRINGIFY
VERSION);
if (VG_(clo_verbosity > 0))
VG_(message)(Vg_UserMsg,
"Copyright (C) 2000-2002, and GNU GPL'd, by Julian Seward.");

View File

@ -1 +0,0 @@
#define VG_VERSION 20020317