[FFmpeg-devel] Patch for adding a Haiku case to configure

Måns Rullgård mans
Sun Mar 8 12:18:02 CET 2009


scott mc <scottmc2 at gmail.com> writes:

> Here's a patch to add a case to configure for Haiku, breaking it out
> of the previous beos*|haiku*|zeta*).  This will allow for easier
> specific Haiku additions as we work to improve on the Haiku build for
> ffmpeg.
> -scottmc
>
> Index: configure
> ===================================================================
> --- configure	(revision 17861)
> +++ configure	(working copy)
> @@ -1512,7 +1512,7 @@
>  
>  # OS specific
>  case $target_os in
> -    beos|haiku|zeta)
> +    beos|zeta)
>          prefix_default="$HOME/config"
>          # helps building libavcodec
>          add_cflags -DPIC -fomit-frame-pointer
> @@ -1538,6 +1538,13 @@
>              enable beos_netserver
>              network_extralibs="-lnet"
>          fi ;;
> +    haiku)
> +        prefix_default="/boot/common"
> +        disable audio_beos
> +        enable beosthreads
> +        network_extralibs="-lnetwork"
> +        ;;
>      sunos)
>          FFSERVERLDFLAGS=""
>          SHFLAGS='-shared -Wl,-h,$$(@F)'

I'd like Francois to comment on this.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list