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
This commit is contained in:
Jason Merrill 2004-08-20 19:52:08 -04:00 committed by Jason Merrill
parent 14d3dc348e
commit 168aacd938
3 changed files with 10 additions and 2 deletions

View File

@ -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)

View File

@ -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 > $@

View File

@ -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 > $@