From 5c28619f51017b3d7431fd386d2a5879022d3b25 Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Tue, 9 Nov 1999 16:01:31 +0000 Subject: [PATCH] Better lib detection for ucd-snmp --- ext/snmp/config.m4 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ext/snmp/config.m4 b/ext/snmp/config.m4 index eab2975974..bcfdee7cb7 100644 --- a/ext/snmp/config.m4 +++ b/ext/snmp/config.m4 @@ -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 -- 2.40.0