[PHP4BETA] CVS update: php4/ext/snmp
| From: | rasmus | Date: | Fri, 23 Apr 1999 03:28:47 +0000 |
| Subject: | [PHP4BETA] CVS update: php4/ext/snmp | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-371@lists.php.net to get a copy of this message | ||
Date: Thursday April 22, 1999 @ 23:28
Author: rasmus
Update of /repository/php4/ext/snmp
In directory php:/tmp/cvs-serv744/ext/snmp
Modified Files:
config.m4
Log Message:
Module work
Index: php4/ext/snmp/config.m4
diff -c php4/ext/snmp/config.m4:1.1 php4/ext/snmp/config.m4:1.2
*** php4/ext/snmp/config.m4:1.1 Wed Apr 21 22:48:25 1999
--- php4/ext/snmp/config.m4 Thu Apr 22 23:28:47 1999
***************
*** 1,15 ****
! dnl $Id: config.m4,v 1.1 1999/04/22 02:48:25 ssb Exp $
AC_MSG_CHECKING(for SNMP support)
AC_ARG_WITH(snmp,
[ --with-snmp[=DIR] Include SNMP support. DIR is the SNMP base
! install directory, defaults to /usr/local],
[
if test "$withval" != "no"; then
if test "$withval" = "yes"; then
SNMP_INCDIR=/usr/local/include
- test -d /usr/local/include/ucd-snmp && SNMP_INCDIR=/usr/local/include/ucd-snmp
SNMP_LIBDIR=/usr/local/lib
else
SNMP_INCDIR=$withval/include
test -d $withval/include/ucd-snmp && SNMP_INCDIR=$withval/include/ucd-snmp
--- 1,18 ----
! dnl $Id: config.m4,v 1.2 1999/04/23 03:28:47 rasmus Exp $
AC_MSG_CHECKING(for SNMP support)
AC_ARG_WITH(snmp,
[ --with-snmp[=DIR] Include SNMP support. DIR is the SNMP base
! install directory, defaults to searching through
! a number of common locations for the snmp install.],
[
if test "$withval" != "no"; then
if test "$withval" = "yes"; then
SNMP_INCDIR=/usr/local/include
SNMP_LIBDIR=/usr/local/lib
+ test -d /usr/local/include/ucd-snmp && SNMP_INCDIR=/usr/local/include/ucd-snmp
+ test -d /usr/include/ucd-snmp && SNMP_INCDIR=/usr/include/ucd-snmp
+ test -f /usr/lib/libsnmp.a && SNMP_LIBDIR=/usr/lib
else
SNMP_INCDIR=$withval/include
test -d $withval/include/ucd-snmp && SNMP_INCDIR=$withval/include/ucd-snmp
--
PHP 4 Beta