80589af
--- /tmp/configure.in	2011-04-12 13:22:35.691633964 +0100
80589af
+++ configure.in	2011-04-12 13:29:44.603368227 +0100
80589af
@@ -6822,11 +6822,11 @@
80589af
    qt_libdirs="$QT4LIB /usr/lib $x_libraries"
80589af
 
80589af
    kde_incdirs="/usr/include $x_includes"
80589af
-   kde_libdirs="/usr/lib $x_libraries"
80589af
+   kde_libdirs="/usr/lib /usr/lib/kde4 /usr/lib/kde4/devel $x_libraries"
80589af
 
80589af
    if test "$host_cpu" = "x86_64" ; then
80589af
       qt_libdirs="$qt_libdirs /usr/lib64/qt4 /usr/lib64/qt /usr/lib64"
80589af
-      kde_libdirs="$kde_libdirs /usr/lib64 /usr/lib64/kde4"
80589af
+      kde_libdirs="$kde_libdirs /usr/lib64 /usr/lib64/kde4 /usr/lib64/kde4/devel"
80589af
    fi
80589af
 
80589af
    if test -n "$QTDIR" ; then
80589af
@@ -6855,7 +6855,7 @@
80589af
       fi
80589af
    fi
80589af
    if test -n "$KDE4DIR" ; then
80589af
-      kde_incdirs="$KDE4DIR/include $kde_incdirs"
80589af
+      kde_incdirs="$KDE4DIR/include $KDE4DIR/include/kde4 $kde_incdirs"
80589af
       if test "$host_cpu" != "x86_64" ; then
80589af
          kde_libdirs="$KDE4DIR/lib $kde_libdirs"
80589af
       else