Re: Conflicts with autoconf macroses

From: Olleg <olleg(at)jane(dot)telecom(dot)mipt(dot)ru>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Conflicts with autoconf macroses
Date: 2003-12-04 09:02:39
Message-ID: 3FCEF82F.8080005@telecom.mipt.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Tom Lane wrote:
> Olleg <olleg(at)jane(dot)telecom(dot)mipt(dot)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.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Paul Billington 2003-12-04 10:50:05 Migration 7.3 to 7.4 Numeric values using PQ_ interface
Previous Message Alvar Freude 2003-12-03 23:25:01 Re: bytea, index and like operator