2 # Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 3, or (at your option)
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program. If not, see <http://www.gnu.org/licenses/>.
17 # Test of basic assembly functionality
23 cat > Makefile.am
<< 'END'
24 noinst_PROGRAMS
= maude
25 maude_SOURCES
= maude.s
30 # Should fail because we need CC and CCAS.
32 cat > configure.
in << 'END'
34 AM_INIT_AUTOMAKE
(nonesuch
, nonesuch
)
41 grep AM_PROG_AS stderr
43 # On fast machines the autom4te.cache created during the above run of
44 # $AUTOMAKE is likely to have the same time stamp as the configure.in
45 # created below; thus causing traces for the old configure.in to be
46 # used. We could do `$sleep', but it's faster to erase the
47 # directory. (Erase autom4te*.cache, not autom4te.cache, because some
48 # bogus installations of Autoconf use a versioned cache.)
49 rm -rf autom4te
*.cache
53 cat > configure.
in << 'END'
55 AM_INIT_AUTOMAKE
(nonesuch
, nonesuch
)
64 grep AM_PROG_AS stderr
66 rm -rf autom4te
*.cache
70 cat > configure.
in << 'END'
72 AM_INIT_AUTOMAKE
(nonesuch
, nonesuch
)
82 grep AM_PROG_AS stderr
84 rm -rf autom4te
*.cache
86 # We have every needed, expect a success.
88 cat > configure.
in << 'END'
90 AM_INIT_AUTOMAKE
(nonesuch
, nonesuch
)
101 rm -rf autom4te
*.cache
103 # We have every needed, expect a success.
105 cat > configure.
in << 'END'
107 AM_INIT_AUTOMAKE
(nonesuch
, nonesuch
)