File tree Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -1340,10 +1340,14 @@ PHP_CONFIGURE_PART(Configuring libtool)
1340
1340
1341
1341
LDFLAGS="$LDFLAGS $PHP_AIX_LDFLAGS"
1342
1342
1343
- dnl Only allow AC_PROG_CXX if it's explicitly called (by PHP_REQUIRE_CXX)
1344
- dnl otherwise AC_PROG_LIBTOOL fails if there is no working C++ compiler
1345
- AC_PROVIDE_IFELSE([ PHP_REQUIRE_CXX] , [ AC_PROG_CXX ] , [ undefine ( [ AC_PROG_CXX ] )
1346
- AC_DEFUN ( [ AC_PROG_CXX ] , [ ] ) ] )
1343
+ dnl Only allow AC_PROG_CXX and AC_PROG_CXXCPP if they are explicitly called (by PHP_REQUIRE_CXX).
1344
+ dnl Otherwise AC_PROG_LIBTOOL fails if there is no working C++ compiler.
1345
+ AC_PROVIDE_IFELSE([ PHP_REQUIRE_CXX] , [ ] , [
1346
+ undefine ( [ AC_PROG_CXX ] )
1347
+ AC_DEFUN ( [ AC_PROG_CXX ] , [ ] )
1348
+ undefine ( [ AC_PROG_CXXCPP ] )
1349
+ AC_DEFUN ( [ AC_PROG_CXXCPP ] , [ ] )
1350
+ ] )
1347
1351
AC_PROG_LIBTOOL
1348
1352
1349
1353
if test "$enable_debug" != "yes"; then
Original file line number Diff line number Diff line change @@ -70,10 +70,14 @@ sinclude(config.m4)
70
70
enable_static=no
71
71
enable_shared=yes
72
72
73
- dnl Only allow AC_PROG_CXX if it's explicitly called (by PHP_REQUIRE_CXX)
74
- dnl otherwise AC_PROG_LIBTOOL fails if there is no working C++ compiler
75
- AC_PROVIDE_IFELSE([ PHP_REQUIRE_CXX] , [ AC_PROG_CXX ] , [ undefine ( [ AC_PROG_CXX ] )
76
- AC_DEFUN ( [ AC_PROG_CXX ] , [ ] ) ] )
73
+ dnl Only allow AC_PROG_CXX and AC_PROG_CXXCPP if they are explicitly called (by PHP_REQUIRE_CXX).
74
+ dnl Otherwise AC_PROG_LIBTOOL fails if there is no working C++ compiler.
75
+ AC_PROVIDE_IFELSE([ PHP_REQUIRE_CXX] , [ ] , [
76
+ undefine ( [ AC_PROG_CXX ] )
77
+ AC_DEFUN ( [ AC_PROG_CXX ] , [ ] )
78
+ undefine ( [ AC_PROG_CXXCPP ] )
79
+ AC_DEFUN ( [ AC_PROG_CXXCPP ] , [ ] )
80
+ ] )
77
81
AC_PROG_LIBTOOL
78
82
79
83
all_targets='$(PHP_MODULES)'
You can’t perform that action at this time.
0 commit comments