Commit c824013e authored by Max Kellermann's avatar Max Kellermann

configure.ac: fail when bzip2 plugin is enabled but not found

parent 2cbda895
......@@ -310,7 +310,7 @@ AC_ARG_ENABLE(bzip2,
if test x$enable_bzip2 = xyes; then
AC_CHECK_LIB(bz2, BZ2_bzDecompressInit,
[MPD_LIBS="$MPD_LIBS -lbz2"],
enable_bzip2=no)
[AC_MSG_ERROR([libbz2 not found])])
fi
AM_CONDITIONAL(HAVE_BZ2, test x$enable_bzip2 = xyes)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment