summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-08-31 09:00:37 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-08-31 09:00:37 +0000
commit8eab1ca95c0ba0184ac86d2efbd193cc31cf3269 (patch)
tree6eed169f398740afed1f612e065c0306dbea8194 /configure
parent8593195592d0361c43dc8e56d0bee74e4a9bdf18 (diff)
downloadmpv-8eab1ca95c0ba0184ac86d2efbd193cc31cf3269.tar.bz2
mpv-8eab1ca95c0ba0184ac86d2efbd193cc31cf3269.tar.xz
Also check linker flags to make sure that liveMedia libraries are there, too,
not just the headers. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29598 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure b/configure
index bc354ad582..3edff0825c 100755
--- a/configure
+++ b/configure
@@ -6853,7 +6853,8 @@ EOF
_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
+ ld_tmp="-lliveMedia -lgroupsock -lUsageEnvironment -lBasicUsageEnvironment -lstdc++"
+ if cxx_check -I/usr/include/liveMedia -I/usr/include/UsageEnvironment -I/usr/include/groupsock $ld_tmp; then
_live_dist=yes
fi
fi
@@ -6866,7 +6867,7 @@ elif test "$_live_dist" = yes && test "$_network" = yes; then
_res_comment="using distribution version"
_live="yes"
def_live='#define CONFIG_LIVE555 1'
- extra_ldflags="$extra_ldflags -lliveMedia -lgroupsock -lUsageEnvironment -lBasicUsageEnvironment -lstdc++"
+ extra_ldflags="$extra_ldflags $ld_tmp"
extra_cxxflags="-I/usr/include/liveMedia -I/usr/include/UsageEnvironment \
-I/usr/include/BasicUsageEnvironment -I/usr/include/groupsock"
_inputmodules="live555 $_inputmodules"