summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorCody Russell <bratsche@gnome.org>2008-06-26 15:03:05 +0000
committerCody Russell <bratsche@src.gnome.org>2008-06-26 15:03:05 +0000
commit1f0cb0aab71fd4dad024bdd6fc1701de6495897c (patch)
tree8bf20580f9ff6102e45e212d1e800b05de6dd752 /configure.in
parent25e2e9fa28d39d82e6c6a127b8d40e8cc4815f88 (diff)
downloadglib-1f0cb0aab71fd4dad024bdd6fc1701de6495897c.tar.gz
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
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 70ac4db83..5fdac89fd 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