diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2012-08-14 13:07:35 -0700 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2012-08-14 15:16:35 -0700 |
commit | 7178b2e041d7311715553533c6ed7217b33816cb (patch) | |
tree | 9f14a314625f7778115176e7eda7599c641af452 /glib | |
parent | 40dc57fb41205c80f5ab69023669efb31edf840d (diff) | |
download | pkg-config-7178b2e041d7311715553533c6ed7217b33816cb.tar.gz |
glib: Remove check for tracing support
If dtrace or systemtap is installed glib will enable tracing
automatically. Remove the check to always disable tracing.
Freedesktop #53493
Diffstat (limited to 'glib')
-rw-r--r-- | glib/configure.ac | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/glib/configure.ac b/glib/configure.ac index 027874f..160f57d 100644 --- a/glib/configure.ac +++ b/glib/configure.ac @@ -2427,63 +2427,6 @@ int error = EILSEQ; ], have_eilseq=yes, have_eilseq=no); AC_MSG_RESULT($have_eilseq) -dnl -dnl Tracing -dnl - -AC_ARG_ENABLE([dtrace], - [AS_HELP_STRING([--enable-dtrace], - [include tracing support for dtrace])]) -have_dtrace=no -AC_MSG_CHECKING([whether to include dtrace tracing support]) -if test "x$enable_dtrace" != xno; then - if test x$glib_have_carbon = xyes; then - AC_MSG_RESULT([no (not yet compatible with MacOS dtrace)]) - else - AC_MSG_RESULT([yes]) - AC_CHECK_PROGS(DTRACE, dtrace) - if test -z "$DTRACE"; then - if test "x$enable_dtrace" = xyes; then - AC_MSG_ERROR([dtrace not found]) - fi - else - AC_CHECK_HEADER([sys/sdt.h],have_dtrace=yes, - [if test "x$enable_dtrace" = xyes; then - AC_MSG_ERROR([dtrace support needs sys/sdt.h header]) - fi]) - fi - fi -else - AC_MSG_RESULT([no]) -fi -if test "x$have_dtrace" = xyes; then - AC_DEFINE([HAVE_DTRACE], [1], [Define to 1 if using dtrace probes.]) -fi -AM_CONDITIONAL([ENABLE_DTRACE], [test x$have_dtrace = xyes ]) - -AC_MSG_CHECKING([whether to include systemtap tracing support]) -AC_ARG_ENABLE([systemtap], - [AS_HELP_STRING([--enable-systemtap], - [include tracing support for systemtap])]) -have_systemtap=no -if test "x$enable_systemtap" != xno -a "x$have_dtrace" = xyes; then - have_systemtap=yes -fi -AC_MSG_RESULT(${have_systemtap}) - -AM_CONDITIONAL([ENABLE_SYSTEMTAP], [test x$have_systemtap = xyes]) - -AC_ARG_WITH([tapset-install-dir], - AS_HELP_STRING([--with-tapset-install-dir=DIR], - [path where systemtap tapsets are installed [DATADIR/systemtap/tapset]]), - [if test "x${withval}" = x; then - ABS_TAPSET_DIR="\$(datadir)/systemtap/tapset" - else - ABS_TAPSET_DIR="${withval}" - fi], - [ABS_TAPSET_DIR="\$(datadir)/systemtap/tapset"]) -AC_SUBST(ABS_TAPSET_DIR) - dnl ************************************ dnl *** Enable lcov coverage reports *** dnl ************************************ |