postgresql/config
Andres Freund de6fd1c898 Rely on inline functions even if that causes warnings in older compilers.
So far we have worked around the fact that some very old compilers do
not support 'inline' functions by only using inline functions
conditionally (or not at all). Since such compilers are very rare by
now, we have decided to rely on inline functions from 9.6 onwards.

To avoid breaking these old compilers inline is defined away when not
supported. That'll cause "function x defined but not used" type of
warnings, but since nobody develops on such compilers anymore that's
ok.

This change in policy will allow us to more easily employ inline
functions.

I chose to remove code previously conditional on PG_USE_INLINE as it
seemed confusing to have code dependent on a define that's always
defined.

Blacklisting of compilers, like in c53f73879f, now has to be done
differently. A platform template can define PG_FORCE_DISABLE_INLINE to
force inline to be defined empty.

Discussion: 20150701161447.GB30708@awork2.anarazel.de
2015-08-05 18:19:52 +02:00
..
Makefile Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
ac_func_accept_argtypes.m4 Replace obsolete autoconf macros with their modern replacements. 2015-07-02 19:21:23 +03:00
ax_pthread.m4 Update ax_pthread.m4 to an experimental draft version from upstream. 2015-07-30 14:14:50 +03:00
c-compiler.m4 Rely on inline functions even if that causes warnings in older compilers. 2015-08-05 18:19:52 +02: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 Fix configure's search for collateindex.pl. 2012-03-22 00:46:03 -04:00
general.m4 Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
install-sh Fix install-strip on Mac OS X 2012-08-21 23:42:43 -04:00
libtool.m4 Rename AC_PROG_LD* macros to PGAC_PROG_LD*. This avoids clashes with the 2004-07-17 18:53:56 +00:00
missing Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
perl.m4 Detect Windows perl linkage parameters in configure script. 2013-01-09 17:49:23 -05:00
prep_buildtree find -path is not portable, so use grep -v instead. 2010-10-25 10:04:00 -03:00
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