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
a7685780
Commit
a7685780
authored
Apr 01, 2009
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure.ac: renamed --enable-mod to --enable-mikmod
parent
cd618286
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
14 deletions
+14
-14
Makefile.am
Makefile.am
+1
-1
configure.ac
configure.ac
+11
-11
test.sh
scripts/test.sh
+1
-1
decoder_list.c
src/decoder_list.c
+1
-1
No files found.
Makefile.am
View file @
a7685780
...
...
@@ -364,7 +364,7 @@ if HAVE_AUDIOFILE
DECODER_SRC
+=
src/decoder/audiofile_plugin.c
endif
if
HAVE_MIKMOD
if
ENABLE_MIKMOD_DECODER
DECODER_SRC
+=
src/decoder/mikmod_plugin.c
endif
...
...
configure.ac
View file @
a7685780
...
...
@@ -413,9 +413,9 @@ if test x$enable_mad = xyes; then
fi
AM_CONDITIONAL(HAVE_MAD, test x$enable_mad = xyes)
AC_ARG_ENABLE(mod,
AS_HELP_STRING([--enable-mod],
[enable
MOD support
(default: disable)]),,
AC_ARG_ENABLE(m
ikm
od,
AS_HELP_STRING([--enable-m
ikm
od],
[enable
the mikmod decoder
(default: disable)]),,
enable_mod=no)
AC_ARG_ENABLE(modplug,
...
...
@@ -854,18 +854,18 @@ fi
AM_CONDITIONAL(HAVE_AUDIOFILE, test x$enable_audiofile = xyes)
if test x$enable_mod = xyes; then
if test x$enable_m
ikm
od = xyes; then
AC_PATH_PROG(LIBMIKMOD_CONFIG, libmikmod-config)
if test x$LIBMIKMOD_CONFIG != x ; then
AC_SUBST(LIBMIKMOD_CFLAGS, `$LIBMIKMOD_CONFIG --cflags`)
AC_SUBST(LIBMIKMOD_LIBS, `$LIBMIKMOD_CONFIG --libs`)
AC_DEFINE(
HAVE_MIKMOD
, 1, [Define for mikmod support])
AC_DEFINE(
ENABLE_MIKMOD_DECODER
, 1, [Define for mikmod support])
else
enable_mod=no
enable_m
ikm
od=no
fi
fi
AM_CONDITIONAL(
HAVE_MIKMOD, test x$enable_
mod = xyes)
AM_CONDITIONAL(
ENABLE_MIKMOD_DECODER, test x$enable_mik
mod = xyes)
if test x$enable_ffmpeg = xyes; then
PKG_CHECK_MODULES(FFMPEG, [libavformat libavcodec libavutil],,
...
...
@@ -1288,10 +1288,10 @@ else
echo " fluidsynth MIDI support .......disabled"
fi
if test x$enable_mod = xyes; then
echo " M
OD support ...
................enabled"
if test x$enable_m
ikm
od = xyes; then
echo " M
ikMod support
................enabled"
else
echo " M
OD support ...
................disabled"
echo " M
ikMod support
................disabled"
fi
if test x$enable_modplug = xyes; then
...
...
@@ -1376,7 +1376,7 @@ if
test x$enable_fluidsynth = xno &&
test x$enable_wildmidi = xno &&
test x$enable_mp4 = xno &&
test x$enable_mod = xno; then
test x$enable_m
ikm
od = xno; then
AC_MSG_ERROR([No input plugins supported!])
fi
...
...
scripts/test.sh
View file @
a7685780
...
...
@@ -18,7 +18,7 @@ test -x configure || NOCONFIGURE=1 ./autogen.sh
./configure
--prefix
=
$PREFIX
/full
\
--disable-dependency-tracking
--enable-debug
--enable-werror
\
--enable-un
\
--enable-ao
--enable-mod
--enable-mvp
--enable-ao
--enable-m
ikm
od
--enable-mvp
$MAKE
install
$MAKE
distclean
...
...
src/decoder_list.c
View file @
a7685780
...
...
@@ -74,7 +74,7 @@ static const struct decoder_plugin *const decoder_plugins[] = {
#ifdef HAVE_MODPLUG
&
modplug_plugin
,
#endif
#ifdef
HAVE_MIKMOD
#ifdef
ENABLE_MIKMOD_DECODER
&
mikmod_decoder_plugin
,
#endif
#ifdef ENABLE_SIDPLAY
...
...
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