On Sat, Feb 21, 2004 at 02:38:22PM +0100, Thomas Reitelbach wrote:
> Am Samstag, 21. Februar 2004 11:13 schrieb Joerg Rieger:
> > On Sat, Feb 21, 2004 at 10:06:51AM +0100, Thomas Reitelbach wrote:
> > > Am Freitag, 20. Februar 2004 20:58 schrieb Joerg Rieger:
> > > > [...]
> > > > checking for QT includes... /usr/include/qt3
> > > > checking for KDE includes... no
> > > > checking for QT libraries... ./configure: line 17536: test: =: unary
> > > > operator expected ./configure: line 17536: test: =: unary operator
> > > > expected yes, lib: -lqt-mt in /usr/lib
> > > > checking for QT >= 3.x... yes
> > > > configure: WARNING: environment variable QTDIR is not set
> > > > checking for moc... /usr/bin/moc
> > > > checking for findtr... /usr/bin/findtr
> 
> Can you please check if the attached patch fixes this warning for you?

Yes, now theres another one:

checking for QT includes... /usr/include/qt3
checking for KDE includes... no
checking for QT libraries... ./configure: line 17914: test: =: unary operator expected
./configure: line 17914: test: =: unary operator expected
yes, lib: -lqt-mt in /usr/lib
checking for QT >= 3.x... yes
configure: WARNING: environment variable QTDIR is not set
checking for moc... /usr/bin/moc

The attached patch includes your fix and also the fix for the new 
warning message.

Thank you.

-- 
--- acinclude.m4.in     2004-02-17 10:42:03.000000000 +0100
+++ /home/joerg/cvs/licq-dup/plugins/qt-gui/acinclude.m4.in     2004-02-21 
15:42:11.000000000 +0100
@@ -53,7 +53,7 @@
       fi
 
       for qt_dir in $qt_library_dirs; do
-        if test -z $ac_kde || test $ac_kde = "no" || test $kde_version -ge 3; then
+        if test -z $ac_kde || test "$ac_kde" = "no" || test "$kde_version" -ge 3; then
           if test -r "$qt_dir/libqt-mt.so"; then
             ac_qt_libname=-lqt-mt
             ac_qt_libdir=$qt_dir
@@ -72,7 +72,7 @@
         fi
 
         # If no KDE or KDE < 3 we might try for libqt, too
-        if test $ac_kde = "no" || test $kde_version -lt 3; then
+        if test "$ac_kde" = "no" || test $kde_version -lt 3; then
           if test -r "$qt_dir/libqt.so"; then
             ac_qt_libname=-lqt
             ac_qt_libdir=$qt_dir

Reply via email to