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