[MPlayer-cvslog] r26262 - trunk/configure

eugeni subversion at mplayerhq.hu
Tue Mar 18 10:09:53 CET 2008


Author: eugeni
Date: Tue Mar 18 10:09:53 2008
New Revision: 26262

Log:
Compilation fix.

Since FFmpeg r12484, libswscale requires EXTERN_PREFIX defined.


Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Tue Mar 18 10:09:53 2008
@@ -2296,6 +2296,16 @@ if test "$_runtime_cpudetection" = yes ;
 fi
 
 
+echocheck "extern symbol prefix"
+cat > $TMPC << EOF
+int ff_extern;
+EOF
+cc_check -c || die "Symbol mangling check failed."
+sym=$(nm -P -g $TMPEXE)
+extern_prefix=${sym%%ff_extern*}
+_def_extern_prefix="#define EXTERN_PREFIX \"$extern_prefix\""
+echores $extern_prefix
+
 
 echocheck "assembler support of -pipe option"
 cat > $TMPC << EOF
@@ -7957,6 +7967,9 @@ $_def_builtin_expect
 # define attribute_used
 #endif
 
+/* extern symbol prefix */
+$_def_extern_prefix
+
 /* compiler support for named assembler arguments */
 $_def_named_asm_args
 



More information about the MPlayer-cvslog mailing list