aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorJochen Keil <jochen.keil@gmail.com>2009-03-31 21:48:04 +0200
committerJochen Keil <jochen.keil@gmail.com>2009-03-31 22:17:56 +0200
commit192e29107d874b952b267b3584bf154da3314827 (patch)
tree4ebc16c41445eebcf7a024eacfd8c74653620a5a /configure.ac
parentd41e7f7cec3b4000ffc41d91ef1a612937a04625 (diff)
downloadmpd-192e29107d874b952b267b3584bf154da3314827.tar.gz
mpd-192e29107d874b952b267b3584bf154da3314827.tar.xz
mpd-192e29107d874b952b267b3584bf154da3314827.zip
Configure/Make dependencies for cue/cue_tag.h/.c
Autoconf/automake support for libcue which is needed for cue/cue_tag.h/.c. Libcue will have/has pkg-config support so this is fairly straightforward.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac20
1 files changed, 20 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b828d3565..1b3fc53da 100644
--- a/configure.ac
+++ b/configure.ac
@@ -169,6 +169,20 @@ dnl ##
dnl misc libraries
dnl ##
+AC_ARG_ENABLE(cue,
+ AS_HELP_STRING([--enable-cue],
+ [enable support for libcue support]),,
+ enable_cue=auto)
+
+MPD_AUTO_PKG(cue, CUE, [libcue],
+ [libcue parsing library], [libcue not found])
+if test x$enable_cue = xyes; then
+ AC_DEFINE([HAVE_CUE], 1,
+ [Define to enable libcue support])
+fi
+
+AM_CONDITIONAL(HAVE_CUE, test x$enable_cue = xyes)
+
dnl ##
dnl Avahi / Zeroconf
dnl ##
@@ -1391,6 +1405,12 @@ else
echo " Zeroconf support ..............disabled"
fi
+if test x$enable_cue = xyes; then
+ echo " libcue support ................enabled"
+else
+ echo " libcue support ................disabled"
+fi
+
echo ""
echo "##########################################"
echo ""