dgnushack.el (dgnushack-compile): Don't compile plstore.el unless epg is available.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Thu, 30 Jun 2011 10:27:52 +0000 (10:27 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Thu, 30 Jun 2011 10:27:52 +0000 (10:27 +0000)
lisp/ChangeLog
lisp/dgnushack.el

index 1beaf57..7014c86 100644 (file)
@@ -1,3 +1,8 @@
+2011-06-30  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * dgnushack.el (dgnushack-compile): Don't compile plstore.el unless epg
+       is available.
+
 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * nnimap.el (nnimap-split-incoming-mail): If `nnimap-split-fancy' is
index 5141a00..e07d23b 100644 (file)
@@ -329,6 +329,8 @@ This means that every warning will be reported as an error."
                          'ignore)))
       (dolist (file '("color.el" "shr-color.el" "shr.el"))
        (setq files (delete file files))))
+    (unless (locate-library "epg")
+      (setq files (delete "plstore.el" files)))
 
     (dolist (file files)
       (setq file (expand-file-name file srcdir))