summaryrefslogtreecommitdiff
path: root/ext/snmp/config.m4
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2005-12-22 11:02:51 +0000
committerAntony Dovgal <tony2001@php.net>2005-12-22 11:02:51 +0000
commitddf87742ecd791c678203db368bc0d01d8a9ee9d (patch)
tree9837ea91457b34e87434eac42a289336aafc7d7d /ext/snmp/config.m4
parent69200c9baf9d4c675356fa81b668b334566c6803 (diff)
downloadphp-git-ddf87742ecd791c678203db368bc0d01d8a9ee9d.tar.gz
change -o to || to be more portable
Diffstat (limited to 'ext/snmp/config.m4')
-rw-r--r--ext/snmp/config.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/snmp/config.m4 b/ext/snmp/config.m4
index 0797fa60c8..1fc718024f 100644
--- a/ext/snmp/config.m4
+++ b/ext/snmp/config.m4
@@ -46,7 +46,7 @@ if test "$PHP_SNMP" != "no"; then
test -f $i/snmp/include/ucd-snmp/snmp.h && SNMP_INCDIR=$i/snmp/include/ucd-snmp
done
for i in /usr /usr/snmp /usr/local /usr/local/snmp; do
- test -f $i/lib/libsnmp.a -o -f $i/lib/libsnmp.$SHLIB_SUFFIX_NAME && SNMP_LIBDIR=$i/lib
+ test -f $i/lib/libsnmp.a || test -f $i/lib/libsnmp.$SHLIB_SUFFIX_NAME && SNMP_LIBDIR=$i/lib
done
else
SNMP_INCDIR=$PHP_SNMP/include