PATCH RFA: #define ENABLE_BUILD_WITH_CXX, check for C++ header files

Ralf Wildenhues Ralf.Wildenhues@gmx.de
Thu Dec 2 21:04:00 GMT 2010


* Ian Lance Taylor wrote on Thu, Dec 02, 2010 at 10:01:02PM CET:
> This simple patch to gcc/configure.ac #defines ENABLE_BUILD_WITH_CXX
> when appropriate, and checks for the existence of a few C++ header
> files.  This is, of course, for the Go frontend merge.  The Go frontend
> tests these values to control the compilation of the C++ code.
> 
> Bootstrapped on x86_64-unknown-linux-gnu.  OK for mainline?

OK.

> 2010-12-02  Ian Lance Taylor  <iant@google.com>
> 
> 	* configure.ac: AC_DEFINE ENABLE_BUILD_WITH_CXX.  Check for C++
> 	header files unordered_map, tr1/unordered_map, and ext/hash_map.
> 	* configure, config.in: Rebuild.

> --- configure.ac	(revision 167382)
> +++ configure.ac	(working copy)

> +# --------------------
> +# Checks for C++ headers
> +# --------------------

Align dashes with text?  ;-)

Thanks,
Ralf



More information about the Gcc-patches mailing list