[Pixman] [PATCH] configure.ac: Fix a copy-paste-o in TLS detection

Matt Turner mattst88 at gmail.com
Fri Mar 16 11:47:33 PDT 2012


On Fri, Mar 16, 2012 at 2:39 PM, Jeremy Huddleston <jeremyhu at apple.com> wrote:
>
> Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
>
> ---
>
> On Mar 16, 2012, at 09:44, Søren Sandmann wrote:
>
>> It fails for me too in a similar way on a quad-core AMD processor. The
>> config.h file contains this:
>>
>>    /* The compiler supported TLS storage class */
>>    #define TLS
>>
>> which doesn't seem right.
>
> Ugg.  copy-paste-o when I made the v2.  I think this will fix it, so please test.  Sorry about that.
>
>
>  configure.ac |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git /configure.ac /configure.ac
> new file mode 100644
> index ad0f3fa..1cf9eb4 100644
> --- /configure.ac
> +++ /configure.ac
> @@ -807,7 +807,7 @@ int $kw test;], [], ac_cv_tls=$kw)
>  AC_MSG_RESULT($ac_cv_tls)
>
>  if test "$ac_cv_tls" != "none"; then
> -    AC_DEFINE_UNQUOTED([TLS], $pixman_tls, [The compiler supported TLS storage class])
> +    AC_DEFINE_UNQUOTED([TLS], $ac_cv_tls, [The compiler supported TLS storage class])
>  fi
>
>  dnl
> --
> 1.7.9.2
>

Yep, that fixes it.

Tested-by: Matt Turner <mattst88 at gmail.com>


More information about the Pixman mailing list