diff options
author | Wez Furlong <wez@php.net> | 2003-12-19 20:39:04 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2003-12-19 20:39:04 +0000 |
commit | 331dc79254566ee777f6af7be9232f1f647c9474 (patch) | |
tree | f25e5af5c67ee72d46bbb4c1b0cea445365f50be /sapi/pi3web | |
parent | 7930ddce0af10a22a180e9549049086c9ff6d8b4 (diff) | |
download | php-git-331dc79254566ee777f6af7be9232f1f647c9474.tar.gz |
More things for the new build system.
Pi3Web and aolserver build untested (no headers and libs for those here)
Diffstat (limited to 'sapi/pi3web')
-rw-r--r-- | sapi/pi3web/config.w32 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sapi/pi3web/config.w32 b/sapi/pi3web/config.w32 new file mode 100644 index 0000000000..3e4fe16245 --- /dev/null +++ b/sapi/pi3web/config.w32 @@ -0,0 +1,16 @@ +// vim:ft=javascript +// $Id$ + +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')) { + SAPI('pi3web', 'pi3web_sapi.c', 'php' + PHP_VERSION + 'pi3web.dll', '/D PHP4PI3WEB_EXPORTS'); + AC_DEFINE('WITH_PI3WEB', 1); + } else { + WARNING('Pi3Web not enabled; headers/libraries not found'); + } +} |