~ubuntu-branches/ubuntu/hardy/php5/hardy-updates

« back to all changes in this revision

Viewing changes to ext/oracle/config.w32

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-10-09 03:14:32 UTC
  • Revision ID: james.westby@ubuntu.com-20051009031432-kspik3lobxstafv9
Tags: upstream-5.0.5
ImportĀ upstreamĀ versionĀ 5.0.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// $Id: config.w32,v 1.2 2004/01/07 20:06:29 wez Exp $
 
2
// vim:ft=javascript
 
3
 
 
4
ARG_WITH("oracle", "ORACLE support", "no");
 
5
 
 
6
if (PHP_ORACLE != "no") {
 
7
 
 
8
        if (CHECK_HEADER_ADD_INCLUDE("winoci.h", "CFLAGS_ORACLE", PHP_PHP_BUILD + "\\oci7*\\include;" + PHP_ORACLE) &&
 
9
                        CHECK_LIB("ociw32.lib", "oracle", PHP_ORACLE, "oci7")) {
 
10
                EXTENSION('oracle', 'oracle.c');
 
11
 
 
12
                AC_DEFINE('HAVE_ORACLE', 1);
 
13
 
 
14
        } else {
 
15
                WARNING("oracle not enabled; libraries and headers not found");
 
16
        }
 
17
}
 
18