2003-12-19 15:04:31 +00:00
|
|
|
// $Id$
|
|
|
|
// vim:ft=javascript
|
|
|
|
|
|
|
|
ARG_WITH("interbase", "InterBase support", "no");
|
|
|
|
|
2004-05-12 14:29:42 +00:00
|
|
|
if (PHP_INTERBASE != "no") {
|
2003-12-19 15:04:31 +00:00
|
|
|
|
|
|
|
if (CHECK_HEADER_ADD_INCLUDE("ibase.h", "CFLAGS_INTERBASE", PHP_PHP_BUILD + "\\interbase\\include;" + PHP_INTERBASE) &&
|
2004-01-25 12:03:24 +00:00
|
|
|
(CHECK_LIB("fbclient_ms.lib", "interbase", PHP_PHP_BUILD + "\\interbase\\lib_ms;" + PHP_INTERBASE) ||
|
|
|
|
CHECK_LIB("gds32_ms.lib", "interbase", PHP_PHP_BUILD + "\\interbase\\lib_ms;" + PHP_INTERBASE))) {
|
2004-05-12 14:29:42 +00:00
|
|
|
|
2004-04-05 13:22:34 +00:00
|
|
|
EXTENSION("interbase", "interbase.c ibase_query.c ibase_service.c ibase_events.c ibase_blobs.c");
|
2003-12-19 15:04:31 +00:00
|
|
|
AC_DEFINE('HAVE_IBASE', 1, 'Have interbase library');
|
|
|
|
} else {
|
|
|
|
WARNING("interbase not enabled; libraries and headers not found");
|
|
|
|
}
|
|
|
|
}
|