X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=build.sh;h=cede2e48f2fc8cf3725ae04c9928e7862f1dd864;hb=8e37815b4222420dadf3ae2c1c5589d7f197909c;hp=3efb44f64047c5bdeedf6dc5d646230645a4afcd;hpb=a2ef6243e563dae68c71d58c1d9af924a5817e5a;p=collectd.git diff --git a/build.sh b/build.sh index 3efb44f6..cede2e48 100755 --- a/build.sh +++ b/build.sh @@ -1,5 +1,15 @@ #! /bin/sh +if ! which lex > /dev/null 2>&1; then + echo "WARNING: lex not found!" >&2 + echo "Make sure that you have a flex compatible tool available." >&2 +fi + +if ! which yacc > /dev/null 2>&1; then + echo "WARNING: yacc not found!" >&2 + echo "Make sure that you have a GNU bison compatible tool available." >&2 +fi + libtoolize=libtoolize if which glibtoolize > /dev/null 2>&1; then