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.7.1-1+rpi1^2~34 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=cf93dab493db56bd1388d4ff7b59fa6cb56a4b5b;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 8ac71d19cb..5769ef63c8 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