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.
This commit is contained in:
12
Makefile.am
12
Makefile.am
@@ -152,7 +152,8 @@ mpd_headers = \
|
|||||||
src/archive_api.h \
|
src/archive_api.h \
|
||||||
src/archive_internal.h \
|
src/archive_internal.h \
|
||||||
src/archive_list.h \
|
src/archive_list.h \
|
||||||
src/input/archive_input_plugin.h
|
src/input/archive_input_plugin.h \
|
||||||
|
src/cue/cue_tag.h
|
||||||
|
|
||||||
src_mpd_SOURCES = \
|
src_mpd_SOURCES = \
|
||||||
$(mpd_headers) \
|
$(mpd_headers) \
|
||||||
@@ -295,7 +296,8 @@ DECODER_CFLAGS = \
|
|||||||
$(FLUIDSYNTH_CFLAGS) \
|
$(FLUIDSYNTH_CFLAGS) \
|
||||||
$(WILDMIDI_CFLAGS) \
|
$(WILDMIDI_CFLAGS) \
|
||||||
$(MAD_CFLAGS) \
|
$(MAD_CFLAGS) \
|
||||||
$(FFMPEG_CFLAGS)
|
$(FFMPEG_CFLAGS) \
|
||||||
|
$(CUE_CFLAGS)
|
||||||
|
|
||||||
DECODER_LIBS = \
|
DECODER_LIBS = \
|
||||||
$(OGGVORBIS_LIBS) $(FLAC_LIBS) \
|
$(OGGVORBIS_LIBS) $(FLAC_LIBS) \
|
||||||
@@ -306,7 +308,8 @@ DECODER_LIBS = \
|
|||||||
$(WILDMIDI_LIBS) \
|
$(WILDMIDI_LIBS) \
|
||||||
$(MAD_LIBS) \
|
$(MAD_LIBS) \
|
||||||
$(MP4FF_LIBS) \
|
$(MP4FF_LIBS) \
|
||||||
$(FFMPEG_LIBS)
|
$(FFMPEG_LIBS) \
|
||||||
|
$(CUE_LIBS)
|
||||||
|
|
||||||
DECODER_SRC = \
|
DECODER_SRC = \
|
||||||
src/decoder_buffer.c \
|
src/decoder_buffer.c \
|
||||||
@@ -415,6 +418,9 @@ src_mpd_SOURCES += src/zeroconf-bonjour.c
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if HAVE_CUE
|
||||||
|
DECODER_SRC += src/cue/cue_tag.c
|
||||||
|
endif
|
||||||
|
|
||||||
#
|
#
|
||||||
# input plugins
|
# input plugins
|
||||||
|
20
configure.ac
20
configure.ac
@@ -169,6 +169,20 @@ dnl ##
|
|||||||
dnl misc libraries
|
dnl misc libraries
|
||||||
dnl ##
|
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 ##
|
||||||
dnl Avahi / Zeroconf
|
dnl Avahi / Zeroconf
|
||||||
dnl ##
|
dnl ##
|
||||||
@@ -1391,6 +1405,12 @@ else
|
|||||||
echo " Zeroconf support ..............disabled"
|
echo " Zeroconf support ..............disabled"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test x$enable_cue = xyes; then
|
||||||
|
echo " libcue support ................enabled"
|
||||||
|
else
|
||||||
|
echo " libcue support ................disabled"
|
||||||
|
fi
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "##########################################"
|
echo "##########################################"
|
||||||
echo ""
|
echo ""
|
||||||
|
Reference in New Issue
Block a user