pgsql: Fix configure probe for sys/ucred.h.

Lists: pgsql-committers
From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix configure probe for sys/ucred.h.
Date: 2013-07-25 15:40:29
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Lists: pgsql-committers

Fix configure probe for sys/ucred.h.

The configure script's test for <sys/ucred.h> did not work on OpenBSD,
because on that platform <sys/param.h> has to be included first.
As a result, socket peer authentication was disabled on that platform.
Problem introduced in commit be4585b1c27ac5dbdd0d61740d18f7ad9a00e268.

Andres Freund, slightly simplified by me.

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/7f0bc6b448e70f18b9ff35be3a90444542d09d08

Modified Files
--------------
configure | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++----
configure.in | 14 ++++++++---
2 files changed, 83 insertions(+), 7 deletions(-)