From 0c462a82ec7ba43148b4deea76ef1394263a3845 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Wed, 18 Jun 2008 13:11:52 +0000 Subject: [PATCH] dependencies: check for awk --- toolchain/dependencies/dependencies.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/toolchain/dependencies/dependencies.sh b/toolchain/dependencies/dependencies.sh index 60b9b65966..170f437286 100755 --- a/toolchain/dependencies/dependencies.sh +++ b/toolchain/dependencies/dependencies.sh @@ -232,6 +232,18 @@ if [ ! -z "$CXXCOMPILER" ] ; then echo "C++ compiler version '$CXXCOMPILER_VERSION': Ok" fi +############################################################# +# +# check build system 'awk' +# +############################################################# +if ! which awk > /dev/null ; then + echo "awk installed: FALSE" + /bin/echo -e "\n\nYou must install 'awk' on your build machine\n"; + exit 1; +fi; +echo "awk installed: Ok" + ############################################################# # # check build system 'bison' -- 2.30.2