;;; -*-Emacs-Lisp-*-
-;;;
-;;; $Id: SEMI-CFG,v 0.6 1997-05-13 14:06:32 morioka Exp $
-;;;
+
+;; SEMI-CFG: installation setting about WEMI.
+
+;;; Code:
(defvar default-load-path load-path)
-;; (setq load-path (append
-;; (mapcar (function
-;; (lambda (path)
-;; (expand-file-name path default-directory)
-;; ))
-;; '("." "../emu" "../apel" "../bitmap-mule"
-;; "../mu" "../mel")
-;; )
-;; load-path))
-
-(if (boundp 'LISPDIR)
- (progn
- (add-to-list 'default-load-path LISPDIR)
- (add-to-list 'load-path LISPDIR)
- (add-to-list 'load-path (expand-file-name "apel" LISPDIR))
- )
- (add-to-list 'load-path
- (expand-file-name "../../site-lisp/apel" data-directory))
+
+(add-to-list 'load-path
+ (expand-file-name "../../site-lisp/apel" data-directory))
+(add-to-list 'load-path
+ (expand-file-name "." data-directory))
+
+(when (boundp 'LISPDIR)
+ (add-to-list 'default-load-path LISPDIR)
+ (add-to-list 'load-path LISPDIR)
+ (add-to-list 'load-path (expand-file-name "apel" LISPDIR))
)
-(require 'install)
+(condition-case nil
+ (require 'install)
+ (error (error "Please install APEL 8.7 or later.")))
(require 'cl)
(add-path "bitmap-mule")
-(add-path "mel")
+(add-path "flim")
(add-to-list 'load-path (expand-file-name "."))
+(or (module-installed-p 'calist)
+ (error "Please install APEL 8.7 or later."))
+(or (module-installed-p 'mel)
+ (error "Please install FLIM."))
+(if (module-installed-p 'tm-view)
+ (error "Please remove tm from load-path."))
+
;;; @ Please specify optional package directory if you use them.
;;;