File:
[ELWIX - Embedded LightWeight unIX -] /
embedaddon /
php /
sapi /
embed /
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, 2 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_ENABLE(embed,,
6: [ --enable-embed[=TYPE] EXPERIMENTAL: Enable building of embedded SAPI library
7: TYPE is either 'shared' or 'static'. [TYPE=shared]], no, no)
8:
9: AC_MSG_CHECKING([for embedded SAPI library support])
10:
11: if test "$PHP_EMBED" != "no"; then
12: case "$PHP_EMBED" in
13: yes|shared)
14: PHP_EMBED_TYPE=shared
15: INSTALL_IT="\$(mkinstalldirs) \$(INSTALL_ROOT)\$(prefix)/lib; \$(INSTALL) -m 0755 $SAPI_SHARED \$(INSTALL_ROOT)\$(prefix)/lib"
16: ;;
17: static)
18: PHP_EMBED_TYPE=static
19: INSTALL_IT="\$(mkinstalldirs) \$(INSTALL_ROOT)\$(prefix)/lib; \$(INSTALL) -m 0644 $SAPI_STATIC \$(INSTALL_ROOT)\$(prefix)/lib"
20: ;;
21: *)
22: PHP_EMBED_TYPE=no
23: ;;
24: esac
25: if test "$PHP_EMBED_TYPE" != "no"; then
26: PHP_SELECT_SAPI(embed, $PHP_EMBED_TYPE, php_embed.c)
27: PHP_INSTALL_HEADERS([sapi/embed/php_embed.h])
28: fi
29: AC_MSG_RESULT([$PHP_EMBED_TYPE])
30: else
31: AC_MSG_RESULT(no)
32: fi
33:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>