r11440: + * clsql.asd: Also check ~/.clsql-init.lisp at load-time (usually...
authorKevin M. Rosenberg <kevin@rosenberg.net>
Wed, 3 Jan 2007 09:20:18 +0000 (09:20 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Wed, 3 Jan 2007 09:20:18 +0000 (09:20 +0000)
+       push search libraries

ChangeLog
clsql.asd

index c43f423..1d9bcbc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 31 Dec 2006  Kevin Rosenberg <kevin@rosenberg.net>
        * sql/metaclasses.lisp: Remove usused saved-initargs
+       * clsql.asd: Also check ~/.clsql-init.lisp at load-time (usually used to
+       push search libraries)
        
 30 Dec 2006  Kevin Rosenberg <kevin@rosenberg.net>
        * Version 3.8.0: BACKWARD INCOMPATABLE CHANGE!
index 26ee04f..0d564b6 100644 (file)
--- a/clsql.asd
+++ b/clsql.asd
@@ -99,6 +99,9 @@ oriented interface."
 (defmethod perform :after ((o load-op) (c (eql (find-system 'clsql))))
   (let* ((init-var (uffi:getenv "CLSQLINIT"))
          (init-file (or (when init-var (probe-file init-var))
+                        (merge-pathnames
+                         (make-pathname :name ".clsql-init" :type "lisp")
+                         (user-homedir-pathname))
                         (probe-file "/etc/clsql-init.lisp")
                         #+(or mswin windows win32)
                         (probe-file "c:\\etc\\clsql-init.lisp"))))