Issue better warning message if dependencies not found

svn path=/trunk/boinc/; revision=5128
This commit is contained in:
Bruce Allen 2005-01-17 15:25:27 +00:00
parent 8d3e716729
commit 39ade71711
1 changed files with 16 additions and 11 deletions

View File

@ -16,17 +16,22 @@ fi
echo "Bootstrapping configure script and makefiles:" echo "Bootstrapping configure script and makefiles:"
aclocal -I m4 && autoheader && automake && autoconf if aclocal -I m4 && autoheader && automake && autoconf; then
## We don't always run ./configure ourselves here, because the user may not
## want to run it, or may want to run with custom parameters.
## We don't always run ./configure ourselves here, because the user may not if [ "$1" = "-a" ]; then
## want to run it, or may want to run with custom parameters. ./configure -C --enable-maintainer-mode
elif [ "$1" = "-c" ]; then
if [ "$1" = "-a" ]; then ./configure -C
./configure -C --enable-maintainer-mode else
elif [ "$1" = "-c" ]; then echo "Done, now run ./configure"
./configure -C echo " ./configure -C to enable caching"
echo " ./configure --enable-maintainer-mode to enable maintainer depedencies"
exit 0
fi
else else
echo "Done, now run ./configure" echo "Something failed .... please check error-message and re-run when fixed."
echo " ./configure -C to enable caching" echo "exiting..."
echo " ./configure --enable-maintainer-mode to enable maintainer depedencies" exit 1
fi fi