From: Guido Günther Date: Thu, 25 Oct 2012 17:37:44 +0000 (+0200) Subject: stop configure if '--with-system-bz2' was passed, but no libbz2 is around X-Git-Tag: archive/raspbian/1%60.9.0-1_deb10u1+rpi1^2~1^2~34 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a02a0910e20f7ce6c4ad8a6c2655b55f80af906c;p=thunderbird.git stop configure if '--with-system-bz2' was passed, but no libbz2 is around Gbp-Pq: Topic debian-hacks Gbp-Pq: Name stop-configure-if-with-system-bz2-was-passed-but-no-.patch --- diff --git a/old-configure.in b/old-configure.in index 46e823b9f7..8f179ad209 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