]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
acinclude.m4: Guard a variable test against an empty string.
authorBen Elliston <bje@au.ibm.com>
Fri, 19 Dec 2008 09:18:41 +0000 (09:18 +0000)
committerBen Elliston <bje@gcc.gnu.org>
Fri, 19 Dec 2008 09:18:41 +0000 (20:18 +1100)
* acinclude.m4: Guard a variable test against an empty string.
* configure: Regenerate.

From-SVN: r142829

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

index a1dd9869d658b5afc350ec3704aad1ef426bb1fc..da8f90b36c132dcf65b8589bfe8377e13f505a97 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 a1356bd7b06cb33dfdd122b114cdd4ec100e28f8..d7e93a83406144637d05652741116a3d5ad34589 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 78032984fe1fa661b36f6808df0439be5ea9c226..17d59229ff055edb3fecec5f4af47a8e0b50a5f2 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