Mercurial > mplayer.hg
comparison configure @ 2947:987c77cbb4de
last part of changes since around configure 230 applied
(lirc in autodetect, VO2 support)
blocks sorted for ao/vo (video/video+audio/audio)
author | pl |
---|---|
date | Sat, 17 Nov 2001 11:26:26 +0000 |
parents | 92ad139d6a7d |
children | 369dfb35fbdb |
comparison
equal
deleted
inserted
replaced
2946:325bd0b35bb0 | 2947:987c77cbb4de |
---|---|
16 # _inc_opt : ' -I/path/dir/include ' | 16 # _inc_opt : ' -I/path/dir/include ' |
17 # | 17 # |
18 # GOTCHAS: | 18 # GOTCHAS: |
19 # - config files are currently: | 19 # - config files are currently: |
20 # config2.h config2.mak libvo/config2.mak libao2/config2.mak | 20 # config2.h config2.mak libvo/config2.mak libao2/config2.mak |
21 # Gui/config2.mak | 21 # Gui/config2.mak libvo2/config2.mak |
22 # - removed xmmp/esd | 22 # - removed xmmp/esd |
23 # - removec dvbincdir/madincdir/cssincdir: add them to extraincdir | 23 # - removed dvbincdir/madincdir/cssincdir: add them to extraincdir |
24 # | 24 # |
25 ############################################################################# | 25 ############################################################################# |
26 | 26 |
27 # Prefer these macros to full length text ! | 27 # Prefer these macros to full length text ! |
28 # These macros only return an error code - NO display is done | 28 # These macros only return an error code - NO display is done |
93 data [/usr/local/share/mplayer] | 93 data [/usr/local/share/mplayer] |
94 | 94 |
95 Optional features: | 95 Optional features: |
96 --enable-largefiles enable support for files >2^32 bytes long [disable] | 96 --enable-largefiles enable support for files >2^32 bytes long [disable] |
97 --enable-termcap use termcap database for key codes [autodetect] | 97 --enable-termcap use termcap database for key codes [autodetect] |
98 --enable-lirc enable LIRC (remote control) support [disable] | 98 --enable-lirc enable LIRC (remote control) support [autodetect] |
99 --enable-gui enable GUI [disable] | 99 --enable-gui enable GUI [disable] |
100 --enable-tv enable TV Interface (tv/dvb grabbers) [disable] | 100 --enable-tv enable TV Interface (tv/dvb grabbers) [disable] |
101 --disable-win32 disable Win32 DLL support [autodetect] | 101 --disable-win32 disable Win32 DLL support [autodetect] |
102 --disable-dshow disable DirectShow support (if no C++ compiler and | 102 --disable-dshow disable DirectShow support (if no C++ compiler and |
103 libs are available or find the dshow codecs slower | 103 libs are available or find the dshow codecs slower |
644 _vm=auto | 644 _vm=auto |
645 _mlib=auto | 645 _mlib=auto |
646 _sgiaudio=auto | 646 _sgiaudio=auto |
647 _sunaudio=auto | 647 _sunaudio=auto |
648 _alsa=auto | 648 _alsa=auto |
649 | |
650 _fastmemcpy=yes | 649 _fastmemcpy=yes |
651 _win32=auto | 650 _win32=auto |
652 _dshow=auto | 651 _dshow=auto |
653 _def_select='#define HAVE_AUDIO_SELECT' | 652 _def_select='#define HAVE_AUDIO_SELECT' |
654 | |
655 _tv=no | 653 _tv=no |
656 _streaming=no | 654 _streaming=no |
657 _divx4linux=auto | 655 _divx4linux=auto |
658 _lirc=no | 656 _lirc=auto |
659 _gui=no | 657 _gui=no |
660 _termcap=auto | 658 _termcap=auto |
661 _3dfx=no | 659 _3dfx=no |
662 _tdfxfb=no | 660 _tdfxfb=no |
661 | |
662 _vo2=no | |
663 | 663 |
664 _x=1 | 664 _x=1 |
665 _y=1 | 665 _y=1 |
666 _language=en | 666 _language=en |
667 | 667 |
736 --disable-alsa) _alsa=no ;; | 736 --disable-alsa) _alsa=no ;; |
737 --enable-tv) _tv=yes ;; | 737 --enable-tv) _tv=yes ;; |
738 --disable-tv) _tv=no ;; | 738 --disable-tv) _tv=no ;; |
739 --enable-fastmemcpy) _fastmemcpy=yes ;; | 739 --enable-fastmemcpy) _fastmemcpy=yes ;; |
740 --disable-fastmemcpy) _fastmemcpy=no ;; | 740 --disable-fastmemcpy) _fastmemcpy=no ;; |
741 --enable-tv) _tv=yes ;; | |
742 --disable-tv) _tv=no ;; | |
743 --enable-streaming) _streaming=yes ;; | 741 --enable-streaming) _streaming=yes ;; |
744 --disable-streaming) _streaming=no ;; | 742 --disable-streaming) _streaming=no ;; |
745 --enable-divx4linux) _divx4linux=yes ;; | 743 --enable-divx4linux) _divx4linux=yes ;; |
746 --disable-divx4linux) _divx4linux=no ;; | 744 --disable-divx4linux) _divx4linux=no ;; |
747 --enable-lirc) _lirc=yes ;; | 745 --enable-lirc) _lirc=yes ;; |
755 --enable-tdfxfb) _tdfxfb=yes ;; | 753 --enable-tdfxfb) _tdfxfb=yes ;; |
756 --disable-tdfxfb) _tdfxfb=no ;; | 754 --disable-tdfxfb) _tdfxfb=no ;; |
757 --enable-mtrr) _mtrr=yes ;; | 755 --enable-mtrr) _mtrr=yes ;; |
758 --disable-mtrr) _mtrr=no ;; | 756 --disable-mtrr) _mtrr=no ;; |
759 | 757 |
758 --enable-vo2) _vo2=yes ;; | |
759 --disable-vo2) _vo2=no ;; | |
760 | |
760 --enable-select) _def_select='#define HAVE_AUDIO_SELECT' ;; | 761 --enable-select) _def_select='#define HAVE_AUDIO_SELECT' ;; |
761 --disable-select) _def_select='#undef HAVE_AUDIO_SELECT' ;; | 762 --disable-select) _def_select='#undef HAVE_AUDIO_SELECT' ;; |
762 | 763 |
763 --enable-static) _ld_static='-static' ;; | 764 --enable-static) _ld_static='-static' ;; |
764 --disable-static) _ld_static='' ;; | 765 --disable-static) _ld_static='' ;; |
848 _prefix=`echo $ac_option | cut -d '=' -f 2` | 849 _prefix=`echo $ac_option | cut -d '=' -f 2` |
849 ;; | 850 ;; |
850 --datadir=*) | 851 --datadir=*) |
851 _datadir=`echo $ac_option | cut -d '=' -f 2` | 852 _datadir=`echo $ac_option | cut -d '=' -f 2` |
852 ;; | 853 ;; |
854 | |
853 | 855 |
854 *) | 856 *) |
855 echo "Unknown parameter: $ac_option" | 857 echo "Unknown parameter: $ac_option" |
856 ;; | 858 ;; |
857 | 859 |
1198 echores "not found" | 1200 echores "not found" |
1199 fi | 1201 fi |
1200 _ld_x11="-L$_x11libdir -lX11 -lXext" | 1202 _ld_x11="-L$_x11libdir -lX11 -lXext" |
1201 | 1203 |
1202 | 1204 |
1205 ######### | |
1206 # VIDEO # | |
1207 ######### | |
1208 | |
1203 echocheck "X11" | 1209 echocheck "X11" |
1204 if test "$_x11" = auto ; then | 1210 if test "$_x11" = auto ; then |
1205 cat > $TMPC <<EOF | 1211 cat > $TMPC <<EOF |
1206 int main(void) { return 0; } | 1212 int main(void) { return 0; } |
1207 EOF | 1213 EOF |
1362 _vosrc="$_vosrc vo_dga.c" | 1368 _vosrc="$_vosrc vo_dga.c" |
1363 else | 1369 else |
1364 _def_dga2='#undef HAVE_DGA2' | 1370 _def_dga2='#undef HAVE_DGA2' |
1365 fi | 1371 fi |
1366 echores "$_dga2" | 1372 echores "$_dga2" |
1373 | |
1374 | |
1375 echocheck "OpenGL" | |
1376 if test "$_gl" = auto ; then | |
1377 cat > $TMPC << EOF | |
1378 #include <GL/gl.h> | |
1379 int main(void) { return 0; } | |
1380 EOF | |
1381 _gl=no | |
1382 if bsd ; then | |
1383 cc_check $_inc_x11 $_ld_x11 -lGL -lm -pthread $_ld_sock && _gl=yes | |
1384 else | |
1385 cc_check $_inc_x11 $_ld_x11 -lGL -lm $_ld_sock && _gl=yes | |
1386 fi | |
1387 fi | |
1388 if test "$_gl" = yes ; then | |
1389 _ld_gl='-lGL' | |
1390 # FIXME check this for OpenBSD & BSD/OS | |
1391 # Under XFree86 4.x GL port is poorly designed | |
1392 bsd && test -r /usr/X11R6/bin/XFree86 && _ld_gl='-lGL -pthread' | |
1393 _def_gl='#define HAVE_GL 1' | |
1394 _vosrc="$_vosrc vo_gl.c vo_gl2.c" | |
1395 else | |
1396 _def_gl='#undef HAVE_GL' | |
1397 fi | |
1398 echores "$_gl" | |
1399 | |
1400 | |
1401 echocheck "/dev/mga_vid" | |
1402 if test "$_mga" = auto ; then | |
1403 _mga=no | |
1404 test -c /dev/mga_vid && _mga=yes | |
1405 fi | |
1406 if test "$_mga" = yes ; then | |
1407 _def_mga='#define HAVE_MGA 1' | |
1408 _vosrc="$_vosrc vo_mga.c" | |
1409 else | |
1410 _def_mga='#undef HAVE_MGA' | |
1411 fi | |
1412 echores "$_mga" | |
1413 | |
1414 | |
1415 echocheck "syncfb" | |
1416 _syncfb=no | |
1417 test "$_mga" = yes && _syncfb=yes | |
1418 if test "$_syncfb" = yes ; then | |
1419 _def_syncfb='#define HAVE_SYNCFB 1' | |
1420 _vosrc="$_vosrc vo_syncfb.c" | |
1421 else | |
1422 _def_syncfb='#undef HAVE_SYNCFB' | |
1423 fi | |
1424 echores "$_syncfb" | |
1425 | |
1426 | |
1427 echocheck "xmga" | |
1428 if test "$_xmga" = auto ; then | |
1429 _xmga=no | |
1430 test "$_x11" = yes && test "$_mga" = yes && _xmga=yes | |
1431 fi | |
1432 if test "$_xmga" = yes ; then | |
1433 _def_xmga='#define HAVE_XMGA 1' | |
1434 _vosrc="$_vosrc vo_xmga.c" | |
1435 else | |
1436 _def_xmga='#undef HAVE_XMGA' | |
1437 fi | |
1438 echores "$_xmga" | |
1439 | |
1440 | |
1441 echocheck "GGI" | |
1442 if test "$_ggi" = auto ; then | |
1443 cat > $TMPC << EOF | |
1444 #include <ggi/ggi.h> | |
1445 int main(void) { return 0; } | |
1446 EOF | |
1447 _ggi=no | |
1448 cc_check -lggi && _ggi=yes | |
1449 fi | |
1450 if test "$_ggi" = yes ; then | |
1451 _def_ggi='#define HAVE_GGI 1' | |
1452 _ld_ggi='-lggi' | |
1453 _vosrc="$_vosrc vo_ggi.c" | |
1454 else | |
1455 _def_ggi='#undef HAVE_GGI' | |
1456 fi | |
1457 echores "$_ggi" | |
1458 | |
1459 | |
1460 echocheck "AA" | |
1461 if test "$_aa" = auto ; then | |
1462 cat > $TMPC << EOF | |
1463 #include <aalib.h> | |
1464 int main(void) { return 0; } | |
1465 EOF | |
1466 _aa=no | |
1467 cc_check -laa && _aa=yes | |
1468 fi | |
1469 if test "$_aa" = yes ; then | |
1470 _def_aa='#define HAVE_AA 1' | |
1471 _ld_aa='-laa' | |
1472 _vosrc="$_vosrc vo_aa.c" | |
1473 else | |
1474 _def_aa='#undef HAVE_AA' | |
1475 fi | |
1476 echores "$_aa" | |
1477 | |
1478 | |
1479 echocheck "SVGAlib" | |
1480 if test "$_svga" = auto ; then | |
1481 cat > $TMPC << EOF | |
1482 #include <vga.h> | |
1483 #include <vgagl.h> | |
1484 int main(void) { return 0; } | |
1485 EOF | |
1486 _svga=no | |
1487 cc_check -lvgagl -lvga && _svga=yes | |
1488 fi | |
1489 if test "$_svga" = yes ; then | |
1490 _def_svga='#define HAVE_SVGALIB 1' | |
1491 _ld_svga='-lvgagl -lvga' | |
1492 _vosrc="$_vosrc vo_svga.c" | |
1493 else | |
1494 _def_svga='#undef HAVE_SVGALIB' | |
1495 fi | |
1496 echores "$_svga" | |
1497 | |
1498 | |
1499 echocheck "FBDev" | |
1500 if test "$_fbdev" = auto ; then | |
1501 _fbdev=no | |
1502 linux && _fbdev=yes | |
1503 fi | |
1504 if test "$_fbdev" = yes ; then | |
1505 _def_fbdev='#define HAVE_FBDEV 1' | |
1506 _vosrc="$_vosrc vo_fbdev.c" | |
1507 else | |
1508 _def_fbdev='#undef HAVE_FBDEV' | |
1509 fi | |
1510 echores "$_fbdev" | |
1511 | |
1512 | |
1513 echocheck "DVB" | |
1514 if test "$_dvb" != no ; then | |
1515 _dvb=no | |
1516 test -c /dev/ost/video && _dvb=yes | |
1517 fi | |
1518 if test "$_dvb" = yes ; then | |
1519 _def_dvb='#define HAVE_DVB 1' | |
1520 else | |
1521 _def_dvb='#undef HAVE_DVB' | |
1522 fi | |
1523 echores "$_dvb" | |
1524 | |
1525 | |
1526 echocheck "PNG support" | |
1527 if test "$_png" = auto ; then | |
1528 _png=no | |
1529 if irix ; then | |
1530 # Don't check for -lpng on irix since it has its own libpng | |
1531 # incompatible with the GNU libpng | |
1532 echores "disabled on irix (not GNU libpng)" | |
1533 else | |
1534 cc_check -lpng -lz -lm && _png=yes | |
1535 echores yes | |
1536 fi | |
1537 else | |
1538 echores "$_png" | |
1539 fi | |
1540 if test "$_png" = yes ; then | |
1541 _def_png='#define HAVE_PNG 1' | |
1542 _ld_png='-lpng -lz' | |
1543 _vosrc="$_vosrc vo_png.c" | |
1544 else | |
1545 _def_png='#undef HAVE_PNG' | |
1546 fi | |
1547 | |
1548 | |
1549 ################# | |
1550 # VIDEO + AUDIO # | |
1551 ################# | |
1367 | 1552 |
1368 | 1553 |
1369 echocheck "SDL" | 1554 echocheck "SDL" |
1370 if test -z "$_sdlconfig" ; then | 1555 if test -z "$_sdlconfig" ; then |
1371 if ( sdl-config --version ) >/dev/null 2>&1 ; then | 1556 if ( sdl-config --version ) >/dev/null 2>&1 ; then |
1403 else | 1588 else |
1404 _def_sdl='#undef HAVE_SDL' | 1589 _def_sdl='#undef HAVE_SDL' |
1405 fi | 1590 fi |
1406 echores "$_sdl (with $_sdlconfig)" | 1591 echores "$_sdl (with $_sdlconfig)" |
1407 | 1592 |
1408 | |
1409 echocheck "OpenGL" | |
1410 if test "$_gl" = auto ; then | |
1411 cat > $TMPC << EOF | |
1412 #include <GL/gl.h> | |
1413 int main(void) { return 0; } | |
1414 EOF | |
1415 _gl=no | |
1416 if bsd ; then | |
1417 cc_check $_inc_x11 $_ld_x11 -lGL -lm -pthread $_ld_sock && _gl=yes | |
1418 else | |
1419 cc_check $_inc_x11 $_ld_x11 -lGL -lm $_ld_sock && _gl=yes | |
1420 fi | |
1421 fi | |
1422 if test "$_gl" = yes ; then | |
1423 _ld_gl='-lGL' | |
1424 # FIXME check this for OpenBSD & BSD/OS | |
1425 # Under XFree86 4.x GL port is poorly designed | |
1426 bsd && test -r /usr/X11R6/bin/XFree86 && _ld_gl='-lGL -pthread' | |
1427 _def_gl='#define HAVE_GL 1' | |
1428 _vosrc="$_vosrc vo_gl.c vo_gl2.c" | |
1429 else | |
1430 _def_gl='#undef HAVE_GL' | |
1431 fi | |
1432 echores "$_gl" | |
1433 | |
1434 | |
1435 echocheck "/dev/mga_vid" | |
1436 if test "$_mga" = auto ; then | |
1437 _mga=no | |
1438 test -c /dev/mga_vid && _mga=yes | |
1439 fi | |
1440 if test "$_mga" = yes ; then | |
1441 _def_mga='#define HAVE_MGA 1' | |
1442 _vosrc="$_vosrc vo_mga.c" | |
1443 else | |
1444 _def_mga='#undef HAVE_MGA' | |
1445 fi | |
1446 echores "$_mga" | |
1447 | |
1448 | |
1449 echocheck "syncfb" | |
1450 _syncfb=no | |
1451 test "$_mga" = yes && _syncfb=yes | |
1452 if test "$_syncfb" = yes ; then | |
1453 _def_syncfb='#define HAVE_SYNCFB 1' | |
1454 _vosrc="$_vosrc vo_syncfb.c" | |
1455 else | |
1456 _def_syncfb='#undef HAVE_SYNCFB' | |
1457 fi | |
1458 echores "$_syncfb" | |
1459 | |
1460 | |
1461 echocheck "xmga" | |
1462 if test "$_xmga" = auto ; then | |
1463 _xmga=no | |
1464 test "$_x11" = yes && test "$_mga" = yes && _xmga=yes | |
1465 fi | |
1466 if test "$_xmga" = yes ; then | |
1467 _def_xmga='#define HAVE_XMGA 1' | |
1468 _vosrc="$_vosrc vo_xmga.c" | |
1469 else | |
1470 _def_xmga='#undef HAVE_XMGA' | |
1471 fi | |
1472 echores "$_xmga" | |
1473 | |
1474 | |
1475 echocheck "GGI" | |
1476 if test "$_ggi" = auto ; then | |
1477 cat > $TMPC << EOF | |
1478 #include <ggi/ggi.h> | |
1479 int main(void) { return 0; } | |
1480 EOF | |
1481 _ggi=no | |
1482 cc_check -lggi && _ggi=yes | |
1483 fi | |
1484 if test "$_ggi" = yes ; then | |
1485 _def_ggi='#define HAVE_GGI 1' | |
1486 _ld_ggi='-lggi' | |
1487 _vosrc="$_vosrc vo_ggi.c" | |
1488 else | |
1489 _def_ggi='#undef HAVE_GGI' | |
1490 fi | |
1491 echores "$_ggi" | |
1492 | |
1493 | |
1494 echocheck "AA" | |
1495 if test "$_aa" = auto ; then | |
1496 cat > $TMPC << EOF | |
1497 #include <aalib.h> | |
1498 int main(void) { return 0; } | |
1499 EOF | |
1500 _aa=no | |
1501 cc_check -laa && _aa=yes | |
1502 fi | |
1503 if test "$_aa" = yes ; then | |
1504 _def_aa='#define HAVE_AA 1' | |
1505 _ld_aa='-laa' | |
1506 _vosrc="$_vosrc vo_aa.c" | |
1507 else | |
1508 _def_aa='#undef HAVE_AA' | |
1509 fi | |
1510 echores "$_aa" | |
1511 | |
1512 | |
1513 echocheck "SVGAlib" | |
1514 if test "$_svga" = auto ; then | |
1515 cat > $TMPC << EOF | |
1516 #include <vga.h> | |
1517 #include <vgagl.h> | |
1518 int main(void) { return 0; } | |
1519 EOF | |
1520 _svga=no | |
1521 cc_check -lvgagl -lvga && _svga=yes | |
1522 fi | |
1523 if test "$_svga" = yes ; then | |
1524 _def_svga='#define HAVE_SVGALIB 1' | |
1525 _ld_svga='-lvgagl -lvga' | |
1526 _vosrc="$_vosrc vo_svga.c" | |
1527 else | |
1528 _def_svga='#undef HAVE_SVGALIB' | |
1529 fi | |
1530 echores "$_svga" | |
1531 | |
1532 | |
1533 echocheck "FBDev" | |
1534 if test "$_fbdev" = auto ; then | |
1535 _fbdev=no | |
1536 linux && _fbdev=yes | |
1537 fi | |
1538 if test "$_fbdev" = yes ; then | |
1539 _def_fbdev='#define HAVE_FBDEV 1' | |
1540 _vosrc="$_vosrc vo_fbdev.c" | |
1541 else | |
1542 _def_fbdev='#undef HAVE_FBDEV' | |
1543 fi | |
1544 echores "$_fbdev" | |
1545 | |
1546 | |
1547 echocheck "DVB" | |
1548 if test "$_dvb" != no ; then | |
1549 _dvb=no | |
1550 test -c /dev/ost/video && _dvb=yes | |
1551 fi | |
1552 if test "$_dvb" = yes ; then | |
1553 _def_dvb='#define HAVE_DVB 1' | |
1554 else | |
1555 _def_dvb='#undef HAVE_DVB' | |
1556 fi | |
1557 echores "$_dvb" | |
1558 | |
1559 | |
1560 echocheck "DXR3/H+" | 1593 echocheck "DXR3/H+" |
1561 if test "$_dxr3" = auto ; then | 1594 if test "$_dxr3" = auto ; then |
1562 cat > $TMPC << EOF | 1595 cat > $TMPC << EOF |
1563 #include <libdxr3/api.h> | 1596 #include <libdxr3/api.h> |
1564 int main(void) { return 0; } | 1597 int main(void) { return 0; } |
1573 _aosrc="$_aosrc ao_dxr3.c" | 1606 _aosrc="$_aosrc ao_dxr3.c" |
1574 else | 1607 else |
1575 _def_dxr3='#undef HAVE_DXR3' | 1608 _def_dxr3='#undef HAVE_DXR3' |
1576 fi | 1609 fi |
1577 echores "$_dxr3" | 1610 echores "$_dxr3" |
1611 | |
1612 | |
1613 ######### | |
1614 # AUDIO # | |
1615 ######### | |
1578 | 1616 |
1579 | 1617 |
1580 echocheck "OSS Audio" | 1618 echocheck "OSS Audio" |
1581 if test "$_ossaudio" = auto ; then | 1619 if test "$_ossaudio" = auto ; then |
1582 cat > $TMPC << EOF | 1620 cat > $TMPC << EOF |
1746 _ld_zlib='-lz' | 1784 _ld_zlib='-lz' |
1747 else | 1785 else |
1748 _def_zlib='#undef HAVE_ZLIB' | 1786 _def_zlib='#undef HAVE_ZLIB' |
1749 fi | 1787 fi |
1750 echores "$_zlib" | 1788 echores "$_zlib" |
1751 | |
1752 | |
1753 echocheck "PNG support" | |
1754 if test "$_png" = auto ; then | |
1755 _png=no | |
1756 if irix ; then | |
1757 # Don't check for -lpng on irix since it has its own libpng | |
1758 # incompatible with the GNU libpng | |
1759 echores "disabled on irix (not GNU libpng)" | |
1760 else | |
1761 cc_check -lpng -lz -lm && _png=yes | |
1762 echores yes | |
1763 fi | |
1764 else | |
1765 echores "$_png" | |
1766 fi | |
1767 if test "$_png" = yes ; then | |
1768 _def_png='#define HAVE_PNG 1' | |
1769 _ld_png='-lpng -lz' | |
1770 _vosrc="$_vosrc vo_png.c" | |
1771 else | |
1772 _def_png='#undef HAVE_PNG' | |
1773 fi | |
1774 | 1789 |
1775 | 1790 |
1776 echocheck "mad support" | 1791 echocheck "mad support" |
1777 if test "$_mad" = auto ; then | 1792 if test "$_mad" = auto ; then |
1778 _mad=no | 1793 _mad=no |
2043 fi | 2058 fi |
2044 fi | 2059 fi |
2045 | 2060 |
2046 | 2061 |
2047 echocheck "lirc" | 2062 echocheck "lirc" |
2063 if test "$_lirc" = auto ; then | |
2064 _lirc=no | |
2065 test -c /dev/lirc && _lirc=yes | |
2066 fi | |
2048 if test "$_lirc" = yes ; then | 2067 if test "$_lirc" = yes ; then |
2049 _def_lirc='#define HAVE_LIRC 1' | 2068 _def_lirc='#define HAVE_LIRC 1' |
2050 _ld_lirc='-llirc_client' | 2069 _ld_lirc='-llirc_client' |
2051 else | 2070 else |
2052 _def_lirc='#undef HAVE_LIRC' | 2071 _def_lirc='#undef HAVE_LIRC' |
2252 OPTFLAGS = $CFLAGS | 2271 OPTFLAGS = $CFLAGS |
2253 EXTRA_INC = $_inc_extra $_inc_gtk | 2272 EXTRA_INC = $_inc_extra $_inc_gtk |
2254 WIN32_PATH = -DWIN32_PATH=\\"$_win32libdir\\" | 2273 WIN32_PATH = -DWIN32_PATH=\\"$_win32libdir\\" |
2255 | 2274 |
2256 STREAMING = $_streaming | 2275 STREAMING = $_streaming |
2276 | |
2277 VO2 = $_vo2 | |
2257 | 2278 |
2258 X11_INC = $_inc_x11 | 2279 X11_INC = $_inc_x11 |
2259 X11DIR = $_ld_x11 | 2280 X11DIR = $_ld_x11 |
2260 X_LIBS = $_ld_x11 $_ld_extra $_ld_gl $_ld_ggi $_ld_dxr3 $_ld_sdl $_ld_dga $_ld_xv $_ld_vm $_ld_svga $_ld_png $_ld_sock $_ld_aa $_ld_vorbis $_ld_xinerama $_ld_mad $_ld_z | 2281 X_LIBS = $_ld_x11 $_ld_extra $_ld_gl $_ld_ggi $_ld_dxr3 $_ld_sdl $_ld_dga $_ld_xv $_ld_vm $_ld_svga $_ld_png $_ld_sock $_ld_aa $_ld_vorbis $_ld_xinerama $_ld_mad $_ld_z |
2261 | 2282 |
2554 OPTIONAL_OBJS = $_voobj | 2575 OPTIONAL_OBJS = $_voobj |
2555 EOF | 2576 EOF |
2556 | 2577 |
2557 ############################################################################# | 2578 ############################################################################# |
2558 | 2579 |
2580 echo "Creating libvo2/config2.mak" | |
2581 _vo2obj=`echo $_vo2src | sed -e 's/\.c/\.o/g'` | |
2582 cat > libvo2/config2.mak << EOF | |
2583 include ../config.mak | |
2584 OPTIONAL_SRCS = $_vo2src | |
2585 OPTIONAL_OBJS = $_vo2obj | |
2586 EOF | |
2587 | |
2588 ############################################################################# | |
2589 | |
2559 echo "Creating libao2/config2.mak" | 2590 echo "Creating libao2/config2.mak" |
2560 _aoobj=`echo $_aosrc | sed -e 's/\.c/\.o/g'` | 2591 _aoobj=`echo $_aosrc | sed -e 's/\.c/\.o/g'` |
2561 cat > libao2/config2.mak << EOF | 2592 cat > libao2/config2.mak << EOF |
2562 include ../config.mak | 2593 include ../config.mak |
2563 OPTIONAL_SRCS = $_aosrc | 2594 OPTIONAL_SRCS = $_aosrc |