-(unless (ignore-errors (find-class 'clsql-cl-source-file))
- (defclass clsql-cl-source-file (cl-source-file) ())
- (defmethod source-file-type ((c clsql-cl-source-file) (s module))
- "cl"))
+(defconstant +clsql-logical-host+
+ #+common-lisp-controller "cl-library"
+ #-common-lisp-controller "clsql"
+ "Logical hostname for loading system")
+
+(defmethod source-file-type ((c cl-source-file)
+ (s (eql (find-system 'clsql-base))))
+ "cl")