configure.in |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 8a2fc6e40fe6c33c2b8f893079e009e430450515
Author: Luboš Luňák <l.lu...@suse.cz>
Date:   Thu Apr 19 14:37:10 2012 +0200

    do not refer to a variable that has not been set yet
    
    Especially if it will be set as a result of the code that now tries
    to use it (alternatively, it comes from the Qt3 check, which is not
    right either).

diff --git a/configure.in b/configure.in
index 801199c..c3847c1 100644
--- a/configure.in
+++ b/configure.in
@@ -9295,10 +9295,10 @@ if test "$test_kde4" = "yes" -a "$ENABLE_KDE4" = 
"TRUE"; then
     fi
 
     dnl Check for qmake
-    AC_PATH_PROG( QMAKEQT4, qmake-qt4, no, [`dirname 
$qt_lib_dir`/bin:$QT4DIR/bin:$PATH] )
+    AC_PATH_PROG( QMAKEQT4, qmake-qt4, no, [`dirname 
$qt_header_dir`/bin:$QT4DIR/bin:$PATH] )
     QMAKE4="$QMAKEQT4"
     if test "$QMAKE4" = "no" ; then
-        AC_PATH_PROG( QMAKE4, qmake, no, [`dirname 
$qt_lib_dir`/bin:$QT4DIR/bin:$PATH] )
+        AC_PATH_PROG( QMAKE4, qmake, no, [`dirname 
$qt_header_dir`/bin:$QT4DIR/bin:$PATH] )
         if test "$QMAKE4" = "no" ; then
             AC_MSG_ERROR([Qmake not found.  Please specify
 the root of your Qt installation by exporting QT4DIR before running 
"configure".])
_______________________________________________
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to