X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/clg/blobdiff_plain/6d0c1491fd35bbf2d9f405d0708d3cbc51fb1d16..c448f578a87d660840867b010e997377d3691b01:/tools/clg-tools.asd diff --git a/tools/clg-tools.asd b/tools/clg-tools.asd index d678333..21c2e0c 100644 --- a/tools/clg-tools.asd +++ b/tools/clg-tools.asd @@ -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")) + (:file "autoexport" :depends-on ("asdf-extensions")))) + + +;; For backward compatibility +(setf + (logical-pathname-translations "clg") + `(("**;*.*.*" ,(make-pathname :directory (append (butlast (pathname-directory (asdf:component-pathname (asdf:find-system :clg-tools)))) (list :wild-inferiors))))))