comparison configure @ 20208:04ae7a7d0da3

Remove intrinsics check, they are no longer used in FFmpeg.
author diego
date Sat, 14 Oct 2006 16:32:15 +0000
parents 5789c723d8df
children 409f808489bf
comparison
equal deleted inserted replaced
20207:dc4afdf288fb 20208:04ae7a7d0da3
1503 int main(void) { return 0; } 1503 int main(void) { return 0; }
1504 EOF 1504 EOF
1505 cc_check $_march $_gcc3_ext && _march="$_march $_gcc3_ext" 1505 cc_check $_march $_gcc3_ext && _march="$_march $_gcc3_ext"
1506 fi 1506 fi
1507 1507
1508 fi
1509
1510
1511 # intrinsics headers for use with FFmpeg
1512 if test "$_sse" = yes ; then
1513 echocheck "xmmintrin.h"
1514 cat > $TMPC << EOF
1515 #include <xmmintrin.h>
1516 int main() { _mm_sfence(); return 0; }
1517 EOF
1518 _builtin_vector=no
1519 cc_check -msse && _builtin_vector=yes
1520 if test "$_builtin_vector" = yes ; then
1521 _def_builtin_vector='#define HAVE_BUILTIN_VECTOR 1'
1522 else
1523 _def_builtin_vector='#undef HAVE_BUILTIN_VECTOR'
1524 fi
1525 echores "$_builtin_vector"
1526 fi
1527
1528 if test "$_3dnow" = yes ; then
1529 echocheck "mm3dnow.h"
1530 cat > $TMPC << EOF
1531 #include <mm3dnow.h>
1532 int main() { _m_femms(); return 0; }
1533 EOF
1534 _mm3dnow=no
1535 cc_check -m3dnow && _mm3dnow=yes
1536 if test "$_mm3dnow" = yes ; then
1537 _def_mm3dnow='#define HAVE_MM3DNOW 1'
1538 else
1539 _def_mm3dnow='#undef HAVE_MM3DNOW'
1540 fi
1541 echores "$_mm3dnow"
1542 fi 1508 fi
1543 1509
1544 1510
1545 echocheck "assembler support of -pipe option" 1511 echocheck "assembler support of -pipe option"
1546 cat > $TMPC << EOF 1512 cat > $TMPC << EOF
8343 $_def_armv5te // only define if you have Enhanced DSP Extensions (ARM) 8309 $_def_armv5te // only define if you have Enhanced DSP Extensions (ARM)
8344 $_def_iwmmxt // only define if you have XScale IWMMX (ARM) 8310 $_def_iwmmxt // only define if you have XScale IWMMX (ARM)
8345 8311
8346 $_def_altivec_h // enables usage of altivec.h 8312 $_def_altivec_h // enables usage of altivec.h
8347 8313
8348 $_def_builtin_vector // enables usage of xmmintrin.h
8349 $_def_mm3dnow // enables usage of mm3dnow.h
8350
8351 $_def_mlib // Sun mediaLib, available only on solaris 8314 $_def_mlib // Sun mediaLib, available only on solaris
8352 $_def_vis // only define if you have VIS ( ultrasparc ) 8315 $_def_vis // only define if you have VIS ( ultrasparc )
8353 8316
8354 /* libmpeg2 uses a different feature test macro for mediaLib */ 8317 /* libmpeg2 uses a different feature test macro for mediaLib */
8355 #ifdef HAVE_MLIB 8318 #ifdef HAVE_MLIB