# HG changeset patch # User reimar # Date 1251709237 0 # Node ID 8635f13f0d2ea330322bc838904829d5d25eee68 # Parent 169757b719a43072a9198c958f935b22d6f9e567 Also check linker flags to make sure that liveMedia libraries are there, too, not just the headers. diff -r 169757b719a4 -r 8635f13f0d2e configure --- a/configure Mon Aug 31 08:42:36 2009 +0000 +++ b/configure Mon Aug 31 09:00:37 2009 +0000 @@ -6853,7 +6853,8 @@ _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 @@ _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"