Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 1F458431FAF for ; Fri, 18 Apr 2014 01:29:35 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FO4RRB6rYlQr for ; Fri, 18 Apr 2014 01:29:28 -0700 (PDT) Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) by olra.theworths.org (Postfix) with ESMTP id 03928431FAE for ; Fri, 18 Apr 2014 01:29:28 -0700 (PDT) Received: from guru.guru-group.fi (localhost [IPv6:::1]) by guru.guru-group.fi (Postfix) with ESMTP id ACDF010008F; Fri, 18 Apr 2014 11:29:23 +0300 (EEST) From: Tomi Ollila To: astreib@indiana.edu Subject: Re: [SUPPORTIVE PATCH 0.17.200] build and use statically linked zlib-1.2.8 with notmuch In-Reply-To: <1397809386-23356-1-git-send-email-tomi.ollila@iki.fi> References: <877g6ny3iw.fsf@maritornes.cs.unb.ca> <1397809386-23356-1-git-send-email-tomi.ollila@iki.fi> User-Agent: Notmuch/0.17+201~g56da2d6 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-unknown-linux-gnu) X-Face: HhBM'cA~ MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: notmuch@notmuchmail.org X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2014 08:29:35 -0000 On Fri, Apr 18 2014, Tomi Ollila wrote: > =C2=A1=C2=A1 NOT TO BE MERGED TO NOTMUCH REPOSITORY !! > > (Due to its intrusive nature this patch is not suitable for merging.) ... > --- a/configure > +++ b/configure > @@ -342,6 +342,13 @@ fi >=20=20 > printf "Checking for zlib (>=3D 1.2.5.2)... " > have_zlib=3D0 > +# XXX unofficial supportive patch to use self-built zlib XXX > +printf "Checking/building zlib 1.2.8:\n" > +(cd compat; exec ../"$srcdir"/compat/build-zlib.py) ... and next version will check whether "$srcdir" starts with '/' --- fix it by hand if you have problems there... Tomi > +have_zlib=3D1 > +zlib_cflags=3D"-I ./compat/zlib-1.2.8" > +zlib_ldflags=3D > +: || > if pkg-config --atleast-version=3D1.2.5.2 zlib; then > printf "Yes.\n" > have_zlib=3D1 > --=20 > 1.8.0