Mercurial > mplayer.hg
comparison configure @ 18195:6e8c424887ca
Make static libavutil detection semantics explicit.
author | diego |
---|---|
date | Sat, 22 Apr 2006 17:31:10 +0000 |
parents | 0b8ca8721411 |
children | 04123ea0360a |
comparison
equal
deleted
inserted
replaced
18194:fe877135c408 | 18195:6e8c424887ca |
---|---|
1461 _prefix="/usr/local" | 1461 _prefix="/usr/local" |
1462 | 1462 |
1463 # GOTCHA: the variables below defines the default behavior for autodetection | 1463 # GOTCHA: the variables below defines the default behavior for autodetection |
1464 # and have - unless stated otherwise - at least 2 states : yes no | 1464 # and have - unless stated otherwise - at least 2 states : yes no |
1465 # If autodetection is available then the third state is: auto | 1465 # If autodetection is available then the third state is: auto |
1466 _libavutil=auto | |
1466 _libavcodec=auto | 1467 _libavcodec=auto |
1467 _amr_nb=auto | 1468 _amr_nb=auto |
1468 _amr_nb_fixed=auto | 1469 _amr_nb_fixed=auto |
1469 _amr_wb=auto | 1470 _amr_wb=auto |
1470 _libavcodecs=`grep 'register_avcodec(&[a-z]' libavcodec/allcodecs.c | sed 's/.*&\(.*\)).*/\1/'` | 1471 _libavcodecs=`grep 'register_avcodec(&[a-z]' libavcodec/allcodecs.c | sed 's/.*&\(.*\)).*/\1/'` |
5977 fi | 5978 fi |
5978 echores "$_live" | 5979 echores "$_live" |
5979 | 5980 |
5980 | 5981 |
5981 echocheck "FFmpeg libavutil (static)" | 5982 echocheck "FFmpeg libavutil (static)" |
5982 if test -d libavutil ; then | 5983 if test "$_libavutil" = auto ; then |
5983 _libavutil=yes | 5984 if test -d libavutil ; then |
5984 else | 5985 _libavutil=yes |
5985 _libavutil=no | 5986 else |
5987 _libavutil=no | |
5988 fi | |
5986 fi | 5989 fi |
5987 echores "$_libavutil" | 5990 echores "$_libavutil" |
5988 | 5991 |
5989 echocheck "FFmpeg libavcodec (static)" | 5992 echocheck "FFmpeg libavcodec (static)" |
5990 if test "$_libavcodec" = auto ; then | 5993 if test "$_libavcodec" = auto ; then |