[patch] header define symbol pollution

Panu Matilainen pmatilai at laiskiainen.org
Tue Oct 3 11:37:04 PDT 2006


On Tue, 19 Sep 2006, Ralf Corsepius wrote:

> Hi,
>
> The patch below addresses apt's API polluting its headers with defines
> reserved to autoconf/autoheader.
>
> To address this, I used a brute-force approach:
>
> * Rename all WITH_ defines (Namespace of defines reserved to autoconf)
> which are used in exported headers, into APT_WITH_
> * Export a secondary, manually written config header
> (apt-pkg/aptconf.h), which only contains these defines (autoheader only
> generates the first AC_CONFIG_HEADER inside a configure.ac).
>
> After applying the patch, svn add apt-pkg/aptconf.h.in and run
> autoreconf from the toplevel to regenerate the auto* generated files.

Applied, thanks.

Life's slowly beginning to normalize (internet connection and all, 
whee...) in my new home so I can start resuming apt-rpm activities :)

 	- Panu -



More information about the Apt-Rpm mailing list