From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 5AB00BC0A for ; Thu, 15 Mar 2007 18:10:42 +0100 (CET) Received: from chokecherry.srv.cs.cmu.edu (CHOKECHERRY.SRV.CS.CMU.EDU [128.2.185.41]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l2FHAeno030429 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 15 Mar 2007 18:10:41 +0100 Received: from stratocaster.home (pool-141-151-190-167.pitt.east.verizon.net [141.151.190.167]) (authenticated bits=0) by chokecherry.srv.cs.cmu.edu (8.13.6/8.13.6) with ESMTP id l2FHAdtV020289 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Thu, 15 Mar 2007 13:10:39 -0400 (EDT) Received: from ecc by stratocaster.home with local (Exim 4.63) (envelope-from ) id 1HRtTA-0004RP-J3; Thu, 15 Mar 2007 13:10:28 -0400 Date: Thu, 15 Mar 2007 13:10:28 -0400 To: caml-list@yquem.inria.fr, caml-list@inria.fr Subject: Re: [Caml-list] dynamically finding libraries Message-ID: <20070315171028.GA16314@localhost> Mail-Followup-To: caml-list@yquem.inria.fr, caml-list@inria.fr References: <45F87661.4020504@softhome.net> <45F94C51.8030100@ujf-grenoble.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45F94C51.8030100@ujf-grenoble.fr> User-Agent: Mutt/1.5.13 (2006-08-11) From: Eric Cooper X-Miltered: at discorde with ID 45F97E10.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; 0100,:01 run-time:01 wrote:01 dynamically:01 caml-list:01 library:03 thu:05 echo:05 echo:05 libraries:11 question:12 cooper:14 cooper:14 edu:15 mar:16 On Thu, Mar 15, 2007 at 02:38:25PM +0100, Vu Ngoc San wrote: > The question is: is there a way to decide, at run-time, whether the user > already has this library or not ? if pkg-config --exists pangocairo; then echo yes else echo no fi -- Eric Cooper e c c @ c m u . e d u