@@ -132,10 +132,10 @@ extension_module_ptrs = "";
132
132
var wmiservice = GetObject ( "winmgmts:{impersonationLevel=impersonate}!\\\\.\\root\\cimv2" ) ;
133
133
var oss = wmiservice . ExecQuery ( "Select * from Win32_OperatingSystem" ) ;
134
134
var os = oss . ItemIndex ( 0 ) ;
135
- AC_DEFINE ( "PHP_BUILD_SYSTEM" , os . Caption + " [" + os . Version + "]" , "Windows build system version " ) ;
135
+ AC_DEFINE ( "PHP_BUILD_SYSTEM" , os . Caption + " [" + os . Version + "]" , "The system that PHP was built on. " ) ;
136
136
var build_provider = WshShell . Environment ( "Process" ) . Item ( "PHP_BUILD_PROVIDER" ) ;
137
137
if ( build_provider ) {
138
- AC_DEFINE ( "PHP_BUILD_PROVIDER" , build_provider ) ;
138
+ AC_DEFINE ( "PHP_BUILD_PROVIDER" , build_provider , "The PHP build provider information." ) ;
139
139
}
140
140
} ( ) ) ;
141
141
@@ -2945,25 +2945,25 @@ function toolset_setup_compiler()
2945
2945
2946
2946
WARNING ( "Using unknown MSVC version " + tmp ) ;
2947
2947
2948
- AC_DEFINE ( 'PHP_BUILD_COMPILER' , COMPILER_NAME_LONG , "Detected compiler version " ) ;
2948
+ AC_DEFINE ( 'PHP_BUILD_COMPILER' , COMPILER_NAME_LONG , "The compiler used for the PHP build. " ) ;
2949
2949
DEFINE ( "PHP_COMPILER_SHORT" , tmp ) ;
2950
2950
AC_DEFINE ( 'PHP_COMPILER_ID' , tmp , "Compiler compatibility ID" ) ;
2951
2951
} else {
2952
- AC_DEFINE ( 'PHP_BUILD_COMPILER' , COMPILER_NAME_LONG , "Detected compiler version " ) ;
2952
+ AC_DEFINE ( 'PHP_BUILD_COMPILER' , COMPILER_NAME_LONG , "The compiler used for the PHP build. " ) ;
2953
2953
DEFINE ( "PHP_COMPILER_SHORT" , COMPILER_NAME_SHORT . toLowerCase ( ) ) ;
2954
2954
AC_DEFINE ( 'PHP_COMPILER_ID' , COMPILER_NAME_SHORT . toUpperCase ( ) , "Compiler compatibility ID" ) ;
2955
2955
}
2956
2956
} else if ( CLANG_TOOLSET ) {
2957
2957
CLANGVERS = COMPILER_NUMERIC_VERSION ;
2958
2958
2959
- AC_DEFINE ( 'PHP_BUILD_COMPILER' , COMPILER_NAME_LONG , "Detected compiler version " ) ;
2959
+ AC_DEFINE ( 'PHP_BUILD_COMPILER' , COMPILER_NAME_LONG , "The compiler used for the PHP build. " ) ;
2960
2960
DEFINE ( "PHP_COMPILER_SHORT" , "clang" ) ;
2961
2961
AC_DEFINE ( 'PHP_COMPILER_ID' , "clang" ) ; /* XXX something better were to write here */
2962
2962
2963
2963
} else if ( ICC_TOOLSET ) {
2964
2964
INTELVERS = COMPILER_NUMERIC_VERSION ;
2965
2965
2966
- AC_DEFINE ( 'PHP_BUILD_COMPILER' , COMPILER_NAME_LONG , "Detected compiler version " ) ;
2966
+ AC_DEFINE ( 'PHP_BUILD_COMPILER' , COMPILER_NAME_LONG , "The compiler used for the PHP build. " ) ;
2967
2967
DEFINE ( "PHP_COMPILER_SHORT" , "icc" ) ;
2968
2968
AC_DEFINE ( 'PHP_COMPILER_ID' , "icc" ) ; /* XXX something better were to write here */
2969
2969
}
@@ -3185,7 +3185,7 @@ function toolset_target_arch()
3185
3185
function toolset_setup_arch ( )
3186
3186
{
3187
3187
STDOUT . WriteLine ( " Detected " + TARGET_ARCH + " compiler" + ( TARGET_ARCH == HOST_ARCH ? "" : " (cross compile from " + HOST_ARCH + ")" ) ) ;
3188
- AC_DEFINE ( 'PHP_BUILD_ARCH' , TARGET_ARCH , "Detected compiler architecture" ) ;
3188
+ AC_DEFINE ( 'PHP_BUILD_ARCH' , TARGET_ARCH , "The build architecture. " ) ;
3189
3189
DEFINE ( "PHP_ARCHITECTURE" , TARGET_ARCH ) ;
3190
3190
}
3191
3191
0 commit comments