[FFmpeg-devel] Windows CE status

Diego Biurrun diego
Mon Jul 27 16:38:02 CEST 2009


On Mon, Jul 27, 2009 at 05:22:58PM +0300, ?smail D?nmez wrote:
> 
> On Mon, Jul 27, 2009 at 5:12 PM, Diego Biurrun<diego at biurrun.de> wrote:
> > I think you should merge it with the other mingw section instead of
> > duplicating it.
> 
> Lets try this one then.

Much better, but can still be simplified..

> --- configure	(revision 19515)
> +++ configure	(working copy)
> @@ -1831,14 +1831,18 @@
>          enabled shared || check_cflags -mdynamic-no-pic
>          ;;
>      mingw32*)
> -        target_os=mingw32
> -        LIBTARGET=i386
> -        if enabled x86_64; then
> -            enable malloc_aligned
> -            LIBTARGET=x64
> -        elif enabled arm; then
> +        if test target_os = "mingw32ce"; then
>              LIBTARGET=arm
> +            disable network
> +        else
> +            LIBTARGET=i386
> +            target_os=mingw32
> +            if enabled x86_64; then
> +                enable malloc_aligned
> +                LIBTARGET=x64
> +            fi

Set the variables for the MinGW case and override them in the MinGWCE
case.  That should save some code duplication.

Diego



More information about the ffmpeg-devel mailing list