cvs: php4 /sapi/cgi config9.m4

From: Date: Sun, 01 Dec 2002 21:50:35 +0000
Subject: cvs: php4 /sapi/cgi config9.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-16816@lists.php.net to get a copy of this message
shane Sun Dec 1 16:50:35 2002 EDT Modified files: /php4/sapi/cgi config9.m4 Log: build support for cgi fixes previously commited Index: php4/sapi/cgi/config9.m4 diff -u php4/sapi/cgi/config9.m4:1.2 php4/sapi/cgi/config9.m4:1.3 --- php4/sapi/cgi/config9.m4:1.2 Tue Nov 26 00:51:15 2002 +++ php4/sapi/cgi/config9.m4 Sun Dec 1 16:50:35 2002 @@ -1,5 +1,5 @@ dnl -dnl $Id: config9.m4,v 1.2 2002/11/26 05:51:15 shane Exp $ +dnl $Id: config9.m4,v 1.3 2002/12/01 21:50:35 shane Exp $ dnl AC_ARG_ENABLE(cgi, @@ -41,6 +41,15 @@ PHP_ENABLE_FASTCGI=no ]) +AC_ARG_ENABLE(path-info-check, +[ --disable-path-info-check If this is disabled, paths such as + /info.php/test?a=b will fail to work.], +[ + PHP_ENABLE_PATHINFO_CHECK=$enableval +],[ + PHP_ENABLE_PATHINFO_CHECK=yes +]) + AC_DEFUN(PHP_TEST_WRITE_STDOUT,[ AC_CACHE_CHECK(whether writing to stdout works,ac_cv_write_stdout,[ AC_TRY_RUN([ @@ -100,6 +109,15 @@ fi AC_DEFINE_UNQUOTED(DISCARD_PATH, $DISCARD_PATH, [ ]) AC_MSG_RESULT($PHP_DISCARD_PATH) + + AC_MSG_CHECKING(whether to enable path info checking) + if test "$PHP_ENABLE_PATHINFO_CHECK" = "yes"; then + ENABLE_PATHINFO_CHECK=1 + else + ENABLE_PATHINFO_CHECK=0 + fi + AC_DEFINE_UNQUOTED(ENABLE_PATHINFO_CHECK, $ENABLE_PATHINFO_CHECK, [ ]) + AC_MSG_RESULT($PHP_ENABLE_PATHINFO_CHECK) AC_MSG_CHECKING(whether to enable fastcgi support) PHP_LIBFCGI_DIR="$abs_srcdir/sapi/cgi/libfcgi"

« previous php.cvs (#16816) next »