=== modified file 'lisp/cedet/ede/emacs.el' --- lisp/cedet/ede/emacs.el 2014-04-02 15:14:50 +0000 +++ lisp/cedet/ede/emacs.el 2014-09-15 20:10:45 +0000 @@ -82,10 +82,6 @@ (setq default-directory (file-name-as-directory dir)) (or (file-exists-p configure_ac) (setq configure_ac "configure.in")) - ;(call-process "egrep" nil buff nil "-n" "-e" "^version=" "Makefile") - (call-process "egrep" nil buff nil "-n" "-e" "AC_INIT" configure_ac) - (goto-char (point-min)) - ;(re-search-forward "version=\\([0-9.]+\\)") (cond ;; Maybe XEmacs? ((file-exists-p "version.sh") @@ -113,7 +109,8 @@ ;; Insert other Emacs here... ;; Vaguely recent version of GNU Emacs? - (t + ((or (file-exists-p configure_ac) + (file-exists-p (setq configure_ac "configure.in"))) (insert-file-contents configure_ac) (goto-char (point-min)) (re-search-forward "AC_INIT(\\(?:GNU \\)?[eE]macs,\\s-*\\([0-9.]+\\)\\s-*[,)]")