Mercurial > mplayer.hg
changeset 21122:be5bde5397fc
Remove --with-x11libdir and --with-livelibdir.
author | diego |
---|---|
date | Tue, 21 Nov 2006 16:13:11 +0000 |
parents | 1bf36651b5ab |
children | 7849fbfa21b8 |
files | configure |
diffstat | 1 files changed, 6 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Tue Nov 21 16:00:00 2006 +0000 +++ b/configure Tue Nov 21 16:13:11 2006 +0000 @@ -423,8 +423,6 @@ --extra-libs-mencoder=FLAGS extra linker flags for MEncoder --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-livelibdir=DIR LIVE555 Streaming Media in DIR --with-xvmclib=NAME adapter-specific library name (e.g. XvMCNVIDIA) --with-freetype-config=PATH path to freetype-config @@ -2084,9 +2082,6 @@ --realcodecsdir=*) _realcodecsdir=`echo $ac_option | cut -d '=' -f 2` ;; - --with-livelibdir=*) - _livelibdir=`echo $ac_option | cut -d '=' -f 2` - ;; --enable-crash-debug) _crash_debug=yes @@ -2126,9 +2121,6 @@ --enable-win32) _win32=yes ;; --disable-win32) _win32=no ;; - --with-x11libdir=*) - _ld_x11=-L`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -L,g'` - ;; --with-xvmclib=*) _xvmclib=`echo $ac_option | cut -d '=' -f 2` ;; @@ -3798,11 +3790,12 @@ #include <X11/Xutil.h> int main(void) { (void) XCreateWindow(0,0,0,0,0,0,0,0,0,0,0,0); return 0; } EOF - for I in $_ld_x11 "" -L/usr/X11R6/lib -L/usr/lib/X11R6 -L/usr/X11/lib \ + for I in $_ld_extra "" -L/usr/X11R6/lib -L/usr/lib/X11R6 -L/usr/X11/lib \ -L/usr/lib32 -L/usr/openwin/lib -L/usr/X11R6/lib64 -L/usr/lib ; do - _ld_x11="$I -lXext -lX11 $_ld_sock $_ld_pthread" if netbsd; then - _ld_x11="$_ld_x11 -Wl,-R`echo $I | sed s/^-L//`" + _libs_mplayer="$_libs_mplayer $I -lXext -lX11 $_ld_sock $_ld_pthread -Wl,-R`echo $I | sed s/^-L//`" + else + _libs_mplayer="$_libs_mplayer $I -lXext -lX11 $_ld_sock $_ld_pthread" fi cc_check $_ld_x11 && _x11=yes && break done @@ -5983,8 +5976,8 @@ EOF _live=no - for I in "$_livelibdir" "$_libdir/live" "/usr/lib/live" "/usr/local/live" "/usr/local/lib/live" ; do - cxx_check -I$I/liveMedia/include -I$I/UsageEnvironment/include -I$I/groupsock/include && _livelibdir=$I && _live=yes && break + for I in $_inc_extra "-I$_libdir/live" "-I/usr/lib/live" "-I/usr/local/live" "-I/usr/local/lib/live" ; do + cxx_check $I/liveMedia/include $I/UsageEnvironment/include $I/groupsock/include && _livelibdir=$I && _live=yes && break done if test "$_live" != yes ; then if cxx_check -I/usr/include/liveMedia -I/usr/include/UsageEnvironment -I/usr/include/groupsock; then