File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed
Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ AC_MSG_RESULT($ZEND_SIGNALS)
272272dnl By default, enable Zend Timer only for ZTS builds
273273AC_ARG_ENABLE ( [ zend-timer] ,
274274 [ AS_HELP_STRING ( [ --enable-zend-timer] ,
275- [ whether to enable zend timer system ] ) ] ,
275+ [ whether to enable zend timer] ) ] ,
276276 [ ZEND_TIMER=$enableval] ,
277277 [ ZEND_TIMER=$ZEND_ZTS] )
278278
@@ -284,11 +284,11 @@ if test "$ac_cv_func_timer_create" != "yes"; then
284284fi
285285
286286if test "$ZEND_TIMER" = "yes"; then
287- AC_DEFINE ( ZEND_TIMER , 1 , [ Use zend timer system ] )
287+ AC_DEFINE ( ZEND_TIMER , 1 , [ Use zend timer] )
288288 CFLAGS="$CFLAGS -DZEND_TIMER"
289289fi
290290
291- AC_MSG_CHECKING ( whether to enable zend timer system )
291+ AC_MSG_CHECKING ( whether to enable zend timer )
292292AC_MSG_RESULT ( $ZEND_TIMER )
293293
294294] )
Original file line number Diff line number Diff line change @@ -891,6 +891,12 @@ PHPAPI ZEND_COLD void php_print_info(int flag)
891891 efree (descr );
892892 }
893893
894+ #ifdef ZEND_TIMER
895+ php_info_print_table_row (2 , "Zend Timer" , "enabled" );
896+ #else
897+ php_info_print_table_row (2 , "Zend Timer" , "disabled" );
898+ #endif
899+
894900#if HAVE_IPV6
895901 php_info_print_table_row (2 , "IPv6 Support" , "enabled" );
896902#else
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ Thread Safety => %s%A
3434Zend Signal Handling => %s
3535Zend Memory Manager => %s
3636Zend Multibyte Support => %s
37+ Zend Timer => %s
3738IPv6 Support => %s
3839DTrace Support => %s
3940
You can’t perform that action at this time.
0 commit comments