summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xac-wrapper.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ac-wrapper.sh b/ac-wrapper.sh
index fb10d1c..ae08ff9 100755
--- a/ac-wrapper.sh
+++ b/ac-wrapper.sh
@@ -79,7 +79,7 @@ fi
# Set up bindings between actual version and WANT_AUTOCONF;
# Start with last known versions to speed up lookup process.
#
-LAST_KNOWN_VER="71"
+LAST_KNOWN_VER="72"
vers="9999"
vers="${vers} $(printf '2.%s ' `seq ${LAST_KNOWN_VER} -1 50`)"
@@ -147,7 +147,7 @@ acprereq_version() {
}
generated_version() {
- local re='^# Generated (by (GNU )?Autoconf|automatically using autoconf version) ([0-9.]+)\..*'
+ local re='^# Generated (by (GNU )?Autoconf|automatically using autoconf version) (([0-9]+.)+[0-9]+).*$'
sed -n -E "/${re}/{s:${re}:\3:;p;q}" "$@"
}