From cf93dab493db56bd1388d4ff7b59fa6cb56a4b5b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Guido=20G=C3=BCnther?= Date: Thu, 25 Oct 2012 19:37:44 +0200 Subject: [PATCH] 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 --- old-configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2