diff options
| author | Wez Furlong <wez@php.net> | 2004-01-07 20:06:32 +0000 |
|---|---|---|
| committer | Wez Furlong <wez@php.net> | 2004-01-07 20:06:32 +0000 |
| commit | 48b96c10d2c9efbe4ff11876c6cd9f9361073bc3 (patch) | |
| tree | f71638754ba0c720f15651f9d797c308f1a623c3 /ext/oracle | |
| parent | 6e65e1d82106b9aca0a2dcf498df54ffccae7168 (diff) | |
| download | php-git-48b96c10d2c9efbe4ff11876c6cd9f9361073bc3.tar.gz | |
glob-ify lib checks; this simplifies writing of config.w32 files a little.
Diffstat (limited to 'ext/oracle')
| -rw-r--r-- | ext/oracle/config.w32 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/oracle/config.w32 b/ext/oracle/config.w32 index fe495ff2e4..05ccd5493d 100644 --- a/ext/oracle/config.w32 +++ b/ext/oracle/config.w32 @@ -5,8 +5,8 @@ ARG_WITH("oracle", "ORACLE support", "no"); if (PHP_ORACLE != "no") { - if (CHECK_HEADER_ADD_INCLUDE("winoci.h", "CFLAGS_ORACLE", PHP_PHP_BUILD + "\\oci73\\include;" + PHP_ORACLE) && - CHECK_LIB("ociw32.lib", "oracle", PHP_PHP_BUILD + "\\oci73\\lib;" + PHP_ORACLE)) { + if (CHECK_HEADER_ADD_INCLUDE("winoci.h", "CFLAGS_ORACLE", PHP_PHP_BUILD + "\\oci7*\\include;" + PHP_ORACLE) && + CHECK_LIB("ociw32.lib", "oracle", PHP_ORACLE, "oci7")) { EXTENSION('oracle', 'oracle.c'); AC_DEFINE('HAVE_ORACLE', 1); |
