From: Vincent Bernat Date: Mon, 17 Aug 2015 12:05:43 +0000 (+0200) Subject: build: better find system libnl3 X-Git-Tag: 0.8.0~94 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d1a554551f76f2a20d0b7bfb68d6488f85d96770;p=thirdparty%2Flldpd.git build: better find system libnl3 --- 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])