Skip to content
Extraits de code Groupes Projets
Valider 5fbb7e8d rédigé par Philip Taffner's avatar Philip Taffner
Parcourir les fichiers

xhprof: Execute aclocal and autoconf only if Gentoo is used.

parent 6a959a55
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -27,16 +27,19 @@ if ! phpize &> ../../../../tmp/xhprof-logs/phpize.log; then
exit 1
fi
if ! aclocal &> ../../../../tmp/xhprof-logs/aclocal.log; then
echo "Fatal error: aclocal failed! View tmp/xhprof-logs/aclocal.log for more info."
exit 1
# Execute aclocal and autoconf only if Gentoo is used.
if [[ -x /usr/bin/emerge ]]; then
if ! aclocal &> ../../../../tmp/xhprof-logs/aclocal.log; then
echo "Fatal error: aclocal failed! View tmp/xhprof-logs/aclocal.log for more info."
exit 1
fi
if ! autoconf &> ../../../../tmp/xhprof-logs/autoconf.log; then
echo "Fatal error: autoconf failed! View tmp/xhprof-logs/autoconf.log for more info."
exit 1
fi
fi
#if ! autoconf &> ../../../../tmp/xhprof-logs/autoconf.log; then
# echo "Fatal error: autoconf failed! View tmp/xhprof-logs/autoconf.log for more info."
# exit 1
#fi
if ! ./configure &> ../../../../tmp/xhprof-logs/configure.log; then
echo "Fatal error: configure script failed! View tmp/xhprof-logs/configure.log for more info."
exit 2
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter