|
From: <sv...@va...> - 2008-07-07 18:50:32
|
Author: bart Date: 2008-07-07 19:50:39 +0100 (Mon, 07 Jul 2008) New Revision: 8389 Log: Fixed bug in test for Qt4. Modified: trunk/configure.in Modified: trunk/configure.in =================================================================== --- trunk/configure.in 2008-07-07 18:38:17 UTC (rev 8388) +++ trunk/configure.in 2008-07-07 18:50:39 UTC (rev 8389) @@ -1388,8 +1388,10 @@ 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]) |