From 0860346ff09bc4310ff9272578d1941a0abf01e4 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sun, 12 Aug 2007 11:53:23 +0000 Subject: [PATCH] Add a requireheader for squid, should fix it (#2205) SVN-Revision: 8404 --- include/prereq.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/prereq.mk b/include/prereq.mk index 660f67cb1b..8e5490ccff 100644 --- a/include/prereq.mk +++ b/include/prereq.mk @@ -47,4 +47,12 @@ define RequireCommand $$(eval $$(call Require,$(1),$(2))) endef +define RequireHeader + define Require/$(1) + [ -e "$(1)" ] + endef + + $$(eval $$(call Require,$(1),$(2))) +endef + .NOTPARALLEL: -- 2.25.1