diff options
author | Antony Dovgal <tony2001@php.net> | 2003-12-16 15:58:10 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2003-12-16 15:58:10 +0000 |
commit | c002553d7c42863238449b05f5d9a187ffa021a0 (patch) | |
tree | 2d434bd798f13720fc89850010b52a994993d36c /ext/oci8/config.m4 | |
parent | c0e519e6ead5bd535d50d8be6930fab84af863dd (diff) | |
download | php-git-c002553d7c42863238449b05f5d9a187ffa021a0.tar.gz |
fix bug #26133 (thanks to Harald)
rename constant and add library check to config.m4
add info lines to see if Collection & Temp Lob support enabled or not
add OCI_THREADED to use thread safe OCI mode with ZTS (should fix bug #26558)
Diffstat (limited to 'ext/oci8/config.m4')
-rw-r--r-- | ext/oci8/config.m4 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ext/oci8/config.m4 b/ext/oci8/config.m4 index 69fe4466b2..d153f18b3e 100644 --- a/ext/oci8/config.m4 +++ b/ext/oci8/config.m4 @@ -138,10 +138,22 @@ if test "$PHP_OCI8" != "no"; then -L$OCI8_DIR/lib $OCI8_SHARED_LIBADD ]) + dnl + dnl Check if we have collections + dnl + PHP_CHECK_LIBRARY(clntsh, OCICollAssign, + [ + AC_DEFINE(HAVE_OCI8_COLLECTIONS,1,[ ]) + ], [], [ + -L$OCI8_DIR/lib $OCI8_SHARED_LIBADD + ]) + + PHP_NEW_EXTENSION(oci8, oci8.c, $ext_shared) AC_DEFINE(HAVE_OCI8,1,[ ]) PHP_SUBST_OLD(OCI8_SHARED_LIBADD) PHP_SUBST_OLD(OCI8_DIR) PHP_SUBST_OLD(OCI8_VERSION) + fi |