mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-28 19:41:16 +00:00
The existence of AUTHORS file is required for GNU projects but since commit <8bfb36db40f38e92823b657b5a342652064b5adc> we do not require these files to exist. Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
137 lines
3.9 KiB
Plaintext
137 lines
3.9 KiB
Plaintext
# Bootstrap configuration.
|
|
|
|
# Copyright (C) 2010-2014 Red Hat, Inc.
|
|
|
|
# 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
|
|
# GNU Lesser General Public License for more details.
|
|
|
|
# You should have received a copy of the GNU Lesser General Public
|
|
# License along with this library. If not, see
|
|
# <http://www.gnu.org/licenses/>.
|
|
|
|
# gnulib modules used by this package.
|
|
|
|
# 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.
|
|
|
|
# -> conditional build to avoid Win32
|
|
gnulib_modules="$gnulib_modules chown"
|
|
# -> Meson
|
|
gnulib_modules="$gnulib_modules configmake"
|
|
# -> GSocket
|
|
gnulib_modules="$gnulib_modules getaddrinfo"
|
|
# -> copy gnuliub win32 impl
|
|
gnulib_modules="$gnulib_modules getpass"
|
|
# -> Meson
|
|
gnulib_modules="$gnulib_modules largefile"
|
|
# -> custom configure check
|
|
gnulib_modules="$gnulib_modules localeconv"
|
|
# -> painful copy gnulib
|
|
gnulib_modules="$gnulib_modules mgetgroups"
|
|
# -> GSocket
|
|
gnulib_modules="$gnulib_modules net_if"
|
|
# -> GSocket
|
|
gnulib_modules="$gnulib_modules netdb"
|
|
# -> GSocket
|
|
gnulib_modules="$gnulib_modules passfd"
|
|
# -> 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"
|
|
# -> Meson
|
|
gnulib_modules="$gnulib_modules posix-shell"
|
|
# -> open code conditional logic
|
|
gnulib_modules="$gnulib_modules sigaction"
|
|
# -> open code conditional logic
|
|
gnulib_modules="$gnulib_modules sigpipe"
|
|
# -> open code conditional or use GIO GFileInfo
|
|
gnulib_modules="$gnulib_modules stat-time"
|
|
# -> GThread
|
|
gnulib_modules="$gnulib_modules threadlib"
|
|
# -> remove use or open-code it. possibly add to glib
|
|
gnulib_modules="$gnulib_modules strchrnul"
|
|
# -> g_strsplit
|
|
gnulib_modules="$gnulib_modules strtok_r"
|
|
# -> remove sys/stat.h include from any win32 code paths
|
|
gnulib_modules="$gnulib_modules sys_stat"
|
|
# -> remove sys/wait.h include from any win32 code paths
|
|
gnulib_modules="$gnulib_modules sys_wait"
|
|
# -> g_get_os_info in GLib 2.64 but can't use that yet
|
|
gnulib_modules="$gnulib_modules uname"
|
|
# -> remove from Win32 code paths
|
|
gnulib_modules="$gnulib_modules waitpid"
|
|
# -> open code impl
|
|
gnulib_modules="$gnulib_modules wcwidth"
|
|
|
|
SKIP_PO=true
|
|
|
|
copy=true
|
|
|
|
bootstrap_sync=true
|
|
|
|
vc_ignore=
|
|
|
|
|
|
# Tell gnulib to:
|
|
# require LGPLv2+
|
|
# apply any local diffs in gnulib/local/ dir
|
|
# put *.m4 files in m4/ dir
|
|
# put *.[ch] files in new gnulib/lib/ dir
|
|
# import gnulib tests in new gnulib/tests/ dir
|
|
gnulib_name=libgnu
|
|
m4_base=m4
|
|
source_base=gnulib/lib
|
|
gnulib_tool_option_extras="\
|
|
--lgpl=2\
|
|
--makefile-name=gnulib.mk\
|
|
--avoid=pt_chown\
|
|
--no-vc-files\
|
|
"
|
|
local_gl_dir=gnulib/local
|
|
|
|
# Build prerequisites
|
|
# 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
|
|
# required to run 'make dist' on a tarball.
|
|
buildreq="\
|
|
autoconf 2.59
|
|
automake 1.9.6
|
|
git 1.5.5
|
|
gzip -
|
|
libtool -
|
|
patch -
|
|
perl 5.5
|
|
pkg-config -
|
|
rpcgen -
|
|
tar -
|
|
xmllint -
|
|
xsltproc -
|
|
"
|
|
|
|
# Override bootstrap's list - we don't use mdate-sh or texinfo.tex.
|
|
gnulib_extra_files="
|
|
build-aux/install-sh
|
|
build-aux/depcomp
|
|
build-aux/config.guess
|
|
build-aux/config.sub
|
|
doc/INSTALL
|
|
"
|
|
|
|
bootstrap_epilogue()
|
|
{
|
|
echo "$0: done. Now you can run 'mkdir build && cd build && ../configure'."
|
|
exit 0
|
|
}
|