a1b02af
a1b02af
The first half of this is certainly upstream-worthy, but the second half is presumably
a1b02af
some Fedora-specific KDE packaging thing.  It's not obvious how to get
a1b02af
kde4-config to report the directory which contains the .so files.
a1b02af
55ca5fb
--- subversion-1.6.6/build/ac-macros/kwallet.m4.kwallet
55ca5fb
+++ subversion-1.6.6/build/ac-macros/kwallet.m4
55ca5fb
@@ -47,14 +47,14 @@ AC_DEFUN(SVN_LIB_KWALLET,
55ca5fb
                     fi
a1b02af
                   done
a1b02af
                   qt_include_dirs="`$PKG_CONFIG --cflags-only-I QtCore QtDBus QtGui`"
a1b02af
-                  kde_dir="`$kde4_config --prefix`"
a1b02af
-                  SVN_KWALLET_INCLUDES="$DBUS_CPPFLAGS $qt_include_dirs -I$kde_dir/include"
a1b02af
+                  kde_include_dirs="-I`$kde4_config --path include`"
a1b02af
+                  SVN_KWALLET_INCLUDES="$DBUS_CPPFLAGS $qt_include_dirs $kde_include_dirs"
a1b02af
                   qt_libs_other_options="`$PKG_CONFIG --libs-only-other QtCore QtDBus QtGui`"
a1b02af
                   SVN_KWALLET_LIBS="$DBUS_LIBS -lQtCore -lQtDBus -lQtGui -lkdecore -lkdeui $qt_libs_other_options"
a1b02af
                   CXXFLAGS="$CXXFLAGS $SVN_KWALLET_INCLUDES"
a1b02af
                   LIBS="$LIBS $SVN_KWALLET_LIBS"
a1b02af
                   qt_lib_dirs="`$PKG_CONFIG --libs-only-L QtCore QtDBus QtGui`"
a1b02af
-                  LDFLAGS="$old_LDFLAGS $qt_lib_dirs -L$kde_dir/lib`$kde4_config --libsuffix`"
3833e05
+                  LDFLAGS="$old_LDFLAGS $qt_lib_dirs -L$libdir/kde4/devel"
a1b02af
                   AC_LANG(C++)
a1b02af
                   AC_LINK_IFELSE([
a1b02af
 #include <kwallet.h>