Mercurial > mplayer.hg
comparison configure @ 5051:0515832e6eab
users should know what he lose
author | nick |
---|---|
date | Tue, 12 Mar 2002 07:16:29 +0000 |
parents | 16f28fb341a1 |
children | 140e64b969e2 |
comparison
equal
deleted
inserted
replaced
5050:b6d83ac1e3e0 | 5051:0515832e6eab |
---|---|
1476 _def_3dfx='#define HAVE_3DFX 1' | 1476 _def_3dfx='#define HAVE_3DFX 1' |
1477 _vosrc="$_vosrc vo_3dfx.c" | 1477 _vosrc="$_vosrc vo_3dfx.c" |
1478 _vomodules="3dfx $_vomodules" | 1478 _vomodules="3dfx $_vomodules" |
1479 else | 1479 else |
1480 _def_3dfx='#undef HAVE_3DFX' | 1480 _def_3dfx='#undef HAVE_3DFX' |
1481 _novomodules="3dfx $_novomodules" | |
1481 fi | 1482 fi |
1482 echores "$_3dfx" | 1483 echores "$_3dfx" |
1483 | 1484 |
1484 | 1485 |
1485 echocheck "tdfxfb" | 1486 echocheck "tdfxfb" |
1487 _def_tdfxfb='#define HAVE_TDFXFB 1' | 1488 _def_tdfxfb='#define HAVE_TDFXFB 1' |
1488 _vosrc="$_vosrc vo_tdfxfb.c" | 1489 _vosrc="$_vosrc vo_tdfxfb.c" |
1489 _vomodules="tdfxfb $_vomodules" | 1490 _vomodules="tdfxfb $_vomodules" |
1490 else | 1491 else |
1491 _def_tdfxfb='#undef HAVE_TDFXFB' | 1492 _def_tdfxfb='#undef HAVE_TDFXFB' |
1493 _novomodules="tdfxf $_novomodules" | |
1492 fi | 1494 fi |
1493 echores "$_tdfxfb" | 1495 echores "$_tdfxfb" |
1494 | 1496 |
1495 | 1497 |
1496 echocheck "DirectFB" | 1498 echocheck "DirectFB" |
1507 _vosrc="$_vosrc vo_directfb.c" | 1509 _vosrc="$_vosrc vo_directfb.c" |
1508 _vomodules="directfb $_vomodules" | 1510 _vomodules="directfb $_vomodules" |
1509 _ld_directfb='-ldirectfb' | 1511 _ld_directfb='-ldirectfb' |
1510 else | 1512 else |
1511 _def_directfb='#undef HAVE_DIRECTFB' | 1513 _def_directfb='#undef HAVE_DIRECTFB' |
1514 _novomodules="directfb $_novomodules" | |
1512 fi | 1515 fi |
1513 echores "$_directfb" | 1516 echores "$_directfb" |
1514 | 1517 |
1515 if test "$_directfb" = yes; then | 1518 if test "$_directfb" = yes; then |
1516 echocheck "DirectFB >= 0.9.9" | 1519 echocheck "DirectFB >= 0.9.9" |
1616 _vomodules="x11 $_vomodules" | 1619 _vomodules="x11 $_vomodules" |
1617 else | 1620 else |
1618 _def_x11='#undef HAVE_X11' | 1621 _def_x11='#undef HAVE_X11' |
1619 _inc_x11='' | 1622 _inc_x11='' |
1620 _ld_x11='' | 1623 _ld_x11='' |
1624 _novomodules="x11 $_novomodules" | |
1621 fi | 1625 fi |
1622 echores "$_x11" | 1626 echores "$_x11" |
1623 | 1627 |
1624 | 1628 |
1625 echocheck "DPMS" | 1629 echocheck "DPMS" |
1678 _ld_xv='-lXv' | 1682 _ld_xv='-lXv' |
1679 _vosrc="$_vosrc vo_xv.c" | 1683 _vosrc="$_vosrc vo_xv.c" |
1680 _vomodules="xv $_vomodules" | 1684 _vomodules="xv $_vomodules" |
1681 else | 1685 else |
1682 _def_xv='#undef HAVE_XV' | 1686 _def_xv='#undef HAVE_XV' |
1687 _novomodules="xv $_novomodules" | |
1683 fi | 1688 fi |
1684 echores "$_xv" | 1689 echores "$_xv" |
1685 | 1690 |
1686 | 1691 |
1687 echocheck "Xinerama" | 1692 echocheck "Xinerama" |
1765 _vosrc="$_vosrc vo_dga.c" | 1770 _vosrc="$_vosrc vo_dga.c" |
1766 _vomodules="dga $_vomodules" | 1771 _vomodules="dga $_vomodules" |
1767 echores "yes (using DGA 2.0)" | 1772 echores "yes (using DGA 2.0)" |
1768 elif test "$_dga" = no ; then | 1773 elif test "$_dga" = no ; then |
1769 echores "no" | 1774 echores "no" |
1775 _novomodules="dga $_novomodules" | |
1770 else | 1776 else |
1771 die "DGA version must be 1 or 2" | 1777 die "DGA version must be 1 or 2" |
1772 fi | 1778 fi |
1773 | 1779 |
1774 | 1780 |
1794 _def_gl='#define HAVE_GL 1' | 1800 _def_gl='#define HAVE_GL 1' |
1795 _vosrc="$_vosrc vo_gl.c vo_gl2.c" | 1801 _vosrc="$_vosrc vo_gl.c vo_gl2.c" |
1796 _vomodules="opengl $_vomodules" | 1802 _vomodules="opengl $_vomodules" |
1797 else | 1803 else |
1798 _def_gl='#undef HAVE_GL' | 1804 _def_gl='#undef HAVE_GL' |
1805 _novomodules="opengl $_novomodules" | |
1799 fi | 1806 fi |
1800 echores "$_gl" | 1807 echores "$_gl" |
1801 | 1808 |
1802 | 1809 |
1803 echocheck "/dev/mga_vid" | 1810 echocheck "/dev/mga_vid" |
1809 _def_mga='#define HAVE_MGA 1' | 1816 _def_mga='#define HAVE_MGA 1' |
1810 _vosrc="$_vosrc vo_mga.c" | 1817 _vosrc="$_vosrc vo_mga.c" |
1811 _vomodules="mga $_vomodules" | 1818 _vomodules="mga $_vomodules" |
1812 else | 1819 else |
1813 _def_mga='#undef HAVE_MGA' | 1820 _def_mga='#undef HAVE_MGA' |
1821 _novomodules="mga $_novomodules" | |
1814 fi | 1822 fi |
1815 echores "$_mga" | 1823 echores "$_mga" |
1816 | 1824 |
1817 | 1825 |
1818 echocheck "syncfb" | 1826 echocheck "syncfb" |
1836 _def_xmga='#define HAVE_XMGA 1' | 1844 _def_xmga='#define HAVE_XMGA 1' |
1837 _vosrc="$_vosrc vo_xmga.c" | 1845 _vosrc="$_vosrc vo_xmga.c" |
1838 _vomodules="xmga $_vomodules" | 1846 _vomodules="xmga $_vomodules" |
1839 else | 1847 else |
1840 _def_xmga='#undef HAVE_XMGA' | 1848 _def_xmga='#undef HAVE_XMGA' |
1849 _novomodules="xmga $_novomodules" | |
1841 fi | 1850 fi |
1842 echores "$_xmga" | 1851 echores "$_xmga" |
1843 | 1852 |
1844 | 1853 |
1845 echocheck "GGI" | 1854 echocheck "GGI" |
1856 _ld_ggi='-lggi' | 1865 _ld_ggi='-lggi' |
1857 _vosrc="$_vosrc vo_ggi.c" | 1866 _vosrc="$_vosrc vo_ggi.c" |
1858 _vomodules="ggi $_vomodules" | 1867 _vomodules="ggi $_vomodules" |
1859 else | 1868 else |
1860 _def_ggi='#undef HAVE_GGI' | 1869 _def_ggi='#undef HAVE_GGI' |
1870 _novomodules="ggi $_novomodules" | |
1861 fi | 1871 fi |
1862 echores "$_ggi" | 1872 echores "$_ggi" |
1863 | 1873 |
1864 | 1874 |
1865 echocheck "AA" | 1875 echocheck "AA" |
1876 _ld_aa='-laa' | 1886 _ld_aa='-laa' |
1877 _vosrc="$_vosrc vo_aa.c" | 1887 _vosrc="$_vosrc vo_aa.c" |
1878 _vomodules="aa $_vomodules" | 1888 _vomodules="aa $_vomodules" |
1879 else | 1889 else |
1880 _def_aa='#undef HAVE_AA' | 1890 _def_aa='#undef HAVE_AA' |
1891 _novomodules="aa $_novomodules" | |
1881 fi | 1892 fi |
1882 echores "$_aa" | 1893 echores "$_aa" |
1883 | 1894 |
1884 | 1895 |
1885 echocheck "SVGAlib" | 1896 echocheck "SVGAlib" |
1897 _ld_svga='-lvgagl -lvga' | 1908 _ld_svga='-lvgagl -lvga' |
1898 _vosrc="$_vosrc vo_svga.c" | 1909 _vosrc="$_vosrc vo_svga.c" |
1899 _vomodules="svga $_vomodules" | 1910 _vomodules="svga $_vomodules" |
1900 else | 1911 else |
1901 _def_svga='#undef HAVE_SVGALIB' | 1912 _def_svga='#undef HAVE_SVGALIB' |
1913 _novomodules="svga $_novomodules" | |
1902 fi | 1914 fi |
1903 echores "$_svga" | 1915 echores "$_svga" |
1904 | 1916 |
1905 | 1917 |
1906 echocheck "FBDev" | 1918 echocheck "FBDev" |
1917 _def_fbdev_nocopy='#define USE_CONVERT2FB 1' | 1929 _def_fbdev_nocopy='#define USE_CONVERT2FB 1' |
1918 fi | 1930 fi |
1919 else | 1931 else |
1920 _def_fbdev='#undef HAVE_FBDEV' | 1932 _def_fbdev='#undef HAVE_FBDEV' |
1921 _def_fbdev_nocopy='#undef USE_CONVERT2FB' | 1933 _def_fbdev_nocopy='#undef USE_CONVERT2FB' |
1934 _novomodules="fbdev $_novomodules" | |
1922 fi | 1935 fi |
1923 echores "$_fbdev" | 1936 echores "$_fbdev" |
1924 | 1937 |
1925 | 1938 |
1926 | 1939 |
1976 _vosrc="$_vosrc vo_png.c" | 1989 _vosrc="$_vosrc vo_png.c" |
1977 _vomodules="png $_vomodules" | 1990 _vomodules="png $_vomodules" |
1978 _mkf_png="yes" | 1991 _mkf_png="yes" |
1979 else | 1992 else |
1980 _def_png='#undef HAVE_PNG' | 1993 _def_png='#undef HAVE_PNG' |
1994 _novomodules="png $_novomodules" | |
1981 _mkf_png="no" | 1995 _mkf_png="no" |
1982 fi | 1996 fi |
1983 | 1997 |
1984 echocheck "JPEG support" | 1998 echocheck "JPEG support" |
1985 if test "$_jpg" = auto ; then | 1999 if test "$_jpg" = auto ; then |
2019 _vosrc="$_vosrc vo_vesa.c vesa_lvo.c" | 2033 _vosrc="$_vosrc vo_vesa.c vesa_lvo.c" |
2020 _vomodules="vesa $_vomodules" | 2034 _vomodules="vesa $_vomodules" |
2021 echores "yes" | 2035 echores "yes" |
2022 else | 2036 else |
2023 _def_vesa='#undef HAVE_VESA' | 2037 _def_vesa='#undef HAVE_VESA' |
2038 _novomodules="vesa $_novomodules" | |
2024 echores "no (not supported on this OS/architecture)" | 2039 echores "no (not supported on this OS/architecture)" |
2025 fi | 2040 fi |
2026 else | 2041 else |
2027 _def_vesa='#undef HAVE_VESA' | 2042 _def_vesa='#undef HAVE_VESA' |
2028 fi | 2043 fi |
2074 _aosrc="$_aosrc ao_sdl.c" | 2089 _aosrc="$_aosrc ao_sdl.c" |
2075 _aomodules="sdl $_aomodules" | 2090 _aomodules="sdl $_aomodules" |
2076 echores "yes (using $_sdlconfig)" | 2091 echores "yes (using $_sdlconfig)" |
2077 else | 2092 else |
2078 _def_sdl='#undef HAVE_SDL' | 2093 _def_sdl='#undef HAVE_SDL' |
2094 _novomodules="sdl $_novomodules" | |
2095 _noaomodules="sdl $_noaomodules" | |
2079 echores "no" | 2096 echores "no" |
2080 fi | 2097 fi |
2081 | 2098 |
2082 echocheck "NAS" | 2099 echocheck "NAS" |
2083 if test "$_nas" = auto || test "$_nas" = yes ; then | 2100 if test "$_nas" = auto || test "$_nas" = yes ; then |
2092 _def_nas='#define HAVE_NAS 1' | 2109 _def_nas='#define HAVE_NAS 1' |
2093 _ld_nas="-laudio $_ld_x11 -lXt" | 2110 _ld_nas="-laudio $_ld_x11 -lXt" |
2094 _aosrc="$_aosrc ao_nas.c" | 2111 _aosrc="$_aosrc ao_nas.c" |
2095 _aomodules="nas $_aomodules" | 2112 _aomodules="nas $_aomodules" |
2096 else | 2113 else |
2114 _noaomodules="nas $_noaomodules" | |
2097 _def_nas='#undef HAVE_NAS' | 2115 _def_nas='#undef HAVE_NAS' |
2098 fi | 2116 fi |
2099 echores "$_nas" | 2117 echores "$_nas" |
2100 | 2118 |
2101 echocheck "DXR3/H+" | 2119 echocheck "DXR3/H+" |
2111 _def_dxr3='#define HAVE_DXR3 1' | 2129 _def_dxr3='#define HAVE_DXR3 1' |
2112 _vosrc="$_vosrc vo_dxr3.c" | 2130 _vosrc="$_vosrc vo_dxr3.c" |
2113 _vomodules="dxr3 $_vomodules" | 2131 _vomodules="dxr3 $_vomodules" |
2114 else | 2132 else |
2115 _def_dxr3='#undef HAVE_DXR3' | 2133 _def_dxr3='#undef HAVE_DXR3' |
2134 _novomodules="dxr3 $_novomodules" | |
2116 if test "$_mp1e" = auto ; then | 2135 if test "$_mp1e" = auto ; then |
2117 # we don't need mp1e | 2136 # we don't need mp1e |
2118 _mp1e=no | 2137 _mp1e=no |
2119 fi | 2138 fi |
2120 fi | 2139 fi |
2165 fi | 2184 fi |
2166 else | 2185 else |
2167 _def_ossaudio='#undef USE_OSS_AUDIO' | 2186 _def_ossaudio='#undef USE_OSS_AUDIO' |
2168 _def_ossaudio_devdsp='#define PATH_DEV_DSP ""' | 2187 _def_ossaudio_devdsp='#define PATH_DEV_DSP ""' |
2169 _def_ossaudio_devmixer='#define PATH_DEV_MIXER ""' | 2188 _def_ossaudio_devmixer='#define PATH_DEV_MIXER ""' |
2189 _noaomodules="oss $_noaomodules" | |
2170 fi | 2190 fi |
2171 echores "$_ossaudio" | 2191 echores "$_ossaudio" |
2172 | 2192 |
2173 | 2193 |
2174 echocheck "ALSA audio" | 2194 echocheck "ALSA audio" |
2205 _aosrc="$_aosrc ao_alsa9.c" | 2225 _aosrc="$_aosrc ao_alsa9.c" |
2206 _aomodules="alsa9 $_aomodules" | 2226 _aomodules="alsa9 $_aomodules" |
2207 _def_alsa9='#define HAVE_ALSA9 1' | 2227 _def_alsa9='#define HAVE_ALSA9 1' |
2208 fi | 2228 fi |
2209 _ld_alsa='-lasound' | 2229 _ld_alsa='-lasound' |
2230 else | |
2231 _noaomodules="alsa $_noaomodules" | |
2210 fi | 2232 fi |
2211 | 2233 |
2212 | 2234 |
2213 echocheck "Sun audio" | 2235 echocheck "Sun audio" |
2214 if test "$_sunaudio" = auto ; then | 2236 if test "$_sunaudio" = auto ; then |
2224 _def_sunaudio='#define USE_SUN_AUDIO 1' | 2246 _def_sunaudio='#define USE_SUN_AUDIO 1' |
2225 _aosrc="$_aosrc ao_sun.c" | 2247 _aosrc="$_aosrc ao_sun.c" |
2226 _aomodules="sun $_aomodules" | 2248 _aomodules="sun $_aomodules" |
2227 else | 2249 else |
2228 _def_sunaudio='#undef USE_SUN_AUDIO' | 2250 _def_sunaudio='#undef USE_SUN_AUDIO' |
2251 _noaomodules="sun $_noaomodules" | |
2229 fi | 2252 fi |
2230 echores "$_sunaudio" | 2253 echores "$_sunaudio" |
2231 | 2254 |
2232 | 2255 |
2233 echocheck "Sun mediaLib" | 2256 echocheck "Sun mediaLib" |
2265 _ld_sgiaudio='-laudio' | 2288 _ld_sgiaudio='-laudio' |
2266 _aosrc="$_aosrc ao_sgi.c" | 2289 _aosrc="$_aosrc ao_sgi.c" |
2267 _aomodules="sgi $_aomodules" | 2290 _aomodules="sgi $_aomodules" |
2268 else | 2291 else |
2269 _def_sgiaudio='#undef USE_SGI_AUDIO' | 2292 _def_sgiaudio='#undef USE_SGI_AUDIO' |
2293 _noaomodules="sgi $_noaomodules" | |
2270 fi | 2294 fi |
2271 echores "$_sgiaudio" | 2295 echores "$_sgiaudio" |
2272 | 2296 |
2273 | 2297 |
2274 echocheck "VCD support" | 2298 echocheck "VCD support" |
2276 _inputmodules="vcd $_inputmodules" | 2300 _inputmodules="vcd $_inputmodules" |
2277 _def_vcd='#define HAVE_VCD 1' | 2301 _def_vcd='#define HAVE_VCD 1' |
2278 echores "ok" | 2302 echores "ok" |
2279 else | 2303 else |
2280 _def_vcd='#undef HAVE_VCD' | 2304 _def_vcd='#undef HAVE_VCD' |
2305 _noinputmodules="vcd $_noinputmodules" | |
2281 echores "not supported on this OS" | 2306 echores "not supported on this OS" |
2282 fi | 2307 fi |
2283 | 2308 |
2284 | 2309 |
2285 | 2310 |
2300 _inputmodules="dvdcss $_inputmodules" | 2325 _inputmodules="dvdcss $_inputmodules" |
2301 _largefiles=yes | 2326 _largefiles=yes |
2302 echores "yes" | 2327 echores "yes" |
2303 else | 2328 else |
2304 _def_css='#undef HAVE_LIBCSS' | 2329 _def_css='#undef HAVE_LIBCSS' |
2330 _noinputmodules="dvdcss $_noinputmodules" | |
2305 echores "no" | 2331 echores "no" |
2306 fi | 2332 fi |
2307 | 2333 |
2308 | 2334 |
2309 echocheck "DVD support (libdvdread - new style)" | 2335 echocheck "DVD support (libdvdread - new style)" |
2328 _ld_css='-ldvdread' | 2354 _ld_css='-ldvdread' |
2329 _inputmodules="dvdread $_inputmodules" | 2355 _inputmodules="dvdread $_inputmodules" |
2330 echores "yes" | 2356 echores "yes" |
2331 else | 2357 else |
2332 _def_dvdread='#undef USE_DVDREAD' | 2358 _def_dvdread='#undef USE_DVDREAD' |
2359 _noinputmodules="dvdread $_noinputmodules" | |
2333 echores "no" | 2360 echores "no" |
2334 fi | 2361 fi |
2335 | 2362 |
2336 echocheck "zlib" | 2363 echocheck "zlib" |
2337 cat > $TMPC << EOF | 2364 cat > $TMPC << EOF |
2430 _dep_win32='loader/libloader.a' | 2457 _dep_win32='loader/libloader.a' |
2431 _codecmodules="win32 $_codecmodules" | 2458 _codecmodules="win32 $_codecmodules" |
2432 echores "yes (using $_win32libdir)" | 2459 echores "yes (using $_win32libdir)" |
2433 else | 2460 else |
2434 _def_win32='#undef USE_WIN32DLL' | 2461 _def_win32='#undef USE_WIN32DLL' |
2462 _nocodecmodules="win32 $_nocodecmodules" | |
2435 _dshow=no | 2463 _dshow=no |
2436 echores "no" | 2464 echores "no" |
2437 fi | 2465 fi |
2438 | 2466 |
2439 | 2467 |
2485 _ld_dshow='-Lloader/dshow -lDS_Filter' | 2513 _ld_dshow='-Lloader/dshow -lDS_Filter' |
2486 _dep_dshow='loader/dshow/libDS_Filter.a' | 2514 _dep_dshow='loader/dshow/libDS_Filter.a' |
2487 _codecmodules="directshow $_codecmodules" | 2515 _codecmodules="directshow $_codecmodules" |
2488 else | 2516 else |
2489 _def_dshow='#undef USE_DIRECTSHOW' | 2517 _def_dshow='#undef USE_DIRECTSHOW' |
2518 _nocodecmodules="directshow $_nocodecmodules" | |
2490 fi | 2519 fi |
2491 | 2520 |
2492 | 2521 |
2493 echocheck "XAnim DLL" | 2522 echocheck "XAnim DLL" |
2494 if test "$_xanim" = auto ; then | 2523 if test "$_xanim" = auto ; then |
2519 _def_xanim_path="#define XACODEC_PATH \"$_xanimlibdir\"" | 2548 _def_xanim_path="#define XACODEC_PATH \"$_xanimlibdir\"" |
2520 _codecmodules="xanim $_codecmodules" | 2549 _codecmodules="xanim $_codecmodules" |
2521 else | 2550 else |
2522 _def_xanim='#undef USE_XANIM' | 2551 _def_xanim='#undef USE_XANIM' |
2523 _def_xanim_path='#undef XACODEC_PATH' | 2552 _def_xanim_path='#undef XACODEC_PATH' |
2553 _nocodecmodules="xanim $_nocodecmodules" | |
2524 fi | 2554 fi |
2525 | 2555 |
2526 | 2556 |
2527 echocheck "iconv" | 2557 echocheck "iconv" |
2528 if test "$_iconv" = auto ; then | 2558 if test "$_iconv" = auto ; then |
2633 elif test "$_libavcodecso" = yes ; then | 2663 elif test "$_libavcodecso" = yes ; then |
2634 _def_libavcodecso='#define USE_LIBAVCODEC_SO 1' | 2664 _def_libavcodecso='#define USE_LIBAVCODEC_SO 1' |
2635 _ld_libavcodec='-lffmpeg' | 2665 _ld_libavcodec='-lffmpeg' |
2636 _def_ffpostprocess='#define FF_POSTPROCESS 1' | 2666 _def_ffpostprocess='#define FF_POSTPROCESS 1' |
2637 _codecmodules="libavcodec.so $_codecmodules" | 2667 _codecmodules="libavcodec.so $_codecmodules" |
2668 else | |
2669 _nocodecmodules="libavcodec $_nocodecmodules" | |
2638 fi | 2670 fi |
2639 | 2671 |
2640 | 2672 |
2641 echocheck "zr" | 2673 echocheck "zr" |
2642 if test "$_zr" = yes ; then | 2674 if test "$_zr" = yes ; then |
2645 _vosrc="$_vosrc vo_zr.c jpeg_enc.c" | 2677 _vosrc="$_vosrc vo_zr.c jpeg_enc.c" |
2646 _vomodules="zr $_vomodules" | 2678 _vomodules="zr $_vomodules" |
2647 echores "$_zr" | 2679 echores "$_zr" |
2648 else | 2680 else |
2649 echores "libavcodec (static) is required by zr, sorry" | 2681 echores "libavcodec (static) is required by zr, sorry" |
2682 _novomodules="zr $_novomodules" | |
2650 _def_zr='#undef HAVE_ZR' | 2683 _def_zr='#undef HAVE_ZR' |
2651 fi | 2684 fi |
2652 else | 2685 else |
2653 _def_zr='#undef HAVE_ZR' | 2686 _def_zr='#undef HAVE_ZR' |
2687 _novomodules="zr $_novomodules" | |
2654 echores "$_zr" | 2688 echores "$_zr" |
2655 fi | 2689 fi |
2656 | 2690 |
2657 | 2691 |
2658 echocheck "XviD/DivX4linux/DivX5linux/OpenDivX decore" | 2692 echocheck "XviD/DivX4linux/DivX5linux/OpenDivX decore" |
2691 _def_decore='#define NEW_DECORE 1' | 2725 _def_decore='#define NEW_DECORE 1' |
2692 _def_divx='#define USE_DIVX' | 2726 _def_divx='#define USE_DIVX' |
2693 _def_divx5='#undef DECORE_DIVX5' | 2727 _def_divx5='#undef DECORE_DIVX5' |
2694 _def_odivx_postprocess='#define HAVE_ODIVX_POSTPROCESS 1' | 2728 _def_odivx_postprocess='#define HAVE_ODIVX_POSTPROCESS 1' |
2695 _codecmodules="divx4linux $_codecmodules" | 2729 _codecmodules="divx4linux $_codecmodules" |
2730 _nocodecmodules="xvid $_nocodecmodules" | |
2696 echores "DivX4linux (with libdivxdecore.so)" | 2731 echores "DivX4linux (with libdivxdecore.so)" |
2697 elif test "$_divx4linux" != no ; then | 2732 elif test "$_divx4linux" != no ; then |
2698 # DivX5 check | 2733 # DivX5 check |
2699 # OdivxPP disabled because of: | 2734 # OdivxPP disabled because of: |
2700 # ld: Warning: type of symbol `dering' changed from 1 to 2 in opendivx/postprocess.o | 2735 # ld: Warning: type of symbol `dering' changed from 1 to 2 in opendivx/postprocess.o |
2712 _def_divx='#define USE_DIVX' | 2747 _def_divx='#define USE_DIVX' |
2713 _def_divx5='#define DECORE_DIVX5 1' | 2748 _def_divx5='#define DECORE_DIVX5 1' |
2714 # _def_odivx_postprocess='#define HAVE_ODIVX_POSTPROCESS 1' | 2749 # _def_odivx_postprocess='#define HAVE_ODIVX_POSTPROCESS 1' |
2715 _def_odivx_postprocess='#undef HAVE_ODIVX_POSTPROCESS' | 2750 _def_odivx_postprocess='#undef HAVE_ODIVX_POSTPROCESS' |
2716 _codecmodules="divx5linux $_codecmodules" | 2751 _codecmodules="divx5linux $_codecmodules" |
2752 _nocodecmodules="divx4linux $_nocodecmodules" | |
2717 echores "DivX5linux (with libdivxdecore.so)" | 2753 echores "DivX5linux (with libdivxdecore.so)" |
2718 elif test "$_opendivx" != no ; then | 2754 elif test "$_opendivx" != no ; then |
2719 _xvid=no | 2755 _xvid=no |
2720 _divx4linux=no | 2756 _divx4linux=no |
2721 _opendivx=yes | 2757 _opendivx=yes |
2723 _def_decore='#undef NEW_DECORE' | 2759 _def_decore='#undef NEW_DECORE' |
2724 _def_divx='#define USE_DIVX' | 2760 _def_divx='#define USE_DIVX' |
2725 _def_divx5='#undef DECORE_DIVX5' | 2761 _def_divx5='#undef DECORE_DIVX5' |
2726 _def_odivx_postprocess='#define HAVE_ODIVX_POSTPROCESS 1' | 2762 _def_odivx_postprocess='#define HAVE_ODIVX_POSTPROCESS 1' |
2727 _codecmodules="opendivx $_codecmodules" | 2763 _codecmodules="opendivx $_codecmodules" |
2764 _nocodecmodules="divx5linux $_nocodecmodules" | |
2728 echores "OpenDivX" | 2765 echores "OpenDivX" |
2729 else | 2766 else |
2730 _xvid=no | 2767 _xvid=no |
2731 _divx4linux=no | 2768 _divx4linux=no |
2732 _opendivx=no | 2769 _opendivx=no |
2733 _ld_decore='' | 2770 _ld_decore='' |
2734 _def_decore='#undef NEW_DECORE' | 2771 _def_decore='#undef NEW_DECORE' |
2735 _def_divx='#undef USE_DIVX' | 2772 _def_divx='#undef USE_DIVX' |
2736 _def_divx5='#undef DECORE_DIVX5' | 2773 _def_divx5='#undef DECORE_DIVX5' |
2737 _def_odivx_postprocess='#undef HAVE_ODIVX_POSTPROCESS' | 2774 _def_odivx_postprocess='#undef HAVE_ODIVX_POSTPROCESS' |
2775 _nocodecmodules="opendivx $_nocodecmodules" | |
2738 echores "no" | 2776 echores "no" |
2739 fi # DivX5 check | 2777 fi # DivX5 check |
2740 fi | 2778 fi |
2741 | 2779 |
2742 | 2780 |
2803 echocheck "TV interface" | 2841 echocheck "TV interface" |
2804 if test "$_tv" = yes ; then | 2842 if test "$_tv" = yes ; then |
2805 _def_tv='#define USE_TV 1' | 2843 _def_tv='#define USE_TV 1' |
2806 _inputmodules="tv $_inputmodules" | 2844 _inputmodules="tv $_inputmodules" |
2807 else | 2845 else |
2846 _noinputmodules="tv $_noinputmodules" | |
2808 _def_tv='#undef USE_TV' | 2847 _def_tv='#undef USE_TV' |
2809 fi | 2848 fi |
2810 echores "$_tv" | 2849 echores "$_tv" |
2811 | 2850 |
2812 echocheck "Video 4 Linux TV interface" | 2851 echocheck "Video 4 Linux TV interface" |
2825 fi | 2864 fi |
2826 if test "$_tv_v4l" = yes ; then | 2865 if test "$_tv_v4l" = yes ; then |
2827 _def_tv_v4l='#define HAVE_TV_V4L 1' | 2866 _def_tv_v4l='#define HAVE_TV_V4L 1' |
2828 _inputmodules="tv-v4l $_inputmodules" | 2867 _inputmodules="tv-v4l $_inputmodules" |
2829 else | 2868 else |
2869 _noinputmodules="tv-v4l $_noinputmodules" | |
2830 _def_tv_v4l='#undef HAVE_TV_V4L' | 2870 _def_tv_v4l='#undef HAVE_TV_V4L' |
2831 fi | 2871 fi |
2832 echores "$_tv_v4l" | 2872 echores "$_tv_v4l" |
2833 | 2873 |
2834 | 2874 |
2846 if test "$_streaming" != no ; then | 2886 if test "$_streaming" != no ; then |
2847 _def_streaming='#define STREAMING 1' | 2887 _def_streaming='#define STREAMING 1' |
2848 _ld_streaming="$_ld_sock" | 2888 _ld_streaming="$_ld_sock" |
2849 _inputmodules="network $_inputmodules" | 2889 _inputmodules="network $_inputmodules" |
2850 else | 2890 else |
2891 _noinputmodules="network $_noinputmodules" | |
2851 _def_streaming='#undef STREAMING' | 2892 _def_streaming='#undef STREAMING' |
2852 fi | 2893 fi |
2853 echores "$_streaming" | 2894 echores "$_streaming" |
2854 | 2895 |
2855 | 2896 |
3017 _def_vidix='#define CONFIG_VIDIX 1' | 3058 _def_vidix='#define CONFIG_VIDIX 1' |
3018 test "$_vidix" = no && _def_vidix='#undef CONFIG_VIDIX' | 3059 test "$_vidix" = no && _def_vidix='#undef CONFIG_VIDIX' |
3019 if test "$_vidix" = yes && test "$_x11" = yes; then | 3060 if test "$_vidix" = yes && test "$_x11" = yes; then |
3020 _vosrc="$_vosrc vo_xvidix.c" | 3061 _vosrc="$_vosrc vo_xvidix.c" |
3021 _vomodules="xvidix $_vomodules" | 3062 _vomodules="xvidix $_vomodules" |
3063 else | |
3064 _novomodules="xvidix $_novomodules" | |
3022 fi | 3065 fi |
3023 echo Checking for vidix ... "$_vidix" | 3066 echo Checking for vidix ... "$_vidix" |
3024 | 3067 |
3025 _def_new_input='#undef HAVE_NEW_INPUT' | 3068 _def_new_input='#undef HAVE_NEW_INPUT' |
3026 _def_joystick='#undef HAVE_JOYSTICK' | 3069 _def_joystick='#undef HAVE_JOYSTICK' |
3535 Enabled optional drivers: | 3578 Enabled optional drivers: |
3536 Input: $_inputmodules | 3579 Input: $_inputmodules |
3537 Codecs: $_codecmodules | 3580 Codecs: $_codecmodules |
3538 Audio output: $_aomodules | 3581 Audio output: $_aomodules |
3539 Video output: $_vomodules | 3582 Video output: $_vomodules |
3583 Disabled optional drivers: | |
3584 Input: $_noinputmodules | |
3585 Codecs: $_nocodecmodules | |
3586 Audio output: $_noaomodules | |
3587 Video output: $_novomodules | |
3540 | 3588 |
3541 'config.h' and 'config.mak' contain your configuration options. | 3589 'config.h' and 'config.mak' contain your configuration options. |
3542 Note: if you alter theses files (for instance CFLAGS) MPlayer may no longer | 3590 Note: if you alter theses files (for instance CFLAGS) MPlayer may no longer |
3543 compile *** DON'T BUGREPORT if you tweak these files *** | 3591 compile *** DON'T BUGREPORT if you tweak these files *** |
3544 | 3592 |