aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland McGrath1994-01-08 22:06:34 +0000
committerRoland McGrath1994-01-08 22:06:34 +0000
commite773d20a7b5dcdced6e7c3be71d1565d6ae3ba82 (patch)
tree20f49837a138e4187563611d71f4af4b6c420ac5
parentdbc52c10f4d9c6d7d7cca4c14c07048ec5752243 (diff)
downloademacs-e773d20a7b5dcdced6e7c3be71d1565d6ae3ba82.tar.gz
emacs-e773d20a7b5dcdced6e7c3be71d1565d6ae3ba82.zip
(version): Fix sed regexp to match two-elt version number.
-rwxr-xr-xconfigure1.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure1.in b/configure1.in
index 1b326058294..86446302c67 100755
--- a/configure1.in
+++ b/configure1.in
@@ -1291,7 +1291,7 @@ fi
1291[ 1291[
1292#### Find out which version of Emacs this is. 1292#### Find out which version of Emacs this is.
1293version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ 1293version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
1294 | sed -e 's/^.*"\([0-9][0-9]*\.[0-9][0-9]*\)\..*$/\1/'` 1294 | sed -e 's/^.*"\([0-9][0-9]*\.[0-9][0-9]*\)[."].*$/\1/'`
1295if [ x"${version}" = x ]; then 1295if [ x"${version}" = x ]; then
1296 echo "${progname}: can't find current emacs version in 1296 echo "${progname}: can't find current emacs version in
1297 \`${srcdir}/lisp/version.el'." >&2 1297 \`${srcdir}/lisp/version.el'." >&2