mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-05 19:13:46 +00:00
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:
parent
55f4b6e0b4
commit
bd48889f4a
@ -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 ---*/
|
||||
/*--------------------------------------------------------------------*/
|
||||
|
||||
@ -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.");
|
||||
|
||||
@ -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 ---*/
|
||||
/*--------------------------------------------------------------------*/
|
||||
|
||||
@ -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.");
|
||||
|
||||
@ -1 +0,0 @@
|
||||
#define VG_VERSION 20020317
|
||||
Loading…
x
Reference in New Issue
Block a user