From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter TB Brett Newsgroups: gmane.lisp.guile.user Subject: Re: Checking for guile from configure -- forward compat. Date: Sat, 8 Aug 2009 19:39:40 +0000 (UTC) Message-ID: References: <3ae3aa420908080959w13c1716cj6e2593f5418f451e@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1249760416 30775 80.91.229.12 (8 Aug 2009 19:40:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Aug 2009 19:40:16 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Aug 08 21:40:09 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 1MZrlx-0005vY-2z for guile-user@m.gmane.org; Sat, 08 Aug 2009 21:40:09 +0200 Original-Received: from localhost ([127.0.0.1]:47192 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZrlw-00021n-6D for guile-user@m.gmane.org; Sat, 08 Aug 2009 15:40:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MZrlp-000217-4q for guile-user@gnu.org; Sat, 08 Aug 2009 15:40:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MZrlj-0001zy-Tv for guile-user@gnu.org; Sat, 08 Aug 2009 15:40:00 -0400 Original-Received: from [199.232.76.173] (port=45262 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZrlj-0001zv-Nt for guile-user@gnu.org; Sat, 08 Aug 2009 15:39:55 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:38194 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MZrlj-0000A3-EJ for guile-user@gnu.org; Sat, 08 Aug 2009 15:39:55 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MZrlf-0006wg-2m for guile-user@gnu.org; Sat, 08 Aug 2009 19:39:51 +0000 Original-Received: from cpc2-oxfd6-0-0-cust544.oxfd.cable.ntl.com ([86.3.134.33]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 08 Aug 2009 19:39:51 +0000 Original-Received: from peter by cpc2-oxfd6-0-0-cust544.oxfd.cable.ntl.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 08 Aug 2009 19:39:51 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 86.3.134.33 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:7397 Archived-At: Linas Vepstas gmail.com> writes: > 2009/8/8 Peter TB Brett peter-b.co.uk>: > > Hi everyone, > > > > Currently, there appear to be two ways to check for the presence of > > Guile: > > > >  PKG_CHECK_MODULES(GUILE, [guile-1.8]) > > I believe that the following should work: > > PKG_CHECK_MODULES(GUILE, guile >= 1.8.3) > > or something like that. Grepping various configure.in > I find the following: > > PKG_CHECK_MODULES(SQLITE3, sqlite3 >= 3.0.0) > PKG_CHECK_MODULES([HUNSPELL], [hunspell]) > PKG_CHECK_MODULES(LIBJDK, libjdk-1.5 >= $LIBJDK_REQUIRED) I'm perfectly aware of how to use pkg-config, and I think I already pointed out that this isn't very useful because Guile provides a 'guile-1.8' pkg-config module file, but not one for 'guile'. Cheers, Peter