cvs: php4 / configure.in
| From: | Sascha Schumann | Date: | Mon, 11 Mar 2002 12:50:21 +0000 |
| Subject: | cvs: php4 / configure.in | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-9895@lists.php.net to get a copy of this message | ||
sas Mon Mar 11 07:50:21 2002 EDT
Modified files:
/php4 configure.in
Log:
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.
Index: php4/configure.in
diff -u php4/configure.in:1.307 php4/configure.in:1.308
--- php4/configure.in:1.307 Thu Mar 7 14:56:53 2002
+++ php4/configure.in Mon Mar 11 07:50:18 2002
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.307 2002/03/07 19:56:53 sas Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.308 2002/03/11 12:50:18 sas Exp $ -*- sh -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -139,8 +139,8 @@
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,[