This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]