3 # Test associated with PR 19.
4 # From Matthew D. Langston.
6 .
$srcdir/defs ||
exit 1
8 # Fail gracefully if no autoconf.
12 (gcc
-v) > /dev
/null
2>&1 ||
exit 77
15 (gzip --version) > /dev
/null
2>&1 ||
exit 77
17 cat > configure.
in << 'END'
19 dnl Prevent automake from looking
in .. and ..
/..
21 AM_INIT_AUTOMAKE
(am_lex_bug
, 0.1.1)
23 dnl Checks
for programs.
30 cat > Makefile.am
<< 'END'
31 AUTOMAKE_OPTIONS
= foreign
46 while (yylex
() != EOF
)
60 echo 'This is the END' | .
/foo
63 # foo.c must be shipped.
64 gunzip am_lex_bug-0.1
.1.
tar.gz
65 tar tf am_lex_bug-0.1
.1.
tar | fgrep foo.c