+
+ echo "Attempting to automatically check if common depencies are installed on your system"
+ if ! which port > /dev/null; then
+ echo "MacPorts not installed, could not check for requirements automatically"
+ else
+ pc=`port installed mpfr libmpc gmp | wc -l | tr -d " "`
+ if [ ${pc} -lt 4 ];
+ then
+ echo "Something is missing, do you want to install everything needed?"
+ echo "(You need super user rights to do this.)"
+
+ if [ read = "y" || read = "yes" ];
+ then
+ sudo port install mpfr libmpc gmp
+ fi
+ else
+ echo "Found mpfr, libmpc and gmp. Proceeding..."
+ fi
+ fi
+