[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mhc:01412] cmail support



わたなべです。

--with-cmailがどうもうまくいってないようだったのでそのパッチです。
#とりあえずOPTに関するwarningは無視。

Index: emacs/MHC-MK
===================================================================
RCS file: /cvsroot/mhc/emacs/MHC-MK,v
retrieving revision 1.10
diff -u -1 -r1.10 MHC-MK
--- emacs/MHC-MK	2000/12/15 02:30:59	1.10
+++ emacs/MHC-MK	2001/08/03 03:29:55
@@ -43,2 +43,5 @@
 ;;        use MHC with Gnus.
+;;
+;;    --with-cmail
+;;        use MHC with Cmail.
 
@@ -81,2 +84,3 @@
     ("mhc-gnus"     . (and (locate-library "gnus") make-mhc/with-gnus))
+    ("mhc-cmail"    . (and (locate-library "cmail") make-mhc/with-cmail))
     ("mhc-mime"     . (or (and (locate-library "gnus") make-mhc/with-gnus)
@@ -133,2 +137,3 @@
 (defvar make-mhc/with-gnus nil)
+(defvar make-mhc/with-cmail nil)
 (defvar make-mhc/debug nil)
@@ -167,2 +172,4 @@
 	    (setq make-mhc/with-gnus t))
+	   ((string-equal "--with-cmail" str)
+	    (setq make-mhc/with-cmail t))
 	   ((string-match "^--with-addpath=" str)
Index: emacs/make.rb.in
===================================================================
RCS file: /cvsroot/mhc/emacs/make.rb.in,v
retrieving revision 1.1
diff -u -1 -r1.1 make.rb.in
--- emacs/make.rb.in	2000/08/05 19:45:15	1.1
+++ emacs/make.rb.in	2001/08/03 03:29:55
@@ -9,6 +9,6 @@
 OPT += '--with-addpath=@@MHC_EMACS_ADD_PATH@@' if '@@MHC_EMACS_ADD_PATH@@' != ''
-OPT += '--with-mew=@@MHC_WITH_MEW@@' if '@@MHC_WITH_MEW@@' != ''
-OPT += '--with-wl=@@MHC_WITH_WL@@' if '@@MHC_WITH_WL@@' != ''
-OPT += '--with-gnus=@@MHC_WITH_GNUS@@' if '@@MHC_WITH_GNUS@@' != ''
-OPT += '--with-gnus=@@MHC_WITH_CMAIL@@' if '@@MHC_WITH_CMAIL@@' != ''
+OPT += '--with-mew' if '@@MHC_WITH_MEW@@' != ''
+OPT += '--with-wl' if '@@MHC_WITH_WL@@' != ''
+OPT += '--with-gnus' if '@@MHC_WITH_GNUS@@' != ''
+OPT += '--with-cmail' if '@@MHC_WITH_CMAIL@@' != ''
 
@@ -22,3 +22,3 @@
 def default
-  make_system("#{EMACS} #{OPTION} -f make-mhc-compile")
+  make_system("#{EMACS} #{OPTION} -f make-mhc-compile #{OPT}")
 end
@@ -26,3 +26,3 @@
 def package
-  make_system("#{XEMACS} #{OPTION} -f make-mhc-compile-package")
+  make_system("#{XEMACS} #{OPTION} -f make-mhc-compile-package #{OPT}")
 end
@@ -37,3 +37,3 @@
 def install
-  make_system("#{EMACS} #{OPTION} -f make-mhc-install")
+  make_system("#{EMACS} #{OPTION} -f make-mhc-install #{OPT}")
 end