diff options
author | Loren J. Rittle <ljrittle@acm.org> | 2001-07-02 22:24:57 +0000 |
---|---|---|
committer | Loren J. Rittle <ljrittle@gcc.gnu.org> | 2001-07-02 22:24:57 +0000 |
commit | 30b3a033af6c62b95c16c3f26610753c0aaa4002 (patch) | |
tree | 7598f81578d0933702914e94acc516816cdc38a6 /libstdc++-v3/acinclude.m4 | |
parent | 3a5e0e62b07ec9e85ba401d2a2d3b4641fa3fb99 (diff) | |
download | gcc-30b3a033af6c62b95c16c3f26610753c0aaa4002.zip gcc-30b3a033af6c62b95c16c3f26610753c0aaa4002.tar.gz gcc-30b3a033af6c62b95c16c3f26610753c0aaa4002.tar.bz2 |
acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
libstdc++/3284
* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r43711
Diffstat (limited to 'libstdc++-v3/acinclude.m4')
-rw-r--r-- | libstdc++-v3/acinclude.m4 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4 index a4e733fe..d5c5bee 100644 --- a/libstdc++-v3/acinclude.m4 +++ b/libstdc++-v3/acinclude.m4 @@ -1159,15 +1159,15 @@ AC_DEFUN(GLIBCPP_ENABLE_THREADS, [ AC_DEFINE(HAVE_GTHR_DEFAULT) AC_DEFINE(_GLIBCPP_SUPPORTS_WEAK, __GXX_WEAK__) fi - AC_OUTPUT_COMMANDS([d=include/bits + AC_OUTPUT_COMMANDS([d=include/bits; a='[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]' rm -f $d/gthr.h $d/gthr-single.h $d/gthr-default.h - sed '/^#/s/\([A-Z_][A-Z_]*\)/_GLIBCPP_\1/g' <$d/gthr.h-in \ + sed '/^#/s/\('$a$a'*\)/_GLIBCPP_\1/g' <$d/gthr.h-in \ | sed 's,"gthr-,"bits/gthr-,' >$d/gthr.h sed 's/\(UNUSED\)/_GLIBCPP_\1/g' <$d/gthr-single.h-in \ - | sed 's/\(GCC[A-Z_]*_H\)/_GLIBCPP_\1/g' >$d/gthr-single.h + | sed 's/\(GCC'$a'*_H\)/_GLIBCPP_\1/g' >$d/gthr-single.h sed 's/\(UNUSED\)/_GLIBCPP_\1/g' <$d/gthr-default.h-in \ - | sed 's/\(GCC[A-Z_]*_H\)/_GLIBCPP_\1/g' \ - | sed 's/\([A-Z_]*WEAK\)/_GLIBCPP_\1/g' >$d/gthr-default.h]) + | sed 's/\(GCC'$a'*_H\)/_GLIBCPP_\1/g' \ + | sed 's/\('$a'*WEAK\)/_GLIBCPP_\1/g' >$d/gthr-default.h]) ]) |