Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Style and organization of code
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-03-15 (17:10)
From: Eric Cooper <ecc@c...>
Subject: Re: [Caml-list] dynamically finding libraries
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
    echo no

Eric Cooper             e c c @ c m u . e d u