diff options
| author | Dmitry Stogov <dmitry@php.net> | 2006-02-02 08:17:23 +0000 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@php.net> | 2006-02-02 08:17:23 +0000 |
| commit | 7e7fcc3a078029b06a23e7cc70cde935575df889 (patch) | |
| tree | a91c4a827dd0441217e6993538f49304f7fb973c /sapi/cgi/config9.m4 | |
| parent | 9774b6d3e63526f61ba98d0f53b3dd2304473980 (diff) | |
| download | php-git-7e7fcc3a078029b06a23e7cc70cde935575df889.tar.gz | |
Reimplement FastCGI interface
Due to licensing restrictions that actually don't allow anybody to use
the libfcgi code without prior approval from Open Market, which is
impossible to obtain - we decided to reimplement this interface from
scratch. The result is actually slightly faster, and more importantly,
clear of any copyright issues.
Diffstat (limited to 'sapi/cgi/config9.m4')
| -rw-r--r-- | sapi/cgi/config9.m4 | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sapi/cgi/config9.m4 b/sapi/cgi/config9.m4 index abc6d31cea..61dcf4d45a 100644 --- a/sapi/cgi/config9.m4 +++ b/sapi/cgi/config9.m4 @@ -133,15 +133,12 @@ if test "$PHP_SAPI" = "default"; then exit 1 fi if test "$PHP_ENABLE_FASTCGI" = "yes"; then - PHP_ADD_BUILD_DIR($abs_builddir/sapi/cgi/libfcgi) PHP_FASTCGI=1 - PHP_FCGI_FILES="libfcgi/fcgi_stdio.c libfcgi/fcgiapp.c libfcgi/os_unix.c" - PHP_FCGI_INCLUDE="-I$PHP_LIBFCGI_DIR/include" + PHP_FCGI_FILES="fastcgi.c" PHP_FCGI_STATIC=1 else PHP_FASTCGI=0 PHP_FCGI_FILES="" - PHP_FCGI_INCLUDE="" PHP_FCGI_STATIC=0 fi AC_DEFINE_UNQUOTED(PHP_FASTCGI, $PHP_FASTCGI, [ ]) @@ -149,7 +146,7 @@ if test "$PHP_SAPI" = "default"; then AC_MSG_RESULT($PHP_ENABLE_FASTCGI) INSTALL_IT="@echo \"Installing PHP CGI into: \$(INSTALL_ROOT)\$(bindir)/\"; \$(INSTALL) -m 0755 \$(SAPI_CGI_PATH) \$(INSTALL_ROOT)\$(bindir)/\$(program_prefix)php\$(program_suffix)\$(EXEEXT)" - PHP_SELECT_SAPI(cgi, program, $PHP_FCGI_FILES cgi_main.c getopt.c, $PHP_FCGI_INCLUDE, '$(SAPI_CGI_PATH)') + PHP_SELECT_SAPI(cgi, program, $PHP_FCGI_FILES cgi_main.c getopt.c, , '$(SAPI_CGI_PATH)') case $host_alias in *aix*) |
