Add more Ubuntu requirements checking to build setup script

Signed-off-by: Colin Walters <walters@verbum.org>

svn path=/trunk/; revision=88
This commit is contained in:
Colin Walters 2008-11-28 20:35:32 +00:00
parent 3b9aa49f22
commit 6cc571b41e

View File

@ -49,11 +49,22 @@ fi
system=`lsb_release -is`
if test x$system = xUbuntu -o x$system = xDebian ; then
if dpkg --status xulrunner-1.9-dev > /dev/null 2>&1; then : ; else
echo "Please run, as root, 'apt-get install xulrunner-1.9-dev' before building gnome-shell."
echo
fi
reqd=""
for pkg in libgconf2-dev git-core gtk-doc-tools libgl1-mesa-dev \
mesa-common-dev libffi-dev libgtk2.0-dev flex build-essential \
curl xulrunner-1.9-dev; do
if dpkg --status $pkg > /dev/null 2>&1; then : ; else
reqd="$pkg $reqd"
fi
done
if test ! x$reqd = x; then
echo "Please run, as root, 'apt-get install $reqd' before building gnome-shell."
echo
fi
fi
+
echo "Done."
echo "Done."