Mercurial > mplayer.hg
comparison configure @ 350:601822cc8c52
applied MMX2 memcpy() patch by Nick Kurshev
author | arpi_esp |
---|---|
date | Wed, 11 Apr 2001 12:47:45 +0000 |
parents | 3c7ce767bb32 |
children | c39058295939 |
comparison
equal
deleted
inserted
replaced
349:96793536a478 | 350:601822cc8c52 |
---|---|
68 usage: $0 [options] | 68 usage: $0 [options] |
69 | 69 |
70 params: | 70 params: |
71 --cc use this C compiler to build MPlayer [gcc] | 71 --cc use this C compiler to build MPlayer [gcc] |
72 --enable-mmx build with mmx support [autodetect] | 72 --enable-mmx build with mmx support [autodetect] |
73 --enable-mmx2 build with mmx2 support (PIII, Athlon) [autodetect] | |
73 --enable-3dnow build with 3dnow! support [autodetect] | 74 --enable-3dnow build with 3dnow! support [autodetect] |
74 --enable-sse build with sse support [autodetect] | 75 --enable-sse build with sse support [autodetect] |
75 --enable-gl build with OpenGL render support [autodetect] | 76 --enable-gl build with OpenGL render support [autodetect] |
76 --enable-dga build with DGA support [autodetect] | 77 --enable-dga build with DGA support [autodetect] |
77 --enable-svga build with SVGAlib support [autodetect] | 78 --enable-svga build with SVGAlib support [autodetect] |
151 pfamily=`cat /proc/cpuinfo | grep 'cpu family' | cut -d ':' -f 2 | cut -d ' ' -f 2` | 152 pfamily=`cat /proc/cpuinfo | grep 'cpu family' | cut -d ':' -f 2 | cut -d ' ' -f 2` |
152 pmodel=`cat /proc/cpuinfo | grep "model$TAB" | cut -d ':' -f 2 | cut -d ' ' -f 2` | 153 pmodel=`cat /proc/cpuinfo | grep "model$TAB" | cut -d ':' -f 2 | cut -d ' ' -f 2` |
153 pstepping=`cat /proc/cpuinfo | grep 'stepping' | cut -d ':' -f 2 | cut -d ' ' -f 2` | 154 pstepping=`cat /proc/cpuinfo | grep 'stepping' | cut -d ':' -f 2 | cut -d ' ' -f 2` |
154 | 155 |
155 _mmx=no | 156 _mmx=no |
157 _mmx2=no | |
156 _3dnow=no | 158 _3dnow=no |
157 _mtrr=no | 159 _mtrr=no |
158 _sse=no | 160 _sse=no |
159 _mga=no | 161 _mga=no |
160 _gl=no | 162 _gl=no |
191 _mpg123=yes | 193 _mpg123=yes |
192 ;; | 194 ;; |
193 mmx) | 195 mmx) |
194 _mmx=yes | 196 _mmx=yes |
195 ;; | 197 ;; |
198 mmxext) | |
199 _mmx2=yes | |
200 ;; | |
196 mtrr) | 201 mtrr) |
197 _mtrr=yes | 202 _mtrr=yes |
198 ;; | 203 ;; |
199 k6_mtrr) | 204 k6_mtrr) |
200 _mtrr=yes | 205 _mtrr=yes |
442 _3dnow=yes | 447 _3dnow=yes |
443 ;; | 448 ;; |
444 --enable-mmx) | 449 --enable-mmx) |
445 _mmx=yes | 450 _mmx=yes |
446 ;; | 451 ;; |
452 --enable-mmx2) | |
453 _mmx2=yes | |
454 ;; | |
447 --enable-mtrr) | 455 --enable-mtrr) |
448 _mtrr=yes | 456 _mtrr=yes |
449 ;; | 457 ;; |
450 --enable-gl) | 458 --enable-gl) |
451 _gl=yes | 459 _gl=yes |
504 --disable-3dnow) | 512 --disable-3dnow) |
505 _3dnow=no | 513 _3dnow=no |
506 ;; | 514 ;; |
507 --disable-mmx) | 515 --disable-mmx) |
508 _mmx=no | 516 _mmx=no |
517 _mmx2=no | |
509 ;; | 518 ;; |
510 --disable-mtrr) | 519 --disable-mtrr) |
511 _mtrr=no | 520 _mtrr=no |
512 ;; | 521 ;; |
513 --disable-gl) | 522 --disable-gl) |
571 echo "Using C compiler: $_cc" | 580 echo "Using C compiler: $_cc" |
572 echo "Checking for cpu vendor ... $pvendor ( $pfamily:$pmodel:$pstepping )" | 581 echo "Checking for cpu vendor ... $pvendor ( $pfamily:$pmodel:$pstepping )" |
573 echo "Checking for cpu type ... $pname" | 582 echo "Checking for cpu type ... $pname" |
574 echo "Optimizing to ... $proc" | 583 echo "Optimizing to ... $proc" |
575 echo "Checking for mmx support ... $_mmx" | 584 echo "Checking for mmx support ... $_mmx" |
585 echo "Checking for mmx2 support ... $_mmx2" | |
576 echo "Checking for 3dnow support ... $_3dnow" | 586 echo "Checking for 3dnow support ... $_3dnow" |
577 echo "Checking for sse support ... $_sse" | 587 echo "Checking for sse support ... $_sse" |
578 echo "Checking for mtrr support ... $_mtrr" | 588 echo "Checking for mtrr support ... $_mtrr" |
579 echo "Screen size ... ${_x}x${_y}" | 589 echo "Screen size ... ${_x}x${_y}" |
580 echo "Checking for X11 libs ... $_x11libdir" | 590 echo "Checking for X11 libs ... $_x11libdir" |
673 _mmx='#define HAVE_MMX' | 683 _mmx='#define HAVE_MMX' |
674 else | 684 else |
675 _mmx='#undef HAVE_MMX' | 685 _mmx='#undef HAVE_MMX' |
676 fi | 686 fi |
677 | 687 |
688 if [ "$_mmx2" = "yes" ]; then | |
689 _mmx2='#define HAVE_MMX2' | |
690 else | |
691 _mmx2='#undef HAVE_MMX2' | |
692 fi | |
693 | |
678 if [ $_3dnow = yes ]; then | 694 if [ $_3dnow = yes ]; then |
679 _3dnowm='#define HAVE_3DNOW' | 695 _3dnowm='#define HAVE_3DNOW' |
680 else | 696 else |
681 _3dnowm='#undef HAVE_3DNOW' | 697 _3dnowm='#undef HAVE_3DNOW' |
682 fi | 698 fi |
849 | 865 |
850 /* Extension defines */ | 866 /* Extension defines */ |
851 $_mlib // available only on solaris | 867 $_mlib // available only on solaris |
852 $_3dnowm // only define if you have 3DNOW (AMD k6-2, AMD Athlon, iDT WinChip, etc.) | 868 $_3dnowm // only define if you have 3DNOW (AMD k6-2, AMD Athlon, iDT WinChip, etc.) |
853 $_mmx // only define if you have MMX | 869 $_mmx // only define if you have MMX |
870 $_mmx2 // only define if you have MMX2 | |
854 $_ssem // only define if you have SSE (Intel Pentium III or Celeron II) | 871 $_ssem // only define if you have SSE (Intel Pentium III or Celeron II) |
855 | 872 |
856 /* libvo options */ | 873 /* libvo options */ |
857 #define SCREEN_SIZE_X $_x | 874 #define SCREEN_SIZE_X $_x |
858 #define SCREEN_SIZE_Y $_y | 875 #define SCREEN_SIZE_Y $_y |