pgsql: Adjust configure to use "+Olibmerrno" with HP-UX C compiler, if

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Adjust configure to use "+Olibmerrno" with HP-UX C compiler, if
Date: 2011-05-26 21:30:02
Message-ID: E1QPi82-0006nZ-CH@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Adjust configure to use "+Olibmerrno" with HP-UX C compiler, if possible.

This is reported to be necessary on some versions of that OS. In service
of this, cause PGAC_PROG_CC_CFLAGS_OPT to reject switches that result in
compiler warnings, since on yet other versions of that OS, the switch does
nothing except provoke a warning.

Report and patch by Ibrar Ahmed, further tweaking by me.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/44404f394517f89a0bebb1aaace6e64ad79d2817

Modified Files
--------------
config/c-compiler.m4 | 3 ++
configure | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++
configure.in | 4 ++
3 files changed, 94 insertions(+), 0 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2011-05-26 23:44:05 pgsql: Make decompilation of optimized CASE constructs more robust.
Previous Message Tom Lane 2011-05-25 20:27:47 pgsql: Suppress extensions in partial dumps.