]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
SNMP: Use net-snmp-config --netsnmp-agent-libs instead of --agent-libs 7818/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 13 May 2019 14:01:06 +0000 (16:01 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 13 May 2019 14:01:06 +0000 (16:01 +0200)
m4/pdns_with_net_snmp.m4

index 8040672e6cb5850709b5fb1c4d0baa4a8c354ad1..2da80c75fc80d873a71eb3793b7df3e354c2c10c 100644 (file)
@@ -10,7 +10,7 @@ AC_DEFUN([PDNS_WITH_NET_SNMP], [
   AS_IF([test "x$with_net_snmp" != "xno"], [
     AS_IF([test "x$with_net_snmp" = "xyes" -o "x$with_net_snmp" = "xauto"], [
       AC_CHECK_PROG([NET_SNMP_CFLAGS], [net-snmp-config], [`net-snmp-config --cflags`])
-      AC_CHECK_PROG([NET_SNMP_LIBS], [net-snmp-config], [`net-snmp-config --agent-libs`])
+      AC_CHECK_PROG([NET_SNMP_LIBS], [net-snmp-config], [`net-snmp-config --netsnmp-agent-libs`])
       AC_CHECK_DECLS([snmp_select_info2], [ : ], [ : ],
         [AC_INCLUDES_DEFAULT
           #include <net-snmp/net-snmp-config.h>