X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=Makefile.config;h=09b89f66f7d1cee11acb893ca6418350d3b4bdb4;hb=27962ddac19faf764cc7ff869bf31ff1265b3149;hp=180101bd834533e8a9e600e67de394fec9a155d9;hpb=5575ed1d8c00267716604b82392b184e6e983739;p=perl4caml.git diff --git a/Makefile.config b/Makefile.config index 180101b..09b89f6 100644 --- a/Makefile.config +++ b/Makefile.config @@ -1,5 +1,5 @@ # perl4caml configuration -*- Makefile -*- -# $Id: Makefile.config,v 1.18 2004-11-25 21:32:28 rich Exp $ +# $Id: Makefile.config,v 1.25 2005-03-31 13:46:31 rich Exp $ # PERLINCDIR # Directory containing the Perl include files, eg. . @@ -22,14 +22,24 @@ OCAMLLIBDIR := $(shell ocamlc -where) # 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. +# OCaml's garbage collection by using finalizers. Although the +# feature is marked "EXPERIMENTAL", I have fixed most of the bugs +# and it's now turned on by default. -EXTRA_CFLAGS := -#EXTRA_CFLAGS := -DPERL4CAML_REFCOUNTING_EXPERIMENTAL=1 +#EXTRA_CFLAGS := +EXTRA_CFLAGS := -DPERL4CAML_REFCOUNTING_EXPERIMENTAL=1 +#EXTRA_CFLAGS := -I/Users/rich/OCaml/lib/ocaml/std-lib +#EXTRA_CFLAGS := -g + +# DYNALOADER_HACK +# XXX Hack required by ocamlopt, and sometimes ocamlc. +# To work out what this should be, try: +# `perl -MExtUtils::Embed -e ldopts' + +DYNALOADER_HACK := /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a +#DYNALOADER_HACK := /System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/DynaLoader/DynaLoader.a # PACKAGE and VERSION PACKAGE := perl4caml -VERSION := 0.3.14 +VERSION := 0.9.3