Annotation of embedaddon/php/sapi/embed/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_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>