--- configure~ 2008-08-06 15:22:43.000000000 +0200 +++ configure 2008-08-06 15:41:33.000000000 +0200 @@ -17313,17 +17313,18 @@ fi ;; *) - QT_LIBS=`ls $QTDIR/lib64/libQt*.so 2> /dev/null` + QT_LIBDIR=`pkg-config QtCore --variable=libdir` + QT_LIBS=`ls $QT_LIBDIR/libQt*.so 2> /dev/null` if test "x$QT_LIBS" = x; then - QT_LIBS=`ls $QTDIR/lib/libQt*.so 2> /dev/null` + QT_LIBS=`ls $QT_LIBDIR/libQt*.so 2> /dev/null` if test "x$QT_LIBS" = x; then { { echo "$as_me:$LINENO: error: *** Couldn't find any Qt4 libraries" >&5 echo "$as_me: error: *** Couldn't find any Qt4 libraries" >&2;} { (exit 1); exit 1; }; } fi - QT_LIB="-L$QTDIR/lib -L$QTDIR/lib/qt4" + QT_LIB="-L$QT_LIBDIR" else - QT_LIB="-L$QTDIR/lib64 -L$QTDIR/lib64/qt4" + QT_LIB="-L$QT_LIBDIR" fi QT_LIB="$QT_LIB -lQtCore -lQtXml -lQtNetwork" QT_LIB_GUI="-lQtGui"