From 1f0cb0aab71fd4dad024bdd6fc1701de6495897c Mon Sep 17 00:00:00 2001 From: Cody Russell Date: Thu, 26 Jun 2008 15:03:05 +0000 Subject: [PATCH] Add #define GLIB_USING_SYSTEM_PRINTF to glibconfig.h, which specifies if MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- ChangeLog | 7 +++++++ configure.in | 8 ++++++++ 2 files changed, 15 insertions(+) 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 -- 2.7.4