Support for new Win32 build bliss.

This commit is contained in:
Sebastian Bergmann 2003-12-05 06:09:29 +00:00
parent 1982ae6246
commit dea716a4e1

14
ext/mysql/config.w32 Normal file
View File

@ -0,0 +1,14 @@
// $Id$
// vim:ft=javascript
ARG_WITH("mysql", "MySQL support", "no");
if (PHP_MYSQL != "no") {
if (CHECK_LIB("libmysql.lib", "mysql", PHP_MYSQL) &&
CHECK_HEADER_ADD_INCLUDE("mysql.h", "CFLAGS_MYSQL", PHP_PHP_BUILD + "\\include\\mysql;" + PHP_MYSQL)) {
EXTENSION("mysql", "php_mysql.c");
AC_DEFINE('HAVE_MYSQL', 1, 'Have MySQL library');
} else {
WARNING("mysql not enabled; libraries and headers not found");
}
}