+
+ ;; now check if .el or .elc is newer than the dumped exe.
+ ;; if so, need to redump.
+ (let ((frob
+ (if (string-match "\\.elc?\\'" arg)
+ (substring arg 0 (match-beginning 0))
+ arg)))
+ (when (and dumped-exe
+ (or (and (file-exists-p
+ (concat "../lisp/" frob ".el"))
+ (file-newer-than-file-p
+ (concat "../lisp/" frob ".el")
+ dumped-exe))
+ (and (file-exists-p
+ (concat "../lisp/" frob ".elc"))
+ (file-newer-than-file-p
+ (concat "../lisp/" frob ".elc")
+ dumped-exe))))
+ (setq need-to-dump t)))
+
+; (if (null (member (file-name-nondirectory arg)
+; packages-unbytecompiled-lisp))
+; (progn
+ (setq arg (locate-library arg))
+ (if (null arg)