comparison configure @ 26230:ab89e2390fb0

Compilation fix. Since FFmpeg r12484, libswscale requires EXTERN_PREFIX defined.
author eugeni
date Tue, 18 Mar 2008 09:09:53 +0000
parents 79ee79393eed
children 5f886c6b4cd3
comparison
equal deleted inserted replaced
26229:10bd2e6eee6a 26230:ab89e2390fb0
2294 _altivec=yes 2294 _altivec=yes
2295 fi 2295 fi
2296 fi 2296 fi
2297 2297
2298 2298
2299 echocheck "extern symbol prefix"
2300 cat > $TMPC << EOF
2301 int ff_extern;
2302 EOF
2303 cc_check -c || die "Symbol mangling check failed."
2304 sym=$(nm -P -g $TMPEXE)
2305 extern_prefix=${sym%%ff_extern*}
2306 _def_extern_prefix="#define EXTERN_PREFIX \"$extern_prefix\""
2307 echores $extern_prefix
2308
2299 2309
2300 echocheck "assembler support of -pipe option" 2310 echocheck "assembler support of -pipe option"
2301 cat > $TMPC << EOF 2311 cat > $TMPC << EOF
2302 int main(void) { return 0; } 2312 int main(void) { return 0; }
2303 EOF 2313 EOF
7955 # define attribute_used __attribute__((used)) 7965 # define attribute_used __attribute__((used))
7956 #else 7966 #else
7957 # define attribute_used 7967 # define attribute_used
7958 #endif 7968 #endif
7959 7969
7970 /* extern symbol prefix */
7971 $_def_extern_prefix
7972
7960 /* compiler support for named assembler arguments */ 7973 /* compiler support for named assembler arguments */
7961 $_def_named_asm_args 7974 $_def_named_asm_args
7962 7975
7963 /* enable/disable SIGHANDLER */ 7976 /* enable/disable SIGHANDLER */
7964 $_def_sighandler 7977 $_def_sighandler