Add -fasm and -std=c99 when supported.
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 14 Aug 2008 23:38:09 +0000 (23:38 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 14 Aug 2008 23:38:09 +0000 (23:38 +0000)
Originally committed as revision 14769 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 7dd76b7..479105c 100755 (executable)
--- a/configure
+++ b/configure
@@ -1125,6 +1125,9 @@ TMPO="${TMPDIR1}/ffmpeg-conf-${RANDOM}-$$-${RANDOM}.o"
 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"