Add recommended targets to debian/rules
[kmrcl.git] / impl.lisp
index 52193ab12880360d0e638fa16c7b266c2327b7f6..7135eb0e4ea1005b97aa420de3bf743bfe4574c6 100644 (file)
--- a/impl.lisp
+++ b/impl.lisp
@@ -7,8 +7,6 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Sep 2003
 ;;;;
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Sep 2003
 ;;;;
-;;;; $Id$
-;;;;
 ;;;; This file, part of KMRCL, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
 ;;;; KMRCL users are granted the rights to distribute and use this software
 ;;;; This file, part of KMRCL, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
 ;;;; KMRCL users are granted the rights to distribute and use this software
                            path)
           #+lispworks (when (lw:file-directory-p path)
                         path)
                            path)
           #+lispworks (when (lw:file-directory-p path)
                         path)
-          #+sbcl (when (eq :directory
-                           (sb-unix:unix-file-kind (namestring path)))
-                   path)
+          #+sbcl
+          (let ((file-kind-fun
+                 (or (find-symbol "NATIVE-FILE-KIND" :sb-impl)
+                     (find-symbol "UNIX-FILE-KIND" :sb-unix))))
+            (when (eq :directory (funcall file-kind-fun (namestring path)))
+              path))
           #-(or allegro clisp cmu lispworks sbcl scl)
           (probe-file path)))
     (if probe
           #-(or allegro clisp cmu lispworks sbcl scl)
           (probe-file path)))
     (if probe