Commit 98c52632 by Arnaud Charlet

Add checks against missing gnatlib/gnattools.

From-SVN: r74317
parent 7f682641
......@@ -10,9 +10,21 @@ fi
host_gnatmake=`type gnatmake | awk '{print $3}'`
ROOT=`${PWDCMD-pwd}`
BASE=`cd $ROOT/../../..; ${PWDCMD-pwd}`
PATH=$BASE:$ROOT:$PATH
ADA_INCLUDE_PATH=$BASE/ada/rts
ADA_OBJECTS_PATH=$ADA_INCLUDE_PATH
if [ ! -d $ADA_INCLUDE_PATH ]; then
echo gnatlib missing, exiting.
exit 1
fi
if [ ! -f $BASE/gnatmake ]; then
echo gnattools missing, exiting.
exit 1
fi
GCC="$BASE/xgcc -B$BASE/"
export PATH ADA_INCLUDE_PATH ADA_OBJECTS_PATH GCC
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment