From: Antony Dovgal Date: Fri, 25 Feb 2005 11:31:10 +0000 (+0000) Subject: fix bug preventing from building oci8 as shared module X-Git-Tag: RELEASE_0_3~191 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4707b43193a2d7a428adda50cd8db116b97e0cfc;p=php fix bug preventing from building oci8 as shared module (patch by stanislav dot voroniy at portavita dot nl) --- 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