changeset 23546:49bfde0ecd33

Compilation fix: define some ENABLE needed by lavc
author rtogni
date Sat, 16 Jun 2007 16:07:02 +0000
parents a9ec56d2b74c
children 7acb7ac64104
files configure
diffstat 1 files changed, 35 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sat Jun 16 15:32:54 2007 +0000
+++ b/configure	Sat Jun 16 16:07:02 2007 +0000
@@ -8403,6 +8403,41 @@
 $_def_mlib  // Sun mediaLib, available only on solaris
 $_def_vis	// only define if you have VIS ( ultrasparc )
 
+/* lavc extensions */
+#ifdef HAVE_MMX
+#define ENABLE_MMX 1
+#else
+#define ENABLE_MMX 0
+#endif
+#ifdef ARCH_ARMV4L
+#define ENABLE_ARMV4L 1
+#else
+#define ENABLE_ARMV4L 0
+#endif
+#ifdef HAVE_MLIB
+#define ENABLE_MLIB 1
+#else
+#define ENABLE_MLIB 0
+#endif
+#ifdef ARCH_SPARC
+#define ENABLE_SPARC 1
+#else
+#define ENABLE_SPARC 0
+#endif
+#ifdef ARCH_ALPHA
+#define ENABLE_ALPHA 1
+#else
+#define ENABLE_ALPHA 0
+#endif
+#ifdef ARCH_POWERPC
+#define ENABLE_POWERPC 1
+#else
+#define ENABLE_POWERPC 0
+#endif
+#define ENABLE_MMI 0
+#define ENABLE_SH4 0
+#define ENABLE_BFIN 0
+
 /* libmpeg2 uses a different feature test macro for mediaLib */
 #ifdef HAVE_MLIB
 #define LIBMPEG2_MLIB 1