libvirt/m4
Michal Privoznik dc3002b46c wireshark: Fix distcheck
Our distcheck is broken. Well, it works but only by pure chance.
When wireshark plugin is enabled, we try to query which path
should the plugin be installed into. Firstly, we try to ask
pkg-config as some releases of wireshark already sets
corresponding variable in their pkg-config files. However, if we
obtained no value from there we try to construct the path on our
own. Based on our observations it usually is:
$libdir/wireshark/plugins/$version/.
Now, the problem is in the way we are deciding whether we have
obtained the plugin directory from pkg-config or not. Simply
said, we are checking wrong variable. The variable we are
checking has never been set, thus in our test is empty and
therefore we will always construct the plugin dir path on our
own, regardless of its presence in the pkg-config file.
To make things worse, after fixing this problem, VPATH build was
broken as it now tried to install plugin into correct directory.
Yes, this is problem, because --prefix was not honoured and
everything but the plugin was installed into given prefix. I've
managed to resolve this issue by replacing plugin dir prefix with
our own. So when doing regular installation (our prefix ==
wireshark prefix), nothing changes. When doing VPATH build &
installation plugin is installed into correctly prefixed dir.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2016-04-25 18:56:48 +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 Fix '-pie' build with clang 2016-02-09 13:29:53 +01:00
virt-compile-warnings.m4 build: add GCC 6.0 -Wlogical-op workaround 2016-04-11 12:09:14 +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-host-validate.m4 configure: Make virt-host-validate optional 2016-04-13 10:06:29 +02: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 configure: Fix check for --with-login-shell on Windows 2016-04-11 09:02:49 +02:00
virt-netcf.m4 Convert netcf check to use LIBVIRT_CHECK_PKG 2013-01-14 13:25:40 +00:00
virt-nss.m4 nss: fix typo in configure help string 2016-04-09 07:52:33 +03: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-02-24 15:14:30 -07: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: Fix distcheck 2016-04-25 18:56:48 +02:00
virt-yajl.m4 Convert yajl check to use LIBVIRT_CHECK_LIB_ALT 2013-01-11 11:03:23 +00:00