File tree 3 files changed +10
-3
lines changed
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)
272
272
dnl By default, enable Zend Timer only for ZTS builds
273
273
AC_ARG_ENABLE ( [ zend-timer] ,
274
274
[ AS_HELP_STRING ( [ --enable-zend-timer] ,
275
- [ whether to enable zend timer system ] ) ] ,
275
+ [ whether to enable zend timer] ) ] ,
276
276
[ ZEND_TIMER=$enableval] ,
277
277
[ ZEND_TIMER=$ZEND_ZTS] )
278
278
@@ -284,11 +284,11 @@ if test "$ac_cv_func_timer_create" != "yes"; then
284
284
fi
285
285
286
286
if test "$ZEND_TIMER" = "yes"; then
287
- AC_DEFINE ( ZEND_TIMER , 1 , [ Use zend timer system ] )
287
+ AC_DEFINE ( ZEND_TIMER , 1 , [ Use zend timer] )
288
288
CFLAGS="$CFLAGS -DZEND_TIMER"
289
289
fi
290
290
291
- AC_MSG_CHECKING ( whether to enable zend timer system )
291
+ AC_MSG_CHECKING ( whether to enable zend timer )
292
292
AC_MSG_RESULT ( $ZEND_TIMER )
293
293
294
294
] )
Original file line number Diff line number Diff line change @@ -891,6 +891,12 @@ PHPAPI ZEND_COLD void php_print_info(int flag)
891
891
efree (descr );
892
892
}
893
893
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
+
894
900
#if HAVE_IPV6
895
901
php_info_print_table_row (2 , "IPv6 Support" , "enabled" );
896
902
#else
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ Thread Safety => %s%A
34
34
Zend Signal Handling => %s
35
35
Zend Memory Manager => %s
36
36
Zend Multibyte Support => %s
37
+ Zend Timer => %s
37
38
IPv6 Support => %s
38
39
DTrace Support => %s
39
40
You can’t perform that action at this time.
0 commit comments