xref: /PHP-5.4/ext/sybase_ct/config.w32 (revision 51c342ef)
1
2// $Id$
3// vim:ft=javascript
4
5ARG_WITH("sybase-ct", "SYBASE_CT support", "no");
6
7if (PHP_SYBASE_CT != "no") {
8
9	if (CHECK_HEADER_ADD_INCLUDE("ctpublic.h", "CFLAGS_SYBASE_CT", PHP_PHP_BUILD + "\\sybase\\include;" + PHP_SYBASE_CT) &&
10			CHECK_LIB("libcs.lib", "sybase_ct", PHP_PHP_BUILD + "\\sybase\\lib;" + PHP_SYBASE_CT) &&
11			CHECK_LIB("libct.lib", "sybase_ct", PHP_PHP_BUILD + "\\sybase\\lib;" + PHP_SYBASE_CT)) {
12		EXTENSION('sybase_ct', 'php_sybase_ct.c');
13		AC_DEFINE('HAVE_SYBASE_CT', 1);
14	} else {
15		WARNING("sybase_ct not enabled; libraries and headers not found");
16	}
17}
18
19