Mercurial > mplayer.hg
comparison configure @ 21607:092f4f92223f
Compilation fix hacks: disable libavformat X11 grabber and
move -L flags from _libs_mplayer to _ld_extra
author | reimar |
---|---|
date | Fri, 15 Dec 2006 09:41:39 +0000 |
parents | 5815f5c6d370 |
children | 3286c2936f14 |
comparison
equal
deleted
inserted
replaced
21606:ee21c7dff35f | 21607:092f4f92223f |
---|---|
7355 else | 7355 else |
7356 _def_color_console='#undef MSG_USE_COLORS' | 7356 _def_color_console='#undef MSG_USE_COLORS' |
7357 fi | 7357 fi |
7358 echores "$_color_console" | 7358 echores "$_color_console" |
7359 | 7359 |
7360 # linker paths should be the same for mencoder and mplayer | |
7361 _ld_tmp="" | |
7362 for I in $_libs_mplayer ; do | |
7363 _tmp=`echo $I | sed -e s/^-L.*$//` | |
7364 if test -z $_tmp ; then | |
7365 _ld_extra="$I $_ld_extra" | |
7366 else | |
7367 _ld_tmp="$_ld_tmp $I" | |
7368 fi | |
7369 done | |
7370 _libs_mplayer=$_ld_tmp | |
7371 | |
7360 ############################################################################# | 7372 ############################################################################# |
7361 echo "Creating config.mak" | 7373 echo "Creating config.mak" |
7362 cat > config.mak << EOF | 7374 cat > config.mak << EOF |
7363 # -------- Generated by configure ----------- | 7375 # -------- Generated by configure ----------- |
7364 | 7376 |
7499 `echo $_libavdecoders | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'` | 7511 `echo $_libavdecoders | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'` |
7500 `echo $_libavencoders | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'` | 7512 `echo $_libavencoders | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'` |
7501 `echo $_libavparsers | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'` | 7513 `echo $_libavparsers | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'` |
7502 `echo $_libavdemuxers | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'` | 7514 `echo $_libavdemuxers | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'` |
7503 `echo $_libavmuxers | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'` | 7515 `echo $_libavmuxers | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'` |
7516 CONFIG_X11_GRAB_DEVICE_DEMUXER=no | |
7504 CONFIG_FAAC=$_lavc_faac | 7517 CONFIG_FAAC=$_lavc_faac |
7505 CONFIG_MP3LAME=$_lavc_mp3lame | 7518 CONFIG_MP3LAME=$_lavc_mp3lame |
7506 CONFIG_XVID=$_lavc_xvid | 7519 CONFIG_XVID=$_lavc_xvid |
7507 CONFIG_X264=$_lavc_x264 | 7520 CONFIG_X264=$_lavc_x264 |
7508 CONFIG_GPL=yes | 7521 CONFIG_GPL=yes |
7890 echo $part | tr '[a-z] ' '[A-Z]' | sed 's/^/#define ENABLE_/;s/$/ 1/' | 7903 echo $part | tr '[a-z] ' '[A-Z]' | sed 's/^/#define ENABLE_/;s/$/ 1/' |
7891 else | 7904 else |
7892 echo $part | tr '[a-z] ' '[A-Z]' | sed 's/^/#define ENABLE_/;s/$/ 0/' | 7905 echo $part | tr '[a-z] ' '[A-Z]' | sed 's/^/#define ENABLE_/;s/$/ 0/' |
7893 fi | 7906 fi |
7894 done` | 7907 done` |
7908 // HACK: disable x11 demuxer for now | |
7909 #undef CONFIG_X11_GRAB_DEVICE_DEMUXER | |
7910 #undef ENABLE_X11_GRAB_DEVICE_DEMUXER | |
7911 #define ENABLE_X11_GRAB_DEVICE_DEMUXER 0 | |
7895 | 7912 |
7896 $_def_lavc_faac | 7913 $_def_lavc_faac |
7897 $_def_lavc_xvid | 7914 $_def_lavc_xvid |
7898 $_def_lavc_mp3lame | 7915 $_def_lavc_mp3lame |
7899 $_def_lavc_x264 | 7916 $_def_lavc_x264 |