Received: from lo.gmane.org ([80.91.229.12]) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1Nr7DQ-0004ty-MF for openembedded-devel@lists.openembedded.org; Mon, 15 Mar 2010 11:08:06 +0100 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Nr7AU-0006KF-PH for openembedded-devel@lists.openembedded.org; Mon, 15 Mar 2010 11:05:02 +0100 Received: from s55917625.adsl.wanadoo.nl ([85.145.118.37]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Mar 2010 11:05:02 +0100 Received: from k.kooi by s55917625.adsl.wanadoo.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Mar 2010 11:05:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: openembedded-devel@lists.openembedded.org From: Koen Kooi Date: Mon, 15 Mar 2010 11:03:51 +0100 Message-ID: Mime-Version: 1.0 X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: s55917625.adsl.wanadoo.nl User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.8) Gecko/20100223 Shredder/3.0.3pre X-Enigmail-Version: 1.0.1 X-SA-Exim-Connect-IP: 80.91.229.12 X-SA-Exim-Mail-From: gcho-openembedded-devel@m.gmane.org X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on discovery X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.2.5 X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Subject: [RFC] Make autotools.bbclass warn and fixup for "needs newer autoconf" breakage X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2010 10:08:07 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Every now and then the world moves to a more recent autoconf (2.64 is popular nowadays) and distros in OE have to to through a lengthy test-fix-bump cycle to keep up. The workaround for such a problem usually is: do_configure() { gnu-configize oe_runconf } That gets us the config.guess for exotic targets (e.g. avr32) and runs the in-tree configure script. What are your opinions on adding something like this to autotools.bbclass: if ((needed autoconf > installed autoconf) && configure exists) BIG FAT WARNING skip libtoolize + reconf The biggest problem with that is that is "silently" degrades when using the "wrong autoconf" and the possibility for mismatched do_configure_prepend/append methods. Do the benefits (not littering recipes with global shortcuts) outweigh the downsides? regards, Koen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFLngYHMkyGM64RGpERAoVQAJsEUt8rg94hjpdTdMLWIDoFux3Y3wCgu+3J AKpiLeSCsrJ7UlTZ1AiO/Us= =vKGt -----END PGP SIGNATURE-----