From 18a433223e1e5b280645fff94875ed651515312e Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Fri, 21 Sep 2012 19:57:37 +0300 Subject: [PATCH] configure.ac: add XORG_MEMORY_CHECK_FLAGS Adds some memory checking (e.g. MALLOC_PERTURB_) to tests. Signed-off-by: Ran Benita --- Makefile.am | 3 ++- configure.ac | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 19a0b73..2f16144 100644 --- a/Makefile.am +++ b/Makefile.am @@ -110,7 +110,8 @@ libtest_la_SOURCES = \ AM_TESTS_ENVIRONMENT = \ XKB_LOG=debug; export XKB_LOG; \ - XKB_VERBOSITY=10; export XKB_VERBOSITY; + XKB_VERBOSITY=10; export XKB_VERBOSITY; \ + $(XORG_MALLOC_DEBUG_ENV) TESTS = \ test/keysym \ diff --git a/configure.ac b/configure.ac index 1c103a4..2b40d41 100644 --- a/configure.ac +++ b/configure.ac @@ -43,6 +43,7 @@ m4_ifndef([XORG_MACROS_VERSION], [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])]) XORG_MACROS_VERSION(1.8) XORG_DEFAULT_OPTIONS +XORG_MEMORY_CHECK_FLAGS # Check for compiler features AC_C_INLINE -- 2.7.4