[FFmpeg-devel] [PATCH][RFC] -std=c99
Michael Niedermayer
michaelni
Fri Aug 15 00:42:16 CEST 2008
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"
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080815/6bffcc58/attachment.pgp>
More information about the ffmpeg-devel
mailing list