changeset 26230:ab89e2390fb0

Compilation fix. Since FFmpeg r12484, libswscale requires EXTERN_PREFIX defined.
author eugeni
date Tue, 18 Mar 2008 09:09:53 +0000
parents 10bd2e6eee6a
children ff5d0c3b8ee6
files configure
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon Mar 17 22:39:57 2008 +0000
+++ b/configure	Tue Mar 18 09:09:53 2008 +0000
@@ -2296,6 +2296,16 @@
 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 @@
 # define attribute_used
 #endif
 
+/* extern symbol prefix */
+$_def_extern_prefix
+
 /* compiler support for named assembler arguments */
 $_def_named_asm_args