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