Package: thunderbird / 1:60.8.0-1~deb9u1

debian-hacks/stop-configure-if-with-system-bz2-was-passed-but-no-.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: =?utf-8?q?Guido_G=C3=BCnther?= <agx@sigxcpu.org>
Date: Thu, 25 Oct 2012 19:37:44 +0200
Subject: stop configure if '--with-system-bz2' was passed,
 but no libbz2 is around

---
 old-configure.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/old-configure.in b/old-configure.in
index 8ac71d1..5769ef6 100644
--- a/old-configure.in
+++ b/old-configure.in
@@ -1826,7 +1826,7 @@ if test -z "$BZ2_DIR" -o "$BZ2_DIR" = no; then
     MOZ_SYSTEM_BZ2=
 else
     AC_CHECK_LIB(bz2, BZ2_bzread, [MOZ_SYSTEM_BZ2=1 MOZ_BZ2_LIBS="-lbz2"],
-    [MOZ_SYSTEM_BZ2= MOZ_BZ2_CFLAGS= MOZ_BZ2_LIBS=])
+    [AC_MSG_ERROR([You have run configure with --with-system-bz2, but there is no libbz2 around!])])
 fi
 CFLAGS=$_SAVE_CFLAGS
 LDFLAGS=$_SAVE_LDFLAGS