]> granicus.if.org Git - postgresql/commit
Try to enable C99 in configure, but do not rely on it (yet).
authorAndres Freund <andres@anarazel.de>
Thu, 16 Aug 2018 08:32:05 +0000 (01:32 -0700)
committerAndres Freund <andres@anarazel.de>
Thu, 16 Aug 2018 08:32:05 +0000 (01:32 -0700)
commit86d78ef50e0195f8181f2b0bd9540f4ddfb73480
tree5ebb642529159847eefb533cad7dd9ec5b3c169d
parent3593579bcdc77a70e0f987dca6d47f0bf1337f76
Try to enable C99 in configure, but do not rely on it (yet).

Based on recent discussion it seems possible that we might start to
rely on more of C99. A prerequisite for that is enabling support for
that on used compilers.

Let's see on which buildfarm members autoconf's AC_PROG_CC_C99() is
sufficient to do so. There's probably at least one member where the
compiler is too old, but that'd probably be OK.

If we go for this permanently we'd likely want to clean out / up a few
other configure tests.

Note this does not touch the msvc build infrastructure, which'd need
separate treatment.

Discussion: https://postgr.es/m/20180815222401.kxsupl5zie2jgi4x@alap3.anarazel.de
configure
configure.in