diff options
author | Ben Elliston <bje@au.ibm.com> | 2008-12-19 09:18:41 +0000 |
---|---|---|
committer | Ben Elliston <bje@gcc.gnu.org> | 2008-12-19 20:18:41 +1100 |
commit | dd88bc97473ecad755657a587123e6da2653949a (patch) | |
tree | 0bcbfb5e3a28a647b0e49dc7a0d137511f0fbac0 | |
parent | cece8bb5c76bcb1c7b2973212bbfa5a688ef69bd (diff) | |
download | gcc-dd88bc97473ecad755657a587123e6da2653949a.zip gcc-dd88bc97473ecad755657a587123e6da2653949a.tar.gz gcc-dd88bc97473ecad755657a587123e6da2653949a.tar.bz2 |
acinclude.m4: Guard a variable test against an empty string.
* acinclude.m4: Guard a variable test against an empty string.
* configure: Regenerate.
From-SVN: r142829
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/acinclude.m4 | 2 | ||||
-rwxr-xr-x | libstdc++-v3/configure | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index a1dd986..da8f90b 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 a1356bd..d7e93a8 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 7803298..17d5922 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 |