From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id NAA01694; Fri, 6 Sep 2002 13:07:59 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id NAA01762 for ; Fri, 6 Sep 2002 13:07:58 +0200 (MET DST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g86B7I117468; Fri, 6 Sep 2002 13:07:18 +0200 (MET DST) Received: from santenay.inria.fr (santenay.inria.fr [128.93.8.59]) by pauillac.inria.fr (8.7.6/8.7.3) with SMTP id NAA01676; Fri, 6 Sep 2002 13:07:17 +0200 (MET DST) Date: Fri, 6 Sep 2002 13:07:17 +0200 From: Maxence Guesdon To: "Yaron M. Minsky" Cc: yann@lrde.epita.fr, cessu@hutcs.cs.hut.fi, caml-list@inria.fr Subject: Re: [Caml-list] autoconf and caml Message-Id: <20020906130717.647bd532.maxence.guesdon@inria.fr> In-Reply-To: <3D7889EA.8060406@cs.cornell.edu> References: <20020905135720.D5343@pauillac.inria.fr> <20020905161617.A29272@kruuna.Helsinki.FI> <20020906104614.GE607@barcelona.lrde.epita.fr> <3D7889EA.8060406@cs.cornell.edu> Organization: INRIA X-Mailer: Sylpheed version 0.8.2claws (GTK+ 1.2.10; ) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Fri, 06 Sep 2002 06:56:42 -0400 "Yaron M. Minsky" 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