From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Replace obsolete AC_LANG_FUNC_LINK_TRY autoconf macro. |
Date: | 2011-08-29 23:52:29 |
Message-ID: | E1QyBcz-0004Yg-9o@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Replace obsolete AC_LANG_FUNC_LINK_TRY autoconf macro.
The version of this macro used in autoconf 2.59 is capable of incorrectly
succeeding (ie, reporting that a library function is available when it
isn't), if the compiler performs link-time optimization and decides that
it can optimize the function reference away entirely. Replace it with the
coding used in autoconf 2.61 and later, which forces the program result to
depend on the function's result so that it cannot be optimized away. This
should fix build failures currently being seen on buildfarm member anchovy.
This patch affects the 8.2 and 8.3 branches only, since later branches are
using autoconf versions that don't have this problem.
Branch
------
REL8_3_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/f81da5997eaeebb481fb9d5d0c36bfc943bc3159
Modified Files
--------------
config/c-library.m4 | 69 ++++++
configure | 618 +++++++++++++++++++++------------------------------
2 files changed, 327 insertions(+), 360 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2011-08-30 02:26:47 | pgsql: Remove some tabs from README file. |
Previous Message | Tom Lane | 2011-08-29 19:21:51 | pgsql: Fix concat_ws() to not insert a separator after leading NULL arg |