OSDN Git Service

* acinclude.m4: Guard a variable test against an empty string.
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Dec 2008 09:18:41 +0000 (09:18 +0000)
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Dec 2008 09:18:41 +0000 (09:18 +0000)
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142829 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/acinclude.m4
libstdc++-v3/configure

index a1dd986..da8f90b 100644 (file)
@@ -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:
index a1356bd..d7e93a8 100644 (file)
@@ -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
index 7803298..17d5922 100755 (executable)
@@ -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