From 6291ad6ca1883aaa328a0ad14365d7553180c3c7 Mon Sep 17 00:00:00 2001 From: Robert Shearman Date: Sat, 18 Mar 2006 16:10:36 +0000 Subject: [PATCH] wcmd: Use PACKAGE_VERSION as the wcmd version. --- programs/wcmd/wcmdmain.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/programs/wcmd/wcmdmain.c b/programs/wcmd/wcmdmain.c index 644ebc10764..6bc9272940e 100644 --- a/programs/wcmd/wcmdmain.c +++ b/programs/wcmd/wcmdmain.c @@ -24,6 +24,7 @@ * - Lots of functionality missing from builtins */ +#include "config.h" #include "wcmd.h" const char * const inbuilt[] = {"ATTRIB", "CALL", "CD", "CHDIR", "CLS", "COPY", "CTTY", @@ -38,7 +39,7 @@ DWORD errorlevel; int echo_mode = 1, verify_mode = 0; const char nyi[] = "Not Yet Implemented\n\n"; const char newline[] = "\n"; -const char version_string[] = "WCMD Version 0.17\n\n"; +const char version_string[] = "WCMD Version " PACKAGE_VERSION "\n\n"; const char anykey[] = "Press Return key to continue: "; char quals[MAX_PATH], param1[MAX_PATH], param2[MAX_PATH]; BATCH_CONTEXT *context = NULL;