Added description about wl-folder-use-frame and wl-summary-use-frame.
[elisp/wanderlust.git] / WL-ELS
1 ;;; WL-ELS  -*-Emacs-Lisp-*-
2
3 ;;;;;;;;;;;;;;;;;;;;;   DO NOT EDIT THIS FILE   ;;;;;;;;;;;;;;;;;;;;;
4 ;;;;;;;;;;;;;;;;;;;;;     INTERNAL USE ONLY     ;;;;;;;;;;;;;;;;;;;;;
5
6
7 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
8 ;;; generic modules
9 (defconst WL-MODULES '(
10    wl wl-folder wl-summary wl-message
11    wl-vars wl-draft wl-util wl-version wl-address
12    wl-highlight wl-demo wl-refile wl-thread
13    wl-fldmgr wl-expire wl-template wl-score
14    ))
15
16 (defconst ELMO-MODULES '(
17    elmo-util elmo-version elmo-net elmo-imap4 elmo-nntp elmo-archive
18    elmo-localdir elmo-msgdb elmo-vars elmo2
19    elmo-cache elmo-multi elmo-filter elmo-pipe
20    elmo-dop elmo-pop3 elmo-localnews elmo-maildir
21    elmo-date elmo-internal utf7 pldap
22    ))
23
24 \f
25 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
26 ;;; Emacsen
27 ;; (< 20 emacs-major-version) && !(featurep 'mule)
28 (cond
29  ((featurep 'xemacs)
30   (setq WL-MODULES (append WL-MODULES (list 'wl-dnd 'wl-xmas)))
31   (setq ELMO-MODULES (append (list 'elmo-database) ELMO-MODULES)))
32  ((fboundp 'nemacs-version)
33   (setq WL-MODULES (append WL-MODULES (list 'wl-nemacs))))
34  ((and (boundp 'emacs-major-version) (>= emacs-major-version 21))
35   (setq WL-MODULES (append WL-MODULES (list 'wl-e21))))
36  ((featurep 'mule)
37   (setq WL-MODULES (append WL-MODULES (list 'wl-mule)))))
38
39 (defconst WL-AUTOLOAD-MODULES '(
40    auto-autoloads custom-load
41    ))
42
43 (if (or (fboundp 'dynamic-link)
44         ;; static
45         (fboundp 'open-database))
46     (add-to-list 'ELMO-MODULES 'elmo-database))
47
48 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
49 ;;; tm-8 / SEMI
50
51 (if (module-installed-p 'mime-view)
52     (progn
53       (defconst wl-use-semi t)
54       (setq WL-MODULES (append WL-MODULES (list 'wl-mime)))
55       (setq ELMO-MODULES (append ELMO-MODULES (list 'mmelmo 'mmelmo-imap4))))
56   (defconst wl-use-semi nil)
57   (setq WL-MODULES (append WL-MODULES (list 'tm-wl))))
58
59 (if (not (module-installed-p 'luna))
60     (if wl-use-semi
61         (error "Use FLIM-1.13.2 or later and SEMI 1.13.7 or later.")
62       (if (module-installed-p 'product)
63           (error "Use tm-8.x with APEL 10.2 or later.")
64         ;; tm but luna is not installed (tm7?)
65         (error "Use tm-8.x."))))
66
67 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
68 ;;; Utils
69 (defvar UTILS-MODULES '(rfc2368 wl-mailto))
70
71 ;; OpenSSL/SSLeay package is also needed.
72 (if (module-installed-p 'base64)
73     (add-to-list 'UTILS-MODULES 'ssl))
74
75 (defvar modules-alist
76   (list
77    (cons ELMODIR ELMO-MODULES)
78    (cons WLDIR WL-MODULES)
79    (if (module-installed-p 'bbdb)
80        (cons UTILSDIR (list 'bbdb-wl)))
81    (if (exec-installed-p "imput")
82        (cons UTILSDIR (list 'im-wl)))
83    (if wl-install-utils
84        (cons UTILSDIR UTILS-MODULES))))