diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-01-31 00:12:52 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-01-31 00:12:52 -0800 |
commit | 16fab14354e612a22b5dea21b4106555fb05f712 (patch) | |
tree | 92aa748f7d38250ba4f8775207ada1d96d649737 /configure | |
parent | 3370edca839da739185a7a0d91d22dfa23a22188 (diff) | |
download | emacs-16fab14354e612a22b5dea21b4106555fb05f712.tar.gz |
src/emacs.c now gets version number from configure.in
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/configure b/configure index aea8d2d079f..bf79cecf5b4 100755 --- a/configure +++ b/configure @@ -16986,16 +16986,7 @@ if test "x$GCC" = xyes \ as_fn_error $? "GCC 4.5.0 has problems compiling Emacs; see etc/PROBLEMS'." "$LINENO" 5 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 - as_fn_error $? "can't find current emacs version in \`${srcdir}/src/emacs.c'." "$LINENO" 5 -fi -if test x"${version}" != x"$PACKAGE_VERSION"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&5 -$as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&2;} -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. |