2 # Copyright (C) 2001, 2002, 2003, 2006, 2007 Free Software Foundation,
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2, or (at your option)
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18 # Test of basic preprocessed assembly functionality with extension .sx.
24 cat > Makefile.am
<< 'END'
25 noinst_PROGRAMS
= maude
26 maude_SOURCES
= maude.sx
31 # Should fail because we need CC and CCAS.
33 cat > configure.
in << 'END'
35 AM_INIT_AUTOMAKE
(nonesuch
, nonesuch
)
42 grep AM_PROG_AS stderr
44 # On fast machines the autom4te.cache created during the above run of
45 # $AUTOMAKE is likely to have the same time stamp as the configure.in
46 # created below; thus causing traces for the old configure.in to be
47 # used. We could do `$sleep', but it's faster to erase the
48 # directory. (Erase autom4te*.cache, not autom4te.cache, because some
49 # bogus installations of Autoconf use a versioned cache.)
50 rm -rf autom4te
*.cache
54 cat > configure.
in << 'END'
56 AM_INIT_AUTOMAKE
(nonesuch
, nonesuch
)
65 grep AM_PROG_AS stderr
67 rm -rf autom4te
*.cache
71 cat > configure.
in << 'END'
73 AM_INIT_AUTOMAKE
(nonesuch
, nonesuch
)
83 grep AM_PROG_AS stderr
85 rm -rf autom4te
*.cache
87 # We need dependency tracking.
89 cat > configure.
in << 'END'
91 AM_INIT_AUTOMAKE
(nonesuch
, nonesuch
)
101 grep AM_PROG_AS stderr
103 rm -rf autom4te
*.cache
105 # We have every needed, expect a success.
107 cat > configure.
in << 'END'
109 AM_INIT_AUTOMAKE
(nonesuch
, nonesuch
)
113 _AM_DEPENDENCIES
(CCAS
)
121 rm -rf autom4te
*.cache
123 # We have every needed, expect a success.
125 cat > configure.
in << 'END'
127 AM_INIT_AUTOMAKE
(nonesuch
, nonesuch
)