From 4569012d0ed9104745756d9017159fbb85e28ee5 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Fri, 23 Sep 2022 12:24:55 +0200 Subject: [PATCH] Do not use compiler flags from net-snmp, it adds flags we do not want. --- m4/pdns_with_net_snmp.m4 | 1 - 1 file changed, 1 deletion(-) diff --git a/m4/pdns_with_net_snmp.m4 b/m4/pdns_with_net_snmp.m4 index d4cfcfac68..08ce13987a 100644 --- a/m4/pdns_with_net_snmp.m4 +++ b/m4/pdns_with_net_snmp.m4 @@ -9,7 +9,6 @@ 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 --netsnmp-agent-libs`]) AC_CHECK_DECLS([snmp_select_info2], [ AC_DEFINE([HAVE_SNMP_SELECT_INFO2], [1], [define to 1 if snmp_select_info2 is available.]) -- 2.47.2