2 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2011 Free Software
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2, or (at your option)
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18 # Test to make sure texinfo.tex is correctly installed and disted by
19 # -a when we're using AC_CONFIG_AUX_DIR. Bug report by by Per
26 cat > configure.in << END
28 AC_CONFIG_AUX_DIR([auxdir])
30 AC_CONFIG_FILES([Makefile])
34 cat > Makefile.am << 'END'
35 info_TEXINFOS = textutils.texi
38 @echo DISTFILES = $(DISTFILES)
39 echo ' ' $(DISTFILES) ' ' | grep '[ /]auxdir/texinfo\.tex '
42 test -f $(distdir)/auxdir/texinfo.tex
45 echo '@setfilename textutils.info' > textutils.texi
53 test -f auxdir/texinfo.tex
57 # Create textutils.info by hand, so that we don't have to require
58 # makeinfo. Also ensure it's really newer than textutils.texi, so
59 # that make won't try to re-create it.