From e3459e4b8efe0db93b90cd5c151a33c1c03d62ca Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 7 Jul 2008 18:50:39 +0000 Subject: [PATCH] Fixed bug in test for Qt4. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8389 --- configure.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 4551c613e7..257ff933f3 100644 --- a/configure.in +++ b/configure.in @@ -1388,8 +1388,10 @@ AM_CONDITIONAL(BUILD_MPIWRAP_SEC, test x$ac_have_mpi2_sec = xyes) AC_MSG_CHECKING([for Qt4 core library]) -if grep -q -w '^#define HAVE_LIBQTCORE 1$' config.h \ - && grep -q -w '^#define HAVE_QTCORE_QMUTEX 1$' config.h +# The test below looks up some symbol definitions in the temporary file generated by the +# configure script, namely confdefs.h. +if grep -q -w '^#define HAVE_LIBQTCORE 1$' confdefs.h \ + && grep -q -w '^#define HAVE_QTCORE_QMUTEX 1$' confdefs.h then ac_have_qtcore=yes AC_MSG_RESULT([yes]) -- 2.47.2