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
#! /bin/sh
# Test to make sure dependencies are generated correctly for .h files.
# Report from Richard Boulton.
. $srcdir/defs || exit 1
$needs_gnu_make
$needs_autoconf
cat > configure.in << 'END'
AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
AC_PROG_CC
AC_PROG_YACC
AC_OUTPUT(Makefile)
END
cat > Makefile.am << 'END'
bin_PROGRAMS = foo
foo_SOURCES = foo.y
AM_YFLAGS = -d
END
cat > foo.y << 'END'
%%
WORD: "up";
%%
END
$ACLOCAL || exit 1
$AUTOMAKE -a || exit 1
$AUTOCONF || exit 1
./configure || exit 1
$MAKE foo.h || exit 1
test -f foo.h || exit 1
exit 0