From 22458ed4d5d34952d473c4c677c987fe253f22bd Mon Sep 17 00:00:00 2001 From: Christopher Jones Date: Fri, 25 Jun 2010 21:18:09 +0000 Subject: [PATCH] Remove hard coded lib extension. Prepare for OCI8 1.4.2 release --- ext/oci8/config.m4 | 2 +- ext/oci8/package.xml | 32 ++++++-------------------------- ext/oci8/php_oci8.h | 2 +- 3 files changed, 8 insertions(+), 28 deletions(-) diff --git a/ext/oci8/config.m4 b/ext/oci8/config.m4 index 79ff000b99b41..70e9cffd56593 100644 --- a/ext/oci8/config.m4 +++ b/ext/oci8/config.m4 @@ -37,7 +37,7 @@ AC_DEFUN([AC_OCI8_CHECK_LIB_DIR],[ OCI8_LIB_DIR=$PHP_OCI8_OH_LIBDIR else dnl This isn't an ORACLE_HOME. Try heuristic examination of the dir to help the user - if test -f "$OCI8_DIR/libociei.so"; then + if test -f "$OCI8_DIR/libociei.$SHLIB_SUFFIX_NAME"; then AC_MSG_ERROR([Expected an ORACLE_HOME top level directory but ${OCI8_DIR} appears to be an Instant Client directory. Try --with-oci8=instantclient,${OCI8_DIR}]) else AC_MSG_ERROR([Oracle library directory not found in ${OCI8_DIR}]) diff --git a/ext/oci8/package.xml b/ext/oci8/package.xml index c9b5625fbb76c..8e0f36d8173fc 100644 --- a/ext/oci8/package.xml +++ b/ext/oci8/package.xml @@ -33,7 +33,7 @@ http://pear.php.net/dtd/package-2.0.xsd"> no - 2010-03-30 + 2010-06-25 @@ -41,14 +41,15 @@ http://pear.php.net/dtd/package-2.0.xsd"> 1.4.2 - devel - devel + stable + stable PHP - Fixed Bug #51691 (Unnecessary realloc causes crashes in PHP trunk tests with interned strings) + Fixed bug #51691 (Unnecessary realloc causes crashes in PHP trunk tests with interned strings) Fixed bug #51291 (oci_error doesn't report last error when called two times) - Fixed Bug #51577 (Uninitialized memory reference with oci_bind_array_by_name) + Fixed bug #51577 (Uninitialized memory reference with oci_bind_array_by_name) + Fixed bug #52186 (phpinfo() shows 10.1 or 11.1 when installed with ORACLE_HOME 10.2 or 11.2) @@ -89,19 +90,8 @@ http://pear.php.net/dtd/package-2.0.xsd"> - - - - - - - - - - - @@ -204,22 +194,17 @@ http://pear.php.net/dtd/package-2.0.xsd"> - - - - - @@ -241,7 +226,6 @@ http://pear.php.net/dtd/package-2.0.xsd"> - @@ -256,7 +240,6 @@ http://pear.php.net/dtd/package-2.0.xsd"> - @@ -267,15 +250,12 @@ http://pear.php.net/dtd/package-2.0.xsd"> - - - diff --git a/ext/oci8/php_oci8.h b/ext/oci8/php_oci8.h index a2aac090d1549..a79702efd336e 100644 --- a/ext/oci8/php_oci8.h +++ b/ext/oci8/php_oci8.h @@ -46,7 +46,7 @@ */ #undef PHP_OCI8_VERSION #endif -#define PHP_OCI8_VERSION "1.4.2-development" +#define PHP_OCI8_VERSION "1.4.2" extern zend_module_entry oci8_module_entry; #define phpext_oci8_ptr &oci8_module_entry