[php-src] PR #15261: Autotools: Add pkg-config support for NET-SNMP library

From: Date: Tue, 06 Aug 2024 21:10:13 +0000
Subject: [php-src] PR #15261: Autotools: Add pkg-config support for NET-SNMP library
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-27711@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/15261 Author: petk This is alternative and a BC compatible implementation to GH-15002 (NET-SNMP pkg-config support). NET-SNMP has pkg-config support since 5.8.1 This optionally finds the NET-SNMP library using pkg-config or falls back to find library on the system with net-snmp-config. The configure option argument (--with-snmp=DIR) works like before (path to the net-snmp-config). When explicitly using the DIR argument, the pkg-config check is silently skipped. When not using DIR argument, the SNMP_CFLAGS and SNMP_LIBS can be also used to find the NET-SNMP library: ./configure --with-snmp \ SNMP_CFLAGS=-I/path/to/net-snmp/include \ SNMP_LIBS="-L/path/to/net-snmp -lnetsnmp"

« previous php.git-pulls (#27711) next »