summaryrefslogtreecommitdiff
path: root/config/c-compiler.m4
diff options
context:
space:
mode:
authorTom Lane2020-02-21 19:30:21 +0000
committerTom Lane2020-02-21 19:30:48 +0000
commitf4d59369d2ddf0ad7850112752ec42fd115825d4 (patch)
treea5261aa5f857d1f19189a5004bd91677c271b742 /config/c-compiler.m4
parent97cf1fa4ed57cc1ed556ac4f827e7df8538f2d29 (diff)
Assume that we have signed integral types and flexible array members.
These compiler features are required by C99, so remove the configure probes for them. This is part of a series of commits to get rid of no-longer-relevant configure checks and dead src/port/ code. I'm committing them separately to make it easier to back out individual changes if they prove less portable than I expect. Discussion: https://postgr.es/m/15379.1582221614@sss.pgh.pa.us
Diffstat (limited to 'config/c-compiler.m4')
-rw-r--r--config/c-compiler.m415
1 files changed, 0 insertions, 15 deletions
diff --git a/config/c-compiler.m4 b/config/c-compiler.m4
index 71b645839db..501b74b3a19 100644
--- a/config/c-compiler.m4
+++ b/config/c-compiler.m4
@@ -2,21 +2,6 @@
# config/c-compiler.m4
-# PGAC_C_SIGNED
-# -------------
-# Check if the C compiler understands signed types.
-AC_DEFUN([PGAC_C_SIGNED],
-[AC_CACHE_CHECK(for signed types, pgac_cv_c_signed,
-[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],
-[signed char c; signed short s; signed int i;])],
-[pgac_cv_c_signed=yes],
-[pgac_cv_c_signed=no])])
-if test x"$pgac_cv_c_signed" = xno ; then
- AC_DEFINE(signed,, [Define to empty if the C compiler does not understand signed types.])
-fi])# PGAC_C_SIGNED
-
-
-
# PGAC_C_PRINTF_ARCHETYPE
# -----------------------
# Select the format archetype to be used by gcc to check printf-type functions.