[FFmpeg-devel] [PATCH] Implement CPP condition check support in configure
Måns Rullgård
mans
Wed Oct 1 10:35:49 CEST 2008
Diego Biurrun <diego at biurrun.de> writes:
> On Wed, Sep 24, 2008 at 10:40:26PM +0200, Stefano Sabatini wrote:
>>
>> --- configure (revision 15400)
>> +++ configure (working copy)
>> @@ -608,6 +620,16 @@
>>
>> +require3(){
>> + name="$1"
>> + header="$2"
>> + func="$3"
>> + cpp_condition="$4"
>> + shift 4
>> + check_lib $header $func "$@" || die "ERROR: $name not found"
>> + check_cpp_condition $header "$cpp_condition" || die "ERROR: $name does not satisfies CPP condition: $cpp_condition"
>> +}
>
> I wonder if another require function is necessary. You could simply run
> two checks for libx264...
Yes, this is getting a bit specialised, and it would only be used in
one place.
That said, I'm still not convinced of the need to test the x264 version.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list