summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2008-12-19 09:18:41 +0000
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2008-12-19 09:18:41 +0000
commitf2c7d583e06bf1d32c8c488d973921a737b7c106 (patch)
tree0bcbfb5e3a28a647b0e49dc7a0d137511f0fbac0 /libstdc++-v3
parentd1cb87d63aa2c621b7bcd010ba3036cf88b4e707 (diff)
downloadgcc-f2c7d583e06bf1d32c8c488d973921a737b7c106.tar.gz
* acinclude.m4: Guard a variable test against an empty string.
* configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142829 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/acinclude.m42
-rwxr-xr-xlibstdc++-v3/configure2
3 files changed, 7 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index a1dd9869d65..da8f90b36c1 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2008-12-19 Ben Elliston <bje@au.ibm.com>
+
+ * acinclude.m4: Guard a variable test against an empty string.
+ * configure: Regenerate.
+
2008-12-18 Jack Howarth <howarth@bromo.med.uc.edu>
* testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4
index a1356bd7b06..d7e93a83406 100644
--- a/libstdc++-v3/acinclude.m4
+++ b/libstdc++-v3/acinclude.m4
@@ -2570,7 +2570,7 @@ EOF
if test $atomicity_dir = "cpu/generic" ; then
atomicity_dir=cpu/generic/atomicity_mutex
AC_MSG_WARN([No native atomic operations are provided for this platform.])
- if test $target_thread_file = single; then
+ if test "x$target_thread_file" = xsingle; then
AC_MSG_WARN([They cannot be faked when thread support is disabled.])
AC_MSG_WARN([Thread-safety of certain classes is not guaranteed.])
else
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
index 78032984fe1..17d59229ff0 100755
--- a/libstdc++-v3/configure
+++ b/libstdc++-v3/configure
@@ -14914,7 +14914,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
atomicity_dir=cpu/generic/atomicity_mutex
{ echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
- if test $target_thread_file = single; then
+ if test "x$target_thread_file" = xsingle; then
{ echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
{ echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5