summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-01-31 00:12:52 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2011-01-31 00:12:52 -0800
commit16fab14354e612a22b5dea21b4106555fb05f712 (patch)
tree92aa748f7d38250ba4f8775207ada1d96d649737 /configure.in
parent3370edca839da739185a7a0d91d22dfa23a22188 (diff)
downloademacs-16fab14354e612a22b5dea21b4106555fb05f712.tar.gz
src/emacs.c now gets version number from configure.in
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in10
1 files changed, 1 insertions, 9 deletions
diff --git a/configure.in b/configure.in
index 627b76af59d..315840e0146 100644
--- a/configure.in
+++ b/configure.in
@@ -3070,15 +3070,7 @@ if test "x$GCC" = xyes \
AC_MSG_ERROR([GCC 4.5.0 has problems compiling Emacs; see etc/PROBLEMS'.])
fi
-#### Find out which version of Emacs this is.
-[version=`grep 'const char emacs_version' ${srcdir}/src/emacs.c \
- | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`]
-if test x"${version}" = x; then
- AC_MSG_ERROR([can't find current emacs version in `${srcdir}/src/emacs.c'.])
-fi
-if test x"${version}" != x"$PACKAGE_VERSION"; then
- AC_MSG_WARN([version mismatch between `${srcdir}/configure.in' and `${srcdir}/src/emacs.c'.])
-fi
+version=$PACKAGE_VERSION
### Specify what sort of things we'll be editing into Makefile and config.h.
### Use configuration here uncanonicalized to avoid exceeding size limits.