Re: [HACKERS] configure and cpp detection - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] configure and cpp detection
Date
Msg-id 6435.909509803@sss.pgh.pa.us
Whole thread Raw
In response to configure and cpp detection  (Andreas Zeugswetter <andreas.zeugswetter@telecom.at>)
List pgsql-hackers
Andreas Zeugswetter <andreas.zeugswetter@telecom.at> writes:
> somehow current CVS configure does not detect that $CC -E is not
> working on AIX and therefore configures xlc -E as preprocessor. It
> should be /lib/cpp

Hmm.  We just use the standard Autoconf AC_PROG_CPP macro, and there
are comments in the Autoconf code that show it's been tested on AIX.

Or are you only complaining about the case of invoking cpp to process
stdin?  I changed the configure test for that on Sunday; maybe I
broke something.  Or maybe AC_PROG_CPP is selecting $CC -E for CPP
because that works OK for reading from a file, but it can't be made
to work for reading stdin?

What does the config.log file show for the cpp tests (around line 1200
in configure)?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Vince Vielhaber
Date:
Subject: Re: [HACKERS] make install fails in perl5 ...
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] s_lock.h line 178