Modify the recently-added probe for -Wl,--as-needed some more, because RHEL-4
Tom Lane <tgl@sss.pgh.pa.us>
Modify the recently-added probe for -Wl,--as-needed some more, because RHEL-4 vintage Linux is even more broken than we realized: a link to libreadline will succeed, and fail only at runtime. It seems that an AC_TRY_RUN test is the only reliable way to check whether this is really safe. Per report from Tatsuo.
Files
| Path | Change | +/− |
|---|---|---|
| config/c-compiler.m4 | modified | +8 −5 |
| configure | modified | +57 −51 |
| configure.in | modified | +2 −2 |