summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-22 09:51:34 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-22 09:51:34 +0000
commite322276d93b1b79a7c9de52f93c16e7cb0b55c83 (patch)
tree7854ae01ee2e3754255b5c0e20719c0147ce1f43 /configure
parent3e9a5c9b0b327000cb484bef7018160896aa5171 (diff)
downloadmpv-e322276d93b1b79a7c9de52f93c16e7cb0b55c83.tar.bz2
mpv-e322276d93b1b79a7c9de52f93c16e7cb0b55c83.tar.xz
Remove _ld_gif and _ld_theora.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21165 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure16
1 files changed, 9 insertions, 7 deletions
diff --git a/configure b/configure
index 957d7903b1..e2e3415a06 100755
--- a/configure
+++ b/configure
@@ -4415,8 +4415,8 @@ int main(void) {
return 0;
}
EOF
- for _ld_tmp in "-lungif" "-lungif $_ld_x11" "-lgif" "-lgif $_ld_x11" ; do
- cc_check $_ld_tmp && tmp_run && _ld_gif="$_ld_tmp" && _gif=yes && break
+ for _ld_gif in "-lungif" "-lungif $_ld_x11" "-lgif" "-lgif $_ld_x11" ; do
+ cc_check $_ld_gif && tmp_run && _gif=yes && break
done
fi
@@ -4441,6 +4441,7 @@ if test "$_gif" = yes ; then
_vomodules="gif89a $_vomodules"
_res_comment="old version, some encoding functions disabled"
_def_gif_4='#undef HAVE_GIF_4'
+ _ld_extra="$_ld_extra $_ld_gif"
cat > $TMPC << EOF
#include <signal.h>
@@ -5677,11 +5678,13 @@ int main(void)
}
EOF
for _ld_theora in "`$_pkg_config --silence-errors --libs --cflags theora`" "-ltheora"; do
- cc_check $_ld_theora && _theora=yes && break
+ cc_check $_ld_theora && _ld_extra="$_ld_extra $_ld_theora" \
+ && theora=yes && break
done
if test "$_theora" = no && test "$_tremor_internal" = yes; then
for _ld_theora in "`$_pkg_config --silence-errors --libs --cflags theora`" "-ltheora"; do
- cc_check -I. tremor/bitwise.c $_ld_theora && _theora=yes && break
+ cc_check -I. tremor/bitwise.c $_ld_theora \
+ && _ld_extra="$_ld_extra $_ld_theora" && theora=yes && break
done
fi
fi
@@ -5694,7 +5697,6 @@ if test "$_theora" = yes ; then
else
_def_theora='#undef HAVE_OGGTHEORA'
_nocodecmodules="libtheora $_nocodecmodules"
- _ld_theora=""
fi
echores "$_theora"
@@ -7358,8 +7360,8 @@ GIF = $_gif
EXTRALIBS = $_extra_libs
EXTRA_LIB = $_ld_extra \
$_ld_static \
- $_ld_lm $_ld_gif \
- $_ld_vorbis $_ld_theora $_xmms_lib \
+ $_ld_lm \
+ $_ld_vorbis $_xmms_lib \
$_ld_arch
EXTRALIBS_MPLAYER = $_libs_mplayer $_ld_x11 $_ld_sock $_ld_static $_ld_gtk $_ld_glib
EXTRALIBS_MENCODER = $_libs_mencoder