[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Maxence Guesdon <maxence.guesdon@i...> |
| Subject: | Re: [Caml-list] autoconf and caml |
On Fri, 06 Sep 2002 06:56:42 -0400 "Yaron M. Minsky" <yminsky@CS.Cornell.EDU> wrote: > Yann Régis-Gianas wrote: > > On Fri, Sep 06, 2002 at 01:12:31PM +0300, Kenneth Oksanen wrote: > > > > What about using camlp4 to transform config.h file into a > > valid Objective Caml module ? I'm using the autotools as a simple user > > but config.h is a sequence of #define, is'nt it ? So, we can transform these macros into values declaration. For example: > > > > Yes, but you actually don't really want simple values here, because > sometimes you want to use those values to do conditional compilation, > and ocaml values won't help you with that. The pa_ifdef parser included with camlp4 may help you. Daniel, could you explain how to use it ? Or is a doc written ? -- Maxence Guesdon ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners