Make an attempt at fixing our current Solaris 11 breakage: add a configure
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| 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 |