--- embedaddon/php/sapi/cli/config.w32 2012/02/21 23:48:06 1.1.1.1 +++ embedaddon/php/sapi/cli/config.w32 2012/05/29 12:34:35 1.1.1.2 @@ -1,12 +1,13 @@ // vim:ft=javascript -// $Id: config.w32,v 1.1.1.1 2012/02/21 23:48:06 misho Exp $ +// $Id: config.w32,v 1.1.1.2 2012/05/29 12:34:35 misho Exp $ ARG_ENABLE('cli', 'Build CLI version of PHP', 'yes'); ARG_ENABLE('crt-debug', 'Enable CRT memory dumps for debugging sent to STDERR', 'no'); ARG_ENABLE('cli-win32', 'Build console-less CLI version of PHP', 'no'); if (PHP_CLI == "yes") { - SAPI('cli', 'php_cli.c php_cli_readline.c', 'php.exe'); + SAPI('cli', 'php_cli.c php_http_parser.c php_cli_server.c', 'php.exe'); + ADD_FLAG("LIBS_CLI", "ws2_32.lib"); if (PHP_CRT_DEBUG == "yes") { ADD_FLAG("CFLAGS_CLI", "/D PHP_WIN32_DEBUG_HEAP"); } @@ -14,7 +15,7 @@ if (PHP_CLI == "yes") { } if (PHP_CLI_WIN32 == "yes") { - SAPI('cli_win32', 'cli_win32.c php_cli_readline.c', 'php-win.exe'); + SAPI('cli_win32', 'cli_win32.c', 'php-win.exe'); ADD_FLAG("LDFLAGS_CLI_WIN32", "/stack:8388608"); }