From: Sascha Schumann Date: Mon, 11 Mar 2002 12:50:18 +0000 (+0000) Subject: You don't need a C++ compiler to build 100% of PHP (and the largest part of X-Git-Tag: help~87 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a0a857b9c89c5322d798380e2e292c25c78e96ec;p=php You don't need a C++ compiler to build 100% of PHP (and the largest part of the extensions), so I don't see a reason why PHP should not build on a system without a C++ compiler. If your extension uses C++ objects, put PHP_REQUIRE_CXX into your config.m4. This should also be removed from the 4.2.0 branch, because it will cause portability problems otherwise. --- diff --git a/configure.in b/configure.in index 255d26b6e9..c154d5e5ed 100644 --- a/configure.in +++ b/configure.in @@ -139,8 +139,8 @@ AC_PROG_CC_C_O dnl Change to AC_PROG_CC_STDC when we start requiring a post-2.13 autoconf dnl AC_PROG_CC_STDC AC_PROG_CPP -AC_PROG_CXX -AC_PROG_CXXCPP +dnl AC_PROG_CXX +dnl AC_PROG_CXXCPP dnl check for -R, etc. switch AC_MSG_CHECKING([whether compiler supports -R]) AC_CACHE_VAL(php_cv_cc_dashr,[