https://github.com/postgres/postgres
Revision cbd51548dc1869fde58b621ea3c2fc9386947ea9 authored by Tom Lane on 29 August 2011, 23:52:13 UTC, committed by Tom Lane on 29 August 2011, 23:52:13 UTC
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.
1 parent a2d9f94
History
Tip revision: cbd51548dc1869fde58b621ea3c2fc9386947ea9 authored by Tom Lane on 29 August 2011, 23:52:13 UTC
Replace obsolete AC_LANG_FUNC_LINK_TRY autoconf macro.
Tip revision: cbd5154
File Mode Size
config
contrib
doc
src
.gitignore -rw-r--r-- 233 bytes
COPYRIGHT -rw-r--r-- 1.2 KB
GNUmakefile.in -rw-r--r-- 3.8 KB
Makefile -rw-r--r-- 1.4 KB
README -rw-r--r-- 2.0 KB
README.git -rw-r--r-- 820 bytes
aclocal.m4 -rw-r--r-- 445 bytes
configure -rwxr-xr-x 693.1 KB
configure.in -rw-r--r-- 47.2 KB

README

back to top