gtk+ r20895 - trunk



Author: tml
Date: Tue Jul 22 20:14:01 2008
New Revision: 20895
URL: http://svn.gnome.org/viewvc/gtk+?rev=20895&view=rev

Log:
2008-07-22  Tor Lillqvist  <tml novell com>

	* configure.in: Workaround for what apparently is a bug in MSYS:
	returning -1 from main() is misinterpreted as exit status 0, so
	make sure we return 0 or 1.



Modified:
   trunk/ChangeLog
   trunk/configure.in

Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in	(original)
+++ trunk/configure.in	Tue Jul 22 20:14:01 2008
@@ -1045,7 +1045,7 @@
 {
   char *content_type;
   content_type = g_content_type_guess (NULL, data, data_size, NULL);  
-  return strcmp (content_type, "image/png");
+  return !!strcmp (content_type, "image/png");
 }]])],
   [gio_can_sniff=yes
    AC_DEFINE(GDK_PIXBUF_USE_GIO_MIME, 1, [Define if gio can sniff image data])],



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