[FFmpeg-devel] [PATCH][RFC] -std=c99

Måns Rullgård mans
Fri Aug 15 01:10:37 CEST 2008


Michael Niedermayer <michaelni at gmx.at> writes:

> On Thu, Aug 14, 2008 at 11:22:12PM +0100, M?ns Rullg?rd wrote:
>> Michael Niedermayer <michaelni at gmx.at> writes:
>> 
>> > On Thu, Aug 14, 2008 at 11:08:00PM +0200, Diego Biurrun wrote:
>> >
>> >> line 1112
>> >
>> > doesnt work
>> >
>> > Index: configure
>> > ===================================================================
>> > --- configure	(revision 14765)
>> > +++ configure	(working copy)
>> > @@ -1109,6 +1109,9 @@
>> >  ranlib="${cross_prefix}${ranlib}"
>> >  strip="${cross_prefix}${strip}"
>> >
>> > +check_cflags -fasm
>> > +check_cflags -std=c99
>> > +
>> >  # set temporary file name
>> >  if test ! -z "$TMPDIR" ; then
>> >      TMPDIR1="${TMPDIR}"
>> >
>> > results in:
>> >
>> > ./configure: line 426: $TMPC: ambiguous redirect
>> > ./configure: line 426: $TMPC: ambiguous redirect
>> 
>> Don't believe everything Diego tells you.  Line 1127 should work.
>
> patch below:
>
> Index: configure
> ===================================================================
> --- configure	(revision 14767)
> +++ configure	(working copy)
> @@ -1125,6 +1125,9 @@
>  TMPS="${TMPDIR1}/ffmpeg-conf-${RANDOM}-$$-${RANDOM}.S"
>  TMPSH="${TMPDIR1}/ffmpeg-conf-${RANDOM}-$$-${RANDOM}.sh"
>
> +check_cflags -fasm
> +check_cflags -std=c99
> +
>  case "$arch" in
>      i386|i486|i586|i686|i86pc|BePC)
>          arch="x86_32"

OK

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




More information about the ffmpeg-devel mailing list