[FFmpeg-devel] [RFC] Simplify configure default parameters
Ramiro Ribeiro Polla
ramiro
Sat May 12 23:53:07 CEST 2007
Hello,
Attached patch shows an idea of how to simplify the configure script
(incomplete though).
Instead of having each parameter being set to a default value
separately, it puts them all in HAVE_LIST_DISABLED, HAVE_LIST_ENABLED,
(etc), which can be set all in one line.
HAVE_LIST is then made up of all those lists. Same thing goes for
CONFIG_LIST.
But configure has some inconsistencies. Some variables are not declared
before being used (so they're assumed to be disabled), and some aren't
set to a default parameter. Others are set, but they're not required to
be, since some check will either disable or enable them.
Ramiro Polla
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff2.diff
Type: text/x-patch
Size: 4483 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070512/09c88907/attachment.bin>
More information about the ffmpeg-devel
mailing list