Update.
[elisp/wanderlust.git] / WL-MK
diff --git a/WL-MK b/WL-MK
index 041780a..44d5b8d 100644 (file)
--- a/WL-MK
+++ b/WL-MK
@@ -91,7 +91,7 @@
     (setq load-path (cons (expand-file-name WLDIR)
                          (cons (expand-file-name ELMODIR) load-path)))
     (setq wl-icon-dir (expand-file-name ICONDIR))
-    ;; load custom file if exists.  `WL-CFG.el' override for commiter.
+    ;; load custom file if exists.  `WL-CFG.el' override for committer.
     (load "./WL-CFG" t nil nil)
     ;; load-path
     (if wl-install-utils
     (condition-case ()
        (require 'mime-setup)
       (error (error "No MIME module was detected. Please install SEMI or tm.")))
+    ;; smtp.el version check.
+    (require 'smtp)
+    (if (not (fboundp 'smtp-send-buffer))
+       (error "Please install FLIM 1.14.0 or later."))
     (princ (concat "\nMIME module is " (if wl-use-semi "SEMI" "tm-8") ".\n"))))
 
 (defun config-wl-pixmap-dir (&optional packagedir)
       (error "Cannot format info on Nemacs. Please use another formatter."))
   ;; INFODIR check.
   (require 'info)
+  (if (fboundp 'info-initialize)
+      (info-initialize))
   (let ((infodir (car command-line-args-left))
        (info (wl-primary-info-file))
        previous INFODIR)