The 'snmp' extension module uses net-snmp as library, but fails
to detect whether the library uses openssl when cross-compiling.
Pass the according autoconf variables as hint - net-snmp is not
using openssl at the moment as defined in the Makefile.
Signed-off-by: Michael Heimpold <[email protected]>
ifneq ($(SDK)$(CONFIG_PACKAGE_php8-mod-snmp),)
CONFIGURE_ARGS+= --with-snmp=shared,"$(STAGING_DIR)/usr"
+ CONFIGURE_VARS+= \
+ ac_cv_have_decl_usmHMAC192SHA256AuthProtocol=no \
+ ac_cv_have_decl_usmHMAC384SHA512AuthProtocol=no
else
CONFIGURE_ARGS+= --without-snmp
endif