summaryrefslogtreecommitdiff
path: root/macros2
diff options
context:
space:
mode:
Diffstat (limited to 'macros2')
-rw-r--r--macros2/ChangeLog5
-rw-r--r--macros2/autogen.sh2
2 files changed, 6 insertions, 1 deletions
diff --git a/macros2/ChangeLog b/macros2/ChangeLog
index 111c1595..fa54f3af 100644
--- a/macros2/ChangeLog
+++ b/macros2/ChangeLog
@@ -1,3 +1,8 @@
+2003-11-01 Malcolm Tredinnick <malcolm@commsecure.com.au>
+
+ * autogen.sh: Make version checking work, as pointed out by
+ Michael H Schimek in bug #125818.
+
2003-10-31 <clahey@ximian.com>
* gnome-common.m4: Changed name of new macro to
diff --git a/macros2/autogen.sh b/macros2/autogen.sh
index 58299e36..b8f99569 100644
--- a/macros2/autogen.sh
+++ b/macros2/autogen.sh
@@ -59,7 +59,7 @@ compare_versions() {
ch_status=0
IFS="${IFS= }"; ch_save_IFS="$IFS"; IFS="."
set $ch_actual_version
- for min in $ch_min_version; do
+ for ch_min in $ch_min_version; do
ch_cur=`echo $1 | sed 's/[^0-9].*$//'`; shift # remove letter suffixes
if [ -z "$ch_min" ]; then break; fi
if [ -z "$ch_cur" ]; then ch_status=1; break; fi