Verify that new build system works with Pi3Web 2.0.2

This commit is contained in:
Wez Furlong 2003-12-22 15:32:11 +00:00
parent 42ed91f94c
commit 4534d0d0c4

View File

@ -4,10 +4,10 @@
ARG_WITH('pi3web', 'Pi3Web', 'no');
if (PHP_PI3WEB != "no") {
if (CHECK_HEADER_ADD_INCLUDE('PiAPI/PiAPI.h', 'CFLAGS_PI3WEB', PHP_PI3WEB) &&
CHECK_LIB('piapi.lib', 'pi3web') &&
CHECK_LIB('pi2api.lib', 'pi3web') &&
CHECK_LIB('pi3api.lib', 'pi3web')) {
if (CHECK_HEADER_ADD_INCLUDE('PiAPI.h', 'CFLAGS_PI3WEB', PHP_PHP_BUILD + "\\Pi3Web\\include;" + PHP_PI3WEB) &&
CHECK_LIB('piapi.lib', 'pi3web', PHP_PHP_BUILD + "\\Pi3Web\\lib;" + PHP_PI3WEB) &&
CHECK_LIB('pi2api.lib', 'pi3web', PHP_PHP_BUILD + "\\Pi3Web\\lib;" + PHP_PI3WEB) &&
CHECK_LIB('pi3api.lib', 'pi3web', PHP_PHP_BUILD + "\\Pi3Web\\lib;" + PHP_PI3WEB)) {
SAPI('pi3web', 'pi3web_sapi.c', 'php' + PHP_VERSION + 'pi3web.dll', '/D PHP4PI3WEB_EXPORTS');
AC_DEFINE('WITH_PI3WEB', 1);
} else {