chiark / gitweb /
Fix compilation for Gtk with the new, stricter inheritance
[clg] / tools / clg-tools.asd
index d678333d9ae0516e67bb3657a7c995d6a829362d..cf6fb2e81efb61e1d49f5cfda306600f667d5c5c 100644 (file)
@@ -7,12 +7,19 @@
 (in-package #:clg-tools)
 
 #+clisp
-(unless custom:*ansi*
-  (error "CLISP must be started with the -ansi option"))
+(unless custom:*parse-namestring-ansi*
+  (error "Standard behaviour of PARSE-NAMESTRING must be enabled by setting CUSTOM:*PARSE-NAMESTRING-ANSI* to non-NIL or running clisp with the -ansi option"))
 
 (defsystem clg-tools
-    :components ((:file "autoexport")
-                (:file "utils")
-                (:file "config" :depends-on ("utils"))
-                (:file "asdf-extensions" :depends-on ("utils"))))
+  :depends-on (#+sbcl sb-posix)
+  :components ((:file "utils")
+              (:file "config" :depends-on ("utils"))
+              (:file "asdf-extensions" :depends-on ("utils" "config"))
+              (:file "autoexport" :depends-on ("asdf-extensions"))))
 
+
+
+;; For backward compatibility
+(let ((dir (asdf:component-pathname (asdf:find-system :clg-tools))))
+  (setf (logical-pathname-translations "clg")
+   `(("**;*.*.*" ,(make-pathname :directory (append (butlast (pathname-directory dir)) (list :wild-inferiors)) #+win32 :defaults #+win32 dir)))))