diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2013-08-26 13:47:53 +0200 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2013-08-26 13:49:57 +0200 |
commit | 23240e1042b592b8827931707f657eeee7a1914f (patch) | |
tree | 3d338281d7b80976e813622aaea53148e7c7bbcf | |
parent | 3edf9466e3796ef48c36596afae1101828eb7717 (diff) | |
download | gst-plugins-good-23240e1042b592b8827931707f657eeee7a1914f.tar.gz gst-plugins-good-23240e1042b592b8827931707f657eeee7a1914f.tar.xz |
configure.ac: Don't set BZ2_LIBS if bz2 is not found
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index d61823730..ba806f2f1 100644 --- a/configure.ac +++ b/configure.ac @@ -986,7 +986,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) ]) |