From 539b1be3507abdf8ac235b06eeed5011b0b5cde2 Mon Sep 17 00:00:00 2001 From: Ondrej Kos Date: Mon, 18 Feb 2013 14:43:19 +0100 Subject: Provide libnl3 support https://fedorahosted.org/sssd/ticket/812 Update the monitor code to be using the new libnl3 API. Changed configure option --with-libnl By default, it tries to build with libnl3, if not found, then with libnl1, if this isn't found either, build proceeds without libnl, just with warning. Specifing --with-libnl= checks for the specific given version, if not found, configure ends with error. --- contrib/sssd.spec.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'contrib') diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index de3059bd..478247f3 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -122,7 +122,6 @@ BuildRequires: libselinux-devel BuildRequires: libsemanage-devel BuildRequires: bind-utils BuildRequires: keyutils-libs-devel -BuildRequires: libnl-devel BuildRequires: gettext-devel BuildRequires: pkgconfig BuildRequires: findutils @@ -130,6 +129,9 @@ BuildRequires: glib2-devel BuildRequires: selinux-policy-targeted %if (0%{?fedora} >= 18) BuildRequires: libcmocka-devel +BuildRequires: libnl3-devel +%else +BuildRequires: libnl-devel %endif # RHEL 5 is too old to support samba4 and the PAC responder -- cgit