mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
configure.ac: Don't set BZ2_LIBS if bz2 is not found
This commit is contained in:
parent
4b7bcc2ec1
commit
8cce960372
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
])
|
||||
|
||||
|
|
Loading…
Reference in a new issue