postgresql/config
Heikki Linnakangas a2edb023d0 Replace obsolete autoconf macros with their modern replacements.
AC_TRY_COMPILE(...) -> AC_COMPILE_IFELSE([AC_LANG_PROGRAM(...)])
AC_TRY_LINK(...) -> AC_LINK_IFELSE([AC_LANG_PROGRAM(...)])
AC_TRY_RUN(...) -> AC_RUN_IFELSE([AC_LANG_PROGRAM(...)])
AC_LANG_SAVE/RESTORE -> AC_LANG_PUSH/POP
AC_DECL_SYS_SIGLIST -> AC_CHECK_DECLS(...) (per snippet in autoconf manual)

Also use AC_LANG_SOURCE instead of AC_LANG_PROGRAM, where the main()
function is not needed.

With these changes, autoconf -Wall doesn't complain anymore.

Andreas Karlsson
2015-07-02 19:21:23 +03:00
..
ac_func_accept_argtypes.m4 Replace obsolete autoconf macros with their modern replacements. 2015-07-02 19:21:23 +03:00
acx_pthread.m4 Replace obsolete autoconf macros with their modern replacements. 2015-07-02 19:21:23 +03:00
c-compiler.m4 Replace obsolete autoconf macros with their modern replacements. 2015-07-02 19:21:23 +03:00
c-library.m4 Replace obsolete autoconf macros with their modern replacements. 2015-07-02 19:21:23 +03:00
config.guess Update config.guess and config.sub 2014-05-10 10:33:34 -04:00
config.sub Update config.guess and config.sub 2014-05-10 10:33:34 -04:00
docbook.m4
general.m4
install-sh
libtool.m4
Makefile
missing
perl.m4
prep_buildtree
programs.m4 Replace obsolete autoconf macros with their modern replacements. 2015-07-02 19:21:23 +03:00
python.m4 Remove configure check prohibiting threaded libpython on OpenBSD. 2015-05-26 22:14:59 -04:00
tcl.m4 Accept tcl 8.6 in configure's probe for tclsh. 2014-05-10 10:48:01 -04:00
test_quiet_include.h pgindent run for 9.4 2014-05-06 12:12:18 -04:00