1 # Bootstrap configuration.
3 # Copyright (C) 2010-2014 Red Hat, Inc.
5 # This library is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU Lesser General Public
7 # License as published by the Free Software Foundation; either
8 # version 2.1 of the License, or (at your option) any later version.
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 Lesser General Public License for more details.
15 # You should have received a copy of the GNU Lesser General Public
16 # License along with this library. If not, see
17 # <http://www.gnu.org/licenses/>.
19 # gnulib modules used by this package.
121 useless-if-before-free
134 # Enable copy-mode for MSYS/MinGW. MSYS' ln doesn't work well in the way
135 # bootstrap uses it with relative paths.
136 if test -n "$MSYSTEM"; then
143 # apply any local diffs in gnulib/local/ dir
144 # put *.m4 files in m4/ dir
145 # put *.[ch] files in new gnulib/lib/ dir
146 # import gnulib tests in new gnulib/tests/ dir
149 source_base=gnulib/lib
150 tests_base=gnulib/tests
151 gnulib_tool_option_extras="\
154 --makefile-name=gnulib.mk\
158 local_gl_dir=gnulib/local
160 # Build prerequisites
161 # Note that some of these programs are only required for 'make dist' to
162 # succeed from a fresh git checkout; not all of these programs are
163 # required to run 'make dist' on a tarball.
179 # Automake requires that AUTHORS exist.
180 touch AUTHORS || exit 1
182 # Override bootstrap's list - we don't use mdate-sh or texinfo.tex.
186 build-aux/config.guess
192 bootstrap_post_import_hook()
194 # Change paths in gnulib/tests/gnulib.mk from "../../.." to "../..",
195 # and make tests conditional by changing "TESTS" to "GNULIB_TESTS".
196 m=gnulib/tests/gnulib.mk
197 sed 's,\.\./\.\./\.\.,../..,g; s/^TESTS /GNULIB_TESTS /' $m > $m-t