Commented out ref counting code for now. Updated Debian version.
[perl4caml.git] / Makefile.config
index 23a7aaf..319b32d 100644 (file)
@@ -1,5 +1,5 @@
 # perl4caml configuration -*- Makefile -*-
-# $Id: Makefile.config,v 1.13 2003-12-11 17:41:52 rich Exp $
+# $Id: Makefile.config,v 1.14 2004-02-03 12:38:57 rich Exp $
 
 # PERLINCDIR
 # Directory containing the Perl include files, eg. <EXTERN.h>.
@@ -14,8 +14,20 @@ OCAMLLIBDIR := $(shell ocamlc -where)
 
 # EXTRA_CFLAGS
 # You can specify extra flags to be passed to gcc here.
+#
+# One flag you might want to pass here is
+#
+#   -DPERL4CAML_REFCOUNTING_EXPERIMENTAL=1
+#
+# which will turn on experimental support for reference counting.
+# Without this none of the Perl structures that you allocate will get
+# freed.  With this we try to map Perl's reference counting onto
+# OCaml's garbage collection by using finalizers.  There are some
+# problems with this code at the moment, hence it is disabled by
+# default.
 
 EXTRA_CFLAGS :=
+#EXTRA_CFLAGS := -DPERL4CAML_REFCOUNTING_EXPERIMENTAL=1
 
 # PACKAGE and VERSION