pgsql: Replace obsolete AC_LANG_FUNC_LINK_TRY autoconf macro.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Replace obsolete AC_LANG_FUNC_LINK_TRY autoconf macro.
Дата
Msg-id E1QyBcz-0004Yg-9o@gemulon.postgresql.org
обсуждение исходный текст
Список 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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix concat_ws() to not insert a separator after leading NULL arg
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Remove some tabs from README file.