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