mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +03:00
3d63a187ba
* chown: use is conditionally compiled * configmake: functionality imported to Makefile.am * getaddrinfo: we have no portability problems with Windows impl * getpass: simplified impl is imported * mgetgroups: getgrouplist is used directly * net_if: header includes are conditionalized * netdb: header includes are conditionalized * passfd: simplified impl is imported * posix-shell: functionality was unused & removed * sigaction: usage is conditionalized * sigpipe: usage is conditionalized * stat-time: struct stat is used directly * strchrnul: usage is eliminated * strtok_r: usage is not a portability problem * sys_stat: usage is conditionalized * uname: rewritten to use native Win32 function to get host arch * waitpid: usage is conditionalized * wcwidth: rewritten using g_unichar APIs Reviewed-by: Pavel Hrdina <phrdina@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
101 lines
2.6 KiB
Plaintext
101 lines
2.6 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.
|
|
|
|
# -> 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"
|
|
# -> GThread
|
|
gnulib_modules="$gnulib_modules threadlib"
|
|
# -> remove sys/wait.h include from any win32 code paths
|
|
gnulib_modules="$gnulib_modules sys_wait"
|
|
|
|
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
|
|
}
|