# A few optional bits off by default, we enable later
%define with_fuse 0%{!?_without_fuse:0}
-%define with_libpcap 0%{!?_without_libpcap:0}
%define with_macvtap 0%{!?_without_macvtap:0}
%define with_libnl 0%{!?_without_libnl:0}
%define with_cgconfig 0%{!?_without_cgconfig:0}
%if %{with_qemu} || %{with_lxc} || %{with_uml}
-# Enable libpcap library
- %define with_libpcap 0%{!?_without_libpcap:1}
%define with_macvtap 0%{!?_without_macvtap:1}
# numad is used to manage the CPU and memory placement dynamically,
%if %{with_sanlock}
BuildRequires: sanlock-devel >= 2.4
%endif
-%if %{with_libpcap}
BuildRequires: libpcap-devel
-%endif
%if %{with_libnl}
BuildRequires: libnl3-devel
%endif
%define _without_sanlock --without-sanlock
%endif
-%if ! %{with_libpcap}
- %define _without_libpcap --without-libpcap
-%endif
-
%if ! %{with_macvtap}
%define _without_macvtap --without-macvtap
%endif
--with-udev \
--with-yajl \
%{?_without_sanlock} \
- %{?_without_libpcap} \
+ --with-libpcap \
%{?_without_macvtap} \
--with-audit \
--with-dtrace \