--- configure.orig	2009-06-09 23:25:33.000000000 +0200
+++ configure	2009-06-09 23:26:55.000000000 +0200
@@ -6214,7 +6214,7 @@
 $as_echo_n "checking for Qt headers... " >&6; }
 paths="$QTDIR/include /usr/local/qt/include /usr/include/qt /usr/include/qt3 \
   /usr/include /usr/X11R6/include/X11/qt /usr/X11R6/include/X11/qt \
-  /usr/X11R6/include/qt /usr/X11R6/include /sw/include/qt \
+  /usr/X11R6/include/qt /usr/X11R6/include \
   /usr/X11R6/include/qt2 $prefix/include/qt3"
 for path in $paths; do
   if test -f "$path/qapplication.h"; then
@@ -6278,9 +6278,9 @@
 $as_echo "checking for Qt... $QT_VER ($QT_MTS)" >&6; }
 { $as_echo "$as_me:$LINENO: checking for Qt library" >&5
 $as_echo_n "checking for Qt library... " >&6; }
-paths="$QTDIR/lib $QTDIR/lib64 /usr/local/qt/lib /usr/lib/qt /usr/lib \
+paths="$QTDIR/lib $QTDIR/lib64 /usr/lib/qt /usr/lib \
   /usr/X11R6/lib/X11/qt /usr/X11R6/lib/X11/qt /usr/X11R6/lib/qt \
-  /usr/X11R6/lib /sw/lib /usr/lib64/qt /usr/X11R6/lib/qt2"
+  /usr/X11R6/lib /usr/lib64/qt /usr/X11R6/lib/qt2"
 ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
