summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Kendrick (monotony) <rjek@rjek.com>2013-03-29 14:02:15 +0000
committerRob Kendrick (monotony) <rjek@rjek.com>2013-03-29 14:02:15 +0000
commitc425fd12f34ac50407b24c65f1f9e228ed3da615 (patch)
treedd5df79cf13811c9903c42bafa0abc074fd2af47
parent0712452e5f92c5037bdc03a801f1ec952c185142 (diff)
downloadluxio-c425fd12f34ac50407b24c65f1f9e228ed3da615.tar.gz
Add check for pkg-config
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b90f372..db166ab 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,10 @@ all: lua-5.1-try lua-5.2-try
install: lua-5.1-try-install lua-5.2-try-install
+ifeq ($(strip $(shell which pkg-config > /dev/null || echo NONE)),NONE)
+ $(error This makefile requires pkg-config)
+endif
+
# This isn't nice. Find a nice way.
HOST_OS := $(shell uname -s)