From d1a554551f76f2a20d0b7bfb68d6488f85d96770 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Mon, 17 Aug 2015 14:05:43 +0200 Subject: [PATCH] build: better find system libnl3 --- m4/libnl3.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/libnl3.m4 b/m4/libnl3.m4 index 0e31f88a..486198e4 100644 --- a/m4/libnl3.m4 +++ b/m4/libnl3.m4 @@ -14,7 +14,7 @@ AC_DEFUN([lldp_CHECK_LIBNL], [ LIBNL_EMBEDDED=1 else # Check with pkg-config (3.2.7 is needed for nl_cache_mngr_alloc) - PKG_CHECK_MODULES([LIBNL], [libnl >= 3.2.7 libnl-route >= 3.2.7], [], [ + PKG_CHECK_MODULES([LIBNL], [libnl-3.0 >= 3.2.7 libnl-route-3.0 >= 3.2.7], [], [ # No appropriate version, let's use the shipped copy if possible if test x"$with_embedded_libnl" = x"auto"; then AC_MSG_NOTICE([using shipped libnl]) -- 2.39.5