summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-11-09 10:19:16 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-11-09 10:19:16 -0600
commit2f45d588ff191cf5c0b717ff79d3571fc94cf2cf (patch)
tree354b770e7fdadaa052feda591d8bb5530711608e
parentec49d09d1a3bf2858ced928bc9b8e0f9f1f30d1e (diff)
downloadkaffeine-2f45d588ff191cf5c0b717ff79d3571fc94cf2cf.tar.gz
kaffeine-2f45d588ff191cf5c0b717ff79d3571fc94cf2cf.zip
Fix FTBFS on Debian Jessie
-rw-r--r--kaffeine/configure.in.in17
1 files changed, 12 insertions, 5 deletions
diff --git a/kaffeine/configure.in.in b/kaffeine/configure.in.in
index 02736cd..1d84afe 100644
--- a/kaffeine/configure.in.in
+++ b/kaffeine/configure.in.in
@@ -251,14 +251,21 @@ LIB_OGGVORBIS=""
if test "$with_oggvorbis" != "no" ; then
AC_MSG_CHECKING([for Ogg/Vorbis encoder])
- if "$PKG_CONFIG" --exists vorbisenc ; then
+ if "$PKG_CONFIG" --exists vorbisenc vorbis ogg ; then
with_oggvorbis=yes
- CFLAGS_OGGVORBIS=`"$PKG_CONFIG" --cflags vorbisenc`
- LIB_OGGVORBIS=`"$PKG_CONFIG" --libs vorbisenc`
+ CFLAGS_OGGVORBIS=`"$PKG_CONFIG" --cflags vorbisenc vorbis ogg`
+ LIB_OGGVORBIS=`"$PKG_CONFIG" --libs vorbisenc vorbis ogg`
AC_MSG_RESULT([yes])
else
- with_oggvorbis=no
- AC_MSG_RESULT([no])
+ if "$PKG_CONFIG" --exists vorbisenc ; then
+ with_oggvorbis=yes
+ CFLAGS_OGGVORBIS=`"$PKG_CONFIG" --cflags vorbisenc`
+ LIB_OGGVORBIS=`"$PKG_CONFIG" --libs vorbisenc`
+ AC_MSG_RESULT([yes])
+ else
+ with_oggvorbis=no
+ AC_MSG_RESULT([no])
+ fi
fi
fi