Mercurial > mplayer.hg
comparison configure @ 3902:9c4a5c4e00b1
more common format for output messages
author | pl |
---|---|
date | Sun, 30 Dec 2001 19:17:10 +0000 |
parents | f958e84716f0 |
children | 16c96a2353e8 |
comparison
equal
deleted
inserted
replaced
3901:f958e84716f0 | 3902:9c4a5c4e00b1 |
---|---|
1272 if test "$_def_termios_h_name" = 'sys/termios.h' ; then | 1272 if test "$_def_termios_h_name" = 'sys/termios.h' ; then |
1273 _def_termios_sys_h='#define HAVE_SYS_TERMIOS_H 1' | 1273 _def_termios_sys_h='#define HAVE_SYS_TERMIOS_H 1' |
1274 elif test "$_def_termios_h_name" = 'termios.h' ; then | 1274 elif test "$_def_termios_h_name" = 'termios.h' ; then |
1275 _def_termios_h='#define HAVE_TERMIOS_H 1' | 1275 _def_termios_h='#define HAVE_TERMIOS_H 1' |
1276 fi | 1276 fi |
1277 echores "yes (using $_def_termios_h_name)" | |
1277 else | 1278 else |
1278 _def_termios='#undef HAVE_TERMIOS' | 1279 _def_termios='#undef HAVE_TERMIOS' |
1279 _def_termios_h_name='' | 1280 _def_termios_h_name='' |
1280 fi | 1281 echores "no" |
1281 echores "$_termios (using: $_def_termios_h_name)" | 1282 fi |
1282 | 1283 |
1283 | 1284 |
1284 echocheck "shm" | 1285 echocheck "shm" |
1285 if test "$_shm" = auto ; then | 1286 if test "$_shm" = auto ; then |
1286 cat > $TMPC << EOF | 1287 cat > $TMPC << EOF |
1372 echocheck "X11 headers" | 1373 echocheck "X11 headers" |
1373 if test -z "$_inc_x11" ; then | 1374 if test -z "$_inc_x11" ; then |
1374 for I in /usr/include /usr/X11R6/include /usr/X11/include /usr/openwin/include ; do | 1375 for I in /usr/include /usr/X11R6/include /usr/X11/include /usr/openwin/include ; do |
1375 if test -d "$I/X11" ; then | 1376 if test -d "$I/X11" ; then |
1376 _inc_x11="-I$I" | 1377 _inc_x11="-I$I" |
1377 echores "yes (found: $I)" | 1378 echores "yes (using $I)" |
1378 break | 1379 break |
1379 fi | 1380 fi |
1380 done | 1381 done |
1381 if test -z "$_inc_x11" ; then | 1382 if test -z "$_inc_x11" ; then |
1382 _x11=no | 1383 _x11=no |
1383 echores "not found" | 1384 echores "not found" |
1384 fi | 1385 fi |
1385 else | 1386 else |
1386 echores "yes (use: $_inc_x11)" | 1387 echores "yes (using $_inc_x11)" |
1387 fi | 1388 fi |
1388 if test "$_inc_x11" = "-I/usr/include" ; then | 1389 if test "$_inc_x11" = "-I/usr/include" ; then |
1389 _inc_x11="" | 1390 _inc_x11="" |
1390 fi | 1391 fi |
1391 | 1392 |
1393 echocheck "X11 libs" | 1394 echocheck "X11 libs" |
1394 if test -z "$_ld_x11" ; then | 1395 if test -z "$_ld_x11" ; then |
1395 for I in /usr/X11R6/lib /usr/X11/lib /usr/lib32 /usr/openwin/lib ; do | 1396 for I in /usr/X11R6/lib /usr/X11/lib /usr/lib32 /usr/openwin/lib ; do |
1396 if test -d "$I" ; then | 1397 if test -d "$I" ; then |
1397 _ld_x11="-L$I" | 1398 _ld_x11="-L$I" |
1398 echores "yes (found: $I)" | 1399 echores "yes (using $I)" |
1399 break; | 1400 break; |
1400 fi | 1401 fi |
1401 done | 1402 done |
1402 if test -z "$_ld_x11" ; then | 1403 if test -z "$_ld_x11" ; then |
1403 _x11=no | 1404 _x11=no |
1404 echores "not found" | 1405 echores "not found" |
1405 fi | 1406 fi |
1406 else | 1407 else |
1407 echores "yes (use: $_ld_x11)" | 1408 echores "yes (using $_ld_x11)" |
1408 fi | 1409 fi |
1409 _ld_x11="$_ld_x11 -lX11 -lXext $_ld_sock" | 1410 _ld_x11="$_ld_x11 -lX11 -lXext $_ld_sock" |
1410 | 1411 |
1411 | 1412 |
1412 ######### | 1413 ######### |
1828 _inc_sdl=`$_sdlconfig --cflags` | 1829 _inc_sdl=`$_sdlconfig --cflags` |
1829 _vosrc="$_vosrc vo_sdl.c" | 1830 _vosrc="$_vosrc vo_sdl.c" |
1830 _vomodules="sdl $_vomodules" | 1831 _vomodules="sdl $_vomodules" |
1831 _aosrc="$_aosrc ao_sdl.c" | 1832 _aosrc="$_aosrc ao_sdl.c" |
1832 _aomodules="sdl $_aomodules" | 1833 _aomodules="sdl $_aomodules" |
1834 echores "yes (using $_sdlconfig)" | |
1833 else | 1835 else |
1834 _def_sdl='#undef HAVE_SDL' | 1836 _def_sdl='#undef HAVE_SDL' |
1835 fi | 1837 echores "no" |
1836 echores "$_sdl (with $_sdlconfig)" | 1838 fi |
1837 | 1839 |
1838 echocheck "NAS" | 1840 echocheck "NAS" |
1839 if test "$_nas" = auto || test "$_nas" = yes ; then | 1841 if test "$_nas" = auto || test "$_nas" = yes ; then |
1840 cat > $TMPC << EOF | 1842 cat > $TMPC << EOF |
1841 #include <audio/audiolib.h> | 1843 #include <audio/audiolib.h> |
1934 int main(void) { return (!(SND_LIB_MAJOR==0 && SND_LIB_MINOR==9)); } | 1936 int main(void) { return (!(SND_LIB_MAJOR==0 && SND_LIB_MINOR==9)); } |
1935 EOF | 1937 EOF |
1936 cc_check -lasound $_ld_dl $_ld_pthread && $TMPO && _alsaver='0.9.x' | 1938 cc_check -lasound $_ld_dl $_ld_pthread && $TMPO && _alsaver='0.9.x' |
1937 if test "$_alsaver" ; then | 1939 if test "$_alsaver" ; then |
1938 _alsa=yes | 1940 _alsa=yes |
1939 echores "yes ($_alsaver)" | 1941 echores "yes (using alsa $_alsaver)" |
1940 else | 1942 else |
1941 echores "no" | 1943 echores "no" |
1942 fi | 1944 fi |
1943 else | 1945 else |
1944 echores "no" | 1946 echores "no" |
2105 cc_check && _rtc=yes | 2107 cc_check && _rtc=yes |
2106 fi | 2108 fi |
2107 echores "$_rtc" | 2109 echores "$_rtc" |
2108 else | 2110 else |
2109 _rtc=no | 2111 _rtc=no |
2110 echores "no (linux-specific)" | 2112 echores "no (Linux specific feature)" |
2111 fi | 2113 fi |
2112 if test "$_rtc" = yes ; then | 2114 if test "$_rtc" = yes ; then |
2113 _def_rtc='#define HAVE_RTC 1' | 2115 _def_rtc='#define HAVE_RTC 1' |
2114 else | 2116 else |
2115 _def_rtc='#undef HAVE_RTC' | 2117 _def_rtc='#undef HAVE_RTC' |
2171 if test "$_win32" = yes ; then | 2173 if test "$_win32" = yes ; then |
2172 _def_win32='#define USE_WIN32DLL 1' | 2174 _def_win32='#define USE_WIN32DLL 1' |
2173 _ld_win32='-Lloader -lloader' | 2175 _ld_win32='-Lloader -lloader' |
2174 _dep_win32='loader/libloader.a' | 2176 _dep_win32='loader/libloader.a' |
2175 _codecmodules="win32 $_codecmodules" | 2177 _codecmodules="win32 $_codecmodules" |
2176 echores "$_win32 (found: $_win32libdir)" | 2178 echores "yes (using $_win32libdir)" |
2177 else | 2179 else |
2178 _def_win32='#undef USE_WIN32DLL' | 2180 _def_win32='#undef USE_WIN32DLL' |
2179 _dshow=no | 2181 _dshow=no |
2180 echores "$_win32" | 2182 echores "no" |
2181 fi | 2183 fi |
2184 | |
2182 | 2185 |
2183 echocheck "DirectShow" | 2186 echocheck "DirectShow" |
2184 | |
2185 if false ; then | 2187 if false ; then |
2186 | 2188 |
2187 if test "$_dshow" != no ; then | 2189 if test "$_dshow" != no ; then |
2188 _dshow=no | 2190 _dshow=no |
2189 # check if compiler supports C++ and C++-libs are installed correctly | 2191 # check if compiler supports C++ and C++-libs are installed correctly |
2246 fi; | 2248 fi; |
2247 done | 2249 done |
2248 fi | 2250 fi |
2249 test "$_xanimlibdir" && _xanim=yes | 2251 test "$_xanimlibdir" && _xanim=yes |
2250 if test "$_xanim" = yes ; then | 2252 if test "$_xanim" = yes ; then |
2251 echores "yes (found: $_xanimlibdir)" | 2253 echores "yes (using $_xanimlibdir)" |
2252 else | 2254 else |
2253 echores "no suitable directory found" | 2255 echores "no (no suitable directory found - see DOCS/codecs.html)" |
2254 fi | 2256 fi |
2255 else | 2257 else |
2256 echores "dl support needed" | 2258 echores "no (dynamic loader support needed)" |
2257 fi | 2259 fi |
2258 else | 2260 else |
2259 echores "$_xanim" | 2261 echores "$_xanim" |
2260 fi | 2262 fi |
2261 if test "$_xanim" = yes ; then | 2263 if test "$_xanim" = yes ; then |
2332 if test -d libavcodec && test -f libavcodec/utils.c ; then | 2334 if test -d libavcodec && test -f libavcodec/utils.c ; then |
2333 if grep avcodec_find_encoder_by_name libavcodec/utils.c > /dev/null 2>&1 ; then | 2335 if grep avcodec_find_encoder_by_name libavcodec/utils.c > /dev/null 2>&1 ; then |
2334 _libavcodec=yes | 2336 _libavcodec=yes |
2335 echores "yes" | 2337 echores "yes" |
2336 else | 2338 else |
2337 echores "no: old ffmpeg version, use CVS !" | 2339 echores "no (old ffmpeg version, use CVS !)" |
2338 fi | 2340 fi |
2339 else | 2341 else |
2340 echores "no: see DOCS/codecs.html" | 2342 echores "no (see DOCS/codecs.html)" |
2341 fi | 2343 fi |
2342 else | 2344 else |
2343 echores "$_libavcodec" | 2345 echores "$_libavcodec" |
2344 fi | 2346 fi |
2345 | 2347 |
2354 int quant_store[MBR+1][MBC+1]; | 2356 int quant_store[MBR+1][MBC+1]; |
2355 int main(void) { return 0; } | 2357 int main(void) { return 0; } |
2356 EOF | 2358 EOF |
2357 if cc_check -lffmpeg -lm ; then | 2359 if cc_check -lffmpeg -lm ; then |
2358 _libavcodecso=yes | 2360 _libavcodecso=yes |
2359 echores "yes: using libffmpeg.so" | 2361 echores "yes (using libffmpeg.so)" |
2360 else | 2362 else |
2361 echores "no: libffmpeg.so is broken/obsolete" | 2363 echores "no (libffmpeg.so is broken/obsolete)" |
2362 fi | 2364 fi |
2363 else | 2365 else |
2364 echores "$_libavcodecso" | 2366 echores "$_libavcodecso" |
2365 fi | 2367 fi |
2366 fi | 2368 fi |
2583 fi | 2585 fi |
2584 fi | 2586 fi |
2585 _gtk=`$_gtkconfig --version 2>&1` | 2587 _gtk=`$_gtkconfig --version 2>&1` |
2586 _inc_gtk=`$_gtkconfig --cflags 2>&1` | 2588 _inc_gtk=`$_gtkconfig --cflags 2>&1` |
2587 _ld_gtk=`$_gtkconfig --libs 2>&1` | 2589 _ld_gtk=`$_gtkconfig --libs 2>&1` |
2588 echores "$_gtk (with $_gtkconfig)" | 2590 echores "$_gtk (using $_gtkconfig)" |
2589 | 2591 |
2590 # Check for GLIB | 2592 # Check for GLIB |
2591 echocheck "glib version" | 2593 echocheck "glib version" |
2592 if test -z "$_glibconfig" ; then | 2594 if test -z "$_glibconfig" ; then |
2593 if ( glib-config --version ) >/dev/null 2>&1 ; then | 2595 if ( glib-config --version ) >/dev/null 2>&1 ; then |
2599 fi | 2601 fi |
2600 fi | 2602 fi |
2601 _glib=`$_glibconfig --version 2>&1` | 2603 _glib=`$_glibconfig --version 2>&1` |
2602 _inc_glib=`$_glibconfig --cflags 2>&1` | 2604 _inc_glib=`$_glibconfig --cflags 2>&1` |
2603 _ld_glib=`$_glibconfig --libs 2>&1` | 2605 _ld_glib=`$_glibconfig --libs 2>&1` |
2604 echores "$_glib (with $_glibconfig)" | 2606 echores "$_glib (using $_glibconfig)" |
2605 | 2607 |
2606 _def_gui='#define HAVE_NEW_GUI 1' | 2608 _def_gui='#define HAVE_NEW_GUI 1' |
2607 _ld_gui='$(GTKLIB) $(GLIBLIB)' | 2609 _ld_gui='$(GTKLIB) $(GLIBLIB)' |
2608 | 2610 |
2609 echo | 2611 echo |