[FFmpeg-devel] [PATCH] socklen_t definition

Rich Felker dalias
Mon Sep 17 11:33:42 CEST 2007


On Mon, Sep 17, 2007 at 05:56:52PM +0900, KO Myung-Hun wrote:
> Index: configure
> ===================================================================
> --- configure	(revision 10425)
> +++ configure	(working copy)
> @@ -534,6 +535,23 @@
>  EOF
>  }
>  
> +check_type(){
> +    log check_type "$@"
> +    headers=$1
> +    type=$2
> +    shift 2
> +    disable $type
> +    incs=""
> +    for hdr in $headers; do
> +        incs="$incs
> +#include <$hdr>"
> +    done
> +    check_cc "$@" <<EOF && enable $type
> +$incs
> +$type v;
> +EOF
> +}
> +
>  require(){
>      name="$1"
>      header="$2"
> @@ -699,6 +718,7 @@
>      ppc64
>      sdl
>      sdl_video_size
> +    socklen_t
>      soundcard_h
>      sys_poll_h
>      sys_soundcard_h
> @@ -1662,6 +1699,8 @@

Is the quoting (or lack thereof) in this script robust?

Rich




More information about the ffmpeg-devel mailing list