From: Bart Van Assche Date: Mon, 7 Jul 2008 18:50:39 +0000 (+0000) Subject: Fixed bug in test for Qt4. X-Git-Tag: svn/VALGRIND_3_4_0~349 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3459e4b8efe0db93b90cd5c151a33c1c03d62ca;p=thirdparty%2Fvalgrind.git Fixed bug in test for Qt4. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8389 --- 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])