From a80b0096f501b0e9a3349858396841d493cc45a4 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sun, 19 Jul 2020 14:07:01 -0400 Subject: [PATCH] * NEWS: [SV 58435] Document minimum C compiler version requirement * configure.ac: Require c99 via AC_PROG_CC_C99 --- NEWS | 6 ++++++ configure.ac | 3 +++ 2 files changed, 9 insertions(+) diff --git a/NEWS b/NEWS index 81b5726a..95909582 100644 --- a/NEWS +++ b/NEWS @@ -28,6 +28,12 @@ https://sv.gnu.org/bugs/index.php?group=make&report_id=111&fix_release_id=109&se rebuilt is the same order in which make processed them, and this is defined to be true in the GNU make manual. +* WARNING: New build requirement + GNU make utilizes facilities from GNU Gnulib: Gnulib requires certain C99 + features in the C compiler and so these features are required by GNU make: + https://www.gnu.org/software/gnulib/manual/html_node/C99-features-assumed.html + The configure script should verify the compiler has these features. + * GNU Make can now be built for MS-Windows using the Tiny C tcc compiler. diff --git a/configure.ac b/configure.ac index f0315a12..960991c6 100644 --- a/configure.ac +++ b/configure.ac @@ -38,6 +38,9 @@ AM_INIT_AUTOMAKE([1.16.1 foreign -Werror -Wall]) AC_USE_SYSTEM_EXTENSIONS AC_PROG_CC +# GNU Gnulib requires C99, so I guess we might as well too... +AC_PROG_CC_C99 + # Configure gnulib gl_EARLY gl_INIT