xref: /PHP-5.6/sapi/pi3web/config.w32 (revision f4983c0d)
1// vim:ft=javascript
2// $Id$
3
4ARG_WITH('pi3web', 'Pi3Web', 'no');
5
6if (PHP_PI3WEB != "no") {
7	if (CHECK_HEADER_ADD_INCLUDE('PiAPI.h', 'CFLAGS_PI3WEB', PHP_PHP_BUILD + "\\Pi3Web\\include;" + PHP_PI3WEB) &&
8		   CHECK_LIB('piapi.lib', 'pi3web', PHP_PHP_BUILD + "\\Pi3Web\\lib;" + PHP_PI3WEB) &&
9		   CHECK_LIB('pi2api.lib', 'pi3web', PHP_PHP_BUILD + "\\Pi3Web\\lib;" + PHP_PI3WEB) &&
10		   CHECK_LIB('pi3api.lib', 'pi3web', PHP_PHP_BUILD + "\\Pi3Web\\lib;" + PHP_PI3WEB)) {
11		SAPI('pi3web', 'pi3web_sapi.c', 'php' + PHP_VERSION + 'pi3web.dll', '/D PHP5PI3WEB_EXPORTS');
12		AC_DEFINE('WITH_PI3WEB', 1);
13	} else {
14		WARNING('Pi3Web not enabled; headers/libraries not found');
15	}
16}
17