diff options
author | Glenn Morris <rgm@gnu.org> | 2012-08-06 21:03:44 -0400 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2012-08-06 21:03:44 -0400 |
commit | 7d732d1a24f77e1ee68ec952130dcc4a65d3e6a7 (patch) | |
tree | 24ab81dd0022ce433660325c5e868d84fd576260 /autogen.sh | |
parent | 25a20a3ad805aa2e504a9bd3d0dd66211fcdd0dc (diff) | |
download | emacs-7d732d1a24f77e1ee68ec952130dcc4a65d3e6a7.tar.gz |
Set a minimum automake version
* configure.ac: Require automake 1.11 (fairly arbitrarily).
* autogen.sh (automake_min): Get it from configure.ac.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh index cabaaf014a8..9cfaa40eee5 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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". |