aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2004-08-20 19:52:08 -0400
committerJason Merrill <jason@gcc.gnu.org>2004-08-20 19:52:08 -0400
commit168aacd938a268e040b23667d343bfdc9de3aaf6 (patch)
treec078ccf4961c9b53105c77b5fd2b2e15ea090947
parent14d3dc348ea3f0ad1180a41d22c7902dc2695afa (diff)
downloadgcc-168aacd938a268e040b23667d343bfdc9de3aaf6.zip
gcc-168aacd938a268e040b23667d343bfdc9de3aaf6.tar.gz
gcc-168aacd938a268e040b23667d343bfdc9de3aaf6.tar.bz2
Makefile.am (/gthr.h): Don't add _GLIBCXX_ to #pragma lines.
* include/Makefile.am (/gthr.h): Don't add _GLIBCXX_ to #pragma lines. * include/Makefile.in: Update. From-SVN: r86343
-rw-r--r--libstdc++-v3/ChangeLog6
-rw-r--r--libstdc++-v3/include/Makefile.am3
-rw-r--r--libstdc++-v3/include/Makefile.in3
3 files changed, 10 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 7fa0713..6d7bba1 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,9 @@
+2004-08-20 Jason Merrill <jason@redhat.com>
+
+ * include/Makefile.am (${host_builddir}/gthr.h): Don't add
+ _GLIBCXX_ to #pragma lines.
+ * include/Makefile.in: Update.
+
2004-08-20 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/7219 (continued)
diff --git a/libstdc++-v3/include/Makefile.am b/libstdc++-v3/include/Makefile.am
index 5ff3898..c502d72 100644
--- a/libstdc++-v3/include/Makefile.am
+++ b/libstdc++-v3/include/Makefile.am
@@ -507,7 +507,8 @@ ${host_builddir}/c++config.h: ${top_builddir}/config.h \
uppercase = [ABCDEFGHIJKLMNOPQRSTUVWXYZ_]
${host_builddir}/gthr.h: ${toplevel_srcdir}/gcc/gthr.h stamp-${host_alias}
- sed -e '/^#/s/\(${uppercase}${uppercase}*\)/_GLIBCXX_\1/g' \
+ sed -e '/^#pragma/b' \
+ -e '/^#/s/\(${uppercase}${uppercase}*\)/_GLIBCXX_\1/g' \
-e 's/_GLIBCXX_SUPPORTS_WEAK/__GXX_WEAK__/g' \
-e 's,^#include "\(.*\)",#include <bits/\1>,g' \
< ${toplevel_srcdir}/gcc/gthr.h > $@
diff --git a/libstdc++-v3/include/Makefile.in b/libstdc++-v3/include/Makefile.in
index 8ff8fc7..cdf305d 100644
--- a/libstdc++-v3/include/Makefile.in
+++ b/libstdc++-v3/include/Makefile.in
@@ -882,7 +882,8 @@ ${host_builddir}/c++config.h: ${top_builddir}/config.h \
echo "#endif // _CXXCONFIG_" >>$@
${host_builddir}/gthr.h: ${toplevel_srcdir}/gcc/gthr.h stamp-${host_alias}
- sed -e '/^#/s/\(${uppercase}${uppercase}*\)/_GLIBCXX_\1/g' \
+ sed -e '/^#pragma/b' \
+ -e '/^#/s/\(${uppercase}${uppercase}*\)/_GLIBCXX_\1/g' \
-e 's/_GLIBCXX_SUPPORTS_WEAK/__GXX_WEAK__/g' \
-e 's,^#include "\(.*\)",#include <bits/\1>,g' \
< ${toplevel_srcdir}/gcc/gthr.h > $@