It depends on `cl-macs', which only became its own proper library in
24.2.90. The tricky part was the new machinery to discover the Emacs
version in detail.
EMACSLIB = $(HOME)/lib/emacs
+EMACS_VERSION := $(shell $(EMACS) 2>&1 -Q --batch --eval \
+ '(message "%s %s" emacs-major-version emacs-minor-version)')
+emacs-version-p = $(shell set -- $(EMACS_VERSION); \
+ if [ $$1 -gt $1 ] || ([ $$1 -eq $1 ] && [ $$2 -ge $2 ]); then \
+ echo t; \
+ fi)
+
ELISP += make-regexp ew-hols
ELISP += mdw-gnus-patch
ELISP += mdw-multiple-cursors
ELISP += git git-blame vc-git stgit quilt
+
+ifeq ($(call emacs-version-p,24,3),t)
ELISP += bracketed-paste
+endif
ELISP += dot-emacs
dot-emacs_DEPS = make-regexp