xref: /PHP-5.3/ext/interbase/config.w32 (revision f6b3d222)
1// $Id$
2// vim:ft=javascript
3
4ARG_WITH("interbase", "InterBase support", "no");
5
6if (PHP_INTERBASE != "no") {
7
8	if (CHECK_HEADER_ADD_INCLUDE("ibase.h", "CFLAGS_INTERBASE",
9				PHP_PHP_BUILD + "\\include\\interbase;" + PHP_PHP_BUILD + "\\interbase\\include;" + PHP_INTERBASE) &&
10			(CHECK_LIB("fbclient_ms.lib", "interbase", PHP_PHP_BUILD + "\\interbase\\lib_ms;" + PHP_INTERBASE) ||
11			 CHECK_LIB("gds32_ms.lib", "interbase", PHP_PHP_BUILD + "\\interbase\\lib_ms;" + PHP_INTERBASE))) {
12
13		EXTENSION("interbase", "interbase.c ibase_query.c ibase_service.c ibase_events.c ibase_blobs.c");
14		AC_DEFINE('HAVE_IBASE', 1, 'Have interbase library');
15	} else {
16		WARNING("interbase not enabled; libraries and headers not found");
17	}
18}
19