summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap5
1 files changed, 1 insertions, 4 deletions
diff --git a/bootstrap b/bootstrap
index 1382a9fe8..82f3859a2 100755
--- a/bootstrap
+++ b/bootstrap
@@ -37,6 +37,7 @@ export AUTOM4TE # ditto
# Variables to substitute.
VERSION=`sed -ne '/AC_INIT/s/^[^[]*\[[^[]*\[\([^]]*\)\].*$/\1/p' configure.ac`
+APIVERSION=`sed -n 's/^APIVERSION=//p' configure.ac`
PACKAGE=automake
datadir=.
# This should be automatically updated by the 'update-copyright'
@@ -52,10 +53,6 @@ else
BOOTSTRAP_SHELL=/bin/sh
fi
-# Read the rule for calculating APIVERSION and execute it.
-apiver_cmd=`sed -ne 's/\[\[/[/g;s/\]\]/]/g;/^APIVERSION=/p' configure.ac`
-eval "$apiver_cmd"
-
# Sanity checks.
if test -z "$VERSION"; then
echo "$me: cannot find VERSION" >&2