Browse thread
[Caml-list] autoconf and caml
- Kenneth Oksanen
[
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: | Kenneth Oksanen <cessu@h...> |
| Subject: | [Caml-list] autoconf and caml |
I'm writing a piece of software using O'Caml and GNU autoconf (among others). In C the results of running `./configure' are conveniently accessed with `#include "config.h"'. My current solution is to preprocess also the O'Caml code, but this requires some clumsy hacks in Makefiles etc. Is there a better way? If not, then I'ld suggest some flag in O'Caml which would run the source files through cpp. -=- ; Kenneth Oksanen, email: cessu@iki.fi, http://www.iki.fi/~cessu ((lambda(a) (a a((lambda(a)(lambda()(set! a(+ a 1))a))1)))(lambda(a c) ((lambda(b) (newline)(write b)(a a((lambda(c)(lambda()(c c)))(lambda(a) ((lambda(c) (if(=(modulo c b)0)(a a)c))(c))))))(c)))) ; Scheme me! ------------------- 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