mirror of
https://github.com/php/php-src.git
synced 2024-11-24 18:34:21 +08:00
Verify that new build system works with Pi3Web 2.0.2
This commit is contained in:
parent
42ed91f94c
commit
4534d0d0c4
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user