2010-02-23 08:01:32 +08:00
|
|
|
# Bootstrap configuration.
|
|
|
|
|
2015-01-10 05:54:15 +08:00
|
|
|
# Copyright (C) 2010-2014 Red Hat, Inc.
|
2010-02-23 08:01:32 +08:00
|
|
|
|
|
|
|
# This library is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU Lesser General Public
|
|
|
|
# License as published by the Free Software Foundation; either
|
|
|
|
# version 2.1 of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2019-01-25 17:50:26 +08:00
|
|
|
# GNU Lesser General Public License for more details.
|
2010-02-23 08:01:32 +08:00
|
|
|
|
|
|
|
# You should have received a copy of the GNU Lesser General Public
|
2012-09-21 06:30:55 +08:00
|
|
|
# License along with this library. If not, see
|
2012-07-27 06:58:02 +08:00
|
|
|
# <http://www.gnu.org/licenses/>.
|
2010-02-23 08:01:32 +08:00
|
|
|
|
|
|
|
# gnulib modules used by this package.
|
2019-12-24 19:48:37 +08:00
|
|
|
|
|
|
|
# NB the GSocket conversion is non-trivial due to the
|
|
|
|
# different FD vs HANDLE usage in gnulib vs glib. Need
|
|
|
|
# to find a way to duplicate a socket HANDLE before
|
|
|
|
# turning it into a FD, since closing an FD also closes
|
|
|
|
# the original HANDLE.
|
|
|
|
|
|
|
|
# -> Meson
|
|
|
|
gnulib_modules="$gnulib_modules largefile"
|
|
|
|
# -> custom configure check
|
|
|
|
gnulib_modules="$gnulib_modules localeconv"
|
|
|
|
# -> open code / conditional comp
|
|
|
|
gnulib_modules="$gnulib_modules pipe-posix"
|
|
|
|
# -> open code / conditional comp
|
|
|
|
gnulib_modules="$gnulib_modules pipe2"
|
|
|
|
# -> GMainLoop
|
|
|
|
gnulib_modules="$gnulib_modules poll"
|
2020-01-17 22:50:47 +08:00
|
|
|
# -> GThread
|
|
|
|
gnulib_modules="$gnulib_modules threadlib"
|
2019-12-24 19:48:37 +08:00
|
|
|
# -> remove sys/wait.h include from any win32 code paths
|
|
|
|
gnulib_modules="$gnulib_modules sys_wait"
|
2010-02-23 08:01:32 +08:00
|
|
|
|
2010-02-23 08:01:33 +08:00
|
|
|
SKIP_PO=true
|
|
|
|
|
2019-12-11 17:17:27 +08:00
|
|
|
copy=true
|
2010-03-18 02:22:50 +08:00
|
|
|
|
2019-12-11 17:18:29 +08:00
|
|
|
bootstrap_sync=true
|
|
|
|
|
2019-12-11 17:19:21 +08:00
|
|
|
vc_ignore=
|
|
|
|
|
2010-02-23 08:01:32 +08:00
|
|
|
|
|
|
|
# Tell gnulib to:
|
|
|
|
# require LGPLv2+
|
2011-11-09 08:06:27 +08:00
|
|
|
# apply any local diffs in gnulib/local/ dir
|
2013-10-08 05:44:45 +08:00
|
|
|
# put *.m4 files in m4/ dir
|
2011-11-09 08:06:27 +08:00
|
|
|
# put *.[ch] files in new gnulib/lib/ dir
|
|
|
|
# import gnulib tests in new gnulib/tests/ dir
|
2010-02-23 08:01:32 +08:00
|
|
|
gnulib_name=libgnu
|
2013-10-08 05:44:45 +08:00
|
|
|
m4_base=m4
|
2010-02-23 08:01:32 +08:00
|
|
|
source_base=gnulib/lib
|
|
|
|
gnulib_tool_option_extras="\
|
|
|
|
--lgpl=2\
|
2012-01-12 08:19:01 +08:00
|
|
|
--makefile-name=gnulib.mk\
|
2011-11-04 04:56:13 +08:00
|
|
|
--avoid=pt_chown\
|
2019-12-11 17:19:21 +08:00
|
|
|
--no-vc-files\
|
2010-02-23 08:01:32 +08:00
|
|
|
"
|
2011-11-09 08:06:27 +08:00
|
|
|
local_gl_dir=gnulib/local
|
2010-02-23 08:01:32 +08:00
|
|
|
|
|
|
|
# Build prerequisites
|
2011-11-19 07:35:54 +08:00
|
|
|
# Note that some of these programs are only required for 'make dist' to
|
|
|
|
# succeed from a fresh git checkout; not all of these programs are
|
2015-06-29 19:43:51 +08:00
|
|
|
# required to run 'make dist' on a tarball.
|
2010-02-23 08:01:32 +08:00
|
|
|
buildreq="\
|
|
|
|
autoconf 2.59
|
|
|
|
automake 1.9.6
|
2010-02-25 02:38:44 +08:00
|
|
|
git 1.5.5
|
2010-02-23 08:01:32 +08:00
|
|
|
gzip -
|
|
|
|
libtool -
|
2011-12-08 00:26:57 +08:00
|
|
|
patch -
|
2010-02-23 08:01:32 +08:00
|
|
|
perl 5.5
|
2010-10-05 23:10:31 +08:00
|
|
|
pkg-config -
|
2011-05-06 21:11:32 +08:00
|
|
|
rpcgen -
|
2010-02-23 08:01:32 +08:00
|
|
|
tar -
|
2011-11-19 07:35:54 +08:00
|
|
|
xmllint -
|
|
|
|
xsltproc -
|
2010-02-23 08:01:32 +08:00
|
|
|
"
|
|
|
|
|
2011-02-19 05:40:35 +08:00
|
|
|
# Override bootstrap's list - we don't use mdate-sh or texinfo.tex.
|
|
|
|
gnulib_extra_files="
|
2013-07-19 05:47:41 +08:00
|
|
|
build-aux/install-sh
|
|
|
|
build-aux/depcomp
|
|
|
|
build-aux/config.guess
|
|
|
|
build-aux/config.sub
|
2011-02-19 05:40:35 +08:00
|
|
|
doc/INSTALL
|
|
|
|
"
|
|
|
|
|
2019-11-06 22:55:12 +08:00
|
|
|
bootstrap_epilogue()
|
|
|
|
{
|
|
|
|
echo "$0: done. Now you can run 'mkdir build && cd build && ../configure'."
|
|
|
|
exit 0
|
|
|
|
}
|