This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PATCH] posix gthreads additions for c++0x thread library
* Chris Fairles wrote on Wed, Aug 27, 2008 at 11:53:48PM CEST:
> --- acinclude.m4 (revision 139626)
> +++ acinclude.m4 (working copy)
> @@ -2815,7 +2815,42 @@
> AC_SUBST(glibcxx_thread_h)
> ])
>
> +# Check if gthread implementation defines the types and functions required
> +# by the c++0x thread library. Conforming gthread implementations can define
> +# __GTHREADS_CXX0X to enable use with c++0x.
> +AC_DEFUN([GLIBCXX_CHECK_GTHREADS], [
[...]
> +
> + if test $ac_has_gthreads == yes; then
test ... == ...
is a bashism, please use '=' instead, which is portable.
Cheers,
Ralf