* configure.ac: Require at least version 3.81 of GNU make.
It's 8 years old and has some useful features not in older versions. * etc/NEWS: Mention this.
This commit is contained in:
parent
ec4a33476e
commit
b12e56ab01
3 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
|||
2014-06-11 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* configure.ac: Require at least version 3.81 of GNU make.
|
||||
|
||||
2014-06-10 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
Rely on AC_CANONICAL_HOST to detect whether we're using mingw.
|
||||
|
|
|
@ -98,7 +98,7 @@ AC_CACHE_CHECK([for GNU Make], [ac_cv_path_MAKE],
|
|||
if test -n "$MAKE"; then
|
||||
emacs_makeout=`($MAKE --version) 2>/dev/null` &&
|
||||
case $emacs_makeout in
|
||||
'GNU Make '*)
|
||||
'GNU Make '[[4-9]]* | 'GNU Make '3.8[[1-9]]* | 'GNU Make '3.9*)
|
||||
ac_path_MAKE_found=:;;
|
||||
esac
|
||||
ac_cv_path_MAKE=$MAKE
|
||||
|
@ -109,7 +109,7 @@ AC_CACHE_CHECK([for GNU Make], [ac_cv_path_MAKE],
|
|||
AC_PATH_PROGS_FEATURE_CHECK([MAKE], [make gmake gnumake],
|
||||
[[emacs_makeout=`($ac_path_MAKE --version) 2>/dev/null` &&
|
||||
case $emacs_makeout in
|
||||
'GNU Make '*)
|
||||
'GNU Make '[4-9]* | 'GNU Make '3.8[1-9]* | 'GNU Make '3.9*)
|
||||
# Use the fully-qualified program name only if the basename
|
||||
# would not resolve to it.
|
||||
if eval \$emacs_tried_$ac_prog; then
|
||||
|
@ -121,7 +121,8 @@ AC_CACHE_CHECK([for GNU Make], [ac_cv_path_MAKE],
|
|||
esac
|
||||
eval emacs_tried_$ac_prog=:]])
|
||||
fi])
|
||||
$ac_path_MAKE_found || { AC_MSG_ERROR([[Building Emacs requires GNU Make.
|
||||
$ac_path_MAKE_found || {
|
||||
AC_MSG_ERROR([[Building Emacs requires GNU Make, at least version 3.81.
|
||||
If you have it installed under another name, configure with 'MAKE=...'.
|
||||
For example, run '$0 MAKE=gnu-make'.]])
|
||||
}
|
||||
|
|
2
etc/NEWS
2
etc/NEWS
|
@ -27,7 +27,7 @@ otherwise leave it unmarked.
|
|||
+++
|
||||
** Building Emacs now requires C99 or later.
|
||||
|
||||
** Building Emacs now requires GNU make.
|
||||
** Building Emacs now requires GNU make, version 3.81 or later.
|
||||
|
||||
** By default, Emacs no longer works on IRIX. We expect that Emacs
|
||||
users are not affected by this, as SGI stopped supporting IRIX in
|
||||
|
|
Loading…
Add table
Reference in a new issue