summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-20 16:59:09 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-20 16:59:09 +0000
commita1a3ffb77d75c2203fd83a817939d0bffa8f8c25 (patch)
treedc4880f7d3fe4bb44c6018eabcdbc8a8032fb4b6 /configure
parent07b02cc94af87155793721862bd3dfe94c649bf5 (diff)
downloadmpv-a1a3ffb77d75c2203fd83a817939d0bffa8f8c25.tar.bz2
mpv-a1a3ffb77d75c2203fd83a817939d0bffa8f8c25.tar.xz
Remove --with-x264libdir.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21111 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure15
1 files changed, 3 insertions, 12 deletions
diff --git a/configure b/configure
index 045e037d5c..48f2eb6353 100755
--- a/configure
+++ b/configure
@@ -422,7 +422,6 @@ multiple paths separated by ':'):
--with-extraincdir=DIR extra header search paths in DIR (*)
--with-extralibdir=DIR extra linker search paths in DIR (*)
--with-x11libdir=DIR X library files in DIR (*)
- --with-x264libdir=DIR libx264 in DIR
--with-livelibdir=DIR LIVE555 Streaming Media in DIR
--with-xmmsplugindir=DIR XMMS plugins in DIR
--with-xmmslibdir=DIR libxmms.so.1 in DIR
@@ -2135,9 +2134,6 @@ for ac_option do
--with-xvmclib=*)
_xvmclib=`echo $ac_option | cut -d '=' -f 2`
;;
- --with-x264libdir=*)
- _ld_x264=-L`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -L,g'`
- ;;
--with-sdl-config=*)
_sdlconfig=`echo $ac_option | cut -d '=' -f 2`
;;
@@ -6435,14 +6431,10 @@ if test "$_x264" = auto ; then
#endif
int main(void) { x264_encoder_open((void*)0); return 0; }
EOF
- _ld_x264="$_ld_x264 -lx264 $_ld_pthread"
_x264=no
- if cc_check $_ld_x264 $_ld_lm ; then
- _x264=yes
- elif test "$_x11" = yes && cc_check $_ld_x264 $_ld_x11 $_ld_lm ; then
- _x264=yes
- _ld_x264="$_ld_x264 $_ld_x11"
- fi
+ for _ld_tmp in "-lx264 $_ld_pthread" "-lx264 $_ld_pthread $_ld_x11 $_ld_lm" ; do
+ cc_check $_ld_tmp && _ld_x264="$_ld_tmp" && _x264=yes && break
+ done
fi
if test "$_x264" = yes ; then
@@ -6458,7 +6450,6 @@ if test "$_x264" = yes ; then
fi
else
_x264=no
- _ld_x264=''
_lavc_x264=no
_def_x264='#undef HAVE_X264'
_def_lavc_x264='#undef CONFIG_X264'