comparison configure @ 3161:950496933384

configure cleanups: a few typos a few reordering (C src / _blah=no / cc_check && _blah=yes) preliminary support to display a summary of enabled modules at the end of the run of ./configure (only AO & VO right now/check for _{a,v}omodules) cleanups of config.mak : X_LIBS gathered everything and whatever - no longer the case Makefile cleanups to match the ones done in config.mak NB: it still compiles here (but I'm pretty sure this will break on some systems :)
author pl
date Tue, 27 Nov 2001 17:58:29 +0000
parents b8e7c71f4fcb
children b6bb21d686cd
comparison
equal deleted inserted replaced
3160:80df2986ca42 3161:950496933384
44 die () { 44 die () {
45 echo 45 echo
46 echo "Error: $@" >&2 46 echo "Error: $@" >&2
47 echo >&2 47 echo >&2
48 rm -f "$TMPO" "$TMPC" "$TMPS" "$TMPCPP" 48 rm -f "$TMPO" "$TMPC" "$TMPS" "$TMPCPP"
49 echo "Check "$TMPLOG" if you don't understand why it failed." 49 echo "Check "$TMPLOG" if you do not understand why it failed."
50 exit 1 50 exit 1
51 } 51 }
52 52
53 # OS test booleans functions 53 # OS test booleans functions
54 linux() { test "$system_name" = "Linux" ; return "$?" ; } 54 linux() { test "$system_name" = "Linux" ; return "$?" ; }
1166 echores "$_sys_soundcard" 1166 echores "$_sys_soundcard"
1167 1167
1168 1168
1169 echocheck "termcap" 1169 echocheck "termcap"
1170 if test "$_termcap" = auto ; then 1170 if test "$_termcap" = auto ; then
1171 _termcap=no
1172 cat > $TMPC <<EOF 1171 cat > $TMPC <<EOF
1173 int main(void) { return 0; } 1172 int main(void) { return 0; }
1174 EOF 1173 EOF
1174 _termcap=no
1175 cc_check -ltermcap && _termcap=yes 1175 cc_check -ltermcap && _termcap=yes
1176 fi 1176 fi
1177 if test "$_termcap" = yes ; then 1177 if test "$_termcap" = yes ; then
1178 _def_termcap='#define USE_TERMCAP 1' 1178 _def_termcap='#define USE_TERMCAP 1'
1179 _ld_termcap='-ltermcap' 1179 _ld_termcap='-ltermcap'
1183 echores "$_termcap" 1183 echores "$_termcap"
1184 1184
1185 1185
1186 echocheck "termios" 1186 echocheck "termios"
1187 if test "$_termios" = auto ; then 1187 if test "$_termios" = auto ; then
1188 _termios=no
1189 cat > $TMPC <<EOF 1188 cat > $TMPC <<EOF
1190 #include <sys/termios.h> 1189 #include <sys/termios.h>
1191 int main(void) { return 0; } 1190 int main(void) { return 0; }
1192 EOF 1191 EOF
1192 _termios=no
1193 cc_check && _termios=yes 1193 cc_check && _termios=yes
1194 fi 1194 fi
1195 if test "$_termios" = yes ; then 1195 if test "$_termios" = yes ; then
1196 _def_termios='#define HAVE_TERMIOS 1' 1196 _def_termios='#define HAVE_TERMIOS 1'
1197 else 1197 else
1200 echores "$_termios" 1200 echores "$_termios"
1201 1201
1202 1202
1203 echocheck "shm" 1203 echocheck "shm"
1204 if test "$_shm" = auto ; then 1204 if test "$_shm" = auto ; then
1205 _shm=no
1206 cat > $TMPC << EOF 1205 cat > $TMPC << EOF
1207 #include <sys/types.h> 1206 #include <sys/types.h>
1208 #include <sys/shm.h> 1207 #include <sys/shm.h>
1209 int main(void) { shmget(0, 0, 0); shmat(0, 0, 0); shmctl(0, 0, 0); return 0; } 1208 int main(void) { shmget(0, 0, 0); shmat(0, 0, 0); shmctl(0, 0, 0); return 0; }
1210 EOF 1209 EOF
1210 _shm=no
1211 cc_check && _shm=yes 1211 cc_check && _shm=yes
1212 fi 1212 fi
1213 if test "$_shm" = yes ; then 1213 if test "$_shm" = yes ; then
1214 _def_shm='#define HAVE_SHM 1' 1214 _def_shm='#define HAVE_SHM 1'
1215 else 1215 else
1220 1220
1221 echocheck "3dfx" 1221 echocheck "3dfx"
1222 if test "$_3dfx" = yes ; then 1222 if test "$_3dfx" = yes ; then
1223 _def_3dfx='#define HAVE_3DFX 1' 1223 _def_3dfx='#define HAVE_3DFX 1'
1224 _vosrc="$_vosrc vo_3dfx.c" 1224 _vosrc="$_vosrc vo_3dfx.c"
1225 _vomodules="3dfx $_vomodules"
1225 else 1226 else
1226 _def_3dfx='#undef HAVE_3DFX' 1227 _def_3dfx='#undef HAVE_3DFX'
1227 fi 1228 fi
1228 echores "$_3dfx" 1229 echores "$_3dfx"
1229 1230
1230 1231
1231 echocheck "tdfxfb" 1232 echocheck "tdfxfb"
1232 if test "$_tdfxfb" = yes ; then 1233 if test "$_tdfxfb" = yes ; then
1233 _def_tdfxfb='#define HAVE_TDFXFB 1' 1234 _def_tdfxfb='#define HAVE_TDFXFB 1'
1234 _vosrc="$_vosrc vo_tdfxfb.c" 1235 _vosrc="$_vosrc vo_tdfxfb.c"
1236 _vomodules="tdfxfb $_vomodules"
1235 else 1237 else
1236 _def_tdfxfb='#undef HAVE_TDFXFB' 1238 _def_tdfxfb='#undef HAVE_TDFXFB'
1237 fi 1239 fi
1238 echores "$_tdfxfb" 1240 echores "$_tdfxfb"
1239 1241
1316 cc_check $_inc_x11 $_ld_x11 && _x11=yes 1318 cc_check $_inc_x11 $_ld_x11 && _x11=yes
1317 fi 1319 fi
1318 if test "$_x11" = yes ; then 1320 if test "$_x11" = yes ; then
1319 _def_x11='#define HAVE_X11 1' 1321 _def_x11='#define HAVE_X11 1'
1320 _vosrc="$_vosrc vo_x11.c" 1322 _vosrc="$_vosrc vo_x11.c"
1323 _vomodules="x11 $_vomodules"
1321 else 1324 else
1322 _def_x11='#undef HAVE_X11' 1325 _def_x11='#undef HAVE_X11'
1323 _inc_x11='' 1326 _inc_x11=''
1324 _ld_x11='' 1327 _ld_x11=''
1325 fi 1328 fi
1380 fi 1383 fi
1381 if test "$_xv" = yes ; then 1384 if test "$_xv" = yes ; then
1382 _def_xv='#define HAVE_XV 1' 1385 _def_xv='#define HAVE_XV 1'
1383 _ld_xv='-lXv' 1386 _ld_xv='-lXv'
1384 _vosrc="$_vosrc vo_xv.c" 1387 _vosrc="$_vosrc vo_xv.c"
1388 _vomodules="xv $_vomodules"
1385 else 1389 else
1386 _def_xv='#undef HAVE_XV' 1390 _def_xv='#undef HAVE_XV'
1387 fi 1391 fi
1388 echores "$_xv" 1392 echores "$_xv"
1389 1393
1449 fi 1453 fi
1450 if test "$_dga" = yes ; then 1454 if test "$_dga" = yes ; then
1451 _def_dga='#define HAVE_DGA 1' 1455 _def_dga='#define HAVE_DGA 1'
1452 _ld_dga='-lXxf86dga -lXxf86vm' 1456 _ld_dga='-lXxf86dga -lXxf86vm'
1453 _vosrc="$_vosrc vo_dga.c" 1457 _vosrc="$_vosrc vo_dga.c"
1458 _vomodules="dga $_vomodules"
1454 else 1459 else
1455 _def_dga='#undef HAVE_DGA' 1460 _def_dga='#undef HAVE_DGA'
1456 fi 1461 fi
1457 echores "$_dga" 1462 echores "$_dga"
1458 1463
1469 fi 1474 fi
1470 if test "$_dga2" = yes ; then 1475 if test "$_dga2" = yes ; then
1471 _def_dga2='#define HAVE_DGA2 1' 1476 _def_dga2='#define HAVE_DGA2 1'
1472 _ld_dga2='-lXxf86dga -lXxf86vm' 1477 _ld_dga2='-lXxf86dga -lXxf86vm'
1473 _vosrc="$_vosrc vo_dga.c" 1478 _vosrc="$_vosrc vo_dga.c"
1479 _vomodules="dga2 $_vomodules"
1474 else 1480 else
1475 _def_dga2='#undef HAVE_DGA2' 1481 _def_dga2='#undef HAVE_DGA2'
1476 fi 1482 fi
1477 echores "$_dga2" 1483 echores "$_dga2"
1478 1484
1496 _gl=no 1502 _gl=no
1497 fi 1503 fi
1498 if test "$_gl" = yes ; then 1504 if test "$_gl" = yes ; then
1499 _def_gl='#define HAVE_GL 1' 1505 _def_gl='#define HAVE_GL 1'
1500 _vosrc="$_vosrc vo_gl.c vo_gl2.c" 1506 _vosrc="$_vosrc vo_gl.c vo_gl2.c"
1507 _vomodules="opengl $_vomodules"
1501 else 1508 else
1502 _def_gl='#undef HAVE_GL' 1509 _def_gl='#undef HAVE_GL'
1503 fi 1510 fi
1504 echores "$_gl" 1511 echores "$_gl"
1505 1512
1510 test -c /dev/mga_vid && _mga=yes 1517 test -c /dev/mga_vid && _mga=yes
1511 fi 1518 fi
1512 if test "$_mga" = yes ; then 1519 if test "$_mga" = yes ; then
1513 _def_mga='#define HAVE_MGA 1' 1520 _def_mga='#define HAVE_MGA 1'
1514 _vosrc="$_vosrc vo_mga.c" 1521 _vosrc="$_vosrc vo_mga.c"
1522 _vomodules="mga $_vomodules"
1515 else 1523 else
1516 _def_mga='#undef HAVE_MGA' 1524 _def_mga='#undef HAVE_MGA'
1517 fi 1525 fi
1518 echores "$_mga" 1526 echores "$_mga"
1519 1527
1536 test "$_x11" = yes && test "$_mga" = yes && _xmga=yes 1544 test "$_x11" = yes && test "$_mga" = yes && _xmga=yes
1537 fi 1545 fi
1538 if test "$_xmga" = yes ; then 1546 if test "$_xmga" = yes ; then
1539 _def_xmga='#define HAVE_XMGA 1' 1547 _def_xmga='#define HAVE_XMGA 1'
1540 _vosrc="$_vosrc vo_xmga.c" 1548 _vosrc="$_vosrc vo_xmga.c"
1549 _vomodules="xmga $_vomodules"
1541 else 1550 else
1542 _def_xmga='#undef HAVE_XMGA' 1551 _def_xmga='#undef HAVE_XMGA'
1543 fi 1552 fi
1544 echores "$_xmga" 1553 echores "$_xmga"
1545 1554
1555 fi 1564 fi
1556 if test "$_ggi" = yes ; then 1565 if test "$_ggi" = yes ; then
1557 _def_ggi='#define HAVE_GGI 1' 1566 _def_ggi='#define HAVE_GGI 1'
1558 _ld_ggi='-lggi' 1567 _ld_ggi='-lggi'
1559 _vosrc="$_vosrc vo_ggi.c" 1568 _vosrc="$_vosrc vo_ggi.c"
1569 _vomodules="ggi $_vomodules"
1560 else 1570 else
1561 _def_ggi='#undef HAVE_GGI' 1571 _def_ggi='#undef HAVE_GGI'
1562 fi 1572 fi
1563 echores "$_ggi" 1573 echores "$_ggi"
1564 1574
1574 fi 1584 fi
1575 if test "$_aa" = yes ; then 1585 if test "$_aa" = yes ; then
1576 _def_aa='#define HAVE_AA 1' 1586 _def_aa='#define HAVE_AA 1'
1577 _ld_aa='-laa' 1587 _ld_aa='-laa'
1578 _vosrc="$_vosrc vo_aa.c" 1588 _vosrc="$_vosrc vo_aa.c"
1589 _vomodules="aa $_vomodules"
1579 else 1590 else
1580 _def_aa='#undef HAVE_AA' 1591 _def_aa='#undef HAVE_AA'
1581 fi 1592 fi
1582 echores "$_aa" 1593 echores "$_aa"
1583 1594
1594 fi 1605 fi
1595 if test "$_svga" = yes ; then 1606 if test "$_svga" = yes ; then
1596 _def_svga='#define HAVE_SVGALIB 1' 1607 _def_svga='#define HAVE_SVGALIB 1'
1597 _ld_svga='-lvgagl -lvga' 1608 _ld_svga='-lvgagl -lvga'
1598 _vosrc="$_vosrc vo_svga.c" 1609 _vosrc="$_vosrc vo_svga.c"
1610 _vomodules="svga $_vomodules"
1599 else 1611 else
1600 _def_svga='#undef HAVE_SVGALIB' 1612 _def_svga='#undef HAVE_SVGALIB'
1601 fi 1613 fi
1602 echores "$_svga" 1614 echores "$_svga"
1603 1615
1608 linux && _fbdev=yes 1620 linux && _fbdev=yes
1609 fi 1621 fi
1610 if test "$_fbdev" = yes ; then 1622 if test "$_fbdev" = yes ; then
1611 _def_fbdev='#define HAVE_FBDEV 1' 1623 _def_fbdev='#define HAVE_FBDEV 1'
1612 _vosrc="$_vosrc vo_fbdev.c" 1624 _vosrc="$_vosrc vo_fbdev.c"
1625 _vomodules="fbdev $_vomodules"
1613 else 1626 else
1614 _def_fbdev='#undef HAVE_FBDEV' 1627 _def_fbdev='#undef HAVE_FBDEV'
1615 fi 1628 fi
1616 echores "$_fbdev" 1629 echores "$_fbdev"
1617 1630
1649 fi 1662 fi
1650 if test "$_png" = yes ; then 1663 if test "$_png" = yes ; then
1651 _def_png='#define HAVE_PNG 1' 1664 _def_png='#define HAVE_PNG 1'
1652 _ld_png='-lpng -lz' 1665 _ld_png='-lpng -lz'
1653 _vosrc="$_vosrc vo_png.c" 1666 _vosrc="$_vosrc vo_png.c"
1667 _vomodules="png $_vomodules"
1654 else 1668 else
1655 _def_png='#undef HAVE_PNG' 1669 _def_png='#undef HAVE_PNG'
1656 fi 1670 fi
1657 1671
1658 1672
1697 _def_sdl='#define HAVE_SDL 1' 1711 _def_sdl='#define HAVE_SDL 1'
1698 _ld_sdl=`$_sdlconfig --libs` 1712 _ld_sdl=`$_sdlconfig --libs`
1699 _inc_sdl=`$_sdlconfig --cflags` 1713 _inc_sdl=`$_sdlconfig --cflags`
1700 _vosrc="$_vosrc vo_sdl.c" 1714 _vosrc="$_vosrc vo_sdl.c"
1701 _aosrc="$_aosrc ao_sdl.c" 1715 _aosrc="$_aosrc ao_sdl.c"
1716 _aomodules="sdl $_aomodules"
1702 else 1717 else
1703 _def_sdl='#undef HAVE_SDL' 1718 _def_sdl='#undef HAVE_SDL'
1704 fi 1719 fi
1705 echores "$_sdl (with $_sdlconfig)" 1720 echores "$_sdl (with $_sdlconfig)"
1706 1721
1716 if test "$_dxr3" = yes ; then 1731 if test "$_dxr3" = yes ; then
1717 _def_dxr3='#define HAVE_DXR3 1' 1732 _def_dxr3='#define HAVE_DXR3 1'
1718 _ld_dxr3='-ldxr3' 1733 _ld_dxr3='-ldxr3'
1719 _vosrc="$_vosrc vo_dxr3.c" 1734 _vosrc="$_vosrc vo_dxr3.c"
1720 _aosrc="$_aosrc ao_dxr3.c" 1735 _aosrc="$_aosrc ao_dxr3.c"
1736 _aomodules="dxr3 $_aomodules"
1721 else 1737 else
1722 _def_dxr3='#undef HAVE_DXR3' 1738 _def_dxr3='#undef HAVE_DXR3'
1723 fi 1739 fi
1724 echores "$_dxr3" 1740 echores "$_dxr3"
1725 1741
1737 EOF 1753 EOF
1738 _ossaudio=no 1754 _ossaudio=no
1739 cc_check && _ossaudio=yes 1755 cc_check && _ossaudio=yes
1740 fi 1756 fi
1741 if test "$_ossaudio" = yes ; then 1757 if test "$_ossaudio" = yes ; then
1742 _def_ossaudio='#define USE_OSS_AUDIO 1' 1758 _def_ossaudio='#define USE_OSS_AUDIO 1'
1743 _aosrc="$_aosrc ao_oss.c" 1759 _aosrc="$_aosrc ao_oss.c"
1744 else 1760 _aomodules="oss $_aomodules"
1745 _def_ossaudio='#undef USE_OSS_AUDIO' 1761 else
1762 _def_ossaudio='#undef USE_OSS_AUDIO'
1746 fi 1763 fi
1747 echores "$_ossaudio" 1764 echores "$_ossaudio"
1748 1765
1749 1766
1750 echocheck "ALSA audio" 1767 echocheck "ALSA audio"
1773 _def_alsa5='#undef HAVE_ALSA5' 1790 _def_alsa5='#undef HAVE_ALSA5'
1774 _def_alsa9='#undef HAVE_ALSA9' 1791 _def_alsa9='#undef HAVE_ALSA9'
1775 if test "$_alsa" = yes ; then 1792 if test "$_alsa" = yes ; then
1776 if test "$_alsaver" = '0.5.x' ; then 1793 if test "$_alsaver" = '0.5.x' ; then
1777 _aosrc="$_aosrc ao_alsa5.c" 1794 _aosrc="$_aosrc ao_alsa5.c"
1795 _aomodules="alsa5 $_aomodules"
1778 _def_alsa5='#define HAVE_ALSA5 1' 1796 _def_alsa5='#define HAVE_ALSA5 1'
1779 elif test "$_alsaver" = '0.9.x' ; then 1797 elif test "$_alsaver" = '0.9.x' ; then
1780 _aosrc="$_aosrc ao_alsa9.c" 1798 _aosrc="$_aosrc ao_alsa9.c"
1799 _aomodules="alsa9 $_aomodules"
1781 _def_alsa9='#define HAVE_ALSA9 1' 1800 _def_alsa9='#define HAVE_ALSA9 1'
1782 fi 1801 fi
1783 _ld_alsa='-lasound' 1802 _ld_alsa='-lasound'
1784 fi 1803 fi
1785 1804
1795 cc_check && _sunaudio=yes 1814 cc_check && _sunaudio=yes
1796 fi 1815 fi
1797 if test "$_sunaudio" = yes ; then 1816 if test "$_sunaudio" = yes ; then
1798 _def_sunaudio='#define USE_SUN_AUDIO 1' 1817 _def_sunaudio='#define USE_SUN_AUDIO 1'
1799 _aosrc="$_aosrc ao_sun.c" 1818 _aosrc="$_aosrc ao_sun.c"
1819 _aomodules="sun $_aomodules"
1800 else 1820 else
1801 _def_sunaudio='#undef USE_SUN_AUDIO' 1821 _def_sunaudio='#undef USE_SUN_AUDIO'
1802 fi 1822 fi
1803 echores "$_sunaudio" 1823 echores "$_sunaudio"
1804 1824
1835 fi 1855 fi
1836 if test "$_sgiaudio" = "yes" ; then 1856 if test "$_sgiaudio" = "yes" ; then
1837 _def_sgiaudio='#define USE_SGI_AUDIO 1' 1857 _def_sgiaudio='#define USE_SGI_AUDIO 1'
1838 _ld_sgiaudio='-laudio' 1858 _ld_sgiaudio='-laudio'
1839 _aosrc="$_aosrc ao_sgi.c" 1859 _aosrc="$_aosrc ao_sgi.c"
1860 _aomodules="sgi $_aomodules"
1840 else 1861 else
1841 _def_sgiaudio='#undef USE_SGI_AUDIO' 1862 _def_sgiaudio='#undef USE_SGI_AUDIO'
1842 fi 1863 fi
1843 echores "$_sgiaudio" 1864 echores "$_sgiaudio"
1844 1865
2010 2031
2011 Hints: Does $_cc support C++ ? Have you a C++ compiler installed ? 2032 Hints: Does $_cc support C++ ? Have you a C++ compiler installed ?
2012 Are the C++ libraries correctly installed ? 2033 Are the C++ libraries correctly installed ?
2013 Check for libstdc++ and in (/etc/)ld.so.conf 2034 Check for libstdc++ and in (/etc/)ld.so.conf
2014 2035
2015 If you don't need DirectShow support, you can also use: 2036 If you do not need DirectShow support, you can also use:
2016 ./configure --disable-dshow <your-normal-configure-options> 2037 ./configure --disable-dshow <your-normal-configure-options>
2017 to disable building of the C++ based DirectShow code. 2038 to disable building of the C++ based DirectShow code.
2018 2039
2019 EOF 2040 EOF
2020 die "$_cc's C++ is broken" 2041 die "$_cc's C++ is broken"
2424 2445
2425 STREAMING = $_streaming 2446 STREAMING = $_streaming
2426 2447
2427 VO2 = $_vo2 2448 VO2 = $_vo2
2428 2449
2450 EXTRA_LIB = $_ld_extra
2451 Z_LIB = $_ld_static $_ld_zlib
2452 STATIC_LIB = $_ld_static
2453
2429 X11_INC = $_inc_x11 2454 X11_INC = $_inc_x11
2430 X11DIR = $_ld_static $_ld_x11 2455 X11DIR = $_ld_x11
2431 X_LIBS = $_ld_static $_ld_x11 $_ld_extra $_ld_gl $_ld_ggi $_ld_dxr3 $_ld_sdl $_ld_dga $_ld_dga2 $_ld_xv $_ld_vm $_ld_svga $_ld_png $_ld_sock $_ld_aa $_ld_vorbis $_ld_xinerama $_ld_mad $_ld_zlib 2456
2432 2457 # video output
2433 TERMCAP_LIB = $_ld_static $_ld_termcap 2458 X_LIB = $_ld_x11 $_ld_gl $_ld_dga $_ld_dga2 $_ld_xv $_ld_vm $_ld_xinerama $_ld_mad $_ld_sock
2434 LIRC_LIBS = $_ld_static $_ld_lirc 2459 DXR3_LIB = $_ld_dxr3
2460 GGI_LIB = $_ld_ggi
2461 MLIB_LIB = $_ld_mlib
2462 PNG_LIB = $_ld_png
2463 SDL_LIB = $_ld_sdl
2464 SVGA_LIB = $_ld_svga
2465 AA_LIB = $_ld_aa
2466
2467 # audio output
2468 ALSA_LIB = $_ld_alsa
2469 MAD_LIB = $_ld_mad
2470 VORBIS_LIB = $_ld_vorbis
2471 SGIAUDIO_LIB = $_ld_sgiaudio
2472
2473 # input
2474 TERMCAP_LIB = $_ld_termcap
2475 LIRC_LIB = $_ld_lirc
2435 CSS_USE = $_css 2476 CSS_USE = $_css
2436 CSS_LIB = $_ld_static $_ld_css 2477 CSS_LIB = $_ld_css
2437 SDL_INC = $_inc_sdl 2478 SDL_INC = $_inc_sdl
2438 W32_DEP = $_dep_win32 2479 W32_DEP = $_dep_win32
2439 W32_LIB = $_ld_static $_ld_win32 2480 W32_LIB = $_ld_win32
2440 DS_DEP = $_dep_dshow 2481 DS_DEP = $_dep_dshow
2441 DS_LIB = $_ld_static $_ld_dshow 2482 DS_LIB = $_ld_dshow
2442 AV_DEP = $_dep_libavcodec 2483 AV_DEP = $_dep_libavcodec
2443 AV_LIB = $_ld_static $_ld_libavcodec 2484 AV_LIB = $_ld_libavcodec
2444 ALSA_LIB = $_ld_alsa 2485 ARCH_LIB = $_ld_arch $_ld_iconv
2445 SGI_AUDIO_LIB = $_ld_sgiaudio 2486 DIVX4LINUX = $_divx4linux
2446 ARCH_LIBS = $_ld_static $_ld_arch $_ld_iconv 2487 DECORE_LIB = $_ld_decore
2447 DIVX4LINUX = $_ld_static $_divx4linux
2448 DECORE_LIBS = $_ld_static $_ld_decore
2449 MENCODER = $_mencoder 2488 MENCODER = $_mencoder
2450 ENCORE_LIBS = $_ld_static $_ld_encore 2489 ENCORE_LIB = $_ld_encore
2451 HAVE_MLIB = $_mlib
2452 MLIB_INC = $_inc_mlib
2453 MLIB_LIB = $_ld_static $_ld_mlib
2454 MADLIB_LIB = $_madlibdir
2455 STATIC = $_ld_static
2456 2490
2457 # --- Some stuff for autoconfigure ---- 2491 # --- Some stuff for autoconfigure ----
2458 $_target_arch 2492 $_target_arch
2459 $_confcygwin 2493 $_confcygwin
2460 TARGET_CPU=$iproc 2494 TARGET_CPU=$iproc
2511 You can still change this with the -alsa or -noalsa command-line option! 2545 You can still change this with the -alsa or -noalsa command-line option!
2512 (This function was originally impemented to solve ALSA driver's big 2546 (This function was originally impemented to solve ALSA driver's big
2513 buffer problems, but it seems to be useful for every soundcard drivers) */ 2547 buffer problems, but it seems to be useful for every soundcard drivers) */
2514 #define ALSA_TIMER 1 2548 #define ALSA_TIMER 1
2515 2549
2516 /* Undefine this if you don't want to select mono audio (left or right) 2550 /* Undefine this if you do not want to select mono audio (left or right)
2517 with a stereo MPEG layer 2/3 audio stream. The command-line option 2551 with a stereo MPEG layer 2/3 audio stream. The command-line option
2518 -stereo has three possible values (0 for stereo, 1 for left-only, 2 for 2552 -stereo has three possible values (0 for stereo, 1 for left-only, 2 for
2519 right-only), with 0 being the default. 2553 right-only), with 0 being the default.
2520 */ 2554 */
2521 #define USE_FAKE_MONO 1 2555 #define USE_FAKE_MONO 1
2774 2808
2775 Config files successfully generated by ./configure ! 2809 Config files successfully generated by ./configure !
2776 2810
2777 Install prefix: $_prefix 2811 Install prefix: $_prefix
2778 Data directory: $_datadir 2812 Data directory: $_datadir
2813 Optimizing for: [TODO - do NOT bugreport this !]
2814 Input: [TODO - do NOT bugreport this !]
2815 Codecs: [TODO - do NOT bugreport this !]
2816 Audio output drivers: $_aomodules
2817 Video output drivers: $_vomodules
2779 2818
2780 'config.h' and 'config.mak' contain your configuration options. 2819 'config.h' and 'config.mak' contain your configuration options.
2781 Note: if you alter theses files (for instance CFLAGS) MPlayer may no longer 2820 Note: if you alter theses files (for instance CFLAGS) MPlayer may no longer
2782 compile *** DON'T BUGREPORT if you tweak these files *** 2821 compile *** DON'T BUGREPORT if you tweak these files ***
2783 2822