using "ocamlc -where" to find ocaml c headers

I've got ocaml installed in a non-standard location, and while the svn version of llvm seems to detect my ocaml binaries, it doesn't seem add "ocamlc -where" to the c include search path. This causes bindings/ocaml/llvm/llvm_ocaml.c to error out unless I run "make CFLAGS=`ocamlc -where`". Any chance that this could be added?

Erick,

Please try after this commit.

http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20071001/054221.html

— Gordon

Gordon Henriksen wrote:

Erick,

Please try after this commit.

http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20071001/054221.html

That worked! Thanks Gordon!