r4681: Auto commit for Debian build
[kmrcl.git] / mop.lisp
index 995b368db06dd650d9a97b66ab85522cc9916057..b5a5ef1ef3dd30f2860cfe46fcba24dcc8e603c2 100644 (file)
--- a/mop.lisp
+++ b/mop.lisp
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Apr 2003
 ;;;;
-;;;; $Id: mop.lisp,v 1.2 2003/04/29 03:50:42 kevin Exp $
+;;;; $Id: mop.lisp,v 1.5 2003/04/29 05:02:21 kevin Exp $
 ;;;;
 ;;;; This file, part of KMRCL, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
    #+kmr-cmucl-mop #:mop
    #+allegro #:mop
    #+lispworks #:clos
-   #+scl #:clos)
-  (:export
-   #:class-of #:class-name #:class-slots #:find-class
-   #:standard-class
-   #:slot-definition-name #:finalize-inheritance
-   #:standard-direct-slot-definition
-   #:standard-effective-slot-definition #:validate-superclass
-   #:direct-slot-definition-class #:compute-effective-slot-definition
-   #:compute-effective-slot-definition-initargs
-   #:slot-value-using-class
-   #:class-prototype #:generic-function-method-class #:intern-eql-specializer
-   #:make-method-lambda #:generic-function-lambda-list
-   #:compute-slots)   
-   )
+   #+scl #:clos))
 
 (in-package #:kmr-mop)
 
      clos::class-prototype
      ;; note: make-method-lambda is not fbound
      )
-   '#:kmr-mop))
-
-
-#+sbcl
-(eval-when (:compile-toplevel :load-toplevel :execute)
+   '#:kmr-mop)
+  
+  (export '(#:class-of #:class-name #:class-slots #:find-class
+           #:standard-class
+           #:slot-definition-name #:finalize-inheritance
+           #:standard-direct-slot-definition
+           #:standard-effective-slot-definition #:validate-superclass
+           #:direct-slot-definition-class #:compute-effective-slot-definition
+           #:compute-effective-slot-definition-initargs
+           #:slot-value-using-class
+           #:class-prototype #:generic-function-method-class #:intern-eql-specializer
+           #:make-method-lambda #:generic-function-lambda-list
+           #:compute-slots))
+  
+  #+sbcl
   (if (find-package 'sb-mop)
       (setq cl:*features* (delete :kmr-sbcl-mop cl:*features*))
-      (setq cl:*features* (delete :kmr-sbcl-pcl cl:*features*))))
-
-#+cmu
-(eval-when (:compile-toplevel :load-toplevel :execute)
+      (setq cl:*features* (delete :kmr-sbcl-pcl cl:*features*)))
+  
+  #+cmu
   (if (find-package 'mop)
       (setq cl:*features* (delete :kmr-cmucl-mop cl:*features*))
-      (setq cl:*features* (delete :kmr-cmucl-pcl cl:*features*))))
-
-(eval-when (:compile-toplevel :load-toplevel :execute)
+      (setq cl:*features* (delete :kmr-cmucl-pcl cl:*features*)))
+  
   (when (>= (length (generic-function-lambda-list
                     (ensure-generic-function
                      'compute-effective-slot-definition)))
            3)
-    (pushnew :kmr-normal-cesd cl:*features*)))
-
-(eval-when (:compile-toplevel :load-toplevel :execute)
+    (pushnew :kmr-normal-cesd cl:*features*))
+  
   (when (>= (length (generic-function-lambda-list
-                   (ensure-generic-function
-                    'direct-slot-definition-class)))
+                    (ensure-generic-function
+                     'direct-slot-definition-class)))
            3)
-    (pushnew :kmr-normal-dsdc cl:*features*)))
+    (pushnew :kmr-normal-dsdc cl:*features*))
 
+  )  ;; eval-when