aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/acinclude.m4
diff options
context:
space:
mode:
authorLoren J. Rittle <ljrittle@acm.org>2001-07-02 23:30:01 +0000
committerLoren J. Rittle <ljrittle@gcc.gnu.org>2001-07-02 23:30:01 +0000
commit1ce847cf954a6395ee4f9439a64e0a24ea041134 (patch)
tree52cef5052247990d5235854c9c9e6f8b35e80002 /libstdc++-v3/acinclude.m4
parent8bf4dfc24f1957b8f645e362e354655fb851fc89 (diff)
downloadgcc-1ce847cf954a6395ee4f9439a64e0a24ea041134.zip
gcc-1ce847cf954a6395ee4f9439a64e0a24ea041134.tar.gz
gcc-1ce847cf954a6395ee4f9439a64e0a24ea041134.tar.bz2
acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell expansion (thanks to Alexandre Oliva).
* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell expansion (thanks to Alexandre Oliva). * aclocal.m4: Regenerate. * configure: Regenerate. Also, re-add last comment since Benjamin accidentally trashed it with his last check-in. From-SVN: r43715
Diffstat (limited to 'libstdc++-v3/acinclude.m4')
-rw-r--r--libstdc++-v3/acinclude.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4
index d5c5bee..91f0110 100644
--- a/libstdc++-v3/acinclude.m4
+++ b/libstdc++-v3/acinclude.m4
@@ -1161,13 +1161,13 @@ AC_DEFUN(GLIBCPP_ENABLE_THREADS, [
fi
AC_OUTPUT_COMMANDS([d=include/bits; a='[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]'
rm -f $d/gthr.h $d/gthr-single.h $d/gthr-default.h
- sed '/^#/s/\('$a$a'*\)/_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'*_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'*_H\)/_GLIBCPP_\1/g' \
- | sed 's/\('$a'*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])
])