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:
Sascha Schumann 2001-04-09 15:47:19 +00:00
parent d85be2956c
commit 466c226415
6 changed files with 61 additions and 105 deletions

View file

@ -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,