# HG changeset patch # User diego # Date 1164125591 0 # Node ID be5bde5397fc9a6ed7c432a795ba3d5951e432de # Parent 1bf36651b5abdf61ec40de07ba9ca2efe8b074e4 Remove --with-x11libdir and --with-livelibdir. diff -r 1bf36651b5ab -r be5bde5397fc configure --- 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 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