postgresql/config
Tom Lane 923f9c2def Postpone LLVM-related uses of AC_CHECK_DECLS.
Calling AC_CHECK_DECLS before we've finished setting up the compiler's
CFLAGS seems like a pretty risky proposition, especially now that the
first use of that macro will result in a test to see whether the compiler
gives warning or error for undeclared built-in functions.  That answer
could very easily get changed later than where PGAC_LLVM_SUPPORT is
called; furthermore, it's hardly unlikely that flags such as -D_GNU_SOURCE
could change visibility of declarations.  Hence, be a little less cavalier
about where to do LLVM-related tests.  This results in v11 and HEAD doing
the warning-or-error check at the same place in the script as older
branches are doing it, which seems like a good thing.

Per further thought about commits 0b59b0e8b and 16fbac39f.
2018-11-19 12:43:05 -05:00
..
ac_func_accept_argtypes.m4
ax_prog_perl_modules.m4
ax_pthread.m4
c-compiler.m4 Fix typos 2018-07-10 11:15:52 +02:00
c-library.m4 Fix detection of the result type of strerror_r(). 2018-09-30 16:24:56 -04:00
check_decls.m4 Fix configure's AC_CHECK_DECLS tests to work correctly with clang. 2018-11-19 12:01:47 -05:00
config.guess
config.sub
docbook.m4
general.m4
install-sh
libtool.m4
llvm.m4 Postpone LLVM-related uses of AC_CHECK_DECLS. 2018-11-19 12:43:05 -05:00
Makefile
missing
perl.m4
pkg.m4
prep_buildtree
programs.m4
python.m4
tcl.m4 Make some fixes to allow building Postgres on macOS 10.14 ("Mojave"). 2018-09-25 13:23:29 -04:00