bugfix: the QT lib now depends on QtSql, so add this to the configure

This commit is contained in:
Richard Hughes 2009-02-18 12:03:35 +00:00
parent 50d39435a1
commit bbea3ddf22
2 changed files with 8 additions and 0 deletions

View File

@ -120,6 +120,7 @@ POLKIT_GRANT_REQUIRED=0.8
QTCORE_REQUIRED=4.4.0
QTDBUS_REQUIRED=4.4.0
QTGUI_REQUIRED=4.4.0
QTSQL_REQUIRED=4.4.0
dnl ---------------------------------------------------------------------------
dnl - Make above strings available for packaging files (e.g. rpm spec files)
@ -168,6 +169,11 @@ if test x$enable_qt = xyes; then
AC_SUBST(QTGUI_CFLAGS)
AC_SUBST(QTGUI_LIBS)
PKG_CHECK_MODULES(QTSQL, QtSql >= $QTSQL_REQUIRED)
AC_SUBST(QTSQL_CFLAGS)
AC_SUBST(QTSQL_LIBS)
PKG_CHECK_MODULES(CPPUNIT, cppunit)
AC_SUBST(CPPUNIT_CFLAGS)
AC_SUBST(CPPUNIT_LIBS)

View File

@ -5,6 +5,7 @@ NULL =
INCLUDES = \
$(QTCORE_CFLAGS) \
$(QTDBUS_CFLAGS) \
$(QTSQL_CFLAGS) \
$(POLKIT_CFLAGS) \
-DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\"
@ -60,6 +61,7 @@ libpackagekit_qt_la_SOURCES = \
libpackagekit_qt_la_LIBADD = \
$(QTCORE_LIBS) \
$(QTDBUS_LIBS) \
$(QTSQL_LIBS) \
$(POLKIT_LIBS) \
$(NULL)