Mercurial > mplayer.hg
changeset 33703:84346d087e4e
Fix ridiculously slow LIVE555 test by sanity-checking the path for
existence of the libraries with "test" before running compilation.
author | reimar |
---|---|
date | Fri, 01 Jul 2011 18:58:13 +0000 |
parents | 772268824c8a |
children | 22093568b553 |
files | configure |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Fri Jul 01 17:48:29 2011 +0000 +++ b/configure Fri Jul 01 18:58:13 2011 +0000 @@ -6785,7 +6785,8 @@ _live=no for I in $extra_cflags "-I$_libdir/live" "-I/usr/lib/live" "-I/usr/lib64/live" "-I/usr/local/live" "-I/usr/local/lib/live" ; do - _livelibdir=$(echo $I| sed s/-I//) && + _livelibdir=$(echo $I| sed s/-I//) + test -e "$_livelibdir/BasicUsageEnvironment/libBasicUsageEnvironment.a" && cxx_check $I/liveMedia/include $I/UsageEnvironment/include $I/BasicUsageEnvironment/include $I/groupsock/include $_livelibdir/BasicUsageEnvironment/libBasicUsageEnvironment.a $_livelibdir/UsageEnvironment/libUsageEnvironment.a $_livelibdir/groupsock/libgroupsock.a $_ld_sock && extra_ldflags="$_livelibdir/liveMedia/libliveMedia.a \ $_livelibdir/UsageEnvironment/libUsageEnvironment.a \