summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@raeburn.org>2009-08-23 02:15:00 +0000
committerKen Raeburn <raeburn@raeburn.org>2009-08-23 02:15:00 +0000
commit879de935e0362c00955b406c7291953db01e0b95 (patch)
tree636a9b8489b5adb268b06a1392dc19befdaf6dd7 /configure.in
parent2ddf2ea67c3fa0b7c916e619d827686275366a3d (diff)
downloademacs-879de935e0362c00955b406c7291953db01e0b95.tar.gz
* configure.in: Warn if package version specified here doesn't
match the version in version.el. * configure: Regenerate.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index bf87f56225b..e578f76ce5a 100644
--- a/configure.in
+++ b/configure.in
@@ -2551,6 +2551,9 @@ CPPFLAGS="$REAL_CPPFLAGS"
if test x"${version}" = x; then
AC_MSG_ERROR([can't find current emacs version in `${srcdir}/lisp/version.el'.])
fi
+if test x"${version}" != x"$PACKAGE_VERSION"; then
+ AC_MSG_WARN([version mismatch between `${srcdir}/configure.in' and `${srcdir}/lisp/version.el'.])
+fi
### Specify what sort of things we'll be editing into Makefile and config.h.
### Use configuration here uncanonicalized to avoid exceeding size limits.