diff options
Diffstat (limited to 'sapi/isapi/config.w32')
-rw-r--r-- | sapi/isapi/config.w32 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sapi/isapi/config.w32 b/sapi/isapi/config.w32 new file mode 100644 index 0000000..8012352 --- /dev/null +++ b/sapi/isapi/config.w32 @@ -0,0 +1,13 @@ +// vim:ft=javascript +// $Id$ + +ARG_ENABLE('isapi', 'Build ISAPI version of PHP', 'no'); + +if (PHP_ISAPI == "yes") { + if (PHP_ZTS == "no") { + WARNING("ISAPI module requires an --enable-zts build of PHP"); + } else { + SAPI('isapi', 'php5isapi.c', 'php' + PHP_VERSION + 'isapi.dll', '/D PHP5ISAPI_EXPORTS'); + ADD_FLAG('LDFLAGS_ISAPI', '/DEF:sapi\\isapi\\php5isapi.def'); + } +} |