Fix to work against OCaml 3.08.3.
[ocaml-ancient.git] / Makefile.config
index 7940423..4188bfb 100644 (file)
@@ -1,5 +1,8 @@
 # Mark objects as 'ancient' so they are taken out of the OCaml heap.
-# $Id: Makefile.config,v 1.7 2006-10-13 15:12:41 rich Exp $
+# $Id: Makefile.config,v 1.8 2006-10-31 14:39:50 rich Exp $
 
 PACKAGE := ancient
 VERSION := 0.8.0
+
+OCAML_VERSION_MAJOR := $(shell ocaml ocaml_version.ml major)
+OCAML_VERSION_MINOR := $(shell ocaml ocaml_version.ml minor)