configure.ac: renamed --enable-mod to --enable-mikmod
This commit is contained in:
@@ -364,7 +364,7 @@ if HAVE_AUDIOFILE
|
|||||||
DECODER_SRC += src/decoder/audiofile_plugin.c
|
DECODER_SRC += src/decoder/audiofile_plugin.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if HAVE_MIKMOD
|
if ENABLE_MIKMOD_DECODER
|
||||||
DECODER_SRC += src/decoder/mikmod_plugin.c
|
DECODER_SRC += src/decoder/mikmod_plugin.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
22
configure.ac
22
configure.ac
@@ -413,9 +413,9 @@ if test x$enable_mad = xyes; then
|
|||||||
fi
|
fi
|
||||||
AM_CONDITIONAL(HAVE_MAD, test x$enable_mad = xyes)
|
AM_CONDITIONAL(HAVE_MAD, test x$enable_mad = xyes)
|
||||||
|
|
||||||
AC_ARG_ENABLE(mod,
|
AC_ARG_ENABLE(mikmod,
|
||||||
AS_HELP_STRING([--enable-mod],
|
AS_HELP_STRING([--enable-mikmod],
|
||||||
[enable MOD support (default: disable)]),,
|
[enable the mikmod decoder (default: disable)]),,
|
||||||
enable_mod=no)
|
enable_mod=no)
|
||||||
|
|
||||||
AC_ARG_ENABLE(modplug,
|
AC_ARG_ENABLE(modplug,
|
||||||
@@ -854,18 +854,18 @@ fi
|
|||||||
|
|
||||||
AM_CONDITIONAL(HAVE_AUDIOFILE, test x$enable_audiofile = xyes)
|
AM_CONDITIONAL(HAVE_AUDIOFILE, test x$enable_audiofile = xyes)
|
||||||
|
|
||||||
if test x$enable_mod = xyes; then
|
if test x$enable_mikmod = xyes; then
|
||||||
AC_PATH_PROG(LIBMIKMOD_CONFIG, libmikmod-config)
|
AC_PATH_PROG(LIBMIKMOD_CONFIG, libmikmod-config)
|
||||||
if test x$LIBMIKMOD_CONFIG != x ; then
|
if test x$LIBMIKMOD_CONFIG != x ; then
|
||||||
AC_SUBST(LIBMIKMOD_CFLAGS, `$LIBMIKMOD_CONFIG --cflags`)
|
AC_SUBST(LIBMIKMOD_CFLAGS, `$LIBMIKMOD_CONFIG --cflags`)
|
||||||
AC_SUBST(LIBMIKMOD_LIBS, `$LIBMIKMOD_CONFIG --libs`)
|
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
|
else
|
||||||
enable_mod=no
|
enable_mikmod=no
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AM_CONDITIONAL(HAVE_MIKMOD, test x$enable_mod = xyes)
|
AM_CONDITIONAL(ENABLE_MIKMOD_DECODER, test x$enable_mikmod = xyes)
|
||||||
|
|
||||||
if test x$enable_ffmpeg = xyes; then
|
if test x$enable_ffmpeg = xyes; then
|
||||||
PKG_CHECK_MODULES(FFMPEG, [libavformat libavcodec libavutil],,
|
PKG_CHECK_MODULES(FFMPEG, [libavformat libavcodec libavutil],,
|
||||||
@@ -1288,10 +1288,10 @@ else
|
|||||||
echo " fluidsynth MIDI support .......disabled"
|
echo " fluidsynth MIDI support .......disabled"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test x$enable_mod = xyes; then
|
if test x$enable_mikmod = xyes; then
|
||||||
echo " MOD support ...................enabled"
|
echo " MikMod support ................enabled"
|
||||||
else
|
else
|
||||||
echo " MOD support ...................disabled"
|
echo " MikMod support ................disabled"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test x$enable_modplug = xyes; then
|
if test x$enable_modplug = xyes; then
|
||||||
@@ -1376,7 +1376,7 @@ if
|
|||||||
test x$enable_fluidsynth = xno &&
|
test x$enable_fluidsynth = xno &&
|
||||||
test x$enable_wildmidi = xno &&
|
test x$enable_wildmidi = xno &&
|
||||||
test x$enable_mp4 = xno &&
|
test x$enable_mp4 = xno &&
|
||||||
test x$enable_mod = xno; then
|
test x$enable_mikmod = xno; then
|
||||||
AC_MSG_ERROR([No input plugins supported!])
|
AC_MSG_ERROR([No input plugins supported!])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@@ -18,7 +18,7 @@ test -x configure || NOCONFIGURE=1 ./autogen.sh
|
|||||||
./configure --prefix=$PREFIX/full \
|
./configure --prefix=$PREFIX/full \
|
||||||
--disable-dependency-tracking --enable-debug --enable-werror \
|
--disable-dependency-tracking --enable-debug --enable-werror \
|
||||||
--enable-un \
|
--enable-un \
|
||||||
--enable-ao --enable-mod --enable-mvp
|
--enable-ao --enable-mikmod --enable-mvp
|
||||||
$MAKE install
|
$MAKE install
|
||||||
$MAKE distclean
|
$MAKE distclean
|
||||||
|
|
||||||
|
@@ -74,7 +74,7 @@ static const struct decoder_plugin *const decoder_plugins[] = {
|
|||||||
#ifdef HAVE_MODPLUG
|
#ifdef HAVE_MODPLUG
|
||||||
&modplug_plugin,
|
&modplug_plugin,
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_MIKMOD
|
#ifdef ENABLE_MIKMOD_DECODER
|
||||||
&mikmod_decoder_plugin,
|
&mikmod_decoder_plugin,
|
||||||
#endif
|
#endif
|
||||||
#ifdef ENABLE_SIDPLAY
|
#ifdef ENABLE_SIDPLAY
|
||||||
|
Reference in New Issue
Block a user