build: More cleanups for the configure summary

Document each section, and add some more items to the summary like what
JSON-GLib are we using, and which version of the GLES API is COGL
wrapping.
This commit is contained in:
Emmanuele Bassi 2009-12-01 15:17:49 +00:00
parent e3b409529e
commit 3e034cda58

View File

@ -863,43 +863,59 @@ dnl === Summary ===============================================================
echo "" echo ""
echo "Clutter - $VERSION (${CLUTTER_RELEASE_STATUS})" echo "Clutter - $VERSION (${CLUTTER_RELEASE_STATUS})"
# Global flags
echo "" echo ""
echo " • Global:" echo " • Global:"
echo " Prefix: ${prefix}" echo " Prefix: ${prefix}"
echo " Flavour: ${CLUTTER_WINSYS}/${COGL_DRIVER}" echo " Flavour: ${CLUTTER_WINSYS}/${COGL_DRIVER}"
echo " Target library: ${CLUTTER_WINSYS_LIB}" echo " Target library: ${CLUTTER_WINSYS_LIB}"
# Compiler/Debug related flags
echo "" echo ""
echo " • Compiler options:" echo " • Compiler options:"
echo " Clutter debug level: ${enable_debug}" echo " Clutter debug level: ${enable_debug}"
echo " COGL debug level: ${enable_cogl_debug}" echo " COGL debug level: ${enable_cogl_debug}"
echo " Compiler flags: ${MAINTAINER_CFLAGS}" echo " Compiler flags: ${MAINTAINER_CFLAGS}"
# Documentation
echo "" echo ""
echo " • Documentation:" echo " • Documentation:"
echo " Build API Reference: ${enable_gtk_doc}" echo " Build API Reference: ${enable_gtk_doc}"
echo " Build Additional Documentation: ${enable_docs}" echo " Build Additional Documentation: ${enable_docs} (Generate PDF: ${enable_pdfs})"
# Miscellaneous
echo "" echo ""
echo " • Extra:" echo " • Extra:"
echo " Build introspection data: ${enable_introspection}" echo " Build introspection data: ${enable_introspection}"
echo " Build test suite: ${enable_glibtest}" echo " Build test suite: ${enable_glibtest}"
if test "x$have_json" = "xyes"; then
echo " JSON-GLib: system"
else
echo " JSON-GLib: internal"
fi
# COGL flags
echo "" echo ""
echo " • COGL Backend:" echo " • COGL Backend:"
echo " Driver: ${COGL_DRIVER}" echo " Driver: ${COGL_DRIVER}"
echo " GL header: ${CLUTTER_GL_HEADER}" echo " GL header: ${CLUTTER_GL_HEADER}"
if test "x$COGL_DRIVER" = "xgles"; then
if test "x$use_gles2_wrapper" = "xyes"; then
echo " GLES version: 2.0"
else
echo " GLES version: 1.1"
fi
fi
if test "x$experimental_image" = "xno"; then if test "x$experimental_image" = "xno"; then
echo " Image backend: ${COGL_IMAGE_BACKEND}" echo " Image backend: ${COGL_IMAGE_BACKEND}"
else else
echo " Image backend: ${COGL_IMAGE_BACKEND} (WARNING: Experimental)" echo " Image backend: ${COGL_IMAGE_BACKEND} (WARNING: Experimental)"
fi fi
if test "x$COGL_DRIVER" = "xgles"; then # Clutter backend related flags
echo " Use GLES 2.0 Wrapper: ${use_gles2_wrapper}"
fi
echo "" echo ""
echo " • Clutter Backend:" echo " • Clutter Backend:"
@ -917,6 +933,7 @@ fi
echo "" echo ""
# General warning about experimental features
if test "x$experimental_backend" = "xyes" || if test "x$experimental_backend" = "xyes" ||
test "x$experimental_image" = "xyes"; then test "x$experimental_image" = "xyes"; then
echo "" echo ""