From 67152ba56f11277ead4400996f4c35f306a9ab2e Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 20 Jun 2011 11:22:41 +0100 Subject: [PATCH 04/14] Remove remnants of DBUS_DISABLE_ASSERT --- configure.ac | 1 - test/core/test-profile.c | 2 +- 2 files changed, 1 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 6dfed0d..d99e613 100644 --- a/configure.ac +++ b/configure.ac @@ -76,7 +76,6 @@ if test x$enable_tests = xyes; then fi if test x$enable_asserts = xno; then - AC_DEFINE(DBUS_DISABLE_ASSERT,1,[Disable assertion checking]) AC_DEFINE(G_DISABLE_ASSERT,1,[Disable GLib assertion macros]) fi if test x$enable_checks = xno; then diff --git a/test/core/test-profile.c b/test/core/test-profile.c index 8ad3e22..42194d6 100644 --- a/test/core/test-profile.c +++ b/test/core/test-profile.c @@ -1107,7 +1107,7 @@ main (int argc, char *argv[]) g_thread_init (NULL); dbus_g_thread_init (); -#ifndef DBUS_DISABLE_ASSERT +#ifndef G_DISABLE_ASSERT g_printerr ("You should probably --disable-asserts before you profile as they have noticeable overhead\n"); #endif -- 1.7.5.4