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

ramiro at lisha.ufsc.br ramiro
Fri Jan 26 22:49:59 CET 2007


Hello,

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".

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.)

Ramiro Polla
-------------- next part --------------
A non-text attachment was scrubbed...
Name: enabled.diff
Type: application/octet-stream
Size: 8175 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070126/4ce6e963/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: enabled_.diff
Type: application/octet-stream
Size: 527 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070126/4ce6e963/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: notno.diff
Type: application/octet-stream
Size: 1712 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070126/4ce6e963/attachment-0002.obj>



More information about the ffmpeg-devel mailing list