]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Do not use compiler flags from net-snmp, it adds flags we do not want. 12011/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 23 Sep 2022 10:24:55 +0000 (12:24 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 23 Sep 2022 12:50:32 +0000 (14:50 +0200)
m4/pdns_with_net_snmp.m4

index d4cfcfac6881ce1bdb06fa48253981c0307fe9d3..08ce13987a2f23bab1b716cf1f823152fa71da90 100644 (file)
@@ -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.])