config.h name clash

From: Tomasz Wegrzanowski <taw(at)users(dot)sourceforge(dot)net>
To: pgsql-bugs(at)postgresql(dot)org
Subject: config.h name clash
Date: 2001-05-23 21:09:01
Message-ID: 20010523230901.A21666@tavaiah
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================

Your name : Tomasz Wegrzanowski
Your email address : taw(at)users(dot)sourceforge(dot)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.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2001-05-23 21:46:13 initdb --sysid does not work
Previous Message Tom Lane 2001-05-23 19:17:31 Re: bug in plpgsql???