projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7db01b
)
configure.ac: Don't set BZ2_LIBS if bz2 is not found
author
Sebastian Dröge
<slomo@circular-chaos.org>
Mon, 26 Aug 2013 11:48:02 +0000
(13:48 +0200)
committer
Sebastian Dröge
<slomo@circular-chaos.org>
Mon, 26 Aug 2013 11:48:02 +0000
(13:48 +0200)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index fbf8f655b88fa7cdc2b5c733840b261018d42fe7..ecc2eb9cfcabdd809703f684d8e9d333b3f37cbf 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-1090,7
+1090,9
@@
AG_GST_CHECK_FEATURE(BZ2, [bz2 library], bz2, [
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):w
])