2010-02-23 00:01:32 +00:00
|
|
|
# Bootstrap configuration.
|
|
|
|
|
2015-01-09 21:54:15 +00:00
|
|
|
# Copyright (C) 2010-2014 Red Hat, Inc.
|
2010-02-23 00:01:32 +00: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 09:50:26 +00:00
|
|
|
# GNU Lesser General Public License for more details.
|
2010-02-23 00:01:32 +00:00
|
|
|
|
|
|
|
# You should have received a copy of the GNU Lesser General Public
|
2012-09-20 22:30:55 +00:00
|
|
|
# License along with this library. If not, see
|
2012-07-26 22:58:02 +00:00
|
|
|
# <http://www.gnu.org/licenses/>.
|
2010-02-23 00:01:32 +00:00
|
|
|
|
|
|
|
# gnulib modules used by this package.
|
2019-12-24 11:48:37 +00: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 14:50:47 +00:00
|
|
|
# -> GThread
|
|
|
|
gnulib_modules="$gnulib_modules threadlib"
|
2019-12-24 11:48:37 +00:00
|
|
|
# -> remove sys/wait.h include from any win32 code paths
|
|
|
|
gnulib_modules="$gnulib_modules sys_wait"
|
2010-02-23 00:01:32 +00:00
|
|
|
|
2010-02-23 00:01:33 +00:00
|
|
|
SKIP_PO=true
|
|
|
|
|
2019-12-11 09:17:27 +00:00
|
|
|
copy=true
|
2010-03-17 18:22:50 +00:00
|
|
|
|
2019-12-11 09:18:29 +00:00
|
|
|
bootstrap_sync=true
|
|
|
|
|
2019-12-11 09:19:21 +00:00
|
|
|
vc_ignore=
|
|
|
|
|
2010-02-23 00:01:32 +00:00
|
|
|
|
|
|
|
# Tell gnulib to:
|
|
|
|
# require LGPLv2+
|
2011-11-09 00:06:27 +00:00
|
|
|
# apply any local diffs in gnulib/local/ dir
|
2013-10-07 21:44:45 +00:00
|
|
|
# put *.m4 files in m4/ dir
|
2011-11-09 00:06:27 +00:00
|
|
|
# put *.[ch] files in new gnulib/lib/ dir
|
|
|
|
# import gnulib tests in new gnulib/tests/ dir
|
2010-02-23 00:01:32 +00:00
|
|
|
gnulib_name=libgnu
|
2013-10-07 21:44:45 +00:00
|
|
|
m4_base=m4
|
2010-02-23 00:01:32 +00:00
|
|
|
source_base=gnulib/lib
|
|
|
|
gnulib_tool_option_extras="\
|
|
|
|
--lgpl=2\
|
2012-01-12 00:19:01 +00:00
|
|
|
--makefile-name=gnulib.mk\
|
2011-11-03 20:56:13 +00:00
|
|
|
--avoid=pt_chown\
|
2019-12-11 09:19:21 +00:00
|
|
|
--no-vc-files\
|
2010-02-23 00:01:32 +00:00
|
|
|
"
|
2011-11-09 00:06:27 +00:00
|
|
|
local_gl_dir=gnulib/local
|
2010-02-23 00:01:32 +00:00
|
|
|
|
|
|
|
# Build prerequisites
|
2011-11-18 23:35:54 +00: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 11:43:51 +00:00
|
|
|
# required to run 'make dist' on a tarball.
|
2010-02-23 00:01:32 +00:00
|
|
|
buildreq="\
|
|
|
|
autoconf 2.59
|
|
|
|
automake 1.9.6
|
2010-02-24 18:38:44 +00:00
|
|
|
git 1.5.5
|
2010-02-23 00:01:32 +00:00
|
|
|
gzip -
|
|
|
|
libtool -
|
2011-12-07 16:26:57 +00:00
|
|
|
patch -
|
2010-02-23 00:01:32 +00:00
|
|
|
perl 5.5
|
2010-10-05 15:10:31 +00:00
|
|
|
pkg-config -
|
2011-05-06 13:11:32 +00:00
|
|
|
rpcgen -
|
2010-02-23 00:01:32 +00:00
|
|
|
tar -
|
2011-11-18 23:35:54 +00:00
|
|
|
xmllint -
|
|
|
|
xsltproc -
|
2010-02-23 00:01:32 +00:00
|
|
|
"
|
|
|
|
|
2011-02-18 21:40:35 +00:00
|
|
|
# Override bootstrap's list - we don't use mdate-sh or texinfo.tex.
|
|
|
|
gnulib_extra_files="
|
2013-07-18 21:47:41 +00:00
|
|
|
build-aux/install-sh
|
|
|
|
build-aux/depcomp
|
|
|
|
build-aux/config.guess
|
|
|
|
build-aux/config.sub
|
2011-02-18 21:40:35 +00:00
|
|
|
doc/INSTALL
|
|
|
|
"
|
|
|
|
|
2019-11-06 14:55:12 +00:00
|
|
|
bootstrap_epilogue()
|
|
|
|
{
|
|
|
|
echo "$0: done. Now you can run 'mkdir build && cd build && ../configure'."
|
|
|
|
exit 0
|
|
|
|
}
|