comparison configure @ 11:77b0a5c5e9e1

DGA support
author arpi_esp
date Tue, 27 Feb 2001 00:23:54 +0000
parents ad89e009076b
children f9f230786958
comparison
equal deleted inserted replaced
10:ab921a7ef863 11:77b0a5c5e9e1
3 # 3 #
4 # MPlayer configurator. (C) 2000 Pontscho/fresh!mindworkz 4 # MPlayer configurator. (C) 2000 Pontscho/fresh!mindworkz
5 # pontscho@makacs.poliod.hu 5 # pontscho@makacs.poliod.hu
6 # 6 #
7 # Changes in reversed order: 7 # Changes in reversed order:
8 #
9 # 2000/02/26 by A'rpi:
10 # - added DGA option: --enable-dga
11 # - no notify if --with-win32libdir used [Tibcu]
8 # 12 #
9 # 2000/02/25 by LGB: 13 # 2000/02/25 by LGB:
10 # - TMPDIR or TEMPDIR variable is honored during tests for temporary files 14 # - TMPDIR or TEMPDIR variable is honored during tests for temporary files
11 # - ChangeLog inside configure was reversed ;-) 15 # - ChangeLog inside configure was reversed ;-)
12 # 16 #
22 # - On some exit point (error) temporary files were not deleted. Fixed. 26 # - On some exit point (error) temporary files were not deleted. Fixed.
23 # - $TMP and $TMP2 are renamed to $TMPC and $TMPO ;-) 27 # - $TMP and $TMP2 are renamed to $TMPC and $TMPO ;-)
24 # - Some useless { ... } are removed 28 # - Some useless { ... } are removed
25 # 29 #
26 # some changes by A'rpi/ESP-team: 30 # some changes by A'rpi/ESP-team:
27 # - the --win32libdir patch by Aaron Hope applied 31 # - the --with-win32libdir patch by Aaron Hope applied
28 # - some english bugfix again :) 32 # - some english bugfix again :)
29 # - cpu type selection changed: 33 # - cpu type selection changed:
30 # ( k7->k6->k5-> ) || (i686->pentiumpro-> ) pentium-> i486 -> i386 -> error! 34 # ( k7->k6->k5-> ) || (i686->pentiumpro-> ) pentium-> i486 -> i386 -> error!
31 # - cpu type for AMD/family=5 changed k6->k5 35 # - cpu type for AMD/family=5 changed k6->k5
32 # 36 #
131 _3dfx=no 135 _3dfx=no
132 _syncfb=no 136 _syncfb=no
133 _mlib=no 137 _mlib=no
134 _mpg123=no 138 _mpg123=no
135 _xmga=no 139 _xmga=no
140 _dga=no
136 _lirc=no 141 _lirc=no
137 142
138 _x=1 143 _x=1
139 _y=1 144 _y=1
140 145
380 --enable-mga) 385 --enable-mga)
381 _mga=yes 386 _mga=yes
382 ;; 387 ;;
383 --enable-xmga) 388 --enable-xmga)
384 _xmga=yes 389 _xmga=yes
390 ;;
391 --enable-dga)
392 _dga=yes
385 ;; 393 ;;
386 --enable-xv) 394 --enable-xv)
387 _xv=yes 395 _xv=yes
388 ;; 396 ;;
389 --enable-x11) 397 --enable-x11)
443 --with-x11libdir=*) 451 --with-x11libdir=*)
444 _x11libdir=-L`echo $ac_option | cut -d '=' -f 2` 452 _x11libdir=-L`echo $ac_option | cut -d '=' -f 2`
445 ;; 453 ;;
446 --with-win32libdir=*) 454 --with-win32libdir=*)
447 _win32libdir=`echo $ac_option | cut -d '=' -f 2` 455 _win32libdir=`echo $ac_option | cut -d '=' -f 2`
456 _win32libdirnotify=no
448 ;; 457 ;;
449 --size-x=*) 458 --size-x=*)
450 _x=`echo $ac_option | cut -d '=' -f 2` 459 _x=`echo $ac_option | cut -d '=' -f 2`
451 ;; 460 ;;
452 --size-y=*) 461 --size-y=*)
620 _vosrc=$_vosrc' vo_3dfx.c' 629 _vosrc=$_vosrc' vo_3dfx.c'
621 else 630 else
622 _3dfx='#undef HAVE_3DFX' 631 _3dfx='#undef HAVE_3DFX'
623 fi 632 fi
624 633
634 if [ $_dga = yes ]; then
635 _dga='#define HAVE_DGA'
636 _vosrc=$_vosrc' vo_dga.c'
637 else
638 _dga='#undef HAVE_DGA'
639 fi
640
625 if [ $_mpg123 = yes ]; then 641 if [ $_mpg123 = yes ]; then
626 _mpg123='#define DEFAULT_MPG123' 642 _mpg123='#define DEFAULT_MPG123'
627 else 643 else
628 _mpg123='#undef DEFAULT_MPG123' 644 _mpg123='#undef DEFAULT_MPG123'
629 fi 645 fi
688 #define SCREEN_SIZE_X $_x 704 #define SCREEN_SIZE_X $_x
689 #define SCREEN_SIZE_Y $_y 705 #define SCREEN_SIZE_Y $_y
690 $_x11 706 $_x11
691 $_xv 707 $_xv
692 $_gl 708 $_gl
709 $_dga
693 $_sdldef 710 $_sdldef
694 $_3dfx 711 $_3dfx
695 $_mga 712 $_mga
696 $_syncfb 713 $_syncfb
697 714