build: Show CFLAGS in the configure summary
authorEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 28 Feb 2011 12:49:48 +0000 (12:49 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 28 Feb 2011 14:16:24 +0000 (14:16 +0000)
Don't show just the maintainer flags, but the whole shebang.

configure.ac

index 36007ee..66718a3 100644 (file)
@@ -1123,6 +1123,8 @@ AS_CASE([$enable_maintainer_flags],
         [AC_MSG_ERROR([Invalid option for --enable-maintainer-flags])]
 )
 
+# strip leading spaces
+MAINTAINER_CFLAGS=${MAINTAINER_CFLAGS/#  }
 AC_SUBST(MAINTAINER_CFLAGS)
 
 dnl === Dependencies, compiler flags and linker libraries =====================
@@ -1279,7 +1281,7 @@ echo ""
 echo " • Compiler options:"
 echo "        Clutter debug level: ${enable_debug}"
 echo "        COGL debug level: ${enable_cogl_debug}"
-echo "        Compiler flags: ${MAINTAINER_CFLAGS}"
+echo "        Compiler flags: ${CFLAGS} ${MAINTAINER_CFLAGS}"
 echo "        Profiling enabled: ${enable_profile}"
 echo "        Enable coverage tests: ${enable_gcov}"