;;; -*-Emacs-Lisp-*-
;;;
-;;; $Id: CANNA-CONFIG,v 1.1 1998-01-16 08:51:11 morioka Exp $
+;;; $Id: CANNA-CONFIG,v 1.3 1999-03-02 19:20:31 morioka Exp $
;;;
+(load "apel/path-util")
+(add-path "apel")
+
(defun config-canna ()
(let ((emacs (car command-line-args))
(srcdir (expand-file-name "src" source-directory))
))))
(or canna-libraries
(setq canna-libraries
- (let ((default-load-path '("/usr/local/lib"))
+ (let ((default-load-path '("/usr/local/lib" "/usr/lib"))
dir)
(require 'path-util)
(add-path (expand-file-name "lib" prefix))
(not (file-exists-p
(expand-file-name "libcanna.a" dir)))
)
- (setq default-load-path (cdr dir)))
+ (setq default-load-path (cdr default-load-path)))
dir)))
(princ (format "\
emacs=%s
(if (file-exists-p "Makefile")
(delete-file "Makefile")
)
+ (if (string-match "sparc-sun-solaris2" system-configuration)
+ (setq canna-libraries (concat canna-libraries " -R" canna-libraries))
+ )
(let ((buf (let (vc-follow-symlinks)
(find-file "Makefile.in")
)))