File tree 3 files changed +11
-0
lines changed
3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 3
3
?? Aug 2007, PHP 5.2.4
4
4
- Fixed bug #42208 (substr_replace() crashes when the same array is passed
5
5
more than once). (crrodriguez at suse dot de, Ilia)
6
+ - Fixed bug #42195 (C++ compiler required always). (Jani)
6
7
- Fixed bug #36492 (Userfilters can leak buckets). (Sara)
7
8
8
9
02 Aug 2007, PHP 5.2.4RC1
Original file line number Diff line number Diff line change @@ -1249,7 +1249,13 @@ PHP_HELP_SEPARATOR([Libtool:])
1249
1249
PHP_CONFIGURE_PART(Configuring libtool)
1250
1250
1251
1251
LDFLAGS="$LDFLAGS $PHP_AIX_LDFLAGS"
1252
+
1253
+ dnl Only allow AC_PROG_CXX if it's explicitly called (by PHP_REQUIRE_CXX)
1254
+ dnl otherwise AC_PROG_LIBTOOL fails if there is no working C++ compiler
1255
+ AC_PROVIDE_IFELSE([ PHP_REQUIRE_CXX] , [ AC_PROG_CXX ] , [ undefine ( [ AC_PROG_CXX ] )
1256
+ AC_DEFUN ( [ AC_PROG_CXX ] , [ ] ) ] )
1252
1257
AC_PROG_LIBTOOL
1258
+
1253
1259
if test "$enable_debug" != "yes"; then
1254
1260
PHP_SET_LIBTOOL_VARIABLE([ --silent] )
1255
1261
fi
Original file line number Diff line number Diff line change @@ -68,6 +68,10 @@ sinclude(config.m4)
68
68
enable_static=no
69
69
enable_shared=yes
70
70
71
+ dnl Only allow AC_PROG_CXX if it's explicitly called (by PHP_REQUIRE_CXX)
72
+ dnl otherwise AC_PROG_LIBTOOL fails if there is no working C++ compiler
73
+ AC_PROVIDE_IFELSE([ PHP_REQUIRE_CXX] , [ AC_PROG_CXX ] , [ undefine ( [ AC_PROG_CXX ] )
74
+ AC_DEFUN ( [ AC_PROG_CXX ] , [ ] ) ] )
71
75
AC_PROG_LIBTOOL
72
76
73
77
all_targets='$(PHP_MODULES)'
You can’t perform that action at this time.
0 commit comments