[PATCH] posix gthreads additions for c++0x thread library

Ralf Wildenhues Ralf.Wildenhues@gmx.de
Fri Aug 29 05:45:00 GMT 2008


* 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



More information about the Gcc-patches mailing list