Mercurial > mplayer.hg
comparison configure @ 2727:a44484066941
autodetecting for dvb-cards
author | jaf |
---|---|
date | Mon, 05 Nov 2001 21:49:20 +0000 |
parents | 7406f6d1c8ba |
children | ae79207a3055 |
comparison
equal
deleted
inserted
replaced
2726:d81c978eacc4 | 2727:a44484066941 |
---|---|
182 --enable-svga build with SVGAlib support [autodetect] | 182 --enable-svga build with SVGAlib support [autodetect] |
183 --enable-sdl build with SDL render support [autodetect] | 183 --enable-sdl build with SDL render support [autodetect] |
184 --enable-aa build with AAlib render support [autodetect] | 184 --enable-aa build with AAlib render support [autodetect] |
185 --enable-ggi build with GGI render support [autodetect] | 185 --enable-ggi build with GGI render support [autodetect] |
186 --enable-dxr3 build with DXR3/H+ render support [autodetect] | 186 --enable-dxr3 build with DXR3/H+ render support [autodetect] |
187 --enable-dvb build with support for output via DVB-Card [autodetect] | |
187 --enable-mga build with mga_vid support | 188 --enable-mga build with mga_vid support |
188 (check for /dev/mga_vid) [autodetect] | 189 (check for /dev/mga_vid) [autodetect] |
189 --enable-xmga build with mga_vid X Window support | 190 --enable-xmga build with mga_vid X Window support |
190 (check for X & /dev/mga_vid) [autodetect] | 191 (check for X & /dev/mga_vid) [autodetect] |
191 --enable-xv build with Xv render support for X 4.x [autodetect] | 192 --enable-xv build with Xv render support for X 4.x [autodetect] |
238 --with-sdl-config=PATH path to sdl*-config (e.g.: /opt/bin/sdl-config) | 239 --with-sdl-config=PATH path to sdl*-config (e.g.: /opt/bin/sdl-config) |
239 --with-gtk-config=PATH path to gtk*-config (e.g.: /opt/bin/gtk-config) | 240 --with-gtk-config=PATH path to gtk*-config (e.g.: /opt/bin/gtk-config) |
240 --with-glib-config=PATH path to glib*-config (e.g.: /opt/bin/glib-config) | 241 --with-glib-config=PATH path to glib*-config (e.g.: /opt/bin/glib-config) |
241 --with-extralibdir=DIR extra library files (png, SDL, ...) in DIR | 242 --with-extralibdir=DIR extra library files (png, SDL, ...) in DIR |
242 --with-extraincdir=DIR extra headers (png, SDL) are in DIR | 243 --with-extraincdir=DIR extra headers (png, SDL) are in DIR |
244 --with-dvbincdir=DIR dvb-driver files in DIR | |
243 --with-madlibdir=DIR 'libmad.so' (libmad shared lib.) in DIR | 245 --with-madlibdir=DIR 'libmad.so' (libmad shared lib.) in DIR |
244 --with-madincdir=DIR 'mad.h' (libmad header file) in DIR | 246 --with-madincdir=DIR 'mad.h' (libmad header file) in DIR |
245 | 247 |
246 EOF | 248 EOF |
247 exit 0 | 249 exit 0 |
302 _extralibdir=-L`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -L,g'` | 304 _extralibdir=-L`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -L,g'` |
303 ;; | 305 ;; |
304 --with-extraincdir=*) | 306 --with-extraincdir=*) |
305 _extraincdir=-I`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -I,g'` | 307 _extraincdir=-I`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -I,g'` |
306 ;; | 308 ;; |
307 --with-madlibdir=*) | 309 --with-dvbincdir=*) |
310 _dvbincdir=-I`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -I,g'` | |
311 ;; | |
312 --with-madlibdir=*) | |
308 _madlibdir=-L`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -L,g'` | 313 _madlibdir=-L`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -L,g'` |
309 ;; | 314 ;; |
310 --with-madincdir=*) | 315 --with-madincdir=*) |
311 _madincdir=-I`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -I,g'` | 316 _madincdir=-I`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -I,g'` |
312 ;; | 317 ;; |
313 esac | 318 esac |
314 done | 319 done |
315 | 320 |
572 _xmga=autodetect | 577 _xmga=autodetect |
573 _dga=no | 578 _dga=no |
574 _dga2=no | 579 _dga2=no |
575 _svga=no | 580 _svga=no |
576 _fbdev=no | 581 _fbdev=no |
582 _dvb=no | |
577 _dxr3=no | 583 _dxr3=no |
578 linux && _fbdev=yes | 584 linux && _fbdev=yes |
579 _lirc=no | 585 _lirc=no |
580 _css=no | 586 _css=no |
581 _dvdread=no | 587 _dvdread=no |
671 cc_check $_extraincdir $_extralibdir -lffmpeg -lm && _libavcodec_so=yes | 677 cc_check $_extraincdir $_extralibdir -lffmpeg -lm && _libavcodec_so=yes |
672 | 678 |
673 if test -c /dev/mga_vid ; then | 679 if test -c /dev/mga_vid ; then |
674 _mga=yes | 680 _mga=yes |
675 _syncfb=yes | 681 _syncfb=yes |
682 fi | |
683 | |
684 if test -e /dev/ost/video ; then | |
685 _dvb=yes | |
676 fi | 686 fi |
677 | 687 |
678 cat > $TMPC << EOF | 688 cat > $TMPC << EOF |
679 int main( void ) { return 0; } | 689 int main( void ) { return 0; } |
680 EOF | 690 EOF |
1497 _fbdev=no | 1507 _fbdev=no |
1498 ;; | 1508 ;; |
1499 --disable-dxr3) | 1509 --disable-dxr3) |
1500 _dxr3=no | 1510 _dxr3=no |
1501 ;; | 1511 ;; |
1512 --enable-dvb) | |
1513 _dvb=yes | |
1514 ;; | |
1515 --disable-dvb) | |
1516 _dvb=no | |
1517 ;; | |
1502 --disable-iconv) | 1518 --disable-iconv) |
1503 _iconv=no | 1519 _iconv=no |
1504 ;; | 1520 ;; |
1505 --disable-termcap) | 1521 --disable-termcap) |
1506 _termcap=no | 1522 _termcap=no |
1576 --with-x11incdir=*) | 1592 --with-x11incdir=*) |
1577 ;; | 1593 ;; |
1578 --with-extralibdir=*) | 1594 --with-extralibdir=*) |
1579 ;; | 1595 ;; |
1580 --with-extraincdir=*) | 1596 --with-extraincdir=*) |
1597 ;; | |
1598 --with-dvbincdir=*) | |
1581 ;; | 1599 ;; |
1582 --prefix=*) | 1600 --prefix=*) |
1583 _prefix=`echo $ac_option | cut -d '=' -f 2` | 1601 _prefix=`echo $ac_option | cut -d '=' -f 2` |
1584 ;; | 1602 ;; |
1585 --datadir=*) | 1603 --datadir=*) |
1760 echo "Checking for DGA ... $_dga" | 1778 echo "Checking for DGA ... $_dga" |
1761 echo "Checking for DGA 2.0 .. $_dga2" | 1779 echo "Checking for DGA 2.0 .. $_dga2" |
1762 echo "Checking for Xf86VM ... $_vm" | 1780 echo "Checking for Xf86VM ... $_vm" |
1763 echo "Checking for SVGAlib ... $_svga" | 1781 echo "Checking for SVGAlib ... $_svga" |
1764 echo "Checking for FBDev ... $_fbdev" | 1782 echo "Checking for FBDev ... $_fbdev" |
1783 echo "Checking for DVB ... $_dvb" | |
1765 echo "Checking for DXR3/H+ ... $_dxr3" | 1784 echo "Checking for DXR3/H+ ... $_dxr3" |
1766 echo "Checking for OSS Audio ... $_oss_audio" | 1785 echo "Checking for OSS Audio ... $_oss_audio" |
1767 echo "Checking for ALSA Audio ... $_alsaver" | 1786 echo "Checking for ALSA Audio ... $_alsaver" |
1768 echo "Checking for ESD Audio ... $_esd" | 1787 echo "Checking for ESD Audio ... $_esd" |
1769 echo "Checking for Sun Audio ... $_sun_audio" | 1788 echo "Checking for Sun Audio ... $_sun_audio" |
2420 if test "$_fbdev" = yes ; then | 2439 if test "$_fbdev" = yes ; then |
2421 _fbdev='#define HAVE_FBDEV' | 2440 _fbdev='#define HAVE_FBDEV' |
2422 _vosrc=$_vosrc' vo_fbdev.c' | 2441 _vosrc=$_vosrc' vo_fbdev.c' |
2423 else | 2442 else |
2424 _fbdev='#undef HAVE_FBDEV' | 2443 _fbdev='#undef HAVE_FBDEV' |
2444 fi | |
2445 | |
2446 if test "$_dvb" = yes ; then | |
2447 _have_dvb='#define HAVE_DVB' | |
2448 else | |
2449 _have_dvb='#undef HAVE_MGA' | |
2425 fi | 2450 fi |
2426 | 2451 |
2427 if test "$_dxr3" = yes ; then | 2452 if test "$_dxr3" = yes ; then |
2428 _dxr3='#define HAVE_DXR3' | 2453 _dxr3='#define HAVE_DXR3' |
2429 _dxr3lib='-ldxr3' | 2454 _dxr3lib='-ldxr3' |
2502 DIVX4LINUX=$_divx4linux | 2527 DIVX4LINUX=$_divx4linux |
2503 MLIB_INC = $_mlibinc | 2528 MLIB_INC = $_mlibinc |
2504 MLIB_LIB = $_mliblib | 2529 MLIB_LIB = $_mliblib |
2505 MADLIB_INC = $_madincdir | 2530 MADLIB_INC = $_madincdir |
2506 MADLIB_LIB = $_madlibdir | 2531 MADLIB_LIB = $_madlibdir |
2532 DVB_INC = $_dvbincdir | |
2507 | 2533 |
2508 # --- Some stuff for autoconfigure ---- | 2534 # --- Some stuff for autoconfigure ---- |
2509 $_target_arch | 2535 $_target_arch |
2510 $_confcygwin | 2536 $_confcygwin |
2511 TARGET_CPU=$iproc | 2537 TARGET_CPU=$iproc |
2748 $_mga | 2774 $_mga |
2749 $_xmga | 2775 $_xmga |
2750 $_syncfb | 2776 $_syncfb |
2751 $_fbdev | 2777 $_fbdev |
2752 $_dxr3 | 2778 $_dxr3 |
2779 $_have_dvb | |
2753 $_svga | 2780 $_svga |
2754 $_have_xdpms | 2781 $_have_xdpms |
2755 $_aa | 2782 $_aa |
2756 | 2783 |
2757 /* used by GUI: */ | 2784 /* used by GUI: */ |