Mercurial > mplayer.hg
comparison configure @ 21984:607909d7cc56
Fix compilation after ffmpeg changes in r7619
Some libraries still need tweaks
author | rtogni |
---|---|
date | Wed, 24 Jan 2007 00:10:47 +0000 |
parents | e389774184e2 |
children | f50f197039ae |
comparison
equal
deleted
inserted
replaced
21983:a6b624360aef | 21984:607909d7cc56 |
---|---|
1627 _libavcodec=auto | 1627 _libavcodec=auto |
1628 _amr_nb=auto | 1628 _amr_nb=auto |
1629 _amr_nb_fixed=auto | 1629 _amr_nb_fixed=auto |
1630 _amr_wb=auto | 1630 _amr_wb=auto |
1631 _libavdecoders_all=`sed -n 's/^[^#]*DEC.*, *\(.*\)).*/\1_decoder/p' "libavcodec/allcodecs.c"` | 1631 _libavdecoders_all=`sed -n 's/^[^#]*DEC.*, *\(.*\)).*/\1_decoder/p' "libavcodec/allcodecs.c"` |
1632 _libavdecoders=` echo $_libavdecoders_all | sed -e /mpeg_xvmc_decoder/d -e /aac_decoder/d -e /mpeg4aac_decoder/d -e /ac3_decoder/d -e /libgsm_decoder/d ` | 1632 _libavdecoders=` echo $_libavdecoders_all | sed -e s/aac_decoder// -e s/mpeg4aac_decoder// -e s/ac3_decoder// -e s/libgsm_decoder// ` |
1633 _libavencoders_all=`sed -n 's/^[^#]*ENC.*, *\(.*\)).*/\1_encoder/p' "libavcodec/allcodecs.c"` | 1633 _libavencoders_all=`sed -n 's/^[^#]*ENC.*, *\(.*\)).*/\1_encoder/p' "libavcodec/allcodecs.c"` |
1634 _libavencoders=$_libavencoders_all | 1634 _libavencoders=` echo $_libavencoders_all | sed -e s/libgsm_encoder// ` |
1635 _libavparsers_all=`sed -n 's/^[^#]*PARSER.*, *\(.*\)).*/\1_parser/p' "libavcodec/allcodecs.c"` | 1635 _libavparsers_all=`sed -n 's/^[^#]*PARSER.*, *\(.*\)).*/\1_parser/p' "libavcodec/allcodecs.c"` |
1636 _libavparsers=$_libavparsers_all | 1636 _libavparsers=$_libavparsers_all |
1637 _libavdemuxers_all=`sed -n 's/^[^#]*DEMUX.*, *\(.*\)).*/\1_demuxer/p' libavformat/allformats.c ` | 1637 _libavdemuxers_all=`sed -n 's/^[^#]*DEMUX.*, *\(.*\)).*/\1_demuxer/p' libavformat/allformats.c ` |
1638 _libavdemuxers=`echo $_libavdemuxers_all | sed -e /audio_demuxer/d -e /1394_demuxer/d -e /redir_demuxer/d -e /rtsp_demuxer/d -e /sdp_demuxer/d ` | 1638 _libavdemuxers=`echo $_libavdemuxers_all | sed -e s/audio_demuxer// -e s/dc1394_demuxer// -e s/dv1394_demuxer// -e s/redir_demuxer// -e s/rtsp_demuxer// -e s/sdp_demuxer// -e s/video_grab_device_demuxer// -e s/x11_grab_device_demuxer// -e s/v4l2_demuxer// ` |
1639 _libavmuxers_all=`sed -n 's/^[^#]*_MUX.*, *\(.*\)).*/\1_muxer/p' libavformat/allformats.c` | 1639 _libavmuxers_all=`sed -n 's/^[^#]*_MUX.*, *\(.*\)).*/\1_muxer/p' libavformat/allformats.c` |
1640 _libavmuxers=$_libavmuxers_all | 1640 _libavmuxers=`echo $_libavmuxers_all | sed -e s/audio_muxer// -e s/rtp_muxer// ` |
1641 _libavcodec_so=auto | 1641 _libavcodec_so=auto |
1642 _libavformat=auto | 1642 _libavformat=auto |
1643 _libavformat_so=auto | 1643 _libavformat_so=auto |
1644 _libpostproc=auto | 1644 _libpostproc=auto |
1645 _libpostproc_so=auto | 1645 _libpostproc_so=auto |
7427 fi | 7427 fi |
7428 done | 7428 done |
7429 _libs_mplayer=$_ld_tmp | 7429 _libs_mplayer=$_ld_tmp |
7430 | 7430 |
7431 ############################################################################# | 7431 ############################################################################# |
7432 # Take care of ffmpeg dependencies | |
7433 if test "$_zlib" = no ; then | |
7434 _libavdecoders=`echo $_libavdecoders | sed -e s/flashsv_decoder// -e s/png_decoder// -e s/zmbv_decoder// ` | |
7435 _libavencoders=`echo $_libavencoders | sed -e s/flashsv_encoder// -e s/png_encoder// -e s/zmbv_encoder// ` | |
7436 fi | |
7437 if test "$_amr_nb" = no && test "$_amr_nb_fixed" = no ; then | |
7438 _libavdecoders=`echo $_libavdecoders | sed -e s/amr_nb_decoder// ` | |
7439 _libavencoders=`echo $_libavencoders | sed -e s/amr_nb_encoder// ` | |
7440 fi | |
7441 if test "$_amr_wb" = no ; then | |
7442 _libavdecoders=`echo $_libavdecoders | sed -e s/amr_wb_decoder// ` | |
7443 _libavencoders=`echo $_libavencoders | sed -e s/amr_wb_encoder// ` | |
7444 fi | |
7445 if test "$_libdts" = no ; then | |
7446 _libavdecoders=`echo $_libavdecoders | sed -e s/dts_decoder// ` | |
7447 fi | |
7448 if test "$_xvmc" = no ; then | |
7449 _libavdecoders=`echo $_libavdecoders | sed -e s/mpeg_xvmc_decoder// ` | |
7450 fi | |
7451 if test "$_x264" = no || test "$_lavc_x264" = no ; then | |
7452 _libavencoders=`echo $_libavencoders | sed -e s/x264_encoder// ` | |
7453 fi | |
7454 if test "$_xvid" = no || test "$_lavc_xvid" = no ; then | |
7455 _libavencoders=`echo $_libavencoders | sed -e s/xvid_encoder// ` | |
7456 fi | |
7457 if test "$_faac" = no || test "$_lavc_faac" = no ; then | |
7458 _libavencoders=`echo $_libavencoders | sed -e s/faac_encoder// ` | |
7459 fi | |
7460 if test "$_mp3lame" = no || test "$_lavc_mp3lame" = no ; then | |
7461 _libavencoders=`echo $_libavencoders | sed -e s/mp3lame_encoder// ` | |
7462 fi | |
7463 if test "$_nut" = no ; then | |
7464 _libavmuxers=`echo $_libavmuxers | sed -e s/nut_muxer// ` | |
7465 fi | |
7466 | |
7467 ############################################################################# | |
7432 echo "Creating config.mak" | 7468 echo "Creating config.mak" |
7433 cat > config.mak << EOF | 7469 cat > config.mak << EOF |
7434 # -------- Generated by configure ----------- | 7470 # -------- Generated by configure ----------- |
7435 | 7471 |
7436 LANG = C | 7472 LANG = C |
7586 `echo $_libavencoders | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'` | 7622 `echo $_libavencoders | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'` |
7587 `echo $_libavparsers | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'` | 7623 `echo $_libavparsers | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'` |
7588 `echo $_libavdemuxers | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'` | 7624 `echo $_libavdemuxers | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'` |
7589 `echo $_libavmuxers | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'` | 7625 `echo $_libavmuxers | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'` |
7590 CONFIG_FAAC=$_lavc_faac | 7626 CONFIG_FAAC=$_lavc_faac |
7591 CONFIG_MP3LAME=$_lavc_mp3lame | 7627 CONFIG_LIBMP3LAME=$_lavc_mp3lame |
7592 CONFIG_XVID=$_lavc_xvid | 7628 CONFIG_XVID=$_lavc_xvid |
7593 CONFIG_X264=$_lavc_x264 | 7629 CONFIG_X264=$_lavc_x264 |
7594 CONFIG_ZLIB=$_zlib | 7630 CONFIG_ZLIB=$_zlib |
7595 CONFIG_GPL=yes | 7631 CONFIG_GPL=yes |
7596 CONFIG_ENCODERS=$_mencoder | 7632 CONFIG_ENCODERS=$_mencoder |