config.h name clash - Mailing list pgsql-bugs

From Tomasz Wegrzanowski
Subject config.h name clash
Date
Msg-id 20010523230901.A21666@tavaiah
Whole thread Raw
Responses Re: config.h name clash
List pgsql-bugs
============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name        :    Tomasz Wegrzanowski
Your email address    :    taw@users.sourceforge.net


System Configuration
---------------------
  Architecture (example: Intel Pentium)      :   i386

  Operating System (example: Linux 2.0.26 ELF)     :   GNU/Linux 2.4.3

  PostgreSQL version (example: PostgreSQL-7.1.1):   PostgreSQL-7.1.1

  Compiler used (example:  gcc 2.95.2)        :   gcc 2.95.4


Please enter a FULL description of your problem:
------------------------------------------------

My program uses autoconf and libpq++. Unfortunatelly autoconf's
config.h and poetgresql's config.h name-clashes and either libpq++.h
includes autoconf's config.h or program files include postgresql's
config.h




Please describe a way to repeat the problem.   Please try to provide a
concise reproducible example, if at all possible:
----------------------------------------------------------------------

Too many files even for smallest project that uses autoconf would be required.
If you need them, mail me.



If you know how this problem might be fixed, list the solution below:
---------------------------------------------------------------------

Rename config.h to pgconfig.h or something like that.

pgsql-bugs by date:

Previous
From: Roger While
Date:
Subject: Make on SCO Open Server
Next
From: Edmund Mergl
Date:
Subject: Re: dbd:pg finish() bug