]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Always include the X client library suppressions, and don't bother doing
authorJulian Seward <jseward@acm.org>
Fri, 18 Jul 2008 20:46:00 +0000 (20:46 +0000)
committerJulian Seward <jseward@acm.org>
Fri, 18 Jul 2008 20:46:00 +0000 (20:46 +0000)
any testing for X (which was always pretty bogus anyway).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8447

configure.in

index 26b1692c58c6d4eb0c6141e1e5b267580f343ac2..db418503fc99b366f46247bd0e0db035bda82a85 100644 (file)
@@ -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