diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-02-13 15:37:38 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-02-13 15:37:38 +0000 |
commit | 072f16cd3bb75ac585b493c3d6874db7117e255e (patch) | |
tree | 24e5037f5840a1ab5702dcada6772e8a24a74407 /configure | |
parent | 84f2ef32d09da369c4386388ed5d6a18a5b409fb (diff) | |
download | mpv-072f16cd3bb75ac585b493c3d6874db7117e255e.tar.bz2 mpv-072f16cd3bb75ac585b493c3d6874db7117e255e.tar.xz |
Move setting _ld_extra and _inc_extra for live to autodetection part,
there is no hope of them having correct values otherwise anyway.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22214 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -6060,6 +6060,15 @@ EOF 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=`echo $I| sed s/-I//` && \ + _ld_extra="$_ld_extra $_livelibdir/liveMedia/libliveMedia.a \ + $_livelibdir/groupsock/libgroupsock.a \ + $_livelibdir/UsageEnvironment/libUsageEnvironment.a \ + $_livelibdir/BasicUsageEnvironment/libBasicUsageEnvironment.a \ + -lstdc++" \ + _inc_extra="$_inc_extra -I$_livelibdir/liveMedia/include \ + -I$_livelibdir/UsageEnvironment/include \ + -I$_livelibdir/BasicUsageEnvironment/include \ + -I$_livelibdir/groupsock/include" && \ _live=yes && break done if test "$_live" != yes ; then @@ -6071,15 +6080,6 @@ fi if test "$_live" = yes && test "$_network" = yes ; then _res_comment="using $_livelibdir" _def_live='#define STREAMING_LIVE555 1' - _ld_extra="$_ld_extra $_livelibdir/liveMedia/libliveMedia.a \ - $_livelibdir/groupsock/libgroupsock.a \ - $_livelibdir/UsageEnvironment/libUsageEnvironment.a \ - $_livelibdir/BasicUsageEnvironment/libBasicUsageEnvironment.a \ - -lstdc++" - _inc_extra="$_inc_extra -I$_livelibdir/liveMedia/include \ - -I$_livelibdir/UsageEnvironment/include \ - -I$_livelibdir/BasicUsageEnvironment/include \ - -I$_livelibdir/groupsock/include" _inputmodules="live555 $_inputmodules" elif test "$_live_dist" = yes && test "$_network" = yes ; then _res_comment="using distribution version" |