From 389fbaaca2964c2f2c5be6b57c73bb20005e3019 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 9 Oct 2011 17:56:46 +0200 Subject: configure.ac: add variable BZ2_LIBS Don't use MPD_LIBS. --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index cc390261..28dcf7ba 100644 --- a/configure.ac +++ b/configure.ac @@ -722,9 +722,10 @@ AM_CONDITIONAL(ENABLE_ISO9660_TEST, test x$MKISOFS != xno) dnl ---------------------------------- libbz2 --------------------------------- if test x$enable_bzip2 = xyes; then AC_CHECK_LIB(bz2, BZ2_bzDecompressInit, - [MPD_LIBS="$MPD_LIBS -lbz2"], + [BZ2_LIBS="-lbz2"], [AC_MSG_ERROR([libbz2 not found])]) fi +AC_SUBST(BZ2_LIBS) AM_CONDITIONAL(HAVE_BZ2, test x$enable_bzip2 = xyes) if test x$enable_bzip2 = xyes; then -- cgit v1.2.3