Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
5242305a
Commit
5242305a
authored
Apr 01, 2009
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure.ac: renamed --enable-oggvorbis to --enable-vorbis
parent
b914d3f6
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
23 deletions
+23
-23
Makefile.am
Makefile.am
+3
-3
configure.ac
configure.ac
+14
-14
test.sh
scripts/test.sh
+5
-5
decoder_list.c
src/decoder_list.c
+1
-1
No files found.
Makefile.am
View file @
5242305a
...
...
@@ -291,7 +291,7 @@ endif
# decoder plugins
DECODER_CFLAGS
=
\
$(
OGG
VORBIS_CFLAGS)
$(TREMOR_CFLAGS)
\
$(VORBIS_CFLAGS)
$(TREMOR_CFLAGS)
\
$
(
patsubst
-I
%/FLAC,-I%,
$(FLAC_CFLAGS)
)
\
$(AUDIOFILE_CFLAGS)
\
$(LIBMIKMOD_CFLAGS)
\
...
...
@@ -304,7 +304,7 @@ DECODER_CFLAGS = \
$(CUE_CFLAGS)
DECODER_LIBS
=
\
$(
OGG
VORBIS_LIBS)
$(TREMOR_LIBS)
\
$(VORBIS_LIBS)
$(TREMOR_LIBS)
\
$(FLAC_LIBS)
\
$(AUDIOFILE_LIBS)
$(LIBMIKMOD_LIBS)
\
$(MODPLUG_LIBS)
\
...
...
@@ -348,7 +348,7 @@ if HAVE_FLAC_COMMON
DECODER_SRC
+=
src/decoder/_flac_common.c
endif
if
HAVE_OGGVORBIS
if
ENABLE_VORBIS_DECODER
DECODER_SRC
+=
src/decoder/vorbis_plugin.c
endif
...
...
configure.ac
View file @
5242305a
...
...
@@ -440,10 +440,10 @@ AC_ARG_ENABLE(oggflac,
[disable OggFLAC support (default: enable)]),,
enable_oggflac=yes)
AC_ARG_ENABLE(
ogg
vorbis,
AS_HELP_STRING([--disable-
ogg
vorbis],
AC_ARG_ENABLE(vorbis,
AS_HELP_STRING([--disable-vorbis],
[disable Ogg Vorbis support (default: enable)]),,
enable_
ogg
vorbis=yes)
enable_vorbis=yes)
dnl ###
dnl Ogg Tremor
...
...
@@ -780,20 +780,20 @@ if test x$use_tremor = xyes; then
ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $TREMOR_CFLAGS"
LIBS="$LIBS $TREMOR_LIBS"
AC_CHECK_LIB(vorbisidec,ov_read,enable_
oggvorbis=yes,enable_ogg
vorbis=no;
AC_CHECK_LIB(vorbisidec,ov_read,enable_
vorbis=yes,enable_
vorbis=no;
AC_MSG_WARN([vorbisidec lib needed for ogg support with tremor -- disabling ogg support]))
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
if test x$enable_
ogg
vorbis = xyes; then
AC_DEFINE(
HAVE_OGGVORBIS
, 1, [Define for Ogg Vorbis support])
if test x$enable_vorbis = xyes; then
AC_DEFINE(
ENABLE_VORBIS_DECODER
, 1, [Define for Ogg Vorbis support])
fi
elif test x$enable_
ogg
vorbis = xyes; then
PKG_CHECK_MODULES(
OGG
VORBIS, [ogg vorbis vorbisfile],
AC_DEFINE(
HAVE_OGGVORBIS
, 1, [Define for Ogg Vorbis support]),
enable_
ogg
vorbis=no)
elif test x$enable_vorbis = xyes; then
PKG_CHECK_MODULES(VORBIS, [ogg vorbis vorbisfile],
AC_DEFINE(
ENABLE_VORBIS_DECODER
, 1, [Define for Ogg Vorbis support]),
enable_vorbis=no)
fi
AM_CONDITIONAL(
HAVE_OGGVORBIS, test x$enable_ogg
vorbis = xyes)
AM_CONDITIONAL(
ENABLE_VORBIS_DECODER, test x$enable_
vorbis = xyes)
if test x$use_tremor = xyes; then
AC_DEFINE(HAVE_TREMOR,1,
...
...
@@ -844,7 +844,7 @@ AM_CONDITIONAL(HAVE_OGGFLAC, test x$enable_oggflac = xyes)
AM_CONDITIONAL(HAVE_FLAC_COMMON,
test x$enable_flac = xyes || test x$enable_oggflac = xyes)
AM_CONDITIONAL(HAVE_OGG_COMMON,
test x$enable_
ogg
vorbis = xyes || test x$enable_oggflac = xyes || test x$enable_flac = xyes)
test x$enable_vorbis = xyes || test x$enable_oggflac = xyes || test x$enable_flac = xyes)
if test x$enable_audiofile = xyes; then
PKG_CHECK_MODULES(AUDIOFILE, [audiofile >= 0.1.7],
...
...
@@ -1330,7 +1330,7 @@ flac)
;;
esac
if test x$enable_
ogg
vorbis = xyes; then
if test x$enable_vorbis = xyes; then
echo " Ogg Vorbis support ............enabled"
if test x$use_tremor = xyes; then
echo " using tremor.................yes"
...
...
@@ -1363,7 +1363,7 @@ fi
if
test x$enable_mad = xno &&
test x$enable_
ogg
vorbis = xno &&
test x$enable_vorbis = xno &&
test x$enable_flac = xno &&
test x$enable_oggflac = xno &&
test x$enable_audiofile = xno &&
...
...
scripts/test.sh
View file @
5242305a
...
...
@@ -26,7 +26,7 @@ $MAKE distclean
./configure
--prefix
=
$PREFIX
/small
\
--disable-dependency-tracking
--enable-debug
--enable-werror
\
--disable-un
\
--disable-flac
--disable-
ogg
vorbis
--enable-oggflac
--disable-flac
--disable-vorbis
--enable-oggflac
$MAKE
install
$MAKE
distclean
...
...
@@ -40,7 +40,7 @@ CFLAGS="$CFLAGS -DNDEBUG" \
--disable-ao
--disable-alsa
--disable-jack
--disable-pulse
--disable-fifo
\
--disable-shout-ogg
--disable-shout-mp3
--disable-lame-encoder
\
--disable-ffmpeg
--disable-wavpack
--disable-mpc
--disable-aac
\
--disable-flac
--disable-
ogg
vorbis
--disable-oggflac
--disable-audiofile
\
--disable-flac
--disable-vorbis
--disable-oggflac
--disable-audiofile
\
--disable-cue
\
--with-zeroconf
=
no
$MAKE
install
...
...
@@ -55,7 +55,7 @@ $MAKE distclean
--disable-ao
--disable-alsa
--disable-jack
--disable-pulse
--disable-fifo
\
--enable-shout-ogg
--disable-shout-mp3
--disable-lame-encoder
\
--disable-ffmpeg
--disable-wavpack
--disable-mpc
--disable-aac
\
--disable-flac
--enable-
ogg
vorbis
--disable-oggflac
--disable-audiofile
\
--disable-flac
--enable-vorbis
--disable-oggflac
--disable-audiofile
\
--with-zeroconf
=
no
$MAKE
install
$MAKE
distclean
...
...
@@ -69,7 +69,7 @@ $MAKE distclean
--disable-ao
--disable-alsa
--disable-jack
--disable-pulse
--disable-fifo
\
--disable-shout-ogg
--enable-shout-mp3
--enable-lame-encoder
\
--disable-ffmpeg
--disable-wavpack
--disable-mpc
--disable-aac
\
--disable-flac
--disable-
ogg
vorbis
--disable-oggflac
--disable-audiofile
\
--disable-flac
--disable-vorbis
--disable-oggflac
--disable-audiofile
\
--with-zeroconf
=
no
$MAKE
install
$MAKE
distclean
...
...
@@ -84,7 +84,7 @@ $MAKE distclean
--disable-ao
--disable-alsa
--disable-jack
--disable-pulse
--disable-fifo
\
--disable-shout-ogg
--disable-shout-mp3
--disable-lame-encoder
\
--disable-ffmpeg
--disable-wavpack
--disable-mpc
--disable-aac
\
--disable-flac
--enable-
ogg
vorbis
--enable-oggflac
--disable-audiofile
\
--disable-flac
--enable-vorbis
--enable-oggflac
--disable-audiofile
\
--with-zeroconf
=
no
$MAKE
install
$MAKE
distclean
src/decoder_list.c
View file @
5242305a
...
...
@@ -47,7 +47,7 @@ static const struct decoder_plugin *const decoder_plugins[] = {
#ifdef HAVE_MAD
&
mad_decoder_plugin
,
#endif
#ifdef
HAVE_OGGVORBIS
#ifdef
ENABLE_VORBIS_DECODER
&
vorbis_decoder_plugin
,
#endif
#if defined(HAVE_FLAC) || defined(HAVE_OGGFLAC)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment