summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-06-28 14:28:06 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-06-28 14:31:42 +0200
commit7199a4fe1d6f66722158d73d4403f8dad8637bd1 (patch)
tree54a1e738ccf0fb2664719aeb3a8f86da1cfd922a /Makefile
parent1c0833268c7179494aecabc5f0fae643715a7a98 (diff)
configure: Check for presence of pkg-config and ccache binaries
Check whether pkg-config and ccache are in the PATH. A missing pkg-config will cause the configure script to abort with an error. The presence of ccache is written to Config and used by the Makefile to conditionally make use of it. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ee03d86..9ad9db5 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@ TOOLS ?= netsniff-ng trafgen astraceroute flowtop ifpps bpfc curvetun mausezahn
PREFIX ?=
# Disable if you don't want it
-CCACHE ?= ccache
+CCACHE ?= $(CONFIG_CCACHE)
# Location of installation paths.
SBINDIR = $(PREFIX)/usr/sbin