diff options
Diffstat (limited to 'sapi/aolserver/config.w32')
-rw-r--r-- | sapi/aolserver/config.w32 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sapi/aolserver/config.w32 b/sapi/aolserver/config.w32 new file mode 100644 index 0000000..75b4361 --- /dev/null +++ b/sapi/aolserver/config.w32 @@ -0,0 +1,16 @@ +// vim:ft=javascript +// $Id$ + +ARG_WITH('aolserver', 'Build AOLserver support', 'no'); + +if (PHP_AOLSERVER != "no") { + if (PHP_ZTS == "no") { + WARNING("AOLSERVER module requires an --enable-zts build of PHP"); + } else { + if (CHECK_HEADER_ADD_INCLUDE("ns.h", "CFLAGS_AOLSERVER", PHP_AOLSERVER) && CHECK_LIB("nsd.lib", "aolserver", PHP_AOLSERVER)) { + SAPI('aolserver', 'aolserver.c', 'php' + PHP_VERSION + 'aolserver.so', '/D XP_WIN32 '); + } else { + WARNING("sapi/aolserver not enabled: Could not find libraries/headers"); + } + } +} |