Make an attempt at fixing our current Solaris 11 breakage: add a configure

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 1d26226d9583ad7bee290ca9bba1aa3794e98a53
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2009-04-04T21:55:50Z
Releases: 8.4.0
Make an attempt at fixing our current Solaris 11 breakage: add a configure
probe for opterr (exactly like the one for optreset) and have getopt.c
define the variables only if configure doesn't find them in libc.

Files

PathChange+/−
configure modified +59 −0
configure.in modified +10 −1
src/include/pg_config.h.in modified +3 −0
src/port/getopt.c modified +16 −3