KConfig XT and maintaining compatibility
David Faure
dfaure at klaralvdalens-datakonsult.se
Sat Nov 15 18:29:22 GMT 2003
On Friday 14 November 2003 16:47, Unai Garro wrote:
>
> > am_edit just doesn't care about conditionals at all. No matter how you
> > write them.
>
> uh, really? I must fix my automake, since it works on all the other
> conditionals :)
>
> Oh, and more interestingly, I used to copy the code from juK :)
>
> I quote from it:
>
> ================
> if link_lib_GST
> gstlibs = -lkdegst -lkdegstplay
> endif
>
> juk_LDADD = $(gstlibs) $(mblibs) -lartskde $(LIB_KIO) $(taglib_libs)
> ================
>
> What's the difference? here (gstlibs) is being expanded and obviously the
> conditional is checked. The conditional (link_lib_GST is defined in
> configure.in.in, same as my xt_exists check)
Expandings libs is fine.
Expandings sources is much harder - how do you create targets and dependencies,
for sources that you don't know?
--
David Faure -- faure at kde.org, dfaure at klaralvdalens-datakonsult.se
Qt/KDE/KOffice developer
Klarälvdalens Datakonsult AB, Platform-independent software solutions
More information about the kde-core-devel
mailing list