]> 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:11 +0000 (11:39 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 25 Jul 2013 15:39:59 +0000 (11:39 -0400)
commit7f0bc6b448e70f18b9ff35be3a90444542d09d08
treeb4aaf6a8f1ae35d98af78b156ab9ac74799f6204
parent830d0e0edd73c015ca07423c402a3b1f79118d8f
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