From: Remi Gacogne Date: Mon, 13 May 2019 14:01:06 +0000 (+0200) Subject: SNMP: Use net-snmp-config --netsnmp-agent-libs instead of --agent-libs X-Git-Tag: rec-4.2.0-rc1~18^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d73bc006c62e4340ab56dd4baba5bc8eb8e1db49;p=thirdparty%2Fpdns.git SNMP: Use net-snmp-config --netsnmp-agent-libs instead of --agent-libs --- diff --git a/m4/pdns_with_net_snmp.m4 b/m4/pdns_with_net_snmp.m4 index 8040672e6c..2da80c75fc 100644 --- a/m4/pdns_with_net_snmp.m4 +++ b/m4/pdns_with_net_snmp.m4 @@ -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