X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=Makefile.config;h=180101bd834533e8a9e600e67de394fec9a155d9;hb=880dac50cbd209dd3aa0fd22d77cd66e655a8099;hp=ec3c5d7cded36ef0b632fc620aca4920019876c4;hpb=918648a5563d9ae8e4079fdf7d364387b02b1b34;p=perl4caml.git diff --git a/Makefile.config b/Makefile.config index ec3c5d7..180101b 100644 --- a/Makefile.config +++ b/Makefile.config @@ -1,5 +1,5 @@ # perl4caml configuration -*- Makefile -*- -# $Id: Makefile.config,v 1.7 2003-10-15 09:49:52 rich Exp $ +# $Id: Makefile.config,v 1.18 2004-11-25 21:32:28 rich Exp $ # PERLINCDIR # Directory containing the Perl include files, eg. . @@ -12,7 +12,24 @@ PERLINCDIR := $(shell perl -MConfig -e 'print "$$Config{archlib}/CORE"') 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.2 +VERSION := 0.3.14