Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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.



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

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group