X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=Makefile;h=0411cbbed663c933fad48d434d9168ea4508995e;hb=0a575c95804da3cb740ebe2fbece862f19dce35a;hp=9e44d90a3a35134cd7beb6d92b775fe0f77fb2e4;hpb=1ddba66a3f4a7a118bc774d16cde00739144afcf;p=obsolete%2Fnotmuch-old diff --git a/Makefile b/Makefile index 9e44d90a..0411cbbe 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,10 @@ extra_cflags := $(shell pkg-config --cflags glib-2.0 gmime-2.4 talloc) extra_cxxflags := $(shell xapian-config --cxxflags) emacs_lispdir := $(shell pkg-config emacs --variable sitepkglispdir) +# Hard-code if this system doesn't have an emacs.pc file +ifeq ($(emacs_lispdir),) + emacs_lispdir = $(prefix)/share/site-lisp +endif # Now smash together user's values with our extra values override CFLAGS += $(WARN_FLAGS) $(extra_cflags)