Annotation of embedaddon/php/sapi/apache/config.w32, revision 1.1.1.1
1.1 misho 1: // vim:ft=javascript
2: // $Id: config.w32 257603 2008-04-15 16:55:53Z auroraeosrose $
3:
4: ARG_ENABLE('apache', 'Build Apache 1.3.x version of PHP', 'no');
5:
6: ARG_WITH('apache-includes', 'Where to find Apache 1.3 headers', null);
7: ARG_WITH('apache-libs', 'Where to find Apache 1.3 libraries', null);
8:
9: if (PHP_APACHE != "no") {
10: if (CHECK_HEADER_ADD_INCLUDE("httpd.h", "CFLAGS_APACHE", php_usual_include_suspects +
11: ";" + PROGRAM_FILES + "\\Apache Group\\Apache\\include" +
12: ";" + PHP_PHP_BUILD + "\\apache\\src\\include") &&
13: CHECK_LIB("ApacheCore.lib", "apache", php_usual_lib_suspects +
14: ';' + PROGRAM_FILES + '\\Apache Group\\Apache\\libexec' +
15: ";" + PHP_PHP_BUILD + "\\apache\\src\\corer")) {
16: // We need to play tricks to get our readdir.h used by apache
17: // headers
18: SAPI('apache', 'mod_php5.c sapi_apache.c php_apache.c',
19: 'php' + PHP_VERSION + 'apache.dll',
20: '/D APACHEPHP5_EXPORTS /D APACHE_READDIR_H /I win32');
21: } else {
22: WARNING("Could not find apache libraries/headers");
23: }
24: }
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>