Makefile.am (/gthr.h): Don't add _GLIBCXX_ to #pragma lines.
authorJason Merrill <jason@redhat.com>
Fri, 20 Aug 2004 23:52:08 +0000 (19:52 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 20 Aug 2004 23:52:08 +0000 (19:52 -0400)
        * include/Makefile.am (/gthr.h): Don't add
        _GLIBCXX_ to #pragma lines.
        * include/Makefile.in: Update.

From-SVN: r86343

libstdc++-v3/ChangeLog
libstdc++-v3/include/Makefile.am
libstdc++-v3/include/Makefile.in

index 7fa0713db925e3e60e9426a8bff8c72bcc1fc363..6d7bba14f9629d99c51debd510092bb5bb1f6099 100644 (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)
index 5ff38983d235d52ce61b17810da9df5bfbf956f5..c502d72527fa144acbfe62b7a97884adc3567c82 100644 (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 > $@
index 8ff8fc747aa544e2188adb5c9bca6871ed11ff08..cdf305dddaa6d7805dfdfd1b340ec92f1f88d6fe 100644 (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 > $@