Tag
Hash :
b49a92e0
Author :
Date :
2001-10-20T11:15:56
* tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test, * tests/acouttbs.test, tests/asm.test, tests/colon.test, * tests/colon2.test, tests/colon3.test, tests/colon4.test, * tests/colon5.test, tests/colon6.test, tests/colon7.test, * tests/conf2.test, tests/confh.test, tests/confh2.test, * tests/confh3.test, tests/confh4.test, tests/config.test, * tests/confsub.test, tests/depend3.test, tests/discover.test, * tests/fpinst2.test, tests/fpinstall.test, tests/gnits.test, * tests/header.test, tests/ldadd.test, tests/ldflags.test, * tests/libobj.test, tests/libobj10.test, tests/libobj2.test, * tests/libobj6.test, tests/libobj7.test, tests/libobj8.test, * tests/libobj9.test, tests/mdate4.test, tests/obsolete.test, * tests/output.test, tests/output2.test, tests/output3.test, * tests/output4.test, tests/output5.test, tests/package.test, * tests/parse.test, tests/pr2.test, tests/remake.test, * tests/remake2.test, tests/remake3.test, tests/scripts.test, * tests/stamph.test, tests/subdir.test, tests/subdir2.test, * tests/subdir4.test, tests/subdirbuiltsources.test, * tests/subobj4.test, tests/tagsub.test, tests/texinfo8.test, * tests/yacc5.test, tests/yacc6.test, tests/yacc7.test: Remove AC_ARG_PROGRAM, AC_PROG_INSTALL and AC_PROG_MAKE_SET invocation since AM_INIT_AUTOMAKE requires them.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
#! /bin/sh
# Test of yacc functionality, derived from GNU binutils
# by Tim Van Holder.
. $srcdir/defs || exit 1
cat > configure.in << 'END'
AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_YACC
AC_OUTPUT(Makefile)
END
cat > Makefile.am << 'END'
bin_PROGRAMS = maude
maude_SOURCES = sub/maude.y
END
mkdir sub
: > sub/maude.y
$ACLOCAL || exit 1
$AUTOMAKE -a || exit 1
grep '^maude\.c:' Makefile.in || exit 1
## Try again with subdir-objects.
cat > Makefile.am << 'END'
AUTOMAKE_OPTIONS = subdir-objects
bin_PROGRAMS = maude
maude_SOURCES = sub/maude.y
END
$ACLOCAL || exit 1
$AUTOMAKE -a || exit 1
grep '^sub/maude\.c:' Makefile.in || exit 1
## Try again with per-exe flags.
cat > Makefile.am << 'END'
bin_PROGRAMS = maude
maude_SOURCES = sub/maude.y
## A particularly trickey case.
maude_YFLAGS = -d
END
$ACLOCAL || exit 1
$AUTOMAKE -a || exit 1
# Rule should use maude_YFLAGS.
grep 'AM_YFLAGS.*maude' Makefile.in && exit 1
# Silly regression.
grep 'maudec' Makefile.in && exit 1
# Make sure the .o file is required.
grep '^am_maude_OBJECTS.*maude' Makefile.in || exit 1
exit 0