2005-03-15  Stepan Kasal  <kasal@ucw.cz>

	* macros2/gnome-autogen.sh (version_check): Set $variable_VERSION
	  to the actual version number of the tool.

Index: macros2/gnome-autogen.sh
===================================================================
RCS file: /cvs/gnome/gnome-common/macros2/gnome-autogen.sh,v
retrieving revision 1.14
diff -u -r1.14 gnome-autogen.sh
--- macros2/gnome-autogen.sh	11 Feb 2005 08:59:41 -0000	1.14
+++ macros2/gnome-autogen.sh	15 Mar 2005 13:41:38 -0000
@@ -90,8 +90,9 @@
                                sed 's/^.*[ 	]\([0-9.]*[a-z]*\).*$/\1/'`
 	    if compare_versions $vc_min_version $vc_actual_version; then
 		echo "found $vc_actual_version"
-		# set variable
-		eval "$vc_variable=$vc_checkprog"
+		# set variables
+		eval "$vc_variable=$vc_checkprog; \
+			${vc_variable}_VERSION=$vc_actual_version"
 		vc_status=0
 		break
 	    else
