[beast/win32] Applied 000a_configure_ogg_vorbis.diff: use ogg/vorbis .pc files.
- From: Stefan Westerfeld <stw src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [beast/win32] Applied 000a_configure_ogg_vorbis.diff: use ogg/vorbis .pc files.
- Date: Thu, 27 Aug 2009 08:01:12 +0000 (UTC)
commit 2d2a5702cce8ba1cb45a78417d5052831e4dfb7f
Author: Stefan Westerfeld <stefan space twc de>
Date: Thu Aug 27 08:00:27 2009 +0200
Applied 000a_configure_ogg_vorbis.diff: use ogg/vorbis .pc files.
configure.in | 14 +-------------
1 files changed, 1 insertions(+), 13 deletions(-)
---
diff --git a/configure.in b/configure.in
index e9b3faa..ab669ef 100644
--- a/configure.in
+++ b/configure.in
@@ -219,19 +219,7 @@ AC_DEFUN([AC_BSE_REQUIREMENTS],
AC_DEFINE_UNQUOTED(BSE_VERSION, "$BSE_VERSION", [BSE Version])
dnl # --- Ogg/Vorbis check ---
- OV_LIBS=
- ov_tests=0
- AC_CHECK_LIB(vorbisfile, ogg_stream_reset_serialno,
- [AC_CHECK_HEADER(ogg/ogg.h, ov_tests=`expr $ov_tests + 1`)]
- [AC_CHECK_HEADER(vorbis/vorbisfile.h, ov_tests=`expr $ov_tests + 1`)]
- [AC_CHECK_HEADER(vorbis/vorbisenc.h, ov_tests=`expr $ov_tests + 1`)]
- ,
- ov_tests=0, -lvorbisenc -lvorbis -logg)
- if test $ov_tests = 3 ; then
- OV_LIBS="-lvorbisfile -lvorbisenc -lvorbis -logg"
- else
- AC_MSG_WARN([failed to detect Ogg/Vorbis library (>=1.0) or headers])
- fi
+ PKG_CHECK_MODULES(OV, ogg >= 1.0.0 vorbis >= 1.0.0 vorbisfile >= 1.0.0 vorbisenc >= 1.0.0)
dnl # --- libmad MPEG decoder check ---
dnl # libmad doesn't come with a mad.pc file (just its debian package)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]