1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-21 13:34:06 +03:00
libvirt/m4
Eric Blake b25ca8143a build: accomodate selinux 2.5 header API change
Yet again, selinux has been adding const-correctness; this change
is ABI-compatible, but breaks API, which affects us when we try to
override things in our testsuite:

../../tests/securityselinuxhelper.c:307:24: error: conflicting types for 'selabel_open'
 struct selabel_handle *selabel_open(unsigned int backend,
                        ^~~~~~~~~~~~
In file included from ../../tests/securityselinuxhelper.c:32:0:
/usr/include/selinux/label.h:73:24: note: previous declaration of 'selabel_open' was here

The problem is a new 'const' prior to the second parameter.

Fix it the same way we did in commit 292d3f2d: check for the new
const at configure time.

Signed-off-by: Eric Blake <eblake@redhat.com>
(cherry picked from commit 5ea3a690a2)
2016-10-03 18:10:17 +02:00
..
virt-apparmor.m4 build: avoid obsolete AC_HELP_STRING 2013-09-09 13:27:49 -06:00
virt-attr.m4 Add a test suite for validating SELinux labelling 2013-01-14 13:40:04 +00:00
virt-audit.m4 Convert audit check to use LIBVIRT_CHECK_LIB 2013-01-11 11:03:23 +00:00
virt-avahi.m4 Convert avahi check to use LIBVIRT_CHECK_PKG 2013-01-14 13:26:46 +00:00
virt-blkid.m4 Convert blkid check over to use LIBVIRT_CHECK_PKG 2013-01-14 13:26:47 +00:00
virt-capng.m4 Convert cap-ng check to use LIBVIRT_CHECK_LIB 2013-01-14 13:25:06 +00:00
virt-compile-pie.m4 maint: extend PIE support check 2015-05-11 20:08:47 +03:00
virt-compile-warnings.m4 build: add GCC 6.0 -Wlogical-op workaround 2016-10-03 18:10:15 +02:00
virt-curl.m4 Fix typo LIBCURL_{CFLAGS,LIBS} to CURL_{CFLAGS,LIBS} 2013-01-14 17:22:31 +00:00
virt-dbus.m4 build: fix build with older dbus headers 2014-11-20 06:41:53 -07:00
virt-driver-bhyve.m4 m4: bhyve: Fix check for the required bhyve programs 2014-06-09 09:40:25 +02:00
virt-driver-vz.m4 virt-driver-vz: Require parallels-7.0.22 at least 2015-07-13 19:46:10 +03:00
virt-fuse.m4 Convert fuse check over to use LIBVIRT_CHECK_PKG 2013-01-14 13:29:17 +00:00
virt-gluster.m4 storage: initial support for linking with libgfapi 2013-11-25 11:02:52 -07:00
virt-hal.m4 Convert HAL check to use LIBVIRT_CHECK_PKG 2013-01-14 13:26:47 +00:00
virt-lib.m4 build: use --with-systemd-daemon as configure option 2014-02-26 05:59:22 -07:00
virt-linker-no-indirect.m4 Check for --no-copy-dt-needed linker flag 2013-08-22 16:17:36 +02:00
virt-linker-relro.m4 Simplify RELRO_LDFLAGS 2013-08-22 16:17:35 +02:00
virt-login-shell.m4 tools: Disable virt-login-shell on mingw 2015-12-24 18:03:50 +01:00
virt-netcf.m4 Convert netcf check to use LIBVIRT_CHECK_PKG 2013-01-14 13:25:40 +00:00
virt-numactl.m4 virnuma: Check for numa_bitmask_isbitset presence 2014-06-04 16:06:51 +02:00
virt-openwsman.m4 Convert openwsman check to use LIBVIRT_CHECK_PKG 2013-01-14 13:29:54 +00:00
virt-pciaccess.m4 Convert udev/pciaccess checks to use LIBVIRT_CHECK_PKG 2013-01-14 13:26:47 +00:00
virt-pkgconfig-back-compat.m4 Remove acinclude.m4 file 2011-04-05 11:39:44 +01:00
virt-readline.m4 build: add configure --without-readline 2013-10-07 08:39:47 -06:00
virt-result.m4 Add some autoconf helper macros for checking for libraries 2013-01-11 11:03:22 +00:00
virt-sanlock.m4 locking: Add io_timeout to sanlock 2015-11-18 10:56:56 +01:00
virt-sasl.m4 Convert sasl check to use LIBVIRT_CHECK_LIB_ALT 2013-01-11 11:03:23 +00:00
virt-selinux.m4 build: accomodate selinux 2.5 header API change 2016-10-03 18:10:17 +02:00
virt-ssh2.m4 Convert ssh2 check to use LIBVIRT_CHECK_PKG 2013-01-14 13:29:44 +00:00
virt-systemd-daemon.m4 virNetServerRun: Notify systemd that we're accepting clients 2014-02-24 10:54:48 +01:00
virt-udev.m4 avoid using deprecated udev logging functions 2014-12-15 18:08:45 +00:00
virt-wireshark.m4 wireshark: Install into DESTDIR 2016-01-12 18:51:38 +01:00
virt-yajl.m4 Convert yajl check to use LIBVIRT_CHECK_LIB_ALT 2013-01-11 11:03:23 +00:00