3 # Test to make sure texinfo.tex is correctly installed and disted by
4 # -a when we're using AC_CONFIG_AUX_DIR. Bug report by by Per
7 .
$srcdir/defs ||
exit 1
9 cat > configure.
in << 'END'
10 AM_INIT_AUTOMAKE
(nonesuch
, nonesuch
)
16 AC_OUTPUT
(Makefile sub
/Makefile
)
17 AC_CONFIG_AUX_DIR
(sub
)
20 cat > Makefile.am
<< 'END'
21 info_TEXINFOS
= textutils.texi
24 echo '@setfilename textutils.info' > textutils.texi
26 test -d sub || mkdir sub
28 cat > sub
/Makefile.am
<< 'END'
33 $AUTOMAKE -a ||
exit 1
35 fgrep
-v @SET_MAKE@ sub
/Makefile.
in > sub
/Makefile.
sed
36 test -f sub
/texinfo.tex
&&
37 $MAKE -s -f sub
/Makefile.
sed SHELL
=/bin
/sh magic |
grep 'texinfo\.tex'