On Wed, May 10, 2017 at 05:20:29PM +0200, Luca Barbato wrote:
> --- a/configure
> +++ b/configure
> @@ -4452,7 +4452,14 @@ EOF
> 
>      if enabled vsx; then
>          check_cflags -mvsx &&
> -        check_builtin vec_vsx_ld "altivec.h" "__builtin_vec_vsx_ld" || 
> disable vsx
> +        check_cc <<EOF || disable vsx
> +$inc_altivec_h
> +int main(void) {
> +    int v[4] = { 0 };
> +    vector signed int v1 = vec_vsx_ld(0, v);
> +    return 0;
> +}
> +EOF

check_code cc "$inc_altivec_h" "int v[4] = { 0 }; vector signed int v1 = 
vec_vsx_ld(0, v); || disable vsx

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to