[build] Use AS_COMPILER_FLAGS
[clutter-gtk] / configure.ac
index 7cdf174..7884b18 100644 (file)
@@ -54,7 +54,7 @@ AC_PROG_CC
 AC_DISABLE_STATIC
 AC_PROG_LIBTOOL
 
-m4_define([clutter_req_version], [0.9.0])
+m4_define([clutter_req_version], [0.9.4])
 m4_define([gtk_req_version], [2.12.0])
 m4_define([flavour_default], [x11])
 AC_ARG_WITH([flavour],
@@ -132,7 +132,10 @@ AC_ARG_ENABLE([maintainer-flags],
 MAINTAINER_CFLAGS=""
 AS_IF([test "x$enable_maintainer_flags" = "xyes" && test "x$GCC" = "xyes"],
       [
-        MAINTAINER_CFLAGS="-Werror -Wall -Wshadow -Wcast-align -Wno-uninitialized -Wempty-body -Wformat-security -Winit-self"
+        AS_COMPILER_FLAGS([MAINTAINER_CFLAGS],
+                          ["-Werror -Wall -Wshadow -Wcast-align
+                            -Wno-uninitialized -Wempty-body -Wformat-security
+                            -Winit-self"])
       ]
 )
 
@@ -153,6 +156,8 @@ AC_SUBST(CLUTTER_PREFIX)
 
 GTK_DOC_CHECK([1.11])
 
+GOBJECT_INTROSPECTION_CHECK([0.6.3])
+
 dnl ========================================================================
 
 SHAVE_INIT([build/autotools], [enable])
@@ -185,4 +190,5 @@ echo "                  Flavour:   ${CLUTTER_GTK_FLAVOUR}"
 echo "              Debug level:   ${enable_debug}"
 echo "            Documentation:   ${enable_gtk_doc}"
 echo "           Compiler flags:   $MAINTAINER_CFLAGS"
+echo "       Introspection data:   ${enable_introspection}"
 echo ""