How about using 'case' instead of those multiple if's? It would make it a bit
cleaner.
--Jani
Lars Strojny kirjoitti:
lstrojny Sun Mar 9 01:10:13 2008 UTC
Modified files:
/php-src/sapi/apache2filter config.m4
/php-src/sapi/apache2handler config.m4
Log:
Adding itk and and peruser MPM to the list of threaded Apache MPMs
http://cvs.php.net/viewvc.cgi/php-src/sapi/apache2filter/config.m4?r1=1.45&r2=1.46&diff_format=u
Index: php-src/sapi/apache2filter/config.m4
diff -u php-src/sapi/apache2filter/config.m4:1.45
php-src/sapi/apache2filter/config.m4:1.46
--- php-src/sapi/apache2filter/config.m4:1.45 Wed Jul 11 23:10:14 2007
+++ php-src/sapi/apache2filter/config.m4 Sun Mar 9 01:10:13 2008
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.45 2007/07/11 23:10:14 jani Exp $
+dnl $Id: config.m4,v 1.46 2008/03/09 01:10:13 lstrojny Exp $
dnl
PHP_ARG_WITH(apxs2filter,,
@@ -110,7 +110,7 @@
`ln -s $APXS_BINDIR/httpd _APP_`
EXTRA_LIBS="$EXTRA_LIBS _APP_"
PHP_SELECT_SAPI(apache2filter, shared, sapi_apache2.c apache_config.c
php_functions.c, $APACHE_CFLAGS)
- INSTALL_IT="$INSTALL_IT $SAPI_LIBTOOL"
+ INSTALL_IT="$INSTALL_IT $SAPI_LIBTOOL"
;;
*)
PHP_SELECT_SAPI(apache2filter, shared, sapi_apache2.c apache_config.c php_functions.c, $APACHE_CFLAGS)
@@ -118,7 +118,7 @@
;;
esac
- if test "$APXS_MPM" != "prefork"; then
+ if test "$APXS_MPM" != "prefork" && test "$APXS_MPM" != "peruser" && test "$APXS_MPM"
!= "itk"; then
PHP_BUILD_THREAD_SAFE
fi
AC_MSG_RESULT(yes)
http://cvs.php.net/viewvc.cgi/php-src/sapi/apache2handler/config.m4?r1=1.18&r2=1.19&diff_format=u
Index: php-src/sapi/apache2handler/config.m4
diff -u php-src/sapi/apache2handler/config.m4:1.18
php-src/sapi/apache2handler/config.m4:1.19
--- php-src/sapi/apache2handler/config.m4:1.18 Wed Jul 11 23:10:14 2007
+++ php-src/sapi/apache2handler/config.m4 Sun Mar 9 01:10:13 2008
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.18 2007/07/11 23:10:14 jani Exp $
+dnl $Id: config.m4,v 1.19 2008/03/09 01:10:13 lstrojny Exp $
dnl
PHP_ARG_WITH(apxs2,,
@@ -117,7 +117,7 @@
;;
esac
- if test "$APXS_MPM" != "prefork"; then
+ if test "$APXS_MPM" != "prefork" && test "$APXS_MPM" != "peruser" && test "$APXS_MPM"
!= "itk"; then
PHP_BUILD_THREAD_SAFE
fi
AC_MSG_RESULT(yes)
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php