From da499c0104e3f7dc36b34856d02b7af2ac835c68 Mon Sep 17 00:00:00 2001 From: Alexandre Rostovtsev Date: Fri, 17 Feb 2012 11:57:20 +0100 Subject: Bug #663077 - Reorder mx-1.0 and clutter-gtk-1.0 in PKG_CHECK_MODULES clutter-gtk-1.0 installs headers in /usr/include/clutter-gtk-1.0/clutter-gtk; clutter-gtk-0.10 installs headers in /usr/include/clutter-1.0/clutter-gtk To ensure that clutter-gtk-1.0's headers (and not 0.10's) are used, -I/usr/include/clutter-gtk-1.0 must come before -I/usr/include/clutter-1.0 in CLUTTER_CFLAGS. And that means clutter-gtk-1.0 must come before mx-1.0 in PKG_CHECK_MODULES. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index affcab8aca..2eb64feea5 100644 --- a/configure.ac +++ b/configure.ac @@ -599,7 +599,7 @@ AC_ARG_WITH([clutter], AC_MSG_RESULT($with_clutter) if test "x$with_clutter" = "xyes"; then - PKG_CHECK_MODULES(CLUTTER, [mx-1.0 clutter-gtk-1.0 >= clutter_gtk_minimum_version clutter-1.0 >= 1.0.0]) + PKG_CHECK_MODULES(CLUTTER, [clutter-gtk-1.0 >= clutter_gtk_minimum_version mx-1.0 clutter-1.0 >= 1.0.0]) AC_DEFINE(HAVE_CLUTTER, 1, [Clutter available]) AM_CONDITIONAL(ENABLE_CLUTTER, true) -- cgit