File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -1273,6 +1273,11 @@ PHP_UNAME=${PHP_UNAME:-$UNAME}
1273
1273
AC_DEFINE_UNQUOTED ( PHP_UNAME ,"$PHP_UNAME" ,[ uname -a output] )
1274
1274
PHP_OS=`uname | xargs`
1275
1275
AC_DEFINE_UNQUOTED ( PHP_OS ,"$PHP_OS" ,[ uname output] )
1276
+ PHP_BUILD_SYSTEM=${PHP_BUILD_SYSTEM:-$PHP_UNAME}
1277
+ AC_DEFINE_UNQUOTED ( PHP_BUILD_SYSTEM ,"$PHP_BUILD_SYSTEM" ,[ builder uname output] )
1278
+ if test -n "${PHP_BUILD_PROVIDER}"; then
1279
+ AC_DEFINE_UNQUOTED ( PHP_BUILD_PROVIDER ,"$PHP_BUILD_PROVIDER" ,[ build provider] )
1280
+ fi
1276
1281
1277
1282
PHP_SUBST_OLD(PHP_INSTALLED_SAPIS)
1278
1283
Original file line number Diff line number Diff line change @@ -798,6 +798,12 @@ PHPAPI ZEND_COLD void php_print_info(int flag)
798
798
php_info_print_table_start ();
799
799
php_info_print_table_row (2 , "System" , ZSTR_VAL (php_uname ));
800
800
php_info_print_table_row (2 , "Build Date" , __DATE__ " " __TIME__ );
801
+ #ifdef PHP_BUILD_SYSTEM
802
+ php_info_print_table_row (2 , "Build System" , PHP_BUILD_SYSTEM );
803
+ #endif
804
+ #ifdef PHP_BUILD_PROVIDER
805
+ php_info_print_table_row (2 , "Build Provider" , PHP_BUILD_PROVIDER );
806
+ #endif
801
807
#ifdef COMPILER
802
808
php_info_print_table_row (2 , "Compiler" , COMPILER );
803
809
#endif
You can’t perform that action at this time.
0 commit comments