2
dnl $Id: config.m4,v 1.9.4.2 2007/07/11 23:20:36 jani Exp $
6
[ --enable-embed[=TYPE] EXPERIMENTAL: Enable building of embedded SAPI library
7
TYPE is either 'shared' or 'static'. [TYPE=shared]], no, no)
9
AC_MSG_CHECKING([for embedded SAPI library support])
11
if test "$PHP_EMBED" != "no"; then
15
INSTALL_IT="\$(mkinstalldirs) \$(INSTALL_ROOT)\$(prefix)/lib; \$(INSTALL) -m 0755 $SAPI_SHARED \$(INSTALL_ROOT)\$(prefix)/lib"
19
INSTALL_IT="\$(mkinstalldirs) \$(INSTALL_ROOT)\$(prefix)/lib; \$(INSTALL) -m 0644 $SAPI_STATIC \$(INSTALL_ROOT)\$(prefix)/lib"
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])
29
AC_MSG_RESULT([$PHP_EMBED_TYPE])