Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Stefano Zacchiroli <zack@b...>
Subject: Re: [Caml-list] ocaml support in autotools
On Mon, Jul 31, 2006 at 06:14:44PM +0200, Guillaume Rousse wrote:
> I'd like to have ocaml support in autotools (autoconf + automake), to
> avoid heavy code duplication between several projects (at least
> ocmalimages and activedvi).

I would totally welcome such support, but I never followed the path of
looking for the documentation on how to integrate official support in
autotools. If you are willing to it would be great!

> Autoconf support is quite simple to do, and even already done (I easily
> found  reference to
> http://www.lri.fr/~filliatr/ftp/ocaml/misc/configure.in. But instead of

After a quick look at it, I found disappointing there is no support at
all for findlib. I definitely want to be able to:
1) test whether or not findlib is available
2) test whether or not a given findlib-compatible library is available
   or not (assuming findlib is available of course)

I have some autoconf code that already do that, it is available at [1]
(look for "$OCAMLFIND query"). Feel free to reuse it.

Cheers.

[1] http://helm.cs.unibo.it/websvn/filedetails.php?repname=helm&path=%2Ftrunk%2Fhelm%2Fsoftware%2Fconfigure.ac&rev=0&sc=0

-- 
Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. -!-