netcf-devel  

[netcf-devel] [PATCH 1/3] Require libnl for build/install libnl has APIs to make it easier to deal with the NETLINK socket, which is the approved method of retrieving IPv6 addresses of interfaces, amo

Laine Stump
Thu, 22 Oct 2009 06:44:17 -0700

---
 configure.ac  |    3 ++-
 netcf.spec.in |    1 +
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 784ae81..e1db576 100644
--- a/configure.ac
+++ b/configure.ac
@@ -31,10 +31,11 @@ PKG_CHECK_MODULES([LIBAUGEAS], [augeas >= 0.5.0])
 PKG_CHECK_MODULES([LIBXML], [libxml-2.0])
 PKG_CHECK_MODULES([LIBXSLT], [libxslt])
 PKG_CHECK_MODULES([LIBEXSLT], [libexslt])
+PKG_CHECK_MODULES([LIBNL], [libnl-1])
 
 NETCF_CHECK_READLINE
 
-NETCF_LIBDEPS=$(echo $LIBAUGEAS_LIBS $LIBEXSLT_LIBS $LIBXSLT_LIBS $LIBXML_LIBS)
+NETCF_LIBDEPS=$(echo $LIBAUGEAS_LIBS $LIBEXSLT_LIBS $LIBXSLT_LIBS $LIBXML_LIBS 
$LIBNL_LIBS)
 AC_SUBST([NETCF_LIBDEPS])
 
 AC_OUTPUT(Makefile                                          \
diff --git a/netcf.spec.in b/netcf.spec.in
index 4f5a5ab..f423386 100644
--- a/netcf.spec.in
+++ b/netcf.spec.in
@@ -11,6 +11,7 @@ BuildRoot:      
%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  readline-devel augeas-devel >= 0.5.2
 BuildRequires:  libxml2-devel libxslt-devel
+BuildRequires:  libnl-devel
 Requires:       %{name}-libs = %{version}-%{release}
 
 %description
-- 
1.6.5.15.gc274d

_______________________________________________
netcf-devel mailing list
netcf-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/netcf-devel