]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
build: better find system libnl3
authorVincent Bernat <vincent@bernat.im>
Mon, 17 Aug 2015 12:05:43 +0000 (14:05 +0200)
committerVincent Bernat <vincent@bernat.im>
Mon, 17 Aug 2015 12:05:43 +0000 (14:05 +0200)
m4/libnl3.m4

index 0e31f88a35c96e63a44463d6452c11f368593c3c..486198e49d6ae9f276c0021da9ffff21677cfaf8 100644 (file)
@@ -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])