3 # Test for bug in `make dist'
6 .
$srcdir/defs ||
exit 1
8 cat > configure.
in << 'END'
10 dnl Prevent automake from looking
in .. and ..
/..
12 AM_INIT_AUTOMAKE
(foo
, 0.1)
16 cat > Makefile.am
<< 'END'
20 # Fail gracefully if no autoconf.
24 (gzip --version) > /dev
/null
2>&1 ||
exit 77
28 $AUTOMAKE -a ||
exit 1
32 # On some systems (like DOS and Windows), files are always readable
33 test -r Makefile.am
&& exit 77
36 # `dist' should fail because we can't copy Makefile.am.