Add #define GLIB_USING_SYSTEM_PRINTF to glibconfig.h, which specifies if

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)


svn path=/trunk/; revision=7099
This commit is contained in:
Cody Russell 2008-06-26 15:03:05 +00:00 committed by Cody Russell
parent 25e2e9fa28
commit 1f0cb0aab7
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,10 @@
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)
2008-06-24 Paolo Borelli <pborelli@katamail.com>
Bug 539770 - migrate gstrfunc unit tests to gtest

View File

@ -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