PATCH, v3: eliminate another configure error

Ben Elliston
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

2008-12-11  Benjamin Kosnik  <>
            Richard Henderson  <>

        * 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
OK for the trunk?

2009-01-02  Ben Elliston  <>

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

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

More information about the Gcc-patches mailing list