mirror of
https://github.com/php/php-src.git
synced 2024-12-23 00:40:33 +08:00
16 lines
458 B
JavaScript
16 lines
458 B
JavaScript
// $Id$
|
|
// vim:ft=javascript
|
|
|
|
ARG_WITH("mssql", "mssql support", "no");
|
|
|
|
if (PHP_MSSQL == "yes") {
|
|
if (CHECK_LIB("ntwdblib.lib", "mssql", "\\MSSQL7\\DevTools\\Lib") &&
|
|
CHECK_HEADER_ADD_INCLUDE("sqlfront.h", "CFLAGS_MSSQL")) {
|
|
EXTENSION("mssql", "php_mssql.c");
|
|
ADD_FLAG("CFLAGS_MSSQL", "/D DBNTWIN32=1 /D MSSQL70=1");
|
|
AC_DEFINE('HAVE_MSSQL', 1, 'Have MSSQL support');
|
|
} else {
|
|
WARNING("mssql not enabled; libraries and headers not found");
|
|
}
|
|
}
|