From c824013e94743feb05c45fa82c3e81cceda120fa Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 13 Apr 2009 20:39:51 +0200 Subject: configure.ac: fail when bzip2 plugin is enabled but not found --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 5848942b2..67945b51b 100644 --- a/configure.ac +++ b/configure.ac @@ -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) -- cgit v1.2.3