]> granicus.if.org Git - php/commitdiff
You don't need a C++ compiler to build 100% of PHP (and the largest part of
authorSascha Schumann <sas@php.net>
Mon, 11 Mar 2002 12:50:18 +0000 (12:50 +0000)
committerSascha Schumann <sas@php.net>
Mon, 11 Mar 2002 12:50:18 +0000 (12:50 +0000)
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.

configure.in

index 255d26b6e926283789fa131aa8f0bb30d22c20df..c154d5e5ed7d44bf5ab530daea559fa41f2569eb 100644 (file)
@@ -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,[