English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
ocaml support in autotools
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-08-04 (12:26)
From: Guillaume Rousse <Guillaume.Rousse@i...>
Subject: Re: [Caml-list] ocaml support in autotools
Erik de Castro Lopo wrote:
> Guillaume Rousse wrote:
>> This is not really similar to default AC_CHECK_LIB macro, which just
>> determine if using all currently available flags, searched library is
>> available or not.
> AC_CHECK_LIB is rather primitive.
>> Nor to PKG_CHECK_MODULE (closest ocamlfind equivalent
>> in C world) that just returns flags computed by pkg-config.
> PKG_CHECK_MODULE would be a better model.
But it does only retrieve information, it does no actual testing.

My point is separating issues (retrieving information and testing
compilation) allow more versatility for the programmer.

Guillaume Rousse
Projet Estime, INRIA
Domaine de Voluceau
Rocquencourt - B.P. 105
78153 Le Chesnay Cedex - France