diff options
author | Antony Dovgal <tony2001@php.net> | 2006-04-05 14:06:00 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2006-04-05 14:06:00 +0000 |
commit | 569ce842f16f7b064f51146be616fad349d0a7a3 (patch) | |
tree | b73714307917c2980a9075ffed560ff2fd3c0b74 /ext/oci8/config.m4 | |
parent | c0592d17e9542e2cea0088c133a58cc11d4edf08 (diff) | |
download | php-git-569ce842f16f7b064f51146be616fad349d0a7a3.tar.gz |
fix #36934 (OCILob->read() doesn't move internal pointer when reading 0's)
Diffstat (limited to 'ext/oci8/config.m4')
-rw-r--r-- | ext/oci8/config.m4 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/oci8/config.m4 b/ext/oci8/config.m4 index 52d3a871de..00af24fd58 100644 --- a/ext/oci8/config.m4 +++ b/ext/oci8/config.m4 @@ -232,6 +232,13 @@ if test "$PHP_OCI8" != "no" && test "$PHP_OCI8_INSTANT_CLIENT" = "no"; then ], [], [ -L$OCI8_DIR/$OCI8_LIB_DIR $OCI8_SHARED_LIBADD ]) + + PHP_CHECK_LIBRARY(clntsh, OCILobRead2, + [ + AC_DEFINE(HAVE_OCI_LOB_READ2,1,[ ]) + ], [], [ + -L$OCI8_DIR/$OCI8_LIB_DIR $OCI8_SHARED_LIBADD + ]) ;; @@ -242,6 +249,7 @@ if test "$PHP_OCI8" != "no" && test "$PHP_OCI8_INSTANT_CLIENT" = "no"; then AC_DEFINE(HAVE_OCI_ENV_NLS_CREATE,1,[ ]) AC_DEFINE(HAVE_OCI_ENV_CREATE,1,[ ]) AC_DEFINE(HAVE_OCI_STMT_PREPARE2,1,[ ]) + AC_DEFINE(HAVE_OCI_LOB_READ2,1,[ ]) AC_DEFINE(HAVE_OCI8_TEMP_LOB,1,[ ]) AC_DEFINE(PHP_OCI8_HAVE_COLLECTIONS,1,[ ]) ;; @@ -354,6 +362,7 @@ dnl Header directory for manual installation AC_DEFINE(HAVE_OCI_ENV_NLS_CREATE,1,[ ]) AC_DEFINE(HAVE_OCI_ENV_CREATE,1,[ ]) AC_DEFINE(HAVE_OCI_STMT_PREPARE2,1,[ ]) + AC_DEFINE(HAVE_OCI_LOB_READ2,1,[ ]) AC_DEFINE(HAVE_OCI8_TEMP_LOB,1,[ ]) AC_DEFINE(PHP_OCI8_HAVE_COLLECTIONS,1,[ ]) |