aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog4
-rw-r--r--src/lisp/core.lisp.in4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 1f3b28ef..c59290c8 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2011-04-11 Gabriel Dos Reis <gdr@cs.tamu.edu>
+
+ * lisp/core.lisp.in: Include SB-SPROF when profiling SBCL-based build.
+
2011-04-10 Gabriel Dos Reis <gdr@cs.tamu.edu>
* lisp/core.lisp.in (compileLispFile): Tell ECL that the linker is
diff --git a/src/lisp/core.lisp.in b/src/lisp/core.lisp.in
index f746c4c1..0493d884 100644
--- a/src/lisp/core.lisp.in
+++ b/src/lisp/core.lisp.in
@@ -151,6 +151,10 @@
;; Enablig profiling of generated Lisp codes.
(defconstant |$EnableLispProfiling| @oa_enable_profiling@)
+(eval-when (:compile-toplevel :load-toplevel :execute)
+ (when |$EnableLispProfiling|
+ (progn #+sbcl (require :sb-sprof))))
+
;; Return true if the full OpenAxiom algebra system is completed
;; built.
(defun |%algebraSystemIsComplete| nil