From: Andre Noll <maan@systemlinux.org>
Date: Sat, 28 Sep 2013 14:27:56 +0000 (+0200)
Subject: build: Fix --with-opus-libs.
X-Git-Tag: v0.5.1~7^2^2
X-Git-Url: https://git.tue.mpg.de/?a=commitdiff_plain;h=0a7cadcc8cb243121ad1af86396c70d8e8f6da38;p=paraslash.git

build: Fix --with-opus-libs.

Due to a silly cut & paste bug this option sets $speex_libs rather
than $opus_libs. Since the assignment comes after speex detection,
the option is effectively a no-op.
---

diff --git a/configure.ac b/configure.ac
index 9ad36e14..55b38e54 100644
--- a/configure.ac
+++ b/configure.ac
@@ -696,7 +696,7 @@ if test "$have_ogg" = "yes"; then
 		CPPFLAGS="$CPPFLAGS $opus_cppflags"
 	fi
 	if test -n "$with_opus_libs"; then
-		speex_libs="-L$with_opus_libs"
+		opus_libs="-L$with_opus_libs"
 		LDFLAGS="$LDFLAGS $opus_libs"
 	fi
 	AC_CHECK_LIB([opus], [opus_multistream_decode], [], [ have_opus="no" ])