[MPlayer-cvslog] r32381 - in trunk: . configure
diego
subversion at mplayerhq.hu
Mon Sep 27 03:09:43 CEST 2010
Author: diego
Date: Mon Sep 27 03:09:42 2010
New Revision: 32381
Log:
Add config.asm with (sub)architecture definitions for FFmpeg's YASM support.
Modified:
trunk/ (props changed)
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Mon Sep 27 02:46:28 2010 (r32380)
+++ trunk/configure Mon Sep 27 03:09:42 2010 (r32381)
@@ -8841,6 +8841,18 @@ EOF
# Do not overwrite an unchanged avconfig.h to avoid superfluous rebuilds.
cmp -s "$TMPH" libavutil/avconfig.h || mv -f "$TMPH" libavutil/avconfig.h
+
+if x86; then
+# Create a skeleton config.asm with just the ARCH_ definitions for FFmpeg.
+> "$TMPS"
+for part in $arch $subarch; do
+ part=$(echo $part | tr '[a-z]' '[A-Z]')
+ echo "%define ARCH_${part}" >> "$TMPS"
+done
+
+cmp -s "$TMPS" config.asm || mv -f "$TMPS" config.asm
+fi
+
#############################################################################
cat << EOF
More information about the MPlayer-cvslog
mailing list