~ubuntu-branches/ubuntu/quantal/php5/quantal

« back to all changes in this revision

Viewing changes to sapi/nsapi/config.w32

  • Committer: Bazaar Package Importer
  • Author(s): Sean Finney
  • Date: 2009-07-01 09:12:10 UTC
  • mto: (0.9.1) (1.1.17 upstream)
  • mto: This revision was merged to the branch mainline in revision 58.
  • Revision ID: james.westby@ubuntu.com-20090701091210-go0h6506p62on17r
Tags: upstream-5.3.0
ImportĀ upstreamĀ versionĀ 5.3.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// vim:ft=javascript
 
2
// $Id: config.w32,v 1.4.8.1 2009/03/20 18:49:37 pajoye Exp $
 
3
 
 
4
ARG_ENABLE('nsapi', 'Build NSAPI for Netscape/iPlanet/SunONE webservers', 'no');
 
5
 
 
6
ARG_WITH('nsapi-includes', 'Where to find NSAPI headers', null);
 
7
ARG_WITH('nsapi-libs', 'Where to find NSAPI libraries', null);
 
8
 
 
9
if (PHP_NSAPI != "no") {
 
10
        if (PHP_ZTS == "no") {
 
11
                WARNING("NSAPI module requires an --enable-zts build of PHP");
 
12
                PHP_NSAPI = "no"
 
13
        } else if (CHECK_HEADER_ADD_INCLUDE("nsapi.h", "CFLAGS_NSAPI",
 
14
                        PHP_NSAPI + ';' + PHP_NSAPI_INCLUDES) &&
 
15
                        CHECK_LIB("ns-httpd*.lib", "nsapi", PHP_NSAPI + ";" + PHP_NSAPI_LIBS)) {
 
16
                SAPI('nsapi', 'nsapi.c', 'php' + PHP_VERSION + 'nsapi.dll', '/D XP_WIN32 ');
 
17
        } else {
 
18
                WARNING("Could not find NSAPI headers/libraries");
 
19
        }
 
20
}