Synched debian/ subdirectory with John Goerzen's arch repo.
[perl4caml.git] / Makefile.config
index f1f1119..c309a08 100644 (file)
@@ -1,5 +1,5 @@
 # perl4caml configuration -*- Makefile -*-
-# $Id: Makefile.config,v 1.4 2003-10-14 16:07:05 rich Exp $
+# $Id: Makefile.config,v 1.17 2004-11-22 17:40:55 rich Exp $
 
 # PERLINCDIR
 # Directory containing the Perl include files, eg. <EXTERN.h>.
@@ -7,11 +7,29 @@
 PERLINCDIR := $(shell perl -MConfig -e 'print "$$Config{archlib}/CORE"')
 
 # OCAMLLIBDIR
-# This is where we will install perl4caml.
+# This is where we will install perl4caml (actually in the /perl subdirectory
+# of this, so you will need to add '-I +perl' when compiling programs).
 
 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
 
 PACKAGE := perl4caml
-VERSION := 0.3.0
+VERSION := 0.3.12