configure.ac: fail when bzip2 plugin is enabled but not found
This commit is contained in:
parent
2cbda895fb
commit
c824013e94
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user