Tag
Hash :
852e99bc
Author :
Date :
2002-05-30T06:05:05
fgrep -> $FGREP, egrep -> $EGREP
#! /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