diff options
author | Alexandre Duret-Lutz <adl@gnu.org> | 2005-01-13 20:01:00 +0000 |
---|---|---|
committer | Alexandre Duret-Lutz <adl@gnu.org> | 2005-01-13 20:01:00 +0000 |
commit | 7b995158400934ac48369d7e3bcb3d58683470aa (patch) | |
tree | 5988e1a08d8de3b4c907eb5da8f33342282d6fa2 /tests/version8.test | |
parent | 391df12b6920fb7ad2da3e54baa31b49418d2f7f (diff) | |
download | automake-7b995158400934ac48369d7e3bcb3d58683470aa.tar.gz |
* m4/amversion.in (AM_AUTOMAKE_VERSION): Point users to
AM_INIT_AUTOMAKE if the version passed is incorrect.
* tests/version8.test: New file.
* tests/Makefile.am (TESTS): Add version8.test.
Diffstat (limited to 'tests/version8.test')
-rwxr-xr-x | tests/version8.test | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/version8.test b/tests/version8.test new file mode 100755 index 000000000..ee07ac464 --- /dev/null +++ b/tests/version8.test @@ -0,0 +1,28 @@ +#! /bin/sh +# Copyright (C) 2005 Free Software Foundation, Inc. +# +# This file is part of GNU Automake. +# +# GNU Automake is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# GNU Automake is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Automake; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +# Boston, MA 02111-1307, USA. + +# Calling AM_AUTOMAKE_VERSION by hand is a bug. + +. ./defs || exit 1 + +set -e +echo 'AM_AUTOMAKE_VERSION([1.9])' >>configure.in +$ACLOCAL 2>stderr && exit 0 +$FGREP 'AM_INIT_AUTOMAKE([1.9])' stderr |