patching acinclude.m4, search QTDIR/lib too (and possible pkgconfig support)

Rex Dieter rdieter at math.unl.edu
Thu Dec 6 17:42:39 GMT 2007


See also,
http://bugs.kde.org/136377

Finally got bothered enough to want to do something about
branches/KDE/3.5/kde-common/admin/acinclude.m4

2 questions wrt to potential acinlude.m4 patches.
1.  Any objections adding support to serach for qtlib at QTDIR/lib (even on
64bit platforms)?

Index: acinclude.m4.in
===================================================================
--- acinclude.m4.in     (revision 745636)
+++ acinclude.m4.in     (working copy)
@@ -1459,7 +1459,7 @@

 qt_libdirs=""
 for dir in $kde_qt_dirs; do
-   qt_libdirs="$qt_libdirs $dir/lib${kdelibsuff} $dir"
+   qt_libdirs="$qt_libdirs $dir/lib${kdelibsuff} $dir/lib $dir"
 done
 qt_libdirs="$QTLIB $qt_libdirs /usr/X11R6/lib /usr/lib /usr/local/qt/lib
$x_libraries"
 if test ! "$ac_qt_libraries" = "NO"; then


2.  Any objections to incorporating pkgconfig support for qt detection?
I'd probably try implementing this as only a fallback if the current qt
detection methods fail.

-- Rex





More information about the kde-core-devel mailing list