Fix configure's AC_CHECK_DECLS tests to work correctly with clang. Back-port commit 16fbac39f into 9.3 and 9.2, so that these out-of-support branches can be built with clang without wading through a pile of warnings about strlcpy and related functions. check_decls.m4 required some adaptation to work with autoconf 2.63, but nothing too major.
Discussion: https://postgr.es/m/[email protected] Discussion: https://postgr.es/m/[email protected] Branch ------ REL9_2_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/b8464d2f5da0d1abe0925c5712d0c4810986e629 Modified Files -------------- aclocal.m4 | 1 + config/check_decls.m4 | 112 +++++++++++++++++++++++++++++ configure | 192 +++++++++++++++++++++++++++++++++++++++++++++++--- configure.in | 5 +- 4 files changed, 300 insertions(+), 10 deletions(-)
