From beac81f849aaf226118be00d8b6cdcd0f4e8f38a Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Wed, 28 Jan 2015 21:22:39 -0800 Subject: ensure pkg-config is found since mason depends on it for now --- configure | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 268509ee26..14982c2117 100755 --- a/configure +++ b/configure @@ -57,6 +57,12 @@ PYTHON=`which python || abort 'Cannot find python'` >&2 ${PYTHON} --version >&2 echo -en "\033[0m"; +PKG_CONFIG=`which pkg-config || abort 'Cannot find pkg-config'` + +>&2 echo -en "\033[1m\033[32m* Using pkg-config " +>&2 ${PKG_CONFIG} --version +>&2 echo -en "\033[0m"; + function quote_flags { ${PYTHON} -c "import sys, re; print filter(None, re.split('(?