mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-02 11:00:19 +01:00
2006-02-16 Robert McQueen <robot101@debian.org>
* configure.in: Patch from Debian packages by Sjoerd Simons <sjoerd@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.
This commit is contained in:
parent
ae607a86ff
commit
4dedbb4984
3 changed files with 28 additions and 7 deletions
|
|
@ -1,3 +1,12 @@
|
|||
2006-02-16 Robert McQueen <robot101@debian.org>
|
||||
|
||||
* configure.in: Patch from Debian packages by Sjoerd Simons
|
||||
<sjoerd@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@debian.org>
|
||||
|
||||
* acinclude.m4, configure.in: Patch from Brad Hards
|
||||
|
|
|
|||
24
configure.in
24
configure.in
|
|
@ -48,7 +48,9 @@ AC_HEADER_STDC
|
|||
|
||||
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 @@ AC_SUBST(DBUS_GTK_THREADS_LIBS)
|
|||
|
||||
|
||||
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 @@ PKG_CHECK_MODULES([DBUS_QT],
|
|||
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
|
||||
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ libdbus_qt4_1_la_SOURCES = \
|
|||
$(top_srcdir)/qt/qdbusobject.h \
|
||||
$(top_srcdir)/qt/qdbusobject_p.h \
|
||||
$(top_srcdir)/qt/qdbusserver.h \
|
||||
$(top_srcdir)/qt/qdbusstandardinterfaces.
|
||||
$(top_srcdir)/qt/qdbusstandardinterfaces.h \
|
||||
$(top_srcdir)/qt/qdbustype.h \
|
||||
$(top_srcdir)/qt/qdbusvariant.h \
|
||||
$(top_srcdir)/qt/qdbusxmlparser_p.h
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue