summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-11-21 19:06:04 +0000
committerfoobar <sniper@php.net>2005-11-21 19:06:04 +0000
commite47c21e0bc5e9400efeb4d67033160b9ac320852 (patch)
tree07816d52e4e8b220805f4f16ed490afafd2ac2c5 /ext
parent2bb4d8282c9c9c508435399c3af17db8044345ae (diff)
downloadphp-git-e47c21e0bc5e9400efeb4d67033160b9ac320852.tar.gz
test -e does not work with solaris
Diffstat (limited to 'ext')
-rw-r--r--ext/ldap/config.m42
-rw-r--r--ext/odbc/config.m44
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/ldap/config.m4 b/ext/ldap/config.m4
index b725a48649..401829fcf4 100644
--- a/ext/ldap/config.m4
+++ b/ext/ldap/config.m4
@@ -99,7 +99,7 @@ if test "$PHP_LDAP" != "no"; then
PHP_ADD_LIBRARY_WITH_PATH(lber, $LDAP_LIBDIR, LDAP_SHARED_LIBADD)
PHP_ADD_LIBRARY_WITH_PATH(ldap, $LDAP_LIBDIR, LDAP_SHARED_LIBADD)
- elif test -e $LDAP_LIBDIR/libldap.$SHLIB_SUFFIX_NAME || test -f $LDAP_LIBDIR/libldap.$SHLIB_SUFFIX_NAME.3 || test -f $LDAP_LIBDIR/libldap.3.dylib; then
+ elif test -f $LDAP_LIBDIR/libldap.$SHLIB_SUFFIX_NAME || test -f $LDAP_LIBDIR/libldap.$SHLIB_SUFFIX_NAME.3 || test -f $LDAP_LIBDIR/libldap.3.dylib; then
PHP_ADD_LIBRARY_WITH_PATH(ldap, $LDAP_LIBDIR, LDAP_SHARED_LIBADD)
elif test -f $LDAP_LIBDIR/libssldap50.$SHLIB_SUFFIX_NAME; then
diff --git a/ext/odbc/config.m4 b/ext/odbc/config.m4
index ef04a94b88..eb8e051004 100644
--- a/ext/odbc/config.m4
+++ b/ext/odbc/config.m4
@@ -375,9 +375,9 @@ AC_ARG_WITH(birdstep,
ODBC_LFLAGS=-L$ODBC_LIBDIR
ODBC_LIBS="-lCadm -lCdict -lCenc -lCrdm -lCrpc -lCrdbc -lCrm -lCuapi -lutil"
- if test -e "$ODBC_LIBDIR/libCrdbc32.$SHLIB_SUFFIX_NAME"; then
+ if test -f "$ODBC_LIBDIR/libCrdbc32.$SHLIB_SUFFIX_NAME"; then
ODBC_LIBS="-lCrdbc32 -lCadm32 -lCncp32 -lCrm32 -lCsql32 -lCdict32 -lCrdm32 -lCrpc32 -lutil"
- elif test -e "$ODBC_LIBDIR/libCrdbc.$SHLIB_SUFFIX_NAME"; then
+ elif test -f "$ODBC_LIBDIR/libCrdbc.$SHLIB_SUFFIX_NAME"; then
ODBC_LIBS="-lCrdbc -lCadm -lCncp -lCrm -lCsql -lCdict -lCrdm -lCrpc -lutil"
fi