diff options
author | Rasmus Lerdorf <rasmus@php.net> | 1999-04-23 03:28:47 +0000 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 1999-04-23 03:28:47 +0000 |
commit | cad2318a549dff68a7c4d36b5b6b8924f57e6547 (patch) | |
tree | 8005d6ec7d40391acdba7b031d9a0361cc6a2e05 /ext/snmp | |
parent | 551fe7780b570701e93d4680f677801f39e41b49 (diff) | |
download | php-git-cad2318a549dff68a7c4d36b5b6b8924f57e6547.tar.gz |
Module work
Diffstat (limited to 'ext/snmp')
-rw-r--r-- | ext/snmp/config.m4 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ext/snmp/config.m4 b/ext/snmp/config.m4 index 928dad4187..e7a5fab7f5 100644 --- a/ext/snmp/config.m4 +++ b/ext/snmp/config.m4 @@ -3,13 +3,16 @@ dnl $Id$ 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], + 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 - test -d /usr/local/include/ucd-snmp && SNMP_INCDIR=/usr/local/include/ucd-snmp 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 |