shithub: opus

Download patch

ref: c8e200b8d9aaae914af77d46eeabfa2258a5aa91
parent: 57a88994f8f72e160caaa20740ea170ed75f8b1e
author: Gregory Maxwell <[email protected]>
date: Wed Mar 11 09:13:19 EDT 2009

Allow --without-ogg to address issue raised by Ian Davidson.

--- a/configure.ac
+++ b/configure.ac
@@ -66,7 +66,9 @@
 
 AC_CHECK_HEADERS(sys/soundcard.h sys/audioio.h)
 
-XIPH_PATH_OGG([tools="tools"], [tools=""])
+AS_IF([test "x$with_ogg" != xno],
+ [XIPH_PATH_OGG([tools="tools"], [tools=""])],
+ [tools=""])
 AC_SUBST(tools)
 
 AC_CHECK_LIB(m, sin)
@@ -169,7 +171,7 @@
 
 if test "x$tools" = "x"; then 
 echo "**IMPORTANT**"
-echo "You don't seem to have the development package for libogg (libogg-devel) installed. Only the library will be built (no encoder/decoder executable)"
+echo "You don't seem to have the development package for libogg (libogg-devel) available. Only the library will be built (no encoder/decoder executable)"
 echo "You can download libogg from http://www.vorbis.com/download.psp"
 fi