~ubuntu-branches/ubuntu/hardy/php5/hardy-updates

« back to all changes in this revision

Viewing changes to sapi/apache2handler/config.w32

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-10-09 03:14:32 UTC
  • Revision ID: james.westby@ubuntu.com-20051009031432-kspik3lobxstafv9
Tags: upstream-5.0.5
ImportĀ upstreamĀ versionĀ 5.0.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// vim:ft=javascript
 
2
// $Id: config.w32,v 1.1 2003/12/19 18:28:56 wez Exp $
 
3
 
 
4
ARG_ENABLE('apache2handler', 'Build Apache 2.x handler', 'no');
 
5
 
 
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")
 
11
                        ) {
 
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');
 
15
        } else {
 
16
                WARNING("Could not find apache2 libraries/headers");
 
17
        }
 
18
}