[easytag] Error out if Ogg disabled but Speex/Opus enabled
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag] Error out if Ogg disabled but Speex/Opus enabled
- Date: Wed, 2 Apr 2014 17:01:15 +0000 (UTC)
commit a6a18f5b624880f9f280324ee238981ff61daaaf
Author: David King <amigadave amigadave com>
Date: Wed Apr 2 17:52:22 2014 +0100
Error out if Ogg disabled but Speex/Opus enabled
Opus and Speex support depend on Ogg support for parsing of Vorbis
comments, used in both formats.
configure.ac | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 4d1a635..1d573ea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -182,6 +182,9 @@ dnl ################################################
dnl # Opus libraries
dnl ################################################
+AS_IF([test "x$have_ogg" = "xno"],
+ [AC_MSG_ERROR([Opus support requested but Ogg support disabled. Ogg support is required.])])
+
OPUS_DEPS="opus >= 1.0 opusfile"
AS_IF([test "x$enable_opus" != "xno"],
[PKG_CHECK_EXISTS([$OPUS_DEPS], [have_opus=yes], [have_opus=no])],
@@ -196,7 +199,9 @@ AS_IF([test "x$have_opus" != "xno"],
dnl ################################################
dnl # libSpeex library
dnl ################################################
-dnl check for system libspeex
+
+AS_IF([test "x$have_ogg" = "xno"],
+ [AC_MSG_ERROR([Speex support requested but Ogg support disabled. Ogg support is required.])])
SPEEX_DEPS="speex"
AS_IF([test "x$enable_speex" != "xno"],
@@ -212,7 +217,6 @@ AS_IF([test "x$have_speex" != "xno"],
dnl ################################################
dnl # libFLAC library
dnl ################################################
-dnl check for system libflac
FLAC_DEPS="flac >= 1.1.4"
AS_IF([test "x$enable_flac" != "xno"],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]