File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / sapi / pi3web / config.m4
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue May 29 12:34:35 2012 UTC (12 years, 7 months ago) by misho
Branches: php, MAIN
CVS tags: v5_4_3elwix, v5_4_29p0, v5_4_29, v5_4_20p0, v5_4_20, v5_4_17p0, v5_4_17, HEAD
php 5.4.3+patches

    1: dnl
    2: dnl $Id: config.m4,v 1.1.1.2 2012/05/29 12:34:35 misho Exp $
    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:
   28: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>