mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
Revert mega patch.
This patch has at least the following deficiences: - the CGI is built using objects from another SAPI module. This usually results in unsatisfied symbol references. - the CGI makefile is not created properly - building CGI cannot be disabled
This commit is contained in:
parent
d85be2956c
commit
466c226415
6 changed files with 61 additions and 105 deletions
|
@ -29,18 +29,9 @@ if test "$PHP_SAPI" = "cgi"; then
|
|||
|
||||
fi
|
||||
|
||||
# Always build and install the CGI binary
|
||||
INSTALL_CGI="\$(INSTALL) -m 0755 $SAPI_PROGRAM \$(INSTALL_ROOT)\$(bindir)/$SAPI_CGI"
|
||||
if test "$PHP_SAPI" = "cgi" ; then
|
||||
CGI_DIR=""
|
||||
CGI_LDADD=""
|
||||
INSTALL_IT=""
|
||||
else
|
||||
CGI_DIR="cgi"
|
||||
CGI_LDADD="sapi/cgi/libsapi.la"
|
||||
INSTALL_IT="\$(INSTALL) -m 0755 $SAPI_PROGRAM \$(INSTALL_ROOT)\$(bindir)/$SAPI_CGI"
|
||||
fi
|
||||
PHP_SUBST(CGI_DIR)
|
||||
PHP_SUBST(CGI_LDADD)
|
||||
|
||||
AC_MSG_CHECKING(for fhttpd module support)
|
||||
AC_ARG_WITH(fhttpd,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue