Skip to contentSkip to conversation

net-snmp: add ac_cv_header_valgrind_* to CACHED_CONFIGUREVARS

PATCH New [email protected] 1 participant 1 message Oct 20, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net-snmp: add ac_cv_header_valgrind_* to CACHED_CONFIGUREVARS

From: Jackie Huang <[email protected]>

There have been occasions that net-snmp sees valgrind and then later it's not available, adding this setting ensures determinism by disabling it by default

---
 meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.1.bb | 5 +++++
 1 file changed, 5 insertions(+)
meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.1.bb +5 -0
index eb97748..9012615 100644
@@ -35,6 +35,11 @@ EXTRA_OECONF = "--disable-embedded-perl \
                 --with-defaults \
                 ${@base_conditional('SITEINFO_ENDIANNESS', 'le', '--with-endianness=little', '--with-endianness=big', d)}"
 
+CACHED_CONFIGUREVARS = " \
+    ac_cv_header_valgrind_valgrind_h=no \
+    ac_cv_header_valgrind_memcheck_h=no \
+"
+
 do_configure_prepend() {
     export PERLPROG="${bindir}/env perl"
 }
Signature · 1 line
2.0.0