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

Rex Dieter rdieter at
Thu Dec 6 19:47:12 GMT 2007

See also,

Finally got bothered enough to want to do something about it to propose 
patches for

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

---     (revision 745636)
+++     (working copy)
@@ -1459,7 +1459,7 @@

 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"
 qt_libdirs="$QTLIB $qt_libdirs /usr/X11R6/lib /usr/lib /usr/local/qt/lib
 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