2004-06-11 09:37:06 +08:00
|
|
|
// $Id$
|
|
|
|
// vim:ft=javascript
|
|
|
|
|
|
|
|
ARG_WITH("pdo-firebird", "Firebird support for PDO", "no");
|
|
|
|
|
|
|
|
if (PHP_PDO_FIREBIRD != "no") {
|
2004-06-12 11:09:48 +08:00
|
|
|
|
2004-06-12 22:59:45 +08:00
|
|
|
if ((CHECK_LIB("fbclient_ms.lib", "pdo_firebird", PHP_PHP_BUILD + "\\interbase\\lib_ms;" + PHP_PDO_FIREBIRD)
|
|
|
|
|| CHECK_LIB("gds32_ms.lib", "pdo_firebird", PHP_PHP_BUILD + "\\interbase\\lib_ms;" + PHP_PDO_FIREBIRD)
|
2004-06-13 02:42:13 +08:00
|
|
|
) && CHECK_HEADER_ADD_INCLUDE("ibase.h", "CFLAGS_PDO_FIREBIRD", PHP_PHP_BUILD + "\\interbase\\include;" + PHP_PDO_FIREBIRD)) {
|
2004-06-12 22:59:45 +08:00
|
|
|
|
2004-06-11 09:37:06 +08:00
|
|
|
EXTENSION("pdo_firebird", "pdo_firebird.c firebird_driver.c firebird_statement.c");
|
|
|
|
} else {
|
|
|
|
WARNING("pdo_firebird not enabled; libraries and headers not found");
|
|
|
|
}
|
|
|
|
ADD_EXTENSION_DEP('pdo_firebird', 'pdo');
|
|
|
|
}
|