From: Cody Russell Date: Thu, 26 Jun 2008 15:03:05 +0000 (+0000) Subject: Add #define GLIB_USING_SYSTEM_PRINTF to glibconfig.h, which specifies if X-Git-Tag: GLIB_2_17_3~32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1f0cb0aab71fd4dad024bdd6fc1701de6495897c;p=platform%2Fupstream%2Fglib.git Add #define GLIB_USING_SYSTEM_PRINTF to glibconfig.h, which specifies if 2008-06-26 Cody Russell * 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) svn path=/trunk/; revision=7099 --- diff --git a/ChangeLog b/ChangeLog index 376327d..d34561d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-06-26 Cody Russell + + * 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) + 2008-06-24 Paolo Borelli Bug 539770 - migrate gstrfunc unit tests to gtest diff --git a/configure.in b/configure.in index 70ac4db..5fdac89 100644 --- a/configure.in +++ b/configure.in @@ -2617,6 +2617,14 @@ _______EOF 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