You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
1.1 KiB

  1. From d73bc006c62e4340ab56dd4baba5bc8eb8e1db49 Mon Sep 17 00:00:00 2001
  2. From: Remi Gacogne <remi.gacogne@powerdns.com>
  3. Date: Mon, 13 May 2019 16:01:06 +0200
  4. Subject: [PATCH] SNMP: Use net-snmp-config --netsnmp-agent-libs instead of
  5. --agent-libs
  6. ---
  7. m4/pdns_with_net_snmp.m4 | 2 +-
  8. 1 file changed, 1 insertion(+), 1 deletion(-)
  9. diff --git a/m4/pdns_with_net_snmp.m4 b/m4/pdns_with_net_snmp.m4
  10. index 8040672e6c..2da80c75fc 100644
  11. --- a/m4/pdns_with_net_snmp.m4
  12. +++ b/m4/pdns_with_net_snmp.m4
  13. @@ -10,7 +10,7 @@ AC_DEFUN([PDNS_WITH_NET_SNMP], [
  14. AS_IF([test "x$with_net_snmp" != "xno"], [
  15. AS_IF([test "x$with_net_snmp" = "xyes" -o "x$with_net_snmp" = "xauto"], [
  16. AC_CHECK_PROG([NET_SNMP_CFLAGS], [net-snmp-config], [`net-snmp-config --cflags`])
  17. - AC_CHECK_PROG([NET_SNMP_LIBS], [net-snmp-config], [`net-snmp-config --agent-libs`])
  18. + AC_CHECK_PROG([NET_SNMP_LIBS], [net-snmp-config], [`net-snmp-config --netsnmp-agent-libs`])
  19. AC_CHECK_DECLS([snmp_select_info2], [ : ], [ : ],
  20. [AC_INCLUDES_DEFAULT
  21. #include <net-snmp/net-snmp-config.h>