[Ffmpeg-devel] [PATCH] use enabled* functions in configure

Diego Biurrun diego
Sat Jan 27 09:00:11 CET 2007


On Fri, Jan 26, 2007 at 07:49:59PM -0200, ramiro at lisha.ufsc.br wrote:
> 
> enabled.diff changes all straight 'test $foo = "yes"' to 'enabled foo'.
> enabled_.diff changes one (the only) occurence of 'test $foo = yes -o test
> $bar = yes' to 'enabled_any foo bar', and one (the only) occurence of
> 'test $foo = yes && test $bar = yes' to 'enabled_all foo bar'.
> notno.diff changes occurences of 'test $foo != "no"' to 'enabled foo' for
> values which can only be set to "no" or "yes".

All applied, thanks.

> I still plan to add disabled(), and change 'test $foo = "no"' to 'disabled
> foo'. Also, collapse one lined 'if enabled foo; then's to enabled foo &&.
> And last, convert more complex tests with -a, -o and &&s to
> {dis,en}abled_{any,all}. (In small patches.)

Go for it.

Diego




More information about the ffmpeg-devel mailing list