[FFmpeg-cvslog] r22443 - trunk/configure
Ramiro Polla
ramiro.polla
Fri Mar 12 14:03:59 CET 2010
2010/3/12 M?ns Rullg?rd <mans at mansr.com>:
> Ramiro Polla <ramiro.polla at gmail.com> writes:
>> On Wed, Mar 10, 2010 at 9:39 PM, mru <subversion at mplayerhq.hu> wrote:
>>> Author: mru
>>> Date: Thu Mar 11 01:39:02 2010
>>> New Revision: 22443
>>>
>>> Log:
>>> configure: add --disable-everything option
>>>
>>> This disables all codecs, formats, etc. ?It saves some typing when
>>> only a few components are desired.
>>>
>>> Modified:
>>> ? trunk/configure
>>>
>>> Modified: trunk/configure
>>> ==============================================================================
>>> --- trunk/configure ? ? Wed Mar 10 23:43:23 2010 ? ? ? ?(r22442)
>>> +++ trunk/configure ? ? Thu Mar 11 01:39:02 2010 ? ? ? ?(r22443)
>>> @@ -312,6 +312,12 @@ filter(){
>>> ? ? done
>>> ?}
>>>
>>> +map(){
>>> + ? ?m=$1
>>> + ? ?shift
>>> + ? ?for _; do; eval $m; done
>>> +}
>>> +
>>> ?set_all(){
>>> ? ? value=$1
>>> ? ? shift
>>> @@ -1578,6 +1584,9 @@ for opt do
>>> ? ? ;;
>>> ? ? --enable-debug=*) debuglevel="$optval"
>>> ? ? ;;
>>> + ? ?--disable-everything)
>>> + ? ?map 'eval disable \${$(toupper ${_%s})_LIST}' $COMPONENT_LIST
>>> + ? ?;;
>>> ? ? --enable-*=*|--disable-*=*)
>>> ? ? eval $(echo "${opt%%=*}" | sed 's/--/action=/;s/-/ thing=/')
>>> ? ? is_in "${thing}s" $COMPONENT_LIST || die_unknown "$opt"
>>
>> Patch attached to add it to configure --help.
>>
>> Index: configure
>> ===================================================================
>> --- configure (revis?o 22480)
>> +++ configure (c?pia de trabalho)
>> @@ -116,6 +116,7 @@
>> ? ?--enable-hardcoded-tables use hardcoded tables instead of runtime generation
>> ? ?--enable-memalign-hack ? emulate memalign, interferes with memory debuggers
>> ? ?--enable-beos-netserver ?enable BeOS netserver
>> + ?--disable-everything ? ? disable all components listed below
>> ? ?--disable-encoder=NAME ? disable encoder NAME
>> ? ?--enable-encoder=NAME ? ?enable encoder NAME
>> ? ?--disable-encoders ? ? ? disable all encoders
>
> OK
Applied.
More information about the ffmpeg-cvslog
mailing list