[FFmpeg-devel] [RFC] Simplify configure default parameters
Ramiro Ribeiro Polla
Sat May 12 23:53:07 CEST 2007
Attached patch shows an idea of how to simplify the configure script
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
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4483 bytes
Desc: not available
More information about the ffmpeg-devel