I'm developing an interface for an already existing project. I would like to add QT libs into the configure script, but I don't know how.
I tried to add this into the configure.ac:
if test x"$ac_cv_header_usr_include_qt4_QtGui_qlabel_h" != x"yes" ; then
AC_MSG_ERROR([Missing headers. Please install Qt4-devel.])
then ran "autoconf" and "./configure" and this is the output that I got:
checking /usr/include/qt4/QtGui/qlabel.h usability... no
checking /usr/include/qt4/QtGui/qlabel.h presence... no
checking for /usr/include/qt4/QtGui/qlabel.h... no
configure: error: Missing headers. Please install Qt4-devel.
The file actually exists.Any help would be really appreciated.