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
[Caml-list] autoconf and caml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-09-06 (10:26)
From: Jun P.FURUSE <Jun.Furuse@i...>
Subject: Re: [Caml-list] autoconf and caml

> People seem to have missed the actual problem I have posed: what is
> the most convenient and hassle-free mechanism for transporting
> information produced by running ./configure to O'Caml source code?
> Such features include directory prefixes, auxiliary program paths,
> various constants, features {en,dis}abled with --enable-X and alike.
> I'm *NOT* trying to use the preprocessor for any weird syntactic
> abstractions or anything of that kind.
> >From the answers I've seen so far, no common, truly convenient and
> completely hassle-free mechanism exists.  Hopefully this problem will
> find a clean solution some day.  In the meantime I can live with -pp cpp
> and bite a few small kludges, like adding a (*don't remove me*) ;-)

Do not AC_SUBST(VAR) and AC_OUTPUT( solve your problem ?
You can find such examples of the combination of configure script 
and .ml files like camlimages or advi:

Hopes this helps.

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: