dependencies: check for 'patch'

We need patch for patch-kernel.sh, so verify that it's available
before building.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Peter Korsgaard 2009-10-02 09:06:51 +02:00
parent 8a19a79565
commit 7f7bf9637e
1 changed files with 17 additions and 0 deletions

View File

@ -297,6 +297,12 @@ fi;
echo "gettext installed: Ok" echo "gettext installed: Ok"
#############################################################
#
# check build system 'makeinfo'
#
#############################################################
if ! which makeinfo > /dev/null ; then \ if ! which makeinfo > /dev/null ; then \
echo "makeinfo installed: FALSE" echo "makeinfo installed: FALSE"
/bin/echo -e "\n\nMost likely some packages will fail to build their documentation" /bin/echo -e "\n\nMost likely some packages will fail to build their documentation"
@ -306,6 +312,17 @@ else
echo "makeinfo installed: Ok" echo "makeinfo installed: Ok"
fi fi
#############################################################
#
# check build system 'patch'
#
#############################################################
if ! which patch > /dev/null ; then \
echo "patch installed: FALSE"
/bin/echo -e "\n\nYou must install 'patch' on your build machine\n"; \
exit 1; \
fi;
echo "patch installed: Ok"
############################################################# #############################################################
# #