Re: Conflicts with autoconf macroses - Mailing list pgsql-bugs

From Olleg
Subject Re: Conflicts with autoconf macroses
Date
Msg-id 3FCEF82F.8080005@telecom.mipt.ru
Whole thread Raw
In response to Re: Conflicts with autoconf macroses  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Tom Lane wrote:
> Olleg <olleg@jane.telecom.mipt.ru> writes:
>
>>It's bug, autoconf headers may not be included in "library headers".
>
>
> If you think it's a bug you'd better complain to the autoconf people.
> pg_config.h is generated entirely by autoconf tools.

The most libraries use autoheader, but don't generate such error.
Generation of pg_config.h is ok. The only mistake is include such
autoconf header in headers designed to use with external programs, spi
modules in this case. Autoconf header must be included in source
directly or included in headers for internal use only. And don't be
installed along with other library headers.

pgsql-bugs by date:

Previous
From: lanewhoy@mrcoffee.umich.edu
Date:
Subject: Failed regression test in postgresql-7.4
Next
From: Paul Billington
Date:
Subject: Migration 7.3 to 7.4 Numeric values using PQ_ interface