KDE_* macros for autoconf

David Faure dfaure at klaralvdalens-datakonsult.se
Tue Mar 11 17:20:35 GMT 2003


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

On Tuesday 11 March 2003 18:05, Ravikiran Rajagopal wrote:
> > > Where is the documentation for the KDE_* macros for autoconf?
> >
> > Just the source with occasional comments.
> 
> This has been a frequently asked question on kde-devel. The problem is the
> often repeated statement that the KDE (kapptemplate) framework does all the
> autoconf magic so that you do not need to worry about it. In particular, you
> do not _need_ to have more than a passing acquaintance with autoconf to use
> it. However, much of the auto* magic in KDE seems to be widely applicable
> (usable) to a lot of simple applications, and would save people a lot of
> drudgery if they were well-documented. The source with the occasional
> comments is not easily comprehensible to someone not very familiar with auto*
> tools.
> 
> I do consider the KDE build system part of the KDE application framework, and
> as such, a part of the core libraries. Part of the reason I started
> developing for Qt (and then KDE) was the enormous amount of usable
> documentation. (The other reason was C++, which I hesitate to say because of
> our current flamewar :-) George Staikos and others in the current glib thread
> have stated the argument for writing tutorials over just coding, and this is
> a great example.

On the automake/am_edit level, i.e. what you need to put in a Makefile.am,
I wrote a rather comprehensive documentation:
http://developer.kde.org/documentation/other/makefile_am_howto.html

This doesn't cover the case where you need to write your own configure check.
This is a much broader subject, there are tons of things you might want to check
for, etc. I don't see the point in rewriting autoconf's documentation.

- -- 
David Faure -- faure at kde.org, dfaure at klaralvdalens-datakonsult.se
Qt/KDE/KOffice developer
Klarälvdalens Datakonsult AB, Platform-independent software solutions
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+bhrj72KcVAmwbhARAkyoAKC0oKuUBYaMIkb8OURp1hF54M88fgCdFDE+
T8GSEyvHEr7/FEpiKoYfFhE=
=nuAM
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list