2
// $Id: config.w32,v 1.1 2003/12/19 18:28:56 wez Exp $
4
ARG_ENABLE('apache2handler', 'Build Apache 2.x handler', 'no');
6
if (PHP_APACHE2HANDLER != "no") {
7
if (CHECK_HEADER_ADD_INCLUDE("httpd.h", "CFLAGS_APACHE2HANDLER", PHP_PHP_BUILD + "\\apache2\\include") &&
8
CHECK_LIB("libhttpd.lib", "apache2handler", PHP_PHP_BUILD + "\\apache2\\lib") &&
9
CHECK_LIB("libapr.lib", "apache2handler", PHP_PHP_BUILD + "\\apache2\\lib") &&
10
CHECK_LIB("libaprutil.lib", "apache2handler", PHP_PHP_BUILD + "\\apache2\\lib")
12
SAPI('apache2handler', 'mod_php5.c sapi_apache2.c apache_config.c php_functions.c',
13
'php' + PHP_VERSION + 'apache2.dll',
14
'/D PHP_APACHE2_EXPORTS /I win32');
16
WARNING("Could not find apache2 libraries/headers");