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 B46DD429E21 for ; Tue, 8 Feb 2011 00:56:10 -0800 (PST) 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=[RCVD_IN_DNSWL_NONE=-0.0001] 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 RjCeI7XRJvOH for ; Tue, 8 Feb 2011 00:56:10 -0800 (PST) Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de [80.67.31.29]) by olra.theworths.org (Postfix) with ESMTP id A99B4431FD0 for ; Tue, 8 Feb 2011 00:56:09 -0800 (PST) Received: from [87.180.67.50] (helo=stokes.schwinge.homeip.net) by smtprelay02.ispgateway.de with esmtpa (Exim 4.68) (envelope-from ) id 1PmjMm-0007YU-Jr for notmuch@notmuchmail.org; Tue, 08 Feb 2011 09:56:08 +0100 Received: (qmail 25200 invoked from network); 8 Feb 2011 08:56:03 -0000 Received: from kepler.schwinge.homeip.net (192.168.111.7) by stokes.schwinge.homeip.net with QMQP; 8 Feb 2011 08:56:03 -0000 Received: (nullmailer pid 10154 invoked by uid 1000); Tue, 08 Feb 2011 08:56:03 -0000 From: Thomas Schwinge To: Carl Worth , notmuch@notmuchmail.org Subject: Re: Build system In-Reply-To: <87aaiilk2o.fsf@yoom.home.cworth.org> References: <1294747284-18791-1-git-send-email-thomas@schwinge.name> <87bp30n3sc.fsf@yoom.home.cworth.org> <87lj22pun9.fsf@kepler.schwinge.homeip.net> <87bp2yptxj.fsf@kepler.schwinge.homeip.net> <87aaiilk2o.fsf@yoom.home.cworth.org> User-Agent: Notmuch/0.5-33-g665f77b (http://notmuchmail.org) Emacs/23.2.1 (i486-pc-linux-gnu) Date: Tue, 08 Feb 2011 09:55:57 +0100 Message-ID: <87tyge9a76.fsf@kepler.schwinge.homeip.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Df-Sender: thomas@schwinge.name 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: Tue, 08 Feb 2011 08:56:11 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hallo! On Sun, 30 Jan 2011 21:14:39 +1000, Carl Worth wrote: > On Sun, 30 Jan 2011 11:28:08 +0100, Thomas Schwinge wrote: > > Still, my point holds that (unless someone is willing to spend time on > > this, of course) we shouldn't try to replicate the Autotools, but inste= ad > > keep our system as simple as it currently is, and thus just have it fail > > if configured outside of the source tree. >=20 > Oh, I agree that if we don't support this then we should give the user a > nice error message. But I think it will actually be very easy to add > support for this. (And at this point, I think the notmuch build system > is something that other projects could emulate if they want. I don't > think it's too crazt). Is the testsuite also easy to convert to VPATH style builds? (I don't know, but would expect some difficulties.) And, another thing I just noticed: I had the source tree configured with =2D-prefix=3D[something]. Now I updated the sources, re-ran make, and saw this: $ make =20=20=20=20 Note: Calling ./configure with no command-line arguments. This is often= fine, but if you want to specify any arguments (such as an alternate pr= efix into which to install), call ./configure explicitly and then make= again. See "./configure --help" for more details. =20=20=20=20 ./configure Welcome to Notmuch, a system for indexing, searching and tagging your e= mail. [...] My --prefix=3D[something] is gone. (At least the build system warns about this.) But it's another issue that other build systems already have solved. (And, I probably wouldn't have expected that to do the right thing if the configure script / build system wouldn't try to be like GNU Autoconf.) Gr=C3=BC=C3=9Fe, Thomas --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQEcBAEBAgAGBQJNUQUdAAoJEGe3hdm9kOiizMkIAMFj0R2OCjOVsru1Z8ANNvWm l7wFuEiVRUYs4w8rCfe08whp6sHx8RvjCgmyjRe3R4bbuec+hl53l3DYckHP5QT/ 5rU7VSW/acDqQfusq2zPVNerzZSkMhE2qCgLctpBrTDfA/kCIOal6mvk784M0f7Y Vv+J2IdGGEWnT+Qu/T5zMoSd4pfAhDpeNUeY+kDflJS7Lyq3Z9BXG6mgB9vzRX29 7J+GxEV9BnYGYRTGNG+pCJYfhwxR0bCr9qMDWjDQQZVoG2W9rWD23TPwSum9UYGO S8H0be4V1kRbnEnwpgyWYrShQLwUvqm54YRQWfV7/8WfTPLo6DB0UR08VlSdxB4= =TFXg -----END PGP SIGNATURE----- --=-=-=--