[FFmpeg-cvslog] r12251 - trunk/configure

Ramiro Polla ramiro
Thu Feb 28 22:16:27 CET 2008


mru escreveu:
> Author: mru
> Date: Tue Feb 26 22:50:06 2008
> New Revision: 12251
>
> Log:
> print enabled things in columns
>
>
> Modified:
>    trunk/configure
>
> Modified: trunk/configure
> ==============================================================================
> --- trunk/configure	(original)
> +++ trunk/configure	Tue Feb 26 22:50:06 2008
> @@ -1951,14 +1951,11 @@ echo "zlib enabled              ${zlib-n
>  
>  for type in decoder encoder parser demuxer muxer protocol filter bsf indev outdev; do
>      echo "Enabled ${type}s:"
> -    ucname="\$`toupper $type`_LIST"
> -    list="`eval echo $ucname`"
> -    partlist=""
> +    eval list=\$$(toupper $type)_LIST
>      for part in $list; do
> -        enabled $part && partlist="$partlist $part"
> -    done
> -    partlist=`echo $partlist | sed s/_$type//g | tr ' ' '\n' | sort`
> -    echo $partlist
> +        enabled $part && echo ${part%_*}
> +    done | sort | pr -3 -t
> +    echo
>  done
>   

Nice. I had thought about this for quite some time but couldn't find 
anything remotely as simple.

Ramiro Polla




More information about the ffmpeg-cvslog mailing list