+
+;; If the APEL modules have been installed under the directory
+;; "/usr/local/share/mule/site-lisp/apel/", the parent directory
+;; "/usr/local/share/mule/site-lisp/" should be included in the
+;; standard `load-path' or added by the configure option
+;; "--with-addpath=". And also the directory where the EMU modules
+;; have been installed (e.g. "/usr/local/share/mule/19.34/site-lisp/")
+;; should be included in the standard `load-path' or added by the
+;; configure option "--with-addpath=".
+(unless (featurep 'path-util)
+ (let ((path (locate-library "apel/path-util")))
+ (if path
+ (progn
+ (when (string-match "/$" (setq path (file-name-directory path)))
+ (setq path (substring path 0 (match-beginning 0))))
+ (unless (or (member path load-path)
+ (member (file-name-as-directory path) load-path))
+ (push path load-path))
+ (require 'path-util))
+ (error "
+APEL modules does not found in %s.
+Try to re-configure with --with-addpath=APEL_PATH and run make again.
+"
+ load-path))))
+(unless (locate-library "mel")
+ (add-path "flim"))