mirror of
https://github.com/php/php-src.git
synced 2024-12-04 23:34:25 +08:00
19 lines
581 B
JavaScript
19 lines
581 B
JavaScript
|
|
// $Id$
|
|
// vim:ft=javascript
|
|
|
|
ARG_WITH("sybase-ct", "SYBASE_CT support", "no");
|
|
|
|
if (PHP_SYBASE_CT != "no") {
|
|
|
|
if (CHECK_HEADER_ADD_INCLUDE("ctpublic.h", "CFLAGS_SYBASE_CT", PHP_PHP_BUILD + "\\sybase\\include;" + PHP_SYBASE_CT) &&
|
|
CHECK_LIB("libcs.lib", "sybase_ct", PHP_PHP_BUILD + "\\sybase\\lib;" + PHP_SYBASE_CT) &&
|
|
CHECK_LIB("libct.lib", "sybase_ct", PHP_PHP_BUILD + "\\sybase\\lib;" + PHP_SYBASE_CT)) {
|
|
EXTENSION('sybase_ct', 'php_sybase_ct.c');
|
|
AC_DEFINE('HAVE_SYBASE_CT', 1);
|
|
} else {
|
|
WARNING("sybase_ct not enabled; libraries and headers not found");
|
|
}
|
|
}
|
|
|