1
0
mirror of https://github.com/php/php-src.git synced 2026-04-09 09:03:04 +02:00
Files
archived-php-src/sapi/cli/config.m4
Edin Kadribasic b1f3a91569 @- Added CLI (command line intrerface) sapi based on a cut-down version
@  of the CGI sapi which is more suited for writing shell scripts. Some of
@  the differences are: it prints no HTTP headers, displays plain text
@  error messages, etc. (Edin)
Added CLI (command line intrerface) sapi.
# Let's see if a build expert can make this compile along
# side some other sapi.
2002-01-06 14:08:14 +00:00

22 lines
416 B
Plaintext

dnl
dnl $Id$
dnl
AC_MSG_CHECKING(for CLI build)
AC_ARG_WITH(cli,
[ --with-cli Build PHP as CLI application],[
if test "$withval" = "yes"; then
CLIPATH=/usr/local
else
CLIPATH=$withval
fi
PHP_SAPI=cli
PHP_PROGRAM=php
INSTALL_IT="\$(INSTALL) -m 0755 $SAPI_PROGRAM \$(bindir)/$PHP_PROGRAM"
RESULT=yes
PHP_SUBST(EXT_PROGRAM_LDADD)
],[
RESULT=no
])
AC_MSG_RESULT($RESULT)