[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    [patch] fix for configure.in to revive qt3 bindings
From:       Timo Hoenig <thoenig () suse ! de>
Date:       2005-10-20 12:59:53
Message-ID: 1129813193.32031.15.camel () nouse ! suse ! de
[Download RAW message or body]

Hi,

the attached patch fixes some 'have_qt' vs. 'have_qt3' confusion in
configure.in.  Otherwise it may happen that the qt3 bindings can not be
enabled and thus will not be compiled.

Please review.

Thanks,

   Timo

["dbus-configure_in.diff" (dbus-configure_in.diff)]

Index: configure.in
===================================================================
RCS file: /cvs/dbus/dbus/configure.in,v
retrieving revision 1.136
diff -u -r1.136 configure.in
--- configure.in	13 Oct 2005 22:53:54 -0000	1.136
+++ configure.in	20 Oct 2005 12:44:16 -0000
@@ -933,10 +933,10 @@
 dnl Qt3 detection
 AC_PATH_PROG(QT3_MOC, moc, no)
 
-have_qt=no
+have_qt3=no
 AC_MSG_CHECKING([for qglobal.h])
 if test -n "$QTDIR" -a -f "$QTDIR/include/qglobal.h"; then
-    have_qt=yes
+    have_qt3=yes
     DBUS_QT3_CXXFLAGS="-I$QTDIR/include"
 else
     for dir in "${prefix}/include/qt" "/usr/include/qt-3.1" "/usr/include/qt3" \
"/usr/include/qt" "/usr/lib/qt/include" "/usr/lib/qt-3.1/include"; do @@ -947,13 \
+947,13 @@  fi
     done
 fi
-if test x"$have_qt3" = x"yes"; then
+if test x$have_qt3 = xyes; then
    AC_MSG_RESULT([found])
 else
    AC_MSG_RESULT([not found])
 fi
 
-if test x$have_qt3 = xno ; then
+if test x$have_qt3 = xno; then
     AC_MSG_WARN([Qt3 development libraries not found])
 fi
 



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic