From c4dd7a1a684490673e25aaf4fabec5df138854c4 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Thu, 14 Mar 2013 05:42:27 +0000 Subject: Imported from /home/lorry/working-area/delta_php2/php-5.4.13.tar.bz2. --- sapi/aolserver/config.w32 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 sapi/aolserver/config.w32 (limited to 'sapi/aolserver/config.w32') 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"); + } + } +} -- cgit v1.2.1