summaryrefslogtreecommitdiff
path: root/lisp/cedet/ede/proj-comp.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2009-10-04 14:25:42 +0000
committerChong Yidong <cyd@stupidchicken.com>2009-10-04 14:25:42 +0000
commit2e7eba6021bd9914f5e52e4f3c7f45717970dca2 (patch)
tree6157f3bcedc2c94e647cd5067988b5ffc3625c36 /lisp/cedet/ede/proj-comp.el
parent9a03b2e1ee598a5633a6e621af71db88407c46e8 (diff)
downloademacs-2e7eba6021bd9914f5e52e4f3c7f45717970dca2.tar.gz
* cedet/ede/proj-comp.el: Don't require ede/pmake at toplevel.
(ede-proj-makefile-insert-variables): Require ede/pmake.
Diffstat (limited to 'lisp/cedet/ede/proj-comp.el')
-rw-r--r--lisp/cedet/ede/proj-comp.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/cedet/ede/proj-comp.el b/lisp/cedet/ede/proj-comp.el
index be91c25d5f0..378d299cc9e 100644
--- a/lisp/cedet/ede/proj-comp.el
+++ b/lisp/cedet/ede/proj-comp.el
@@ -46,7 +46,7 @@
(require 'ede) ;source object
(require 'ede/autoconf-edit)
-(eval-when-compile (require 'ede/pmake))
+(declare-function ede-pmake-insert-variable-once "ede/pmake")
;;; Types:
(defclass ede-compilation-program (eieio-instance-inheritor)
@@ -253,6 +253,7 @@ This will prevent rules from creating duplicate variables or rules."
(defmethod ede-proj-makefile-insert-variables ((this ede-compilation-program))
"Insert variables needed by the compiler THIS."
+ (require 'ede/pmake)
(if (eieio-instance-inheritor-slot-boundp this 'variables)
(with-slots (variables) this
(mapcar