diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2013-03-30 17:20:13 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2013-04-12 23:05:57 +0100 |
commit | 7b1994428074a05795d7fe4418e29f921c2c0a09 (patch) | |
tree | b62f15cee529449e0aa2d1685ff5fec7f0c6e45d /configure.ac | |
parent | 8fc876f09fb4f76902cedcb2edb650fad9f76021 (diff) |
info: use new internal printf for debug message printing
and remove all the printf extension/specifier stuff for
the system printf. Next we need to add back the custom
specifiers to our own printf implementation.
https://bugzilla.gnome.org/show_bug.cgi?id=613081
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/configure.ac b/configure.ac index 23a2055e7..26ceca2c0 100644 --- a/configure.ac +++ b/configure.ac @@ -521,25 +521,6 @@ AM_CONDITIONAL(GST_HAVE_MONOTONIC_CLOCK, test "$gst_cv_monotonic_clock" = "yes") dnl Check for a way to display the function name in debug output AG_GST_CHECK_FUNCTION -dnl test for register_printf_specifier or register_printf_function -AC_CHECK_FUNCS([register_printf_specifier register_printf_function], - [HAVE_PRINTF_EXTENSION=yes]) - -if test "$HAVE_PRINTF_EXTENSION" = yes; then - GST_PRINTF_EXTENSION_POINTER_FORMAT_DEFINE="#define GST_PTR_FORMAT \"P\"" - GST_PRINTF_EXTENSION_SEGMENT_FORMAT_DEFINE="#define GST_SEGMENT_FORMAT \"Q\"" - GST_USING_PRINTF_EXTENSION_DEFINE="#define GST_USING_PRINTF_EXTENSION" - AC_DEFINE(HAVE_PRINTF_EXTENSION, 1, - [Defined if we have printf specifier extensions available]) -else - GST_PRINTF_EXTENSION_POINTER_FORMAT_DEFINE="#define GST_PTR_FORMAT \"p\"" - GST_PRINTF_EXTENSION_SEGMENT_FORMAT_DEFINE="#define GST_SEGMENT_FORMAT \"p\"" - GST_USING_PRINTF_EXTENSION_DEFINE="#undef GST_USING_PRINTF_EXTENSION" -fi -AC_SUBST(GST_PRINTF_EXTENSION_POINTER_FORMAT_DEFINE) -AC_SUBST(GST_PRINTF_EXTENSION_SEGMENT_FORMAT_DEFINE) -AC_SUBST(GST_USING_PRINTF_EXTENSION_DEFINE) - dnl test if we have dladdr(); we use it for debugging; see gst/gstinfo.c save_cflags="$CFLAGS" CFLAGS="$CFLAGS -D_GNU_SOURCE" |