PATCH, v3: eliminate another configure error

Ben Elliston bje@au1.ibm.com
Fri Jan 2 02:14:00 GMT 2009


This patch removes the definition of GLIBCXX_CHECK_STANDARD_LAYOUT from
acinclude.m4, but does not remove it from configure.ac:

2008-12-11  Benjamin Kosnik  <bkoz@redhat.com>
            Richard Henderson  <rth@redhat.com>

        * include/c_global/cstdatomic: Update to N2798.
        (atomic): Remove explicit constructors as per DR 845.
        * include/bits/atomic_0.h: New. Switchable implementation.
	...
        * acinclude.m4 (GLIBCXX_CHECK_STANDARD_LAYOUT): Remove,
        unconditionally use default/deleted syntax.
	...

This leads to "GLIBCXX_CHECK_STANDARD_LAYOUT" being emitted to the
configure script, where it generates a shell error while libstdc++ is
being configured.  If I understand the intent of the original change
correctly, the right thing to do is just remove it from configure.ac.
OK for the trunk?

2009-01-02  Ben Elliston  <bje@au.ibm.com>

        * configure.ac (GLIBCXX_CHECK_STANDARD_LAYOUT): Remove invocation.
        * configure: Regenerate.

Index: configure.ac
===================================================================
--- configure.ac        (revision 142999)
+++ configure.ac        (working copy)
@@ -102,7 +102,6 @@
 
 # Checks for compiler support that doesn't require linking.
 GLIBCXX_CHECK_COMPILER_FEATURES
-GLIBCXX_CHECK_STANDARD_LAYOUT
 
 # Enable all the variable C++ runtime options that don't require linking.
 GLIBCXX_ENABLE_CSTDIO




More information about the Gcc-patches mailing list