add autoconf/automake checking
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@172 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
773cc48266
commit
a20ee64f2d
1 changed files with 23 additions and 3 deletions
|
|
@ -12,7 +12,8 @@
|
||||||
installStartTime=$SECONDS
|
installStartTime=$SECONDS
|
||||||
resourceKitPath=$PWD
|
resourceKitPath=$PWD
|
||||||
TAR_MSG=" "
|
TAR_MSG=" "
|
||||||
|
DIE=0
|
||||||
|
PROG=ParadisEO
|
||||||
|
|
||||||
#others
|
#others
|
||||||
PARADISEO_EO_ARCHIVE=paradiseo-eo.tar.gz
|
PARADISEO_EO_ARCHIVE=paradiseo-eo.tar.gz
|
||||||
|
|
@ -397,7 +398,7 @@ function run_install()
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -e "\033[40m\033[1;33m### Now please run \"source $homePath/.bashrc\" to save context ### \033[0m"
|
echo -e "\033[40m\033[1;33m### Now please run \"source $homePath/.bashrc\" to save the context ### \033[0m"
|
||||||
sleep 2
|
sleep 2
|
||||||
echo
|
echo
|
||||||
echo
|
echo
|
||||||
|
|
@ -482,6 +483,25 @@ function on_error()
|
||||||
#-- BODY : ---#
|
#-- BODY : ---#
|
||||||
#------------------------------------------------------#
|
#------------------------------------------------------#
|
||||||
|
|
||||||
|
#check if we have all we need
|
||||||
|
(autoconf --version) < /dev/null > /dev/null 2>&1 ||
|
||||||
|
{
|
||||||
|
echo
|
||||||
|
execute_cmd "echo \"You must have autoconf installed to compile $PROG. Please update your system to get it before installing $PROG.\"" "[0-1] Check autoconf" $SPY
|
||||||
|
DIE=1
|
||||||
|
}
|
||||||
|
|
||||||
|
(automake --version) < /dev/null > /dev/null 2>&1 ||
|
||||||
|
{
|
||||||
|
echo
|
||||||
|
execute_cmd "echo \"You must have automake installed to compile $PROG. Please update your system to get it before installing $PROG.\"" "[0-2] Check autoconf" $SPY
|
||||||
|
DIE=1
|
||||||
|
}
|
||||||
|
|
||||||
|
if test "$DIE" -eq 1; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$1" = "--help" ]
|
if [ "$1" = "--help" ]
|
||||||
then
|
then
|
||||||
echo
|
echo
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue