diff options
author | dos-reis <gdr@axiomatics.org> | 2009-07-03 02:48:59 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2009-07-03 02:48:59 +0000 |
commit | 9cbc59b328898f7a0966be5ec1665409f6aa836f (patch) | |
tree | 04c8a44171f367c8df21487f6157fdf59b03bf7c /config | |
parent | f28f87186f166f68374a132ef89065adb6752bc8 (diff) | |
download | open-axiom-9cbc59b328898f7a0966be5ec1665409f6aa836f.tar.gz |
Support ECL-based build profiling.
* configure.ac.pamphlet: Support --enable-profiling.
* config/var-def.mk (oa_yesno_to_lisp_boolean): New.
(oa_enable_profiling): Likewise.
(oa_enable_lisp_profiling): Likewise.
src/
* lisp/Makefile.in (edit): Substitute for oa_enable_profiling.
* lisp/core.lisp.in ($EnableLispProfiling): New.
(compileLispFile): Use it.
Diffstat (limited to 'config')
-rw-r--r-- | config/var-def.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/var-def.mk b/config/var-def.mk index 73b95dd6..2356193d 100644 --- a/config/var-def.mk +++ b/config/var-def.mk @@ -202,6 +202,12 @@ LDF=@LDF@ -lm LISP=@LISP@ oa_c_runtime_extra = @LIBS@ @axiom_c_runtime_extra@ -lm +oa_yesno_to_lisp_boolean = $(subst yes,t,$(subst no,nil,$(1))) + +oa_enable_profiling = @oa_enable_profiling@ +oa_enable_lisp_profiling = \ + $(call oa_yesno_to_lisp_boolean,$(oa_enable_profiling)) + axiom_use_x = @axiom_use_x@ AXIOM_X11_CFLAGS = @X_CFLAGS@ AXIOM_X11_LDFLAGS = @X_LIBS@ @X_PRE_LIBS@ -lX11 @X_EXTRA_LIBS@ |