glib r7099 - trunk



Author: bratsche
Date: Thu Jun 26 15:03:05 2008
New Revision: 7099
URL: http://svn.gnome.org/viewvc/glib?rev=7099&view=rev

Log:
2008-06-26  Cody Russell  <bratsche gnome org>

        * configure.in: Add #define GLIB_USING_SYSTEM_PRINTF
        to glibconfig.h, which specifies if GLib is using    
        the system printf functions for g_print*().          
        (#539999, by Tim-Philipp MÃller)



Modified:
   trunk/ChangeLog
   trunk/configure.in

Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in	(original)
+++ trunk/configure.in	Thu Jun 26 15:03:05 2008
@@ -2617,6 +2617,14 @@
 	if test x$glib_sys_poll_h = xyes; then
 	  echo '#define GLIB_HAVE_SYS_POLL_H' >> $outfile
 	fi
+	if test x$enable_included_printf != xyes; then
+          echo "
+/* Specifies that GLib's g_print*() functions wrap the
+ * system printf functions.  This is useful to know, for example,
+ * when using glibc's register_printf_function().
+ */" >> $outfile
+	  echo '#define GLIB_USING_SYSTEM_PRINTF' >> $outfile
+	fi
 
 	cat >> $outfile <<_______EOF
 



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