KConfig XT and maintaining compatibility

Unai Garro Unai.Garro at ee.ed.ac.uk
Fri Nov 14 07:50:14 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi there, after a few hours trying to solve this, I decided to ask here for 
better hints.

I've been using KAutoConfigDialog for a while, with a few ifdefs to simply 
enable backwards compatibility with 3.1.4.

Now, I wanted to do the same with KConfig XT, but there's one problem. I need 
to add an additional "krecipes.kcfg" to my krecipes_SOURCES line 
conditionally.

Now, in order to make this work with 3.1.4, I had done something like this:

=================

#define optional sources when KConfigXT exists

if xt_exists
xt_added=krecipes.kcfg
endif

#define the krecipes sources

krecipes_SOURCES= ...................... $(xt_added)


=================


No matter what I do, the kconfig XT scripts don't seem to expand (xt_added), 
so the configure files are not compiled.

Would it be possible to fix this somehow?



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/tIk6WNUXeOoCNE0RAlVhAJ99MrXMgmkSbSTsOkBpbiL2ws6lyACfdY8V
hzDlf0T4A4PBqUzVPJ3QMzc=
=khdy
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list