[elephant-cvs] CVS elephant/src/memutil

ieslick ieslick at common-lisp.net
Sat Nov 11 06:27:38 UTC 2006


Update of /project/elephant/cvsroot/elephant/src/memutil
In directory clnet:/tmp/cvs-serv5313/src/memutil

Modified Files:
	memutil.lisp 
Log Message:

Removed config.lisp and all Makefile related build options.  The build is
now entirely driven from the elephant.asd and ele-bdb.asd files with a 
simple user customization file, config.sexp, that should be copied to
my-config.sexp and customized to the user's environment.  Thanks to
pinterface for the initial patch supporting this approach.  Foreign
library loading is also controlled from the asd files now at system 
load time rather than at compile time.


--- /project/elephant/cvsroot/elephant/src/memutil/memutil.lisp	2006/11/10 01:48:49	1.10
+++ /project/elephant/cvsroot/elephant/src/memutil/memutil.lisp	2006/11/11 06:27:38	1.11
@@ -63,19 +63,6 @@
   (proclaim '(optimize (ext:inhibit-warnings 3))))
 
 (eval-when (:compile-toplevel :load-toplevel)
-  (defparameter *c-library-extension*
-    #+(or darwin macosx) "dylib"
-    #-(or darwin macosx) "so")
-
-  (unless
-      (uffi:load-foreign-library 
-       (merge-pathnames 
-	(make-pathname :name "libmemutil" :type *c-library-extension*)
-	(merge-pathnames "src/memutil/"
-			 (asdf:component-pathname (asdf:find-system 'elephant))))
-       :module "libmemutil")
-    (error "Couldn't load src/memutil/libmemutil.~A in!" *c-library-extension*))
-
   (def-type pointer-int (* :int))
   (def-type pointer-void :pointer-void)
   (def-foreign-type array-or-pointer-char




More information about the Elephant-cvs mailing list