2 # Copyright (C) 2003-2013 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 # Check for support for colon separated input files in AC_CONFIG_FILES,
18 # with sources in sub directories.
22 cat > configure.ac << END
26 Makefile:mk/toplevel.in
27 sub/Makefile:mk/sub.in
34 cat >mk/Makefile.am <<'EOF'
39 cat >mk/sub.am <<'EOF'
45 cat >mk/toplevel.am <<'EOF'
51 # We have to distribute something in foo, because some versions
52 # of tar do not archive empty directories when passed the 'o'
53 # flags. (This was fixed in GNU tar 1.12, but older
54 # versions are still used: NetBSD 1.6.1 ships with tar 1.11.2).
56 # If sub/ is missing from the archive, config.status will fail
57 # to compute $ac_abs_srcdir during a VPATH build: config.status
58 # is able to create sub/ in the build tree, but it assumes the
59 # directory already exists in the source tree.
69 grep at--toplevel stdout