xref: /PHP-5.3/ext/pdo_firebird/config.w32 (revision f6b3d222)
1// $Id$
2// vim:ft=javascript
3
4ARG_WITH("pdo-firebird", "Firebird support for PDO", "no");
5
6if (PHP_PDO_FIREBIRD != "no") {
7
8	if ((CHECK_LIB("fbclient_ms.lib", "pdo_firebird", PHP_PHP_BUILD + "\\interbase\\lib_ms;" + PHP_PDO_FIREBIRD)
9			|| CHECK_LIB("gds32_ms.lib", "pdo_firebird", PHP_PHP_BUILD + "\\interbase\\lib_ms;" + PHP_PDO_FIREBIRD)
10		) && CHECK_HEADER_ADD_INCLUDE("ibase.h", "CFLAGS_PDO_FIREBIRD",
11				PHP_PHP_BUILD + "\\include\\interbase;" + PHP_PHP_BUILD + "\\interbase\\include;" + PHP_PDO_FIREBIRD)
12		) {
13
14		EXTENSION("pdo_firebird", "pdo_firebird.c firebird_driver.c firebird_statement.c");
15	} else {
16		WARNING("pdo_firebird not enabled; libraries and headers not found");
17	}
18	ADD_EXTENSION_DEP('pdo_firebird', 'pdo');
19}
20