From 00057096f5279553cd75ef7824fd7d6758004454 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Fri, 18 Jul 2008 20:46:00 +0000 Subject: [PATCH] Always include the X client library suppressions, and don't bother doing any testing for X (which was always pretty bogus anyway). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8447 --- configure.in | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/configure.in b/configure.in index 26b1692c58..db418503fc 100644 --- a/configure.in +++ b/configure.in @@ -576,15 +576,13 @@ esac AC_SUBST(GLIBC_VERSION) -# We don't know how to detect the X client library version -# (detecting the server version is easy, but no help). So we -# just use a hack: always include the suppressions for both -# versions 3 and 4. -AC_PATH_X -if test "${no_x}" != 'yes' ; then - DEFAULT_SUPP="xfree-4.supp ${DEFAULT_SUPP}" - DEFAULT_SUPP="xfree-3.supp ${DEFAULT_SUPP}" -fi + +# Add default suppressions for the X client libraries. Make no +# attempt to detect whether such libraries are installed on the +# build machine (or even if any X facilities are present); just +# add the suppressions antidisirregardless. +DEFAULT_SUPP="xfree-4.supp ${DEFAULT_SUPP}" +DEFAULT_SUPP="xfree-3.supp ${DEFAULT_SUPP}" # Check for CLOCK_MONOTONIC -- 2.47.2