diff --git a/Makefile.am b/Makefile.am
index 7688f3096..ab4840640 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1249,7 +1249,7 @@ libdecoder_a_SOURCES += \
 	src/decoder/plugins/AudiofileDecoderPlugin.hxx
 endif
 
-if ENABLE_MIKMOD_DECODER
+if ENABLE_LIBMIKMOD
 libdecoder_a_SOURCES += \
 	src/decoder/plugins/MikmodDecoderPlugin.cxx \
 	src/decoder/plugins/MikmodDecoderPlugin.hxx
diff --git a/configure.ac b/configure.ac
index 69cb2dce5..d2cece3a5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -381,11 +381,6 @@ AC_ARG_ENABLE([libwrap],
 	AS_HELP_STRING([--enable-libwrap], [use libwrap]),,
 	[enable_libwrap=auto])
 
-AC_ARG_ENABLE(mikmod,
-	AS_HELP_STRING([--enable-mikmod],
-		[enable the mikmod decoder (default: disable)]),,
-	enable_mikmod=no)
-
 AC_ARG_ENABLE(openal,
 	AS_HELP_STRING([--enable-openal],
 		[enable OpenAL support (default: auto)]),,
@@ -949,18 +944,8 @@ MPD_ENABLE_AUTO_PKG(mpg123, MPG123, [libmpg123],
 	[libmpg123 decoder plugin], [libmpg123 not found])
 
 dnl -------------------------------- libmikmod --------------------------------
-if test x$enable_mikmod = 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(ENABLE_MIKMOD_DECODER, 1, [Define for mikmod support])
-	else
-		enable_mikmod=no
-	fi
-fi
-
-AM_CONDITIONAL(ENABLE_MIKMOD_DECODER, test x$enable_mikmod = xyes)
+MPD_ENABLE_AUTO_PKG(mikmod, LIBMIKMOD, [libmikmod],
+	[MikMod decoder plugin], [libmikmod not found])
 
 dnl -------------------------------- libmodplug -------------------------------
 MPD_ENABLE_AUTO_PKG(modplug, MODPLUG, [libmodplug],
diff --git a/src/decoder/DecoderList.cxx b/src/decoder/DecoderList.cxx
index c3fcc9be4..4b2dc1fbc 100644
--- a/src/decoder/DecoderList.cxx
+++ b/src/decoder/DecoderList.cxx
@@ -88,7 +88,7 @@ const struct DecoderPlugin *const decoder_plugins[] = {
 #ifdef ENABLE_MODPLUG
 	&modplug_decoder_plugin,
 #endif
-#ifdef ENABLE_MIKMOD_DECODER
+#ifdef ENABLE_LIBMIKMOD
 	&mikmod_decoder_plugin,
 #endif
 #ifdef ENABLE_SIDPLAY