Commit d0911984 authored by Philipp Schafft's avatar Philipp Schafft 🦁

replaced PKG_CHECK_MODULES() check with a less nice but working check. Feel free to improve this.

svn path=/icecast/trunk/ices/; revision=18743
parent 507d61f5
......@@ -129,11 +129,21 @@ AC_ARG_ENABLE(roaraudio,
enable_roaraudio=yes)
if test "x$enable_roaraudio" = xyes ; then
PKG_CHECK_MODULES(RoarAudio, [libroar >= 0.4.0], have_roaraudio=yes, have_roaraudio=no)
# PKG_CHECK_MODULES(RoarAudio, [libroar >= 0.4.0], have_roaraudio=yes, have_roaraudio=no)
echo -n "checking for libroar... "
if roar-config --compare-versions current ge 0.4.0
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 input module])
echo "ok"
else
echo "failed"
fi
else
have_roaraudio=no
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment