[FFmpeg-devel] [PATCH] Implement CPP condition check support in configure

Diego Biurrun diego
Wed Oct 1 02:42:41 CEST 2008


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

Diego




More information about the ffmpeg-devel mailing list