1 ;;; liece-config.el --- Installation settings.
2 ;; Copyright (C) 1999 Daiki Ueno
4 ;; Author: Daiki Ueno <ueno@unixuser.org>
7 ;; Keywords: IRC, liece, APEL
9 ;; This file is part of Liece.
11 ;; This program is free software; you can redistribute it and/or modify
12 ;; it under the terms of the GNU General Public License as published by
13 ;; the Free Software Foundation; either version 2, or (at your option)
16 ;; This program is distributed in the hope that it will be useful,
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 ;; GNU General Public License for more details.
21 ;; You should have received a copy of the GNU General Public License
22 ;; along with GNU Emacs; see the file COPYING. If not, write to the
23 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
24 ;; Boston, MA 02111-1307, USA.
32 (setq load-path (cons (expand-file-name "../apel") load-path))
34 (defvar default-load-path load-path)
36 (and (expand-file-name "../../site-lisp/apel" data-directory)
38 (expand-file-name "../../site-lisp/apel" data-directory)
41 (when (and (boundp 'LISPDIR) LISPDIR)
42 (or (member LISPDIR default-load-path)
43 (setq default-load-path (cons LISPDIR default-load-path)) )
44 (or (member LISPDIR load-path) (setq load-path (cons LISPDIR load-path)))
45 (or (member (expand-file-name "apel" LISPDIR) load-path)
46 (setq load-path (cons (expand-file-name "apel" LISPDIR) load-path))))
48 (setq load-path (cons (expand-file-name ".") load-path))
50 (defvar VERSION_SPECIFIC_LISPDIR nil)
51 (if (and VERSION_SPECIFIC_LISPDIR
52 (null (member VERSION_SPECIFIC_LISPDIR load-path)) )
53 (setq load-path (cons VERSION_SPECIFIC_LISPDIR load-path)) )
58 ;;; @ Please specify prefix of install directory.
61 ;; Please specify install path prefix.
62 ;; If it is omitted, shared directory (maybe /usr/local is used).
63 (defvar PREFIX install-prefix)
68 ;;; @ optional settings
71 (defvar VERSION_SPECIFIC_LISPDIR
72 (install-detect-elisp-directory PREFIX nil 'version-specific))
74 ;; It is generated by automatically. Please set variable `PREFIX'.
75 ;; If you don't like default directory tree, please set it.
76 (defvar LISPDIR (install-detect-elisp-directory PREFIX))
77 ;; (setq install-default-elisp-directory "~/lib/emacs/lisp")
80 (if (boundp 'early-packages)
81 (let ((dirs (append (if early-package-load-path
83 (if late-package-load-path
85 (if last-package-load-path
88 (while (and dirs (not (file-exists-p (setq dir (car dirs)))))
89 (setq dirs (cdr dirs)) )
92 (defconst liece-config-info-file-regexp
93 (concat "^liece-faq\\.info\\(-[0-9]+\\)?$"))
95 ;;; liece-config.el ends here