dbus configure.in,1.142,1.143
Thiago J. Macieira
thiago at freedesktop.org
Wed Feb 15 08:22:01 PST 2006
- Previous message: dbus/glib dbus-binding-tool-glib.c, 1.26, 1.27 dbus-gmain.c, 1.48,
1.49 dbus-gsignature.c, 1.1, 1.2 dbus-gtype-specialized.c, 1.4,
1.5 dbus-gtype-specialized.h, 1.4, 1.5 dbus-gvalue-utils.c,
1.8, 1.9 dbus-gvalue-utils.h, 1.4, 1.5 dbus-gvalue.c, 1.25, 1.26
- Next message: dbus/qt Makefile.am, 1.12, 1.13 README, NONE,
1.1 qdbusabstractadaptor.cpp, NONE, 1.1 qdbusabstractadaptor.h,
NONE, 1.1 qdbusconnection.cpp, 1.3, 1.4 qdbusconnection.h, 1.3,
1.4 qdbusconnection_p.h, 1.3, 1.4 qdbuserror.cpp, 1.1,
1.2 qdbuserror.h, 1.2, 1.3 qdbusintegrator.cpp, 1.1,
1.2 qdbusinterface.cpp, NONE, 1.1 qdbusinterface.h, NONE,
1.1 qdbusinterface_p.h, NONE, 1.1 qdbusintrospection.cpp, NONE,
1.1 qdbusintrospection.h, NONE, 1.1 qdbusmacros.h, 1.2,
1.3 qdbusmarshall.cpp, 1.2, 1.3 qdbusmarshall.h, 1.1,
1.2 qdbusmessage.cpp, 1.1, 1.2 qdbusmessage.h, 1.2,
1.3 qdbusmessage_p.h, 1.1, 1.2 qdbusobject.cpp, NONE,
1.1 qdbusobject.h, NONE, 1.1 qdbusobject_p.h, NONE,
1.1 qdbusserver.cpp, 1.1, 1.2 qdbusserver.h, 1.2,
1.3 qdbusstandardinterfaces.cpp, NONE,
1.1 qdbusstandardinterfaces.h, NONE, 1.1 qdbusthread.cpp, NONE,
1.1 qdbustype.cpp, NONE, 1.1 qdbustype.h, NONE,
1.1 qdbusutil.cpp, NONE, 1.1 qdbusutil.h, NONE,
1.1 qdbusvariant.h, 1.2, 1.3 qdbusxmlparser.cpp, NONE,
1.1 qdbusxmlparser_p.h, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvs/dbus/dbus
In directory gabe:/tmp/cvs-serv16802
Modified Files:
configure.in
Log Message:
Unclutter and upgrade the test to Qt 4.1. We now link to QtXml too.
Index: configure.in
===================================================================
RCS file: /cvs/dbus/dbus/configure.in,v
retrieving revision 1.142
retrieving revision 1.143
diff -u -d -r1.142 -r1.143
--- configure.in 10 Feb 2006 20:57:09 -0000 1.142
+++ configure.in 15 Feb 2006 16:21:59 -0000 1.143
@@ -980,63 +980,73 @@
dnl Qt detection
+AC_MSG_CHECKING([if we want to link to Qt debugging libraries])
+qt_suffix=
if test x$enable_qt_debug = xyes; then
+ qt_suffix=_debug
+ AC_MSG_RESULT([debug])
+else
+ AC_MSG_RESULT([release])
+fi
- PKG_CHECK_MODULES(DBUS_QT, QtCore_debug >= 4.0, have_qt_debug=yes, have_qt_debug=no)
- if test x$have_qt_debug = xno; then
- AC_MSG_ERROR([Qt debug libraries explicitly required, but not found])
- fi
+QT_CORE=QtCore$qt_suffix
+QT_XML=QtXml$qt_suffix
+QT_TESTLIB=QtTest$qt_suffix
+min_qt_version=4.1
- QT_CORE=QtCore_debug
- QT_TESTLIB=QtTest_debug
- have_qt=yes
-else
- PKG_CHECK_MODULES(DBUS_QT, QtCore >= 4.0, have_qt=yes, have_qt=no)
+PKG_CHECK_MODULES([DBUS_QT],
+ [$QT_CORE >= $min_qt_version $QT_XML >= $min_qt_version],
+ have_qt=yes,
+ have_qt=no)
- if test x$have_qt = xno ; then
- AC_MSG_WARN([Qt development libraries not found])
+dnl Check for moc too
+if test x$have_qt = xyes ; then
+ AC_MSG_CHECKING([for moc])
+ QT_MOC=`$PKG_CONFIG --variable=exec_prefix $QT_CORE`
+ QT_MOC=${QT_MOC}/bin/moc
+
+ if test -x "$QT_MOC"; then
+ AC_MSG_RESULT([found, $QT_MOC])
+ else
+ AC_MSG_RESULT([not found])
+ AC_MSG_WARN([moc not found; disabling Qt])
+ have_qt=no
fi
+fi
+if test x$have_qt = xno ; then
if test x$enable_qt = xyes; then
- if test x$have_qt = xno; then
AC_MSG_ERROR([Qt integration explicitly required, and Qt libraries not found])
- fi
- fi
- if test x$enable_qt = xno; then
- have_qt=no;
fi
+ have_qt=no
+else
+ dnl Qt flags
+ AC_SUBST(DBUS_QT_CFLAGS)
+ AC_SUBST(DBUS_QT_LIBS)
+ AC_SUBST(QT_MOC)
- QT_CORE=QtCore
- QT_TESTLIB=QtTest
-fi
-
-QT_MOC=`$PKG_CONFIG --variable=exec_prefix $QT_CORE`
-QT_MOC=${QT_MOC}/bin/moc
-
-AM_CONDITIONAL(HAVE_QT, test x$have_qt = xyes)
-
-dnl Qt flags
-AC_SUBST(DBUS_QT_CFLAGS)
-AC_SUBST(DBUS_QT_LIBS)
-AC_SUBST(QT_MOC)
+ dnl QTestLib detection
+ PKG_CHECK_MODULES([DBUS_QTESTLIB],
+ [$QT_TESTLIB >= $min_qt_version],
+ have_qtest=yes,
+ have_qtest=no)
+ if test x$have_qtest = xno ; then
+ AC_MSG_WARN([Qt Unit Test library not found])
+ fi
-dnl QTestLib detection
-PKG_CHECK_MODULES(DBUS_QTESTLIB, $QT_TESTLIB >= 4.1, have_qtest=yes, have_qtest=no)
+ if test x$have_qt = xno; then
+ have_qtest=no
+ fi
-if test x$have_qtest = xno ; then
- AC_MSG_WARN([Qt Unit Test library not found])
-fi
-if test x$have_qt = xno; then
- have_qtest=no
+ AC_SUBST(DBUS_QTESTLIB_CFLAGS)
+ AC_SUBST(DBUS_QTESTLIB_LIBS)
fi
+AM_CONDITIONAL(HAVE_QT, test x$have_qt = xyes)
AM_CONDITIONAL(HAVE_QTESTLIB, test x$have_qtest = xyes)
-AC_SUBST(DBUS_QTESTLIB_CFLAGS)
-AC_SUBST(DBUS_QTESTLIB_LIBS)
-
### X11 detection
AC_PATH_XTRA
- Previous message: dbus/glib dbus-binding-tool-glib.c, 1.26, 1.27 dbus-gmain.c, 1.48,
1.49 dbus-gsignature.c, 1.1, 1.2 dbus-gtype-specialized.c, 1.4,
1.5 dbus-gtype-specialized.h, 1.4, 1.5 dbus-gvalue-utils.c,
1.8, 1.9 dbus-gvalue-utils.h, 1.4, 1.5 dbus-gvalue.c, 1.25, 1.26
- Next message: dbus/qt Makefile.am, 1.12, 1.13 README, NONE,
1.1 qdbusabstractadaptor.cpp, NONE, 1.1 qdbusabstractadaptor.h,
NONE, 1.1 qdbusconnection.cpp, 1.3, 1.4 qdbusconnection.h, 1.3,
1.4 qdbusconnection_p.h, 1.3, 1.4 qdbuserror.cpp, 1.1,
1.2 qdbuserror.h, 1.2, 1.3 qdbusintegrator.cpp, 1.1,
1.2 qdbusinterface.cpp, NONE, 1.1 qdbusinterface.h, NONE,
1.1 qdbusinterface_p.h, NONE, 1.1 qdbusintrospection.cpp, NONE,
1.1 qdbusintrospection.h, NONE, 1.1 qdbusmacros.h, 1.2,
1.3 qdbusmarshall.cpp, 1.2, 1.3 qdbusmarshall.h, 1.1,
1.2 qdbusmessage.cpp, 1.1, 1.2 qdbusmessage.h, 1.2,
1.3 qdbusmessage_p.h, 1.1, 1.2 qdbusobject.cpp, NONE,
1.1 qdbusobject.h, NONE, 1.1 qdbusobject_p.h, NONE,
1.1 qdbusserver.cpp, 1.1, 1.2 qdbusserver.h, 1.2,
1.3 qdbusstandardinterfaces.cpp, NONE,
1.1 qdbusstandardinterfaces.h, NONE, 1.1 qdbusthread.cpp, NONE,
1.1 qdbustype.cpp, NONE, 1.1 qdbustype.h, NONE,
1.1 qdbusutil.cpp, NONE, 1.1 qdbusutil.h, NONE,
1.1 qdbusvariant.h, 1.2, 1.3 qdbusxmlparser.cpp, NONE,
1.1 qdbusxmlparser_p.h, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dbus-commit
mailing list