Re: Re: cvs: php-src(PHP_5_2) / configure.in /scripts phpize.m4
| From: | Jani Taskinen | Date: | Sun, 27 Jul 2008 15:07:48 +0000 |
| Subject: | Re: Re: cvs: php-src(PHP_5_2) / configure.in /scripts phpize.m4 | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-39383@lists.php.net to get a copy of this message | ||
Sebastian Nohn kirjoitti:
David Soria Parra wrote:Fixeth in all branches. --JaniI can reproduce that (5_2, no local modifications).-dnl Only allow AC_PROG_CXX if it's explicitly called (by PHP_REQUIRE_CXX) -dnl otherwise AC_PROG_LIBTOOL fails if there is no working C++ compiler -AC_PROVIDE_IFELSE([PHP_REQUIRE_CXX], [AC_PROG_CXX], [undefine([AC_PROG_CXX]) -AC_DEFUN([AC_PROG_CXX], [])]) +dnl Only allow AC_PROG_CXX and AC_PROG_CXXCPP if they are explicitly called (by PHP_REQUIRE_CXX). +dnl Otherwise AC_PROG_LIBTOOL fails if there is no working C++ compiler. +AC_PROVIDE_IFELSE([PHP_REQUIRE_CXX], [], [ + undefine([AC_PROG_CXX]) + AC_DEFUN([AC_PROG_CXX], []) + undefine([AC_PROG_CXXCPP]) + AC_DEFUN([AC_PROG_CXXCPP], []) +]) AC_PROG_LIBTOOLThis causes a syntax error in configure after doing a buildconf.