X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=MakeMakefile;h=6397703e9f7660dd5194118247cbab2ce22d7b1f;hp=6e2250a610f5cef459d19a67f3954c402b4fad58;hb=9baf751026b7f2c0983e09df7398bad28ddb6577;hpb=abc44fe218aab32a0bca8fab2fe9a864a0671cac diff --git a/MakeMakefile b/MakeMakefile index 6e2250a..6397703 100755 --- a/MakeMakefile +++ b/MakeMakefile @@ -13,11 +13,12 @@ exit \$v PERL } +ERROR=0 if vcheck 1.5 "libtool --version" then echo "get a copy of GNU libtool >= 1.5" - exit 1 + ERROR=1 fi #if vcheck 1.8.2 "automake --version" @@ -40,7 +41,7 @@ then if vcheck 1.7.9 "automake-1.7 --version" then echo "get a copy of GNU automake >= 1.79" - exit 1 + ERROR=1 else automake=automake-1.7 aclocal="aclocal-1.7 --acdir=/usr/share/aclocal-1.7 -I /usr/share/aclocal/" @@ -52,7 +53,12 @@ fi if vcheck 2.58 "autoconf --version" then - echo "get a copy of GNU autoconf >= 2.54" + echo "get a copy of GNU autoconf >= 2.58" + ERROR=1 +fi + +if [ $ERROR -ne 0 ] +then exit 1 fi