From 5d87a274a5cc30741d9e483fa189cbeb3c6087ba Mon Sep 17 00:00:00 2001
From: Max Kellermann <max@duempel.org>
Date: Mon, 17 Feb 2014 19:42:38 +0100
Subject: [PATCH] configure.ac: link the Vorbis encoder with libogg

Fixes another linker failure.  Similar to commit ea406875
---
 NEWS         | 2 ++
 configure.ac | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/NEWS b/NEWS
index d04efbc73..f671b1e75 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,6 @@
 ver 0.18.9 (not yet released)
+* encoder
+  - vorbis: fix another linker failure
 
 ver 0.18.8 (2014/02/07)
 * decoder
diff --git a/configure.ac b/configure.ac
index 6b14a695c..471504527 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1139,7 +1139,7 @@ fi
 AM_CONDITIONAL(ENABLE_FLAC_ENCODER, test x$enable_flac_encoder = xyes)
 
 dnl ---------------------------- Ogg Vorbis Encoder ---------------------------
-MPD_AUTO_PKG(vorbis_encoder, VORBISENC, [vorbisenc vorbis],
+MPD_AUTO_PKG(vorbis_encoder, VORBISENC, [vorbisenc vorbis ogg],
 	[Ogg Vorbis encoder], [libvorbisenc not found])
 
 if test x$enable_vorbis_encoder = xyes; then