summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--macros2/gnome-autogen.sh5
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 246b5062..61d34af5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-08-17 Stepan Kasal <kasal@ucw.cz>
+
+ * macros2/gnome-autogen.sh (version_check): Set $variable_VERSION
+ to the actual version number of the tool.
+
2005-08-17 James Henstridge <james@jamesh.id.au>
* macros2/gnome-autogen.sh: pass --force to gnome-doc-prepare to
diff --git a/macros2/gnome-autogen.sh b/macros2/gnome-autogen.sh
index 420e6cf2..fb32eb82 100644
--- a/macros2/gnome-autogen.sh
+++ b/macros2/gnome-autogen.sh
@@ -91,8 +91,9 @@ version_check() {
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