Annotation of embedaddon/php/sapi/nsapi/config.w32, revision 1.1
1.1 ! misho 1: // vim:ft=javascript
! 2: // $Id: config.w32 277527 2009-03-20 18:49:37Z pajoye $
! 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: }
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>