From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.user Subject: Re: Checking for guile from configure -- forward compat. Date: Fri, 14 Aug 2009 22:32:47 +0100 Message-ID: <871vne13pc.fsf@arudy.ossau.uklinux.net> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1250285591 27487 80.91.229.12 (14 Aug 2009 21:33:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Aug 2009 21:33:11 +0000 (UTC) Cc: guile-user@gnu.org To: Peter Brett Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Aug 14 23:33:04 2009 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mc4OU-0000gM-V5 for guile-user@m.gmane.org; Fri, 14 Aug 2009 23:33:03 +0200 Original-Received: from localhost ([127.0.0.1]:37057 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mc4OU-0001SU-5v for guile-user@m.gmane.org; Fri, 14 Aug 2009 17:33:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mc4OM-0001NN-98 for guile-user@gnu.org; Fri, 14 Aug 2009 17:32:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mc4OH-0001I4-JZ for guile-user@gnu.org; Fri, 14 Aug 2009 17:32:53 -0400 Original-Received: from [199.232.76.173] (port=59923 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mc4OH-0001Hk-8T for guile-user@gnu.org; Fri, 14 Aug 2009 17:32:49 -0400 Original-Received: from mail3.uklinux.net ([80.84.72.33]:40778) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mc4OG-0005Ae-SA for guile-user@gnu.org; Fri, 14 Aug 2009 17:32:49 -0400 Original-Received: from arudy (host86-152-99-133.range86-152.btcentralplus.com [86.152.99.133]) by mail3.uklinux.net (Postfix) with ESMTP id 3A6221F69DE; Fri, 14 Aug 2009 22:32:48 +0100 (BST) Original-Received: from arudy.ossau.uklinux.net (arudy [127.0.0.1]) by arudy (Postfix) with ESMTP id 892F738021; Fri, 14 Aug 2009 22:32:47 +0100 (BST) In-Reply-To: (Peter Brett's message of "Fri\, 14 Aug 2009 08\:26\:41 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:7406 Archived-At: Peter Brett writes: > We ended up writing a pile of crufty m4/shell, which: > > - checks for guile-1.8.pc > - if that fails, checks for guile-2.0.pc > - if that fails, checks for guile-config > > http://git.gpleda.org/?p=gaf.git;a=blob;f=m4/geda-guile.m4;hb=HEAD > > Ewww. That looks good to me. Seriously, given the shift from guile-config to pkg-config, I don't think it's possible to get any simpler than that; and you've wrapped it very nicely. Regards, Neil