This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
PATCH, v3: eliminate another configure error
- From: Ben Elliston <bje at au1 dot ibm dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>, libstdc++ <libstdc++ at gcc dot gnu dot org>
- Cc: rth at redhat dot com, Benjamin Kosnik <bkoz at redhat dot com>
- Date: Fri, 02 Jan 2009 13:12:19 +1100
- Subject: PATCH, v3: eliminate another configure error
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