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 BE508431FB6 for ; Thu, 10 Mar 2011 11:36:21 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.99 X-Spam-Level: X-Spam-Status: No, score=-0.99 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1, T_MIME_NO_TEXT=0.01] 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 2VqW4e1P68mk; Thu, 10 Mar 2011 11:36:20 -0800 (PST) Received: from yoom.home.cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id D88AE431FB5; Thu, 10 Mar 2011 11:36:19 -0800 (PST) Received: by yoom.home.cworth.org (Postfix, from userid 1000) id 6B36325401B; Thu, 10 Mar 2011 11:36:19 -0800 (PST) From: Carl Worth To: Thomas Schwinge , notmuch@notmuchmail.org Subject: Re: Build system In-Reply-To: <87tyge9a76.fsf@kepler.schwinge.homeip.net> 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> <87tyge9a76.fsf@kepler.schwinge.homeip.net> User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.2.1 (i486-pc-linux-gnu) Date: Thu, 10 Mar 2011 11:36:12 -0800 Message-ID: <87ei6elqdv.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" 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: Thu, 10 Mar 2011 19:36:21 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Tue, 08 Feb 2011 09:55:57 +0100, Thomas Schwinge = wrote: > Is the testsuite also easy to convert to VPATH style builds? (I don't > know, but would expect some difficulties.) In what I just pushed I rather punted on this issue. I made the configure script simply copy the entire test suite into the build directory. (I also did the same for .el files since emacs really wants to put the compiled .elc file right next to the .el file). This isn't ideal since it means that a non-srcdir build won't get access to updated emacs nor test-suite bits without re-running configure. If someone would like to do work to fix either or both of these cases, that would be helpful. > And, another thing I just noticed: I had the source tree configured with > --prefix=3D[something]. Now I updated the sources, re-ran make, and saw > this: >=20 > $ make >=20=20=20=20=20 > Note: Calling ./configure with no command-line arguments. Thanks for pointing out this problem. It was easy to fix, and I've pushed a change for that now. In testing it, I also realized that my support for non-srcdir builds also broke the automatic running of configure on a simple "make" invocation from a source tree that had never been configured. I've fixed that now as well. > 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.) I agree that trying to be similar and being slightly different can be more surprising than being obviously different. For the build system, I actually do want compatibility with the features of GNU-autoconf-generated build system that people actually care about. So please keep letting me know about any annoying surprises. =2DCarl =2D-=20 carl.d.worth@intel.com --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFNeSgs6JDdNq8qSWgRAoPuAKCYYfj3hcirZz1//OxYJIy9Ko7p1gCgiYoP +HB+9KM49F0+CH58Myg0Rs0= =j23t -----END PGP SIGNATURE----- --=-=-=--