Set a minimum automake version

* configure.ac: Require automake 1.11 (fairly arbitrarily).
* autogen.sh (automake_min): Get it from configure.ac.
This commit is contained in:
Glenn Morris 2012-08-06 21:03:44 -04:00
parent 25a20a3ad8
commit 7d732d1a24
3 changed files with 10 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2012-08-07 Glenn Morris <rgm@gnu.org>
* configure.ac: Require automake 1.11 (fairly arbitrarily).
* autogen.sh (automake_min): Get it from configure.ac.
2012-08-06 Glenn Morris <rgm@gnu.org>
* configure.ac (BROKEN_GETWD) [unixware]: New define.

View file

@ -36,8 +36,9 @@ progs="autoconf automake"
## Minimum versions we need:
autoconf_min=`sed -n 's/^ *AC_PREREQ(\([0-9\.]*\)).*/\1/p' configure.ac`
## FIXME how to determine this from the sources?
automake_min=1.11
## This will need improving if more options are ever added to the
## AM_INIT_AUTOMAKE call.
automake_min=`sed -n 's/^ *AM_INIT_AUTOMAKE(\([0-9\.]*\)).*/\1/p' configure.ac`
## $1 = program, eg "autoconf".

View file

@ -26,7 +26,8 @@ AC_INIT(emacs, 24.1.50)
AC_CONFIG_HEADER(src/config.h:src/config.in)
AC_CONFIG_SRCDIR(src/lisp.h)
AC_CONFIG_AUX_DIR(build-aux)
AM_INIT_AUTOMAKE
dnl Fairly arbitrary, older versions might work too.
AM_INIT_AUTOMAKE(1.11)
dnl Support for --program-prefix, --program-suffix and
dnl --program-transform-name options