Commit 8cce9603 authored by Sebastian Dröge's avatar Sebastian Dröge

configure.ac: Don't set BZ2_LIBS if bz2 is not found

parent 4b7bcc2e
......@@ -1013,7 +1013,9 @@ AG_GST_CHECK_FEATURE(BZ2, [bz2 library for matroska ],, [
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <bzlib.h>]], [[const char *version = BZ2_bzlibVersion ();]])],[HAVE_BZ2=yes],[HAVE_BZ2=no])
AC_MSG_RESULT($HAVE_BZ2)
LIBS=$save_LIBS
BZ2_LIBS="-lbz2"
if test "x$HAVE_BZ2" = "xyes"; then
BZ2_LIBS="-lbz2"
fi
AC_SUBST(BZ2_LIBS)
])
......
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