dbus ChangeLog,1.964,1.965 configure.in,1.144,1.145
Robert McQueen
robot101 at freedesktop.org
Thu Feb 16 16:04:40 PST 2006
Update of /cvs/dbus/dbus
In directory gabe:/tmp/cvs-serv6170
Modified Files:
ChangeLog configure.in
Log Message:
2006-02-16 Robert McQueen <robot101 at debian.org>
* configure.in: Patch from Debian packages by Sjoerd Simons
<sjoerd at debian.org> to add --with-qt-moc and --with-qt3-moc
arguments so it's possible to build both bindings in the
same tree.
* qt/Makefile.am: Fix truncated value so that make dist works.
Index: ChangeLog
===================================================================
RCS file: /cvs/dbus/dbus/ChangeLog,v
retrieving revision 1.964
retrieving revision 1.965
diff -u -d -r1.964 -r1.965
--- ChangeLog 16 Feb 2006 01:13:04 -0000 1.964
+++ ChangeLog 17 Feb 2006 00:04:38 -0000 1.965
@@ -1,5 +1,14 @@
2006-02-16 Robert McQueen <robot101 at debian.org>
+ * configure.in: Patch from Debian packages by Sjoerd Simons
+ <sjoerd at debian.org> to add --with-qt-moc and --with-qt3-moc
+ arguments so it's possible to build both bindings in the
+ same tree.
+
+ * qt/Makefile.am: Fix truncated value so that make dist works.
+
+2006-02-16 Robert McQueen <robot101 at debian.org>
+
* acinclude.m4, configure.in: Patch from Brad Hards
<bradh at frogmouth.net> to avoid warnings from autoconf 1.9 by
improving quoting, re-ordering a few checks, and a few other
Index: configure.in
===================================================================
RCS file: /cvs/dbus/dbus/configure.in,v
retrieving revision 1.144
retrieving revision 1.145
diff -u -d -r1.144 -r1.145
--- configure.in 16 Feb 2006 01:13:04 -0000 1.144
+++ configure.in 17 Feb 2006 00:04:38 -0000 1.145
@@ -48,7 +48,9 @@
AC_ARG_ENABLE(qt, AS_HELP_STRING([--enable-qt],[enable Qt-friendly client library]),enable_qt=$enableval,enable_qt=auto)
AC_ARG_ENABLE(qt-debug, AS_HELP_STRING([--enable-qt-debug],[enable Qt-friendly client library, linked to debug Qt libraries]),enable_qt_debug=$enableval,enable_qt_debug=no)
+AC_ARG_WITH(qt_moc, AS_HELP_STRING([--with-qt-moc=<path>],[moc for Qt]))
AC_ARG_ENABLE(qt3, AS_HELP_STRING([--enable-qt3],[enable Qt3-friendly client library]),enable_qt3=$enableval,enable_qt3=auto)
+AC_ARG_WITH(qt3_moc, AS_HELP_STRING([--with-qt3-moc=<path>],[moc for Qt3]))
AC_ARG_ENABLE(glib, AS_HELP_STRING([--enable-glib],[enable GLib-friendly client library]),enable_glib=$enableval,enable_glib=auto)
AC_ARG_ENABLE(gtk, AS_HELP_STRING([--enable-gtk],[enable GTK-requiring executables]),enable_gtk=$enableval,enable_gtk=auto)
AC_ARG_ENABLE(tests, AS_HELP_STRING([--enable-tests],[enable unit test code]),enable_tests=$enableval,enable_tests=$USE_MAINTAINER_MODE)
@@ -936,7 +938,12 @@
dnl Qt3 detection
-AC_PATH_PROG(QT3_MOC, moc, no)
+if test -z "$with_qt3_moc" ; then
+ AC_PATH_PROG(QT3_MOC, moc, no)
+else
+ QT3_MOC=$with_qt3_moc
+ AC_SUBST(QT3_MOC)
+fi
have_qt3=no
AC_MSG_CHECKING([for qglobal.h])
@@ -1003,15 +1010,20 @@
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 -z "$with_qt_moc" ; then
+ QT_MOC=`$PKG_CONFIG --variable=exec_prefix $QT_CORE`
+ QT_MOC=${QT_MOC}/bin/moc
+ else
+ QT_MOC=$with_qt_moc
+ fi
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
+ AC_MSG_RESULT([not found])
+ AC_MSG_WARN([moc not found; disabling Qt])
+ have_qt=no
fi
fi
More information about the dbus-commit
mailing list