Fix plumbing of version number from config.h to vg_main.c
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@26 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/vg_main.c b/coregrind/vg_main.c
index cf2f636..99afce7 100644
--- a/coregrind/vg_main.c
+++ b/coregrind/vg_main.c
@@ -32,7 +32,6 @@
#include "vg_include.h"
#include "vg_constants.h"
-#include "vg_version.h"
/* ---------------------------------------------------------------------
@@ -1011,12 +1010,11 @@
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.");