Return to config.m4 CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / sapi / pi3web |
1.1 ! misho 1: dnl ! 2: dnl $Id: config.m4 242949 2007-09-26 15:44:16Z cvs2svn $ ! 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: