]> granicus.if.org Git - postgresql/commit
Fix configure probe for sys/ucred.h.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 25 Jul 2013 15:39:18 +0000 (11:39 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 25 Jul 2013 15:39:18 +0000 (11:39 -0400)
commit3ba763bd95b6eb027bc87e73806241b460807091
tree779813379659ce6ada6b294f1d2e7509c5c2c365
parent13f11c8a8cd0f696fc5f4aead96344e4a6173448
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.
configure
configure.in