On Thu, May 14, 2015 at 01:19:49AM +0200, Luca Barbato wrote:
> --- a/configure
> +++ b/configure
> @@ -3306,19 +3312,28 @@ elif enabled ppc; then
> -        power[3-7]*)
> +        power[3-6]*)
>              cpuflags="-mcpu=$cpu"
> +            disable vsx
> +        ;;
> +        power[7-8]*)
> +            cpuflags="-mcpu=$cpu"
> +            enable ldbrx
>          ;;

Enabling ldbrx for power7 seems somewhat unrelated.

> @@ -3995,6 +4010,15 @@ EOF
>          enabled altivec || warn "Altivec disabled, possibly missing --cpu 
> flag"
>      fi
>  
> +    if enabled vsx; then
> +        check_cflags -mvsx &&
> +        check_builtin vec_vsx_ld "altivec.h" "__builtin_vec_vsx_ld" || 
> disable vsx

Indent the check_builtin call.

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

Reply via email to