Annotation of embedaddon/php/sapi/pi3web/config.m4, revision 1.1.1.2
1.1 misho 1: dnl
1.1.1.2 ! misho 2: dnl $Id$
1.1 misho 3: dnl
4:
5: PHP_ARG_WITH(pi3web, for Pi3Web support,
6: [ --with-pi3web[=DIR] Build PHP as Pi3Web module], no, no)
7:
8: if test "$PHP_PI3WEB" != "no"; then
9: if test "$PHP_PI3WEB" = "yes"; then
10: PI3PATH=../.. # the default
11: else
12: PI3PATH=$PHP_PI3WEB
13: fi
14: test -f "$PI3PATH/PiAPI/PiAPI.h" || AC_MSG_ERROR([Unable to find PiAPI.h in $PI3PATH/PiAPI])
15: PHP_BUILD_THREAD_SAFE
16: AC_DEFINE(WITH_PI3WEB, 1, [whether you want Pi3Web support])
17: PHP_ADD_INCLUDE($PI3PATH/PiAPI)
18: PHP_ADD_INCLUDE($PI3PATH/Pi2API)
19: PHP_ADD_INCLUDE($PI3PATH/Pi3API)
20: PHP_ADD_INCLUDE($PI3PATH/PHP5)
21: PHP_SELECT_SAPI(pi3web, shared, pi3web_sapi.c)
22: INSTALL_IT="\$(SHELL) \$(srcdir)/install-sh -m 0755 $SAPI_SHARED \$(INSTALL_ROOT)$PI3PATH/bin/"
23: fi
24:
25: dnl ## Local Variables:
26: dnl ## tab-width: 4
27: dnl ## End:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>