tony2001 Fri Jul 13 09:23:46 2007 UTC
Modified files:
/php-src/ext/oci8 config.m4
Log:
don't allow $PHP_OCI8 to be empty when OCI8 is enabled
http://cvs.php.net/viewvc.cgi/php-src/ext/oci8/config.m4?r1=1.67&r2=1.68&diff_format=u
Index: php-src/ext/oci8/config.m4
diff -u php-src/ext/oci8/config.m4:1.67 php-src/ext/oci8/config.m4:1.68
--- php-src/ext/oci8/config.m4:1.67 Wed Jul 11 22:15:44 2007
+++ php-src/ext/oci8/config.m4 Fri Jul 13 09:23:46 2007
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.67 2007/07/11 22:15:44 tony2001 Exp $
+dnl $Id: config.m4,v 1.68 2007/07/13 09:23:46 tony2001 Exp $
dnl
if test -z "$SED"; then
@@ -138,12 +138,18 @@
if test "$PHP_OCI8_INSTANT_CLIENT" = ""; then
PHP_OCI8_INSTANT_CLIENT="yes"
fi
+ if test -z "$PHP_OCI8"; then
+ PHP_OCI8=yes
+ fi
elif test "`echo $PHP_OCI8 | cut -d, -f1`" = "instantclient"; then
PHP_OCI8_INSTANT_CLIENT="`echo $PHP_OCI8 | cut -d, -f2`"
PHP_OCI8="`echo $PHP_OCI8 | cut -d, -f3,4`"
if test "$PHP_OCI8_INSTANT_CLIENT" = ""; then
PHP_OCI8_INSTANT_CLIENT="yes"
fi
+ if test -z "$PHP_OCI8"; then
+ PHP_OCI8=yes
+ fi
fi
if test "$PHP_OCI8" != "no" && test "$PHP_OCI8_INSTANT_CLIENT" = "no"; then
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php