From: Otto Moerbeek Date: Fri, 23 Sep 2022 10:24:55 +0000 (+0200) Subject: Do not use compiler flags from net-snmp, it adds flags we do not want. X-Git-Tag: rec-4.9.0-alpha0~38^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F12011%2Fhead;p=thirdparty%2Fpdns.git Do not use compiler flags from net-snmp, it adds flags we do not want. --- 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.])