]> git.ipfire.org Git - thirdparty/libvirt.git/commit
rpm-build: use pkg-config to detect wireshark presence
authorPavel Hrdina <phrdina@redhat.com>
Mon, 16 Mar 2015 11:52:13 +0000 (12:52 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Mon, 16 Mar 2015 21:58:54 +0000 (22:58 +0100)
commit373973206aab26ba72d66363db85adb38f49c4de
tree44dfde3a34127d3fa57763c5266ba66132a4daa7
parenta7d6b94a00c6d13430229e9ac77e82c8be578337
rpm-build: use pkg-config to detect wireshark presence

Wireshark supports pkg-config since 1.11.3.  Right now we build
wireshark-dissectior tool as default trough rpm build only on
fedora >= 21 and there is new wireshark that supports pkg-config.
If someone wants to build libvirt with wireshark-dissector against old
wireshark, they should specify the location by hand.

This patch is mainly to fix wrong dependency on wireshark binary as it
doesn't make sense to require that binary file to just get version info
of that package in makefile.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
configure.ac
m4/virt-wireshark.m4 [new file with mode: 0644]
tools/wireshark/src/Makefile.am