mirror of
https://github.com/php/php-src.git
synced 2025-01-26 13:44:22 +08:00
Better lib detection for ucd-snmp
This commit is contained in:
parent
751e5d15f9
commit
5c28619f51
@ -31,6 +31,10 @@ AC_ARG_WITH(snmp,
|
||||
test -f /usr/include/snmp/include/ucd-snmp/snmp.h && SNMP_INCDIR=/usr/include/snmp/include/ucd-snmp
|
||||
test -f /usr/lib/libsnmp.a && SNMP_LIBDIR=/usr/lib
|
||||
test -f /usr/lib/libsnmp.so && SNMP_LIBDIR=/usr/lib
|
||||
test -f /usr/local/lib/libsnmp.a && SNMP_LIBDIR=/usr/local/lib
|
||||
test -f /usr/local/lib/libsnmp.so && SNMP_LIBDIR=/usr/local/lib
|
||||
test -f /usr/local/snmp/lib/libsnmp.a && SNMP_LIBDIR=/usr/local/snmp/lib
|
||||
test -f /usr/local/snmp/lib/libsnmp.so && SNMP_LIBDIR=/usr/local/snmp/lib
|
||||
else
|
||||
SNMP_INCDIR=$withval/include
|
||||
test -d $withval/include/ucd-snmp && SNMP_INCDIR=$withval/include/ucd-snmp
|
||||
|
Loading…
Reference in New Issue
Block a user