seed r718 - trunk



Author: hortont
Date: Wed Jan 14 03:18:27 2009
New Revision: 718
URL: http://svn.gnome.org/viewvc/seed?rev=718&view=rev

Log:
Fix Gtk detection on Linux.


Modified:
   trunk/configure.ac

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Wed Jan 14 03:18:27 2009
@@ -87,7 +87,7 @@
 AC_SUBST(BUILD_SQLITE3_MODULE)
 
 dnl =========================turtle example====================================
-AC_TRY_CPP([#include <gtk/gtk.h>], want_turtle=yes, want_turtle=no)
+PKG_CHECK_EXISTS(gtk+-2.0, want_turtle=yes, want_turtle=no)
 AM_CONDITIONAL(BUILD_TURTLE_EXAMPLE, test "x$want_turtle" = "xyes")
 AC_SUBST(BUILD_TURTLE_EXAMPLE)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]