3 # Test associated with PR 19.
4 # From Matthew D. Langston.
6 .
$srcdir/defs ||
exit 1
8 # Likewise for GNU Make (we need VPATH support for `make distcheck').
12 (gcc
-v) > /dev
/null
2>&1 ||
exit 77
19 (gzip --version) > /dev
/null
2>&1 ||
exit 77
21 cat > configure.
in << 'END'
23 dnl Prevent automake from looking
in .. and ..
/..
25 AM_INIT_AUTOMAKE
(am_lex_bug
, 0.1.1)
27 dnl Checks
for programs.
34 cat > Makefile.am
<< 'END'
35 AUTOMAKE_OPTIONS
= foreign
50 while (yylex
() != EOF
)
64 echo 'This is the END' | .
/foo
67 # foo.c must be shipped.
68 gunzip am_lex_bug-0.1
.1.
tar.gz
69 tar tf am_lex_bug-0.1
.1.
tar | fgrep foo.c