[PATCH] autodetecting lib suffix

Andras Mantia amantia at kde.org
Wed Jan 18 14:14:19 GMT 2006


 Recently I encountered two bugs regarding the library suffix on 64bit 
systems (see "DBus detection" on this list and 
https://bugzilla.novell.com/show_bug.cgi?id=143490). I got tired of it, 
so here is a patch for admin to automatically detect where the libc.so 
is and use the suffix for that library for KDE as well. 
Forgive the grep - grep - sed - sed line, I am not that expert in using 
those tools, so anybody having a better solution should speak.

There is a problem though: it uses grep -E. I cannot use the $EGREP, as 
it is detected right after the check for libsuffix and I have no idea 
how can I move this check to a later point. As I read in libtool.m4.in 
the EGREP check is integrated in autoconf > 2.54. I have no idea how it 
is done in unsermake, it might get from the libtool.m4.in. In either 
way, this seems to be automatic and I cannot decide when does it 
Does anyone have a better solution for this?

I would like to see this (or a fixed version) committed.

Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lib64.diff
Type: text/x-diff
Size: 1208 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060118/ac3382d0/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060118/ac3382d0/attachment.sig>

More information about the kde-core-devel mailing list