* configure: Regenerate.
* aclocal.m4 (AC_PATH_PACKAGEDIR): No need to quote a string for
`AC_MSG_RESULT'.
(AC_CHECK_W3): Ignore cache; no need to quote a string for `AC_MSG_RESULT'.
(AC_CHECK_EMACS_FLAVOR): Ignore cache.
(AC_CHECK_EMACS): Ignore cache.
(AC_DEFINE_GNUS_PRODUCT_NAME): Cache.
+2000-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * Mule23@1934.en, Mule23@1934.ja, sample.lpath.el: Upgrade.
+
+ * configure: Regenerate.
+ * aclocal.m4 (AC_PATH_PACKAGEDIR): No need to quote a string for
+ `AC_MSG_RESULT'.
+ (AC_CHECK_W3): Ignore cache; no need to quote a string for
+ `AC_MSG_RESULT'.
+ (AC_CHECK_EMACS_FLAVOR): Ignore cache.
+ (AC_CHECK_EMACS): Ignore cache.
+ (AC_DEFINE_GNUS_PRODUCT_NAME): Cache.
+
2000-11-09 Katsumi Yamaoka <yamaoka@jpl.org>
* configure: Regenerate.
How to build T-gnus with Mule 2.3 based on Emacs 19.34.
-FIX loaddefs.el
-===============
+FIXING loaddefs.el
+==================
Unfortunately, some variables for `message' are predefined in lisp/
loaddefs.el which is dumped in Mule executable file. It is uninvited,
moreover, it has a bad influence. So you should remove these
definitions from lisp/loaddefs.el and rebuild Mule. However, if you
-don't want to rebuild Mule, put the following lines in the beginning
-of .emacs file instead.
-
-(mapcar
- (lambda (symbol)
- (makunbound (intern (format "message-%s" symbol))))
- '(citation-line-function
- cite-function courtesy-message default-headers default-mail-headers
- default-news-headers deletable-headers fcc-handler-function
- followup-to-function from-style generate-headers-first generate-new-buffers
- ignored-bounced-headers ignored-cited-headers ignored-mail-headers
- ignored-news-headers ignored-resent-headers ignored-supersedes-headers
- included-forward-headers indent-citation-function interactive
- kill-buffer-on-exit post-method reply-to-function required-mail-headers
- required-news-headers send-mail-function send-news-function
- signature signature-before-forwarded-message signature-file
- signature-separator syntax-checks use-followup-to user-organization-file
- wide-reply-to-function yank-prefix))
+don't want to rebuild Mule, you may put the following lines in the
+beginning of .emacs file instead of rebuilding Mule.
+
+(let ((symbols '(citation-line-function
+ cite-function courtesy-message default-headers
+ default-mail-headers default-news-headers
+ deletable-headers fcc-handler-function
+ followup-to-function from-style
+ generate-headers-first generate-new-buffers
+ ignored-bounced-headers ignored-cited-headers
+ ignored-mail-headers ignored-news-headers
+ ignored-resent-headers ignored-supersedes-headers
+ included-forward-headers indent-citation-function
+ interactive kill-buffer-on-exit post-method
+ reply-to-function required-mail-headers
+ required-news-headers send-mail-function
+ send-news-function signature
+ signature-before-forwarded-message signature-file
+ signature-separator syntax-checks use-followup-to
+ user-organization-file wide-reply-to-function
+ yank-prefix))
+ symbol)
+ (while symbols
+ (setq symbol (car symbols)
+ symbols (cdr symbol))
+ (makunbound (intern (format "message-%s" symbol)))))
INSTALL CUSTOM, APEL, FLIM, SEMI/WEMI
INSTALL T-gnus
==============
-There are two ways of making T-gnus with Mule 2.3 based on Emacs 19.34.
+There are three ways of making T-gnus with Mule 2.3 based on Emacs 19.34.
- 1. Use the configure option `--with-addpath=' to specify the colon
- separated directory names where EMU, APEL or CUSTOM packages have
- already installed. For example:
+1. If you have installed EMU, APEL, FLIM and SEMI or WEMI packages
+ under the standard load-path, for instance:
- % configure --with-emacs=mule\
- --with-addpath=~/elisp/emu:~/elisp/apel:~elisp/custom
- % make install
+ EMU: /usr/local/share/mule/19.34/site-lisp/
+ APEL: /usr/local/share/mule/site-lisp/apel/
+ FLIM: /usr/local/share/mule/site-lisp/flim/
+ SEMI: /usr/local/share/mule/site-lisp/semi/
- 2. Copy `sample.lpath.el' to `~/.lpath.el' and modify it suitably for
- your environment. Then type as following:
+ What is more, if you have been replaced old CUSTOM with new CUSTOM
+ or if you have installed new CUSTOM directly under the standard
+ load-path as such as /usr/local/share/mule/19.34/site-lisp/, you
+ may have nothing to be done; type the following commands right now.
- % configure
- % make EMACS=mule
+ % ./configure --with-emacs=mule
+ % make install
- In this case, you shuold install manually.
+ However, if you have installed new CUSTOM in the subdirectory under
+ the standard load-path, use the configure option `--with-addpath='
+ as follows:
+
+ % ./configure --with-emacs=mule\
+ --with-addpath=/usr/local/share/mule/site-lisp/custom/
+ % make install
+
+ or you can use the file subdirs.el under the parent directory of
+ the subdirectory of CUSTOM to add it into load-path which contain
+ the following contents:
+
+ (normal-top-level-add-to-load-path
+ '("custom/" "and the other subdirectories.../"))
+
+ and then just type:
+
+ % ./configure --with-emacs=mule
+ % make install
+
+2. If you have installed EMU, APEL, FLIM and SEMI or WEMI packages in
+ the non-standard load-path, use the configure option
+ `--with-addpath=' with the colon separated directory names where
+ EMU, APEL or CUSTOM packages are installed. For example:
+
+ % ./configure --with-emacs=mule\
+ --with-addpath=~/elisp/emu/:~/elisp/apel/:~/elisp/custom/
+ % make install
+
+ In this case, you have no need to add paths of FLIM, SEMI or WEMI
+ if they are installed under the directory which is same as the
+ parent directory of APEL.
+
+3. This is another way to install T-gnus when you have installed EMU,
+ APEL, FLIM and SEMI or WEMI packages in the non-standard load-path.
+ Copy the file `sample.lpath.el' which is included in the
+ distribution to `~/.lpath.el' and modify it suitably for your
+ environment. And then type the following command.
+
+ % ./configure --with-emacs=mule
+ % make install
+
+
+USING Emacs W3
+==============
+
+;; By the way, it is the point, does anyone know where do we find
+;; Emacs W3 package fitting with Mule 2.3 based on Emacs 19.34? :-p
+
+Some modules of T-gnus (e.g. nnshimbun) requires Emacs W3. You can
+build T-gnus to be abel to use them, if you already have Emacs W3
+installed. For that, you should specify the path where Emacs W3 is
+installed using the configure option `--with-w3=' or editing the file
+`~/.lpath.el'. Here is an example for using the configure option:
+
+ % ./configure --with-emacs=mule\
+ --with-w3=/usr/local/share/mule/site-lisp/w3/
+ % make install
+
+Don't mind if configure says "W3... not found". It is currently
+malfunction when the configure option `--with-w3=' is not used even if
+the path of Emacs W3 is specified in the file `~/.lpath.el'.
Emacs 19.34 \e$B$r%Y!<%9$K$7$?\e(B Mule 2.3 \e$B$G\e(B T-gnus \e$B$r:n$kJ}K!!#\e(B
-FIX loaddefs.el
-===============
+FIXING loaddefs.el
+==================
\e$B;DG0$J$3$H$K$$$/$D$+$N\e(B `message' \e$B$G;H$&JQ?t$,\e(B lisp/loaddefs.el \e$B$GDj5A\e(B
\e$B$5$l$F$$$F\e(B Mule \e$B$N<B9T%U%!%$%k$KAH$_9~$^$l$F$7$^$C$F$$$^$9!#$3$l$OM>7W\e(B
\e$B$J$*@$OC$@$7!"$7$+$b0-1F6A$,$"$j$^$9!#$=$3$G$"$J$?$O$=$l$i$NDj5A$r\e(B
lisp/loaddefs.el \e$B$+$i:o=|$7$F!"\e(BMule \e$B$r:n$jD>$5$J$1$l$P$J$j$^$;$s!#\e(B
\e$B$7$+$7!"$b$7$"$J$?$,\e(B Mule \e$B$r:n$jD>$9$3$H$rK>$^$J$$$J$i$P!"\e(B.emacs \e$B%U%!\e(B
-\e$B%$%k$N@hF,$K0J2<$N3F9T$r=q$-9~$`$3$H$GBeMQ$9$k$3$H$,$G$-$^$9!#\e(B
-
-(mapcar
- (lambda (symbol)
- (makunbound (intern (format "message-%s" symbol))))
- '(citation-line-function
- cite-function courtesy-message default-headers default-mail-headers
- default-news-headers deletable-headers fcc-handler-function
- followup-to-function from-style generate-headers-first generate-new-buffers
- ignored-bounced-headers ignored-cited-headers ignored-mail-headers
- ignored-news-headers ignored-resent-headers ignored-supersedes-headers
- included-forward-headers indent-citation-function interactive
- kill-buffer-on-exit post-method reply-to-function required-mail-headers
- required-news-headers send-mail-function send-news-function
- signature signature-before-forwarded-message signature-file
- signature-separator syntax-checks use-followup-to user-organization-file
- wide-reply-to-function yank-prefix))
+\e$B%$%k$N@hF,$K0J2<$N3F9T$r=q$-9~$`$3$H$G!"\e(BMule \e$B$r:n$jD>$9Be$o$j$K$9$k$3\e(B
+\e$B$H$,$G$-$^$9!#\e(B
+
+(let ((symbols '(citation-line-function
+ cite-function courtesy-message default-headers
+ default-mail-headers default-news-headers
+ deletable-headers fcc-handler-function
+ followup-to-function from-style
+ generate-headers-first generate-new-buffers
+ ignored-bounced-headers ignored-cited-headers
+ ignored-mail-headers ignored-news-headers
+ ignored-resent-headers ignored-supersedes-headers
+ included-forward-headers indent-citation-function
+ interactive kill-buffer-on-exit post-method
+ reply-to-function required-mail-headers
+ required-news-headers send-mail-function
+ send-news-function signature
+ signature-before-forwarded-message signature-file
+ signature-separator syntax-checks use-followup-to
+ user-organization-file wide-reply-to-function
+ yank-prefix))
+ symbol)
+ (while symbols
+ (setq symbol (car symbols)
+ symbols (cdr symbol))
+ (makunbound (intern (format "message-%s" symbol)))))
INSTALL CUSTOM, APEL, FLIM, SEMI
INSTALL T-gnus
==============
-Mule 2.3 based on Emacs 19.34 \e$B$G\e(B gnus \e$B$r:n$k$K$OFs$D$NJ}K!$,$"$j$^$9!#\e(B
+Emacs 19.34 \e$B$r%Y!<%9$K$7$?\e(B Mule 2.3 \e$B$G\e(B gnus \e$B$r:n$k$K$O;0$D$NJ}K!$,$"$j\e(B
+\e$B$^$9!#\e(B
- 1. configure \e$B%*%W%7%g%s$N\e(B `--with-addpath=' \e$B$r;H$C$F\e(B EMU, APEL \e$B$*$h$S\e(B
- CUSTOM \e$B$N3F%Q%C%1!<%8$,%$%s%9%H!<%k$5$l$F$$$k>l=j$r;XDj$7$F2<$5$$!#\e(B
- \e$BNc$($P\e(B
+1. \e$B$b$7$"$J$?$,\e(B EMU, APEL, FLIM \e$B$*$h$S\e(B SEMI \e$B$^$?$O\e(B WEMI \e$B$N3F%Q%C%1!<\e(B
+ \e$B%8$rI8=`$N\e(B load-path \e$B$N2<$K%$%s%9%H!<%k$7$F$$$k$H$7$^$9!#Nc$($P$3$&!#\e(B
- % configure --with-emacs=mule\
- --with-addpath=~/elisp/emu:~/elisp/apel:~elisp/custom
- % make
+ EMU: /usr/local/share/mule/19.34/site-lisp/
+ APEL: /usr/local/share/mule/site-lisp/apel/
+ FLIM: /usr/local/share/mule/site-lisp/flim/
+ SEMI: /usr/local/share/mule/site-lisp/semi/
- 2. `sample.lpath.el' \e$B$r\e(B `~/.lpath.el' \e$B$K%3%T!<$7$F!"$"$J$?$N4D6-$K\e(B
- \e$B9g$&$h$&$K=q$-49$($F2<$5$$!#$=$7$F<!$N$h$&$K%?%$%W$7$F2<$5$$!#\e(B
+ \e$B$7$+$b!"$b$7$"$J$?$,8E$$\e(B CUSTOM \e$B$r?7$7$$\e(B CUSTOM \e$B$GCV$-49$($F$$$k$+!"\e(B
+ \e$B?7$7$$\e(B CUSTOM \e$B$r\e(B /usr/local/share/mule/19.34/site-lisp/ \e$B$N$h$&$JI8\e(B
+ \e$B=`$N\e(B load-path \e$B$ND>2<$K%$%s%9%H!<%k$7$F$$$k$J$i$P!"$"$J$?$O2?$b$9\e(B
+ \e$B$kI,MW$,$"$j$^$;$s!#:#$9$0$K0J2<$N%3%^%s%I$r%?%$%W$7$F2<$5$$!#\e(B
- % configure
- % make EMACS=mule
+ % ./configure --with-emacs=mule
+ % make install
- \e$B$3$N>l9g\e(B install \e$B$O<j:n6H$G9T$J$C$F2<$5$$!#\e(B
+ \e$B$7$+$7!"$b$7$"$J$?$,?7$7$$\e(B CUSTOM \e$B$rI8=`$N\e(B load-path \e$B$N2<$N%5%V%G%#\e(B
+ \e$B%l%/%H%j$K%$%s%9%H!<%k$7$F$"$k$J$i$P!"0J2<$N$h$&$K\e(B configure \e$B%*%W\e(B
+ \e$B%7%g%s$N\e(B `--with-addpath=' \e$B$r;H$&$+!"\e(B
+
+ % ./configure --with-emacs=mule\
+ --with-addpath=/usr/local/share/mule/site-lisp/custom/
+ % make install
+
+ \e$B$"$k$$$O$"$J$?$O0J2<$NFbMF$r4^$`!"\e(BCUSTOM \e$B%5%V%G%#%l%/%H%j$N?F%G%#\e(B
+ \e$B%l%/%H%j$N2<$N\e(B subdirs.el \e$B%U%!%$%k$r;H$&$3$H$,$G$-$^$9!#\e(B
+
+ (normal-top-level-add-to-load-path
+ '("custom/" "and the other subdirectories.../"))
+
+ \e$B$=$7$FC1$K\e(B
+
+ % ./configure --with-emacs=mule
+ % make install
+
+ \e$B$H%?%$%W$7$F2<$5$$!#\e(B
+
+2. \e$B$b$7$"$J$?$,\e(B EMU, APEL, FLIM \e$B$*$h$S\e(B SEMI \e$B$^$?$O\e(B WEMI \e$B$N3F%Q%C%1!<\e(B
+ \e$B%8$rI8=`$G$O$J$$\e(B load-path \e$B$K%$%s%9%H!<%k$7$F$$$k$J$i$P!"%3%m%s$G\e(B
+ \e$B6h@Z$i$l$?\e(B EMU, APEL \e$B$*$h$S\e(B CUSTOM \e$B$,%$%s%9%H!<%k$5$l$F$$$k%G%#%l\e(B
+ \e$B%/%H%jL>$H\e(B configure \e$B%*%W%7%g%s$N\e(B `--with-addpath=' \e$B$r;H$C$F2<$5$$!#\e(B
+ \e$BNc$($P\e(B
+
+ % ./configure --with-emacs=mule\
+ --with-addpath=~/elisp/emu/:~/elisp/apel/:~/elisp/custom/
+ % make
+
+ \e$B$3$N>l9g!"$b$7\e(B FLIM, SEMI \e$B$^$?$O\e(B WEMI \e$B$,\e(B APEL \e$B$N?F%G%#%l%/%H%j$HF1\e(B
+ \e$B$8%G%#%l%/%H%j$N2<$K%$%s%9%H!<%k$5$l$F$$$k$J$i$P!"$=$l$i$N\e(B path \e$B$r\e(B
+ \e$BDI2C$9$kI,MW$O$"$j$^$;$s!#\e(B
+
+3. \e$B$3$l$O!"\e(BEMU, APEL, FLIM \e$B$*$h$S\e(B SEMI \e$B$^$?$O\e(B WEMI \e$B$N3F%Q%C%1!<%8$rI8\e(B
+ \e$B=`$G$O$J$$\e(B load-path \e$B$K%$%s%9%H!<%k$7$F$$$k>l9g$N!"JL$NJ}K!$G$9!#\e(B
+ \e$BG[I[$K4^$^$l$F$$$k%U%!%$%k\e(B `sample.lpath.el' \e$B$r\e(B `~/.lpath.el' \e$B$K%3\e(B
+ \e$B%T!<$7$F!"$"$J$?$N4D6-$K9g$&$h$&$K=q$-49$($F2<$5$$!#$=$7$F<!$N%3%^\e(B
+ \e$B%s%I$r%?%$%W$7$F2<$5$$!#\e(B
+
+ % ./configure --with-emacs=mule
+ % make install
+
+USING Emacs W3
+==============
+
+;; \e$B$H$3$m$G!"4N?4$J$3$H$J$s$G$9$,!"C/$+\e(B Emacs 19.34 \e$B$r%Y!<%9$K$7$?\e(B
+;; Mule 2.3 \e$B$KE,9g$9$k\e(B Emacs W3 \e$B$,$I$3$K$"$k$+CN$j$^$;$s$+\e(B? :-p
+
+\e$B$$$/$D$+$N\e(B T-gnus \e$B$N%b%8%e!<%k\e(B (\e$BNc$($P\e(B nnshimbun) \e$B$O\e(B Emacs W3 \e$B$rI,MW$H\e(B
+\e$B$7$^$9!#$b$7$"$J$?$,$9$G$K\e(B Emacs W3 \e$B$r%$%s%9%H!<%k$7$F$"$k$N$J$i$P!"$"\e(B
+\e$B$J$?$O$=$l$i$r;H$($k$h$&$K\e(B T-gnus \e$B$r:n$k$3$H$,$G$-$^$9!#$=$N$?$a$K$O!"\e(B
+configure \e$B%*%W%7%g%s$N\e(B `--with-w3=' \e$B$r;H$&$+\e(B `~/.lpath.el' \e$B%U%!%$%k$r\e(B
+\e$BJT=8$7$F!"\e(BEmacs W3 \e$B$,%$%s%9%H!<%k$5$l$F$$$k\e(B path \e$B$r;XDj$7$J$1$l$P$J$j\e(B
+\e$B$^$;$s!#0J2<$O\e(B configure \e$B%*%W%7%g%s$r;H$&Nc$G$9!#\e(B
+
+ % ./configure --with-emacs=mule\
+ --with-w3=/usr/local/share/mule/site-lisp/w3/
+ % make install
+
+\e$B$b$7\e(B configure \e$B$,!V\e(BW3... not found\e$B!W$H8@$C$F$b5$$K$7$J$$$G2<$5$$!#$?$H\e(B
+\e$B$(\e(B `~/.lpath.el' \e$B%U%!%$%k$G\e(B Emacs W3 \e$B$N\e(B path \e$B$,;XDj$5$l$F$$$F$b!"\e(B
+configure \e$B%*%W%7%g%s$N\e(B `--with-w3=' \e$B$r;H$o$J$$$H!"8=:_$=$l$O@5>o$KF/$-\e(B
+\e$B$^$;$s$N$G!#\e(B
AC_DEFUN(AC_DEFINE_GNUS_PRODUCT_NAME,
- [dnl Defining gnus product name.
- GNUS_PRODUCT_NAME=$1
+ [echo $ac_n "defining gnus product name... $ac_c"
+ AC_CACHE_VAL(EMACS_cv_GNUS_PRODUCT_NAME,[EMACS_cv_GNUS_PRODUCT_NAME=$1])
+ GNUS_PRODUCT_NAME=${EMACS_cv_GNUS_PRODUCT_NAME}
+ AC_MSG_RESULT(${GNUS_PRODUCT_NAME})
AC_SUBST(GNUS_PRODUCT_NAME)])
AC_DEFUN(AC_CHECK_EMACS,
dnl environment variable to 't'. Lets undo the damage.
test x$EMACS = xt && EMACS=
+ dnl Ignore cache.
+ unset ac_cv_prog_EMACS; unset ac_cv_prog_XEMACS;
+
AC_ARG_WITH(emacs,
[ --with-emacs=EMACS compile with EMACS [EMACS=emacs, mule...]],
[if test x$withval = xyes -o x$withval = x; then
AC_DEFUN(AC_CHECK_EMACS_FLAVOR,
[AC_MSG_CHECKING([what a flavor does $EMACS have])
+
+ dnl Ignore cache.
+ unset EMACS_cv_SYS_flavor;
+
AC_EMACS_LISP(flavor,
(cond ((featurep (quote xemacs)) \"XEmacs\")\
((boundp (quote MULE)) \"MULE\")\
dnl
AC_DEFUN(AC_CHECK_W3, [
AC_MSG_CHECKING(for acceptable W3 version)
+
+dnl Ignore cache.
+unset EMACS_cv_ACCEPTABLE_W3;
+unset EMACS_cv_SYS_w3_dir;
+unset EMACS_cv_SYS_w3_forms;
+
AC_CACHE_VAL(EMACS_cv_ACCEPTABLE_W3,[
AC_EMACS_CHECK_LIB(w3_forms, w3-form-encode-xwfu,"noecho")
if test "${HAVE_w3_forms}" = "yes"; then
W3=${EMACS_cv_ACCEPTABLE_W3}
AC_SUBST(W3)
if test "x${EMACS_cv_ACCEPTABLE_W3}" = "x"; then
- AC_MSG_RESULT("not found")
+ AC_MSG_RESULT(not found)
else
- AC_MSG_RESULT("${W3}")
+ AC_MSG_RESULT(${W3})
fi
])
fi],
AC_EXAMINE_PACKAGEDIR)
if test x$PACKAGEDIR = x; then
- AC_MSG_RESULT("not found")
+ AC_MSG_RESULT(not found)
else
AC_MSG_RESULT($PACKAGEDIR)
fi
fi
- GNUS_PRODUCT_NAME=t-gnus
+echo $ac_n "defining gnus product name... $ac_c"
+ if eval "test \"\${EMACS_cv_GNUS_PRODUCT_NAME+set}\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ EMACS_cv_GNUS_PRODUCT_NAME=t-gnus
+fi
+
+ GNUS_PRODUCT_NAME=${EMACS_cv_GNUS_PRODUCT_NAME}
+ echo "$ac_t""${GNUS_PRODUCT_NAME}" 1>&6
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
-echo "configure:542: checking whether ${MAKE-make} sets \${MAKE}" >&5
+echo "configure:550: checking whether ${MAKE-make} sets \${MAKE}" >&5
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
-echo "configure:599: checking for a BSD compatible install" >&5
+echo "configure:607: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
if eval "test \"\${ac_cv_path_install+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# Extract the first word of "makeinfo", so it can be a program name with args.
set dummy makeinfo; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:658: checking for $ac_word" >&5
+echo "configure:666: checking for $ac_word" >&5
if eval "test \"\${ac_cv_prog_MAKEINFO+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
test x$EMACS = xt && EMACS=
+ unset ac_cv_prog_EMACS; unset ac_cv_prog_XEMACS;
+
# Check whether --with-emacs or --without-emacs was given.
if test "${with_emacs+set}" = set; then
withval="$with_emacs"
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:697: checking for $ac_word" >&5
+echo "configure:707: checking for $ac_word" >&5
if eval "test \"\${ac_cv_prog_EMACS+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "$withval", so it can be a program name with args.
set dummy $withval; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:731: checking for $ac_word" >&5
+echo "configure:741: checking for $ac_word" >&5
if eval "test \"\${ac_cv_prog_EMACS+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "xemacs", so it can be a program name with args.
set dummy xemacs; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:768: checking for $ac_word" >&5
+echo "configure:778: checking for $ac_word" >&5
if eval "test \"\${ac_cv_prog_XEMACS+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "$withval", so it can be a program name with args.
set dummy $withval; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:799: checking for $ac_word" >&5
+echo "configure:809: checking for $ac_word" >&5
if eval "test \"\${ac_cv_prog_XEMACS+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:836: checking for $ac_word" >&5
+echo "configure:846: checking for $ac_word" >&5
if eval "test \"\${ac_cv_prog_EMACS+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
echo $ac_n "checking what a flavor does $EMACS have""... $ac_c" 1>&6
-echo "configure:872: checking what a flavor does $EMACS have" >&5
+echo "configure:882: checking what a flavor does $EMACS have" >&5
+
+ unset EMACS_cv_SYS_flavor;
+
elisp="(cond ((featurep (quote xemacs)) \"XEmacs\")\
((boundp (quote MULE)) \"MULE\")\
(t \"FSF Emacs\"))"
if test -z ""noecho""; then
echo $ac_n "checking for flavor""... $ac_c" 1>&6
-echo "configure:879: checking for flavor" >&5
+echo "configure:892: checking for flavor" >&5
fi
if eval "test \"\${EMACS_cv_SYS_flavor+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo "$ac_t""$EMACS_cv_SYS_flavor" 1>&6
if test "$prefix" = "NONE"; then
echo $ac_n "checking prefix for your Emacs""... $ac_c" 1>&6
-echo "configure:911: checking prefix for your Emacs" >&5
+echo "configure:924: checking prefix for your Emacs" >&5
elisp="(expand-file-name \"..\" invocation-directory)"
if test -z ""noecho""; then
echo $ac_n "checking for prefix""... $ac_c" 1>&6
-echo "configure:916: checking for prefix" >&5
+echo "configure:929: checking for prefix" >&5
fi
if eval "test \"\${EMACS_cv_SYS_prefix+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
fi
echo $ac_n "checking where lisp files should go""... $ac_c" 1>&6
-echo "configure:947: checking where lisp files should go" >&5
+echo "configure:960: checking where lisp files should go" >&5
if test -z "$lispdir"; then
theprefix=$prefix
if test "x$theprefix" = "xNONE"; then
echo $ac_n "checking for acceptable W3 version""... $ac_c" 1>&6
-echo "configure:972: checking for acceptable W3 version" >&5
+echo "configure:985: checking for acceptable W3 version" >&5
+
+unset EMACS_cv_ACCEPTABLE_W3;
+unset EMACS_cv_SYS_w3_dir;
+unset EMACS_cv_SYS_w3_forms;
+
if eval "test \"\${EMACS_cv_ACCEPTABLE_W3+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test -z ""noecho""; then
echo $ac_n "checking for w3-form-encode-xwfu in w3_forms""... $ac_c" 1>&6
-echo "configure:980: checking for w3-form-encode-xwfu in w3_forms" >&5
+echo "configure:998: checking for w3-form-encode-xwfu in w3_forms" >&5
fi
library=`echo w3_forms | tr _ -`
elisp="(progn (fmakunbound (quote w3-form-encode-xwfu)) (condition-case nil (progn (require (quote $library)) (fboundp (quote w3-form-encode-xwfu))) (error (prog1 nil (message \"$library not found\")))))"
if test -z ""noecho""; then
echo $ac_n "checking for w3_forms""... $ac_c" 1>&6
-echo "configure:987: checking for w3_forms" >&5
+echo "configure:1005: checking for w3_forms" >&5
fi
if eval "test \"\${EMACS_cv_SYS_w3_forms+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
elisp="(file-name-directory (locate-library \"w3-forms\"))"
if test -z ""noecho""; then
echo $ac_n "checking for w3_dir""... $ac_c" 1>&6
-echo "configure:1031: checking for w3_dir" >&5
+echo "configure:1049: checking for w3_dir" >&5
fi
if eval "test \"\${EMACS_cv_SYS_w3_dir+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
W3=${EMACS_cv_ACCEPTABLE_W3}
if test "x${EMACS_cv_ACCEPTABLE_W3}" = "x"; then
- echo "$ac_t"""not found"" 1>&6
+ echo "$ac_t""not found" 1>&6
else
- echo "$ac_t"""${W3}"" 1>&6
+ echo "$ac_t""${W3}" 1>&6
fi
if test ${EMACS_FLAVOR} = xemacs; then
echo $ac_n "checking where the XEmacs package is""... $ac_c" 1>&6
-echo "configure:1073: checking where the XEmacs package is" >&5
+echo "configure:1091: checking where the XEmacs package is" >&5
# Check whether --with-packagedir or --without-packagedir was given.
if test "${with_packagedir+set}" = set; then
withval="$with_packagedir"
(or package-dir \"\"))"
if test -z ""noecho""; then
echo $ac_n "checking for PACKAGEDIR""... $ac_c" 1>&6
-echo "configure:1096: checking for PACKAGEDIR" >&5
+echo "configure:1114: checking for PACKAGEDIR" >&5
fi
if eval "test \"\${EMACS_cv_SYS_PACKAGEDIR+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
(or package-dir \"\"))"
if test -z ""noecho""; then
echo $ac_n "checking for PACKAGEDIR""... $ac_c" 1>&6
-echo "configure:1135: checking for PACKAGEDIR" >&5
+echo "configure:1153: checking for PACKAGEDIR" >&5
fi
if eval "test \"\${EMACS_cv_SYS_PACKAGEDIR+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
fi
if test x$PACKAGEDIR = x; then
- echo "$ac_t"""not found"" 1>&6
+ echo "$ac_t""not found" 1>&6
else
echo "$ac_t""$PACKAGEDIR" 1>&6
fi
withval="$with_addpath"
if test x$withval != xyes -a x$withval != x; then
echo $ac_n "checking where to find the additional elisp libraries""... $ac_c" 1>&6
-echo "configure:1172: checking where to find the additional elisp libraries" >&5
+echo "configure:1190: checking where to find the additional elisp libraries" >&5
ADDITIONAL_LOAD_PATH=$withval
echo "$ac_t""$ADDITIONAL_LOAD_PATH" 1>&6
fi
;; is supposed to be used for telling old Emacsen where EMU, APEL or
;; CUSTOM packages have already installed.
;;
-;; For instance, if you would like to make gnus with Mule 2.3 based on
-;; Emacs 19.34, copy this file to `~/.lpath.el' and modify it suitably
+;; For instance, if you would like to build T-gnus with Mule 2.3 based
+;; on Emacs 19.34, copy this file to `~/.lpath.el' and edit it suitably
;; for your environment.
-(when (boundp 'MULE)
- (let ((EMU
- ;; Where is EMU packege?
- "/usr/local/share/mule/19.34/site-lisp"
- )
- (APEL
- ;; Where is APEL package?
- "/usr/local/share/mule/site-lisp/apel"
- )
- (CUSTOM
- ;; Where is CUSTOM package?
- "/usr/local/share/mule/site-lisp/custom"
- ))
- ;; No user servicable parts beyond this point.
+(if (boundp 'MULE)
+ (let ((additional-load-path
+ (list
+ ;; Where is EMU packege?
+ "/usr/local/share/mule/19.34/site-lisp/"
+ ;; Where is APEL package?
+ "/usr/local/share/mule/site-lisp/apel/"
+ ;; Where is CUSTOM package?
+ "/usr/local/share/mule/site-lisp/custom/"
+
+ ;; Note that you have no need to specify paths of FLIM, SEMI
+ ;; or WEMI if they are installed under the directory which is
+ ;; same as the parent directory of APEL.
+
+ ;; If you have installed Emacs W3 package,
+ ;; uncomment and edit the following line appropriately.
+ ;; "/usr/local/share/mule/site-lisp/w3/"
+ )))
+ ;; No user servicable parts beyond this point.
\f
- (when (string-match "/apel/?$" APEL)
- (setq APEL (substring APEL 0 (match-beginning 0))))
- (setq load-path (nconc (list EMU APEL CUSTOM) load-path))))
+ (let ((i (length additional-load-path))
+ p)
+ (while (> i 0)
+ (setq i (1- i)
+ p (nth i additional-load-path))
+ (if (file-directory-p p)
+ (progn
+ (if (string-match "/apel/?$" p)
+ (setq load-path
+ (cons (substring p 0 (1+ (match-beginning 0)))
+ load-path)))
+ (setq load-path (cons p load-path))))))))