[xiph-commits] r18715 - icecast/branches/ph3/icecast
ph3-der-loewe at svn.xiph.org
ph3-der-loewe at svn.xiph.org
Wed Nov 21 13:27:11 PST 2012
Author: ph3-der-loewe
Date: 2012-11-21 13:27:10 -0800 (Wed, 21 Nov 2012)
New Revision: 18715
Modified:
icecast/branches/ph3/icecast/configure.in
Log:
yet another try to detect libs on win.
Modified: icecast/branches/ph3/icecast/configure.in
===================================================================
--- icecast/branches/ph3/icecast/configure.in 2012-11-21 14:14:03 UTC (rev 18714)
+++ icecast/branches/ph3/icecast/configure.in 2012-11-21 21:27:10 UTC (rev 18715)
@@ -108,30 +108,15 @@
if test "x$enable_roaraudio" = xyes ; then
dnl PKG_CHECK_MODULES([RoarAudio], [libroar >= 1.0.6], [have_roaraudio=yes], [have_roaraudio=no])
echo -n "checking for libroar... "
- ver=`roar-config --version 2>/dev/null`
- have_roaraudio=no
- minver1=1
- minver2=0
- minver3=8
- if test "$ver" != ""; then
- ver1=`echo "$ver" | cut -d. -f1`
- ver2=`echo "$ver" | cut -d. -f2`
- ver3=`echo "$ver" | cut -d. -f3`
- if test "$ver1" -gt $minver1; then
- have_roaraudio=yes
- elif test "$ver1" = $minver1; then
- if test "$ver2" -gt $minver2; then
- have_roaraudio=yes
- elif test "$ver2" = $minver2; then
- if test "$ver3" -ge $minver3; then
- have_roaraudio=yes
- fi
- fi
- fi
+ if roar-config --compare-versions current ge 1.0.8
+ then
+ have_roaraudio=yes
+ else
+ have_roaraudio=no
fi
if test "$have_roaraudio" = yes; then
- ROARAUDIO_LIBS="-lroar"
+ ROARAUDIO_LIBS="`roar-config --libs`"
AC_DEFINE(HAVE_ROARAUDIO, ,[Define to enable RoarAudio depending modules])
echo "ok"
else
More information about the commits
mailing list