From 1b9666eff4620e558b4f4962a2c81d67844abe1c Mon Sep 17 00:00:00 2001 From: arcanum Date: Thu, 6 Mar 2003 19:18:40 +0000 Subject: [PATCH] Change software version from hardcoded value to getting it from the configuration. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@269 81a1dc3b-b13d-400b-aceb-764788c761c2 --- main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index b4107132..8f13c152 100644 --- a/main.c +++ b/main.c @@ -52,7 +52,8 @@ #include "term.h" -char * version = "3.1.0"; +/* Get VERSION from ac_cfg.h */ +char * version = VERSION; int verbose; /* verbose output */ char * progname;