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.
#! /bin/sh
# Test to make sure ylwrap put in right location.
# Report from Tim Van Holder.
. $srcdir/defs || exit 1
cat > configure.in << 'END'
AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
AC_PROG_CC
AC_PROG_YACC
AC_OUTPUT(Makefile sub/Makefile)
END
cat > Makefile.am << 'END'
SUBDIRS = sub
END
mkdir sub
cat > sub/Makefile.am << 'END'
bin_PROGRAMS = foo
foo_SOURCES = foo.y bar.y
END
: > sub/foo.y
: > sub/bar.y
$ACLOCAL || exit 1
$AUTOMAKE -a || exit 1
test -f ylwrap || exit 1
fgrep '(srcdir)/ylwrap' sub/Makefile.in && exit 1
exit 0