From 4707b43193a2d7a428adda50cd8db116b97e0cfc Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Fri, 25 Feb 2005 11:31:10 +0000 Subject: [PATCH] fix bug preventing from building oci8 as shared module (patch by stanislav dot voroniy at portavita dot nl) --- ext/oci8/config.m4 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ext/oci8/config.m4 b/ext/oci8/config.m4 index fe37fe71f2..4c0de1cfa5 100644 --- a/ext/oci8/config.m4 +++ b/ext/oci8/config.m4 @@ -80,13 +80,17 @@ PHP_ARG_WITH(oci8, for Oracle (OCI8) support using ORACLE_HOME installation, [ --with-oci8[=DIR] Include Oracle (OCI8) support using an ORACLE_HOME install. The default DIR is ORACLE_HOME]) -PHP_ARG_WITH(oci8-instant-client, for Oracle (OCI8) support using Oracle Instant Client, -[ --with-oci8-instant-client[=DIR] +if test "$PHP_OCI8" = "no"; then + PHP_ARG_WITH(oci8-instant-client, for Oracle (OCI8) support using Oracle Instant Client, + [ --with-oci8-instant-client[=DIR] Include Oracle (OCI8) support using Oracle Instant Client. DIR is the directory with the Instant Client libraries. On Linux it will default to /usr/lib/oracle//client/lib Other platforms will need to have it explicitly specified.]) +else + PHP_OCI8_INSTANT_CLIENT="no"; +fi if test "$PHP_OCI8" != "no"; then if test "$PHP_OCI8_INSTANT_CLIENT" != "no"; then -- 2.50.1