php-src/sapi
Sascha Schumann 7f96af83b2 Stop automatically passing vars to AC_SUBST through PHP_SUBST.
There are some variables which are needed for Makefiles and files
created by AC_OUTPUT; we use PHP_SUBST_OLD for those now.

genif.sh was moved to an appropiate place.
2000-12-20 17:21:37 +00:00
..
aolserver 2nd step towards auto-credits 2000-11-20 10:33:33 +00:00
apache added missing SLS_FETCH() 2000-12-14 22:16:21 +00:00
apache2filter Add TODO note 2000-12-11 08:05:53 +00:00
caudium Fix for Pike 7.1 (error -> Pike_error). Caudium bug #12486. 2000-12-07 19:01:13 +00:00
cgi Stop automatically passing vars to AC_SUBST through PHP_SUBST. 2000-12-20 17:21:37 +00:00
fhttpd 2nd step towards auto-credits 2000-11-20 10:33:33 +00:00
isapi Fix Zeus' behaviour with URL, SCRIPT_NAME, SCRIPT_FILENAME, REQUEST_URI 2000-12-15 16:18:55 +00:00
nsapi 2nd step towards auto-credits 2000-11-20 10:33:33 +00:00
phttpd - Make all places use MAXPATHLEN in the same way. It includes the 2000-12-16 20:52:43 +00:00
pi3web 2nd step towards auto-credits 2000-11-20 10:33:33 +00:00
roxen Patch to find module dir 2000-11-19 09:10:16 +00:00
servlet - Make all places use MAXPATHLEN in the same way. It includes the 2000-12-16 20:52:43 +00:00
thttpd Fix indentation of configure output 2000-12-06 17:34:58 +00:00
Makefile.in Remove trailing empty lines 2000-05-01 22:38:42 +00:00
README Update. Someone should really write better docs. =) 2000-11-02 16:15:03 +00:00

Each SAPI backend has to contain:

config.m4: just like for extensions, this file contains
autoconf directives that end up in the configure script.  The
only difference is that the sapi config.m4 files are read in diversion
(output block) 2 instead of 3.  The sapi config.m4 files should set
two variables: PHP_SAPI (which sapi backend to choose) and INSTALL_IT
(the actions performed when "make install" is executed).  If they are
not specified, they will default to "cgi" and "do nothing,"
respectively.  Additionally, the following m4 macros can be used to
influence what is created during "make":

PHP_BUILD_SHARED    -- build shared target      $SAPI_SHARED
PHP_BUILD_STATIC    -- build static target      $SAPI_STATIC
PHP_BUILD_PROGRAM   -- build executable         $SAPI_PROGRAM

(paths relative to top build dir)