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.8.0-1_deb10u1+rpi1^2~34 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c12d2c12296408ae783eec40663d8f7f734b3fb5;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