php-src/sapi/aolserver/config.w32

17 lines
535 B
Plaintext
Raw Normal View History

// 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");
}
}
}