summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac1
-rw-r--r--test/core/test-profile.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index de437e9..b1cb2ae 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