Skip to content

Commit f05ec43

Browse files
committed
These hacks seem no longer necessary with newer libttol
1 parent 5105485 commit f05ec43

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

configure.ac

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1597,15 +1597,6 @@ dnl Silence warning: "ar: 'u' modifier ignored since 'D' is the default".
15971597
dnl See https://github.com/php/php-src/pull/3017
15981598
AC_SUBST([AR_FLAGS], [cr])
15991599

1600-
dnl Only allow AC_PROG_CXX and AC_PROG_CXXCPP if they are explicitly called (by
1601-
dnl PHP_REQUIRE_CXX). Otherwise AC_PROG_LIBTOOL fails if there is no working C++
1602-
dnl compiler.
1603-
AC_PROVIDE_IFELSE([PHP_REQUIRE_CXX], [], [
1604-
undefine([AC_PROG_CXX])
1605-
AC_DEFUN([AC_PROG_CXX], [])
1606-
undefine([AC_PROG_CXXCPP])
1607-
AC_DEFUN([AC_PROG_CXXCPP], [php_prog_cxxcpp=disabled])
1608-
])
16091600
LT_INIT
16101601

16111602
PHP_SET_LIBTOOL_VARIABLE([--silent])

scripts/phpize.m4

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -144,15 +144,6 @@ enable_shared=yes
144144
PHP_HELP_SEPARATOR([Libtool:])
145145
PHP_CONFIGURE_PART([Configuring libtool])
146146

147-
dnl Only allow AC_PROG_CXX and AC_PROG_CXXCPP if they are explicitly called (by
148-
dnl PHP_REQUIRE_CXX). Otherwise AC_PROG_LIBTOOL fails if there is no working C++
149-
dnl compiler.
150-
AC_PROVIDE_IFELSE([PHP_REQUIRE_CXX], [], [
151-
undefine([AC_PROG_CXX])
152-
AC_DEFUN([AC_PROG_CXX], [])
153-
undefine([AC_PROG_CXXCPP])
154-
AC_DEFUN([AC_PROG_CXXCPP], [php_prog_cxxcpp=disabled])
155-
])
156147
LT_INIT
157148

158149
all_targets='$(PHP_MODULES) $(PHP_ZEND_EX)'

0 commit comments

Comments
 (0)