From: Hannes Magnusson Date: Tue, 27 Dec 2011 13:53:11 +0000 (+0000) Subject: Looks like we need to explicity add libstdc++ on recent linux' too, like fedora 14... X-Git-Tag: php-5.5.0alpha1~674 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c531e9b5edfd2b6e06f6422b6db1b61ac319ba22;p=php Looks like we need to explicity add libstdc++ on recent linux' too, like fedora 14 and ubuntu 11 This fixes build failures for ext/intl and several pecl exts --- diff --git a/acinclude.m4 b/acinclude.m4 index 528278c1cb..e1842bb5aa 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -762,11 +762,7 @@ AC_DEFUN([PHP_REQUIRE_CXX],[ if test -z "$php_cxx_done"; then AC_PROG_CXX AC_PROG_CXXCPP - case $host_alias in - *darwin*) - PHP_ADD_LIBRARY(stdc++) - ;; - esac + PHP_ADD_LIBRARY(stdc++) php_cxx_done=yes fi ])