Mercurial > mplayer.hg
comparison configure @ 1133:4d7e3d711f44
Added GGI autodetect, fixed --enable-debug=* for solaris n stuff.
author | atmosfear |
---|---|
date | Fri, 15 Jun 2001 16:32:21 +0000 |
parents | c8c8aead5075 |
children | 025cb2d303b8 |
comparison
equal
deleted
inserted
replaced
1132:80a0f8aa2360 | 1133:4d7e3d711f44 |
---|---|
108 --enable-sse build with sse support [autodetect] | 108 --enable-sse build with sse support [autodetect] |
109 --enable-gl build with OpenGL render support [autodetect] | 109 --enable-gl build with OpenGL render support [autodetect] |
110 --enable-dga build with DGA support [autodetect] | 110 --enable-dga build with DGA support [autodetect] |
111 --enable-svga build with SVGAlib support [autodetect] | 111 --enable-svga build with SVGAlib support [autodetect] |
112 --enable-sdl build with SDL render support [autodetect] | 112 --enable-sdl build with SDL render support [autodetect] |
113 --enable-ggi build with GGI render support [autodetect] | |
113 --enable-mga build with mga_vid support [autodetect, if /dev/mga_vid | 114 --enable-mga build with mga_vid support [autodetect, if /dev/mga_vid |
114 is available] | 115 is available] |
115 --enable-xmga build with mga_vid X Window support [autodetect, | 116 --enable-xmga build with mga_vid X Window support [autodetect, |
116 if both /dev/mga_vid and x11 are available] | 117 if both /dev/mga_vid and x11 are available] |
117 --enable-xv build with Xv render support for X 4.x [autodetect] | 118 --enable-xv build with Xv render support for X 4.x [autodetect] |
289 _sse=no | 290 _sse=no |
290 | 291 |
291 _mga=no | 292 _mga=no |
292 _gl=no | 293 _gl=no |
293 _sdl=no | 294 _sdl=no |
295 _ggi=no | |
294 _xv=no | 296 _xv=no |
295 _vm=no | 297 _vm=no |
296 _xdpms=no | 298 _xdpms=no |
297 _3dfx=no | 299 _3dfx=no |
298 _syncfb=no | 300 _syncfb=no |
314 _y=1 | 316 _y=1 |
315 | 317 |
316 _gllib= | 318 _gllib= |
317 _sdllib= | 319 _sdllib= |
318 _sdlcflags= | 320 _sdlcflags= |
321 _ggilib= | |
319 _xvlib= | 322 _xvlib= |
320 _x11lib= | 323 _x11lib= |
321 | 324 |
322 _select='#define HAVE_AUDIO_SELECT' | 325 _select='#define HAVE_AUDIO_SELECT' |
323 | 326 |
566 $_cc $TMPC -o $TMPO -ltermcap > /dev/null 2>&1 && _termcap=yes | 569 $_cc $TMPC -o $TMPO -ltermcap > /dev/null 2>&1 && _termcap=yes |
567 | 570 |
568 _png=no | 571 _png=no |
569 $_cc $TMPC -o $TMPO -lpng -lz -lm > /dev/null 2>&1 && _png=yes | 572 $_cc $TMPC -o $TMPO -lpng -lz -lm > /dev/null 2>&1 && _png=yes |
570 | 573 |
574 _ggi=no | |
575 $_cc $TMPC -o $TMPO -lggi > /dev/null 2>&1 && _ggi=yes | |
576 | |
571 _binutils=no | 577 _binutils=no |
572 $_as libac3/downmix/downmix_i386.S -o $TMPO > /dev/null 2>&1 && _binutils=yes | 578 $_as libac3/downmix/downmix_i386.S -o $TMPO > /dev/null 2>&1 && _binutils=yes |
573 | 579 |
574 # echo binutils: $_binutils | 580 # echo binutils: $_binutils |
575 | 581 |
709 ;; | 715 ;; |
710 --enable-debug) | 716 --enable-debug) |
711 _debug='-g' | 717 _debug='-g' |
712 ;; | 718 ;; |
713 --enable-debug=*) | 719 --enable-debug=*) |
714 _debug=`echo -n '-g'; echo $ac_option | cut -d '=' -f 2` | 720 _debug=`echo $_echo_n '-g'$_echo_c; echo $ac_option | cut -d '=' -f 2` |
715 ;; | 721 ;; |
716 --enable-css) | 722 --enable-css) |
717 _css=yes | 723 _css=yes |
718 ;; | 724 ;; |
719 --enable-png) | 725 --enable-png) |
741 --enable-gl) | 747 --enable-gl) |
742 _gl=yes | 748 _gl=yes |
743 ;; | 749 ;; |
744 --enable-sdl) | 750 --enable-sdl) |
745 _sdl=yes | 751 _sdl=yes |
752 ;; | |
753 --enable-ggi) | |
754 _ggi=yes | |
746 ;; | 755 ;; |
747 --enable-mga) | 756 --enable-mga) |
748 _mga=yes | 757 _mga=yes |
749 ;; | 758 ;; |
750 --enable-xmga) | 759 --enable-xmga) |
830 --disable-gl) | 839 --disable-gl) |
831 _gl=no | 840 _gl=no |
832 ;; | 841 ;; |
833 --disable-sdl) | 842 --disable-sdl) |
834 _sdl=no | 843 _sdl=no |
844 ;; | |
845 --disable-ggi) | |
846 _ggi=no | |
835 ;; | 847 ;; |
836 --disable-mga) | 848 --disable-mga) |
837 _mga=no | 849 _mga=no |
838 ;; | 850 ;; |
839 --disable-xmga) | 851 --disable-xmga) |
1027 echo "Screen size ... ${_x}x${_y}" | 1039 echo "Screen size ... ${_x}x${_y}" |
1028 echo "Checking for X11 libs ... $_x11libdir" | 1040 echo "Checking for X11 libs ... $_x11libdir" |
1029 echo "Checking mga_vid device ... $_mga" | 1041 echo "Checking mga_vid device ... $_mga" |
1030 echo "Checking for xmga ... $_xmga" | 1042 echo "Checking for xmga ... $_xmga" |
1031 echo "Checking for SDL ... $_sdl" | 1043 echo "Checking for SDL ... $_sdl" |
1044 echo "Checking for GGI ... $_ggi" | |
1032 echo "Checking for OpenGL ... $_gl" | 1045 echo "Checking for OpenGL ... $_gl" |
1033 echo "Checking for Xv ... $_xv" | 1046 echo "Checking for Xv ... $_xv" |
1034 echo "Checking for X11 ... $_x11" | 1047 echo "Checking for X11 ... $_x11" |
1035 echo "Checking for DGA ... $_dga" | 1048 echo "Checking for DGA ... $_dga" |
1036 echo "Checking for DGA 2.0 .. $_dga2" | 1049 echo "Checking for DGA 2.0 .. $_dga2" |
1106 if [ $_sdl = yes ]; then | 1119 if [ $_sdl = yes ]; then |
1107 _sdllib=`$_sdlconfig --libs` | 1120 _sdllib=`$_sdlconfig --libs` |
1108 _sdlcflags=`$_sdlconfig --cflags` | 1121 _sdlcflags=`$_sdlconfig --cflags` |
1109 fi | 1122 fi |
1110 | 1123 |
1124 if [ $_ggi = yes ]; then | |
1125 _ggilib='-lggi' | |
1126 fi | |
1127 | |
1111 if [ $_dga = yes ]; then | 1128 if [ $_dga = yes ]; then |
1112 _dgalib='-lXxf86dga' | 1129 _dgalib='-lXxf86dga' |
1113 fi | 1130 fi |
1114 | 1131 |
1115 if [ $_svga = yes ]; then | 1132 if [ $_svga = yes ]; then |
1201 AR=ar | 1218 AR=ar |
1202 CC=$_cc | 1219 CC=$_cc |
1203 X11DIR=$_x11libdir | 1220 X11DIR=$_x11libdir |
1204 # OPTFLAGS=-O4 $_profile $_debug -march=$proc -mcpu=$proc -pipe -fomit-frame-pointer -ffast-math | 1221 # OPTFLAGS=-O4 $_profile $_debug -march=$proc -mcpu=$proc -pipe -fomit-frame-pointer -ffast-math |
1205 OPTFLAGS=$CFLAGS | 1222 OPTFLAGS=$CFLAGS |
1206 # LIBS=-L/usr/lib -L/usr/local/lib $_x11libdir $_gllib $_sdllib $_dgalib $_x11lib $_xvlib | 1223 # LIBS=-L/usr/lib -L/usr/local/lib $_x11libdir $_gllib $_sdllib $_ggilib $_dgalib $_x11lib $_xvlib |
1207 X_LIBS=$_x11libdir $_gllib $_sdllib $_dgalib $_x11lib $_xvlib $_vmlib $_svgalib $_libpng $_socklib | 1224 X_LIBS=$_x11libdir $_gllib $_sdllib $_ggilib $_dgalib $_x11lib $_xvlib $_vmlib $_svgalib $_libpng $_socklib |
1208 TERMCAP_LIB=$_libtermcap | 1225 TERMCAP_LIB=$_libtermcap |
1209 XMM_LIBS = $_xmmplibs | 1226 XMM_LIBS = $_xmmplibs |
1210 LIRC_LIBS = $_lirclibs | 1227 LIRC_LIBS = $_lirclibs |
1211 CSS_LIB = $_csslib | 1228 CSS_LIB = $_csslib |
1212 CSS_INC = $_cssinc | 1229 CSS_INC = $_cssinc |
1291 _aosrc=$_aosrc' ao_sdl.c' | 1308 _aosrc=$_aosrc' ao_sdl.c' |
1292 else | 1309 else |
1293 _sdldef='#undef HAVE_SDL' | 1310 _sdldef='#undef HAVE_SDL' |
1294 fi | 1311 fi |
1295 | 1312 |
1313 if [ $_ggi = yes ]; then | |
1314 _ggi='#define HAVE_GGI' | |
1315 _vosrc=$_vosrc' vo_ggi.c' | |
1316 else | |
1317 _ggi='#undef HAVE_GGI' | |
1318 fi | |
1319 | |
1296 if [ $_x11 = yes ]; then | 1320 if [ $_x11 = yes ]; then |
1297 _x11='#define HAVE_X11' | 1321 _x11='#define HAVE_X11' |
1298 _vosrc=$_vosrc' vo_x11.c' | 1322 _vosrc=$_vosrc' vo_x11.c' |
1299 else | 1323 else |
1300 _x11='#undef HAVE_X11' | 1324 _x11='#undef HAVE_X11' |
1506 $_dga | 1530 $_dga |
1507 $_dga2 | 1531 $_dga2 |
1508 $_sdldef | 1532 $_sdldef |
1509 /* defined for SDLlib with keyrepeat bugs (before 1.2.1) */ | 1533 /* defined for SDLlib with keyrepeat bugs (before 1.2.1) */ |
1510 $_sdlbuggy | 1534 $_sdlbuggy |
1535 $_ggi | |
1511 $_3dfx | 1536 $_3dfx |
1512 $_mga | 1537 $_mga |
1513 $_syncfb | 1538 $_syncfb |
1514 $_fbdev | 1539 $_fbdev |
1515 $_svga | 1540 $_svga |