commit: 05aa21138340e1e47fdc1221fe28f91c56069efd Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> AuthorDate: Sat Nov 6 01:00:57 2021 +0000 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> CommitDate: Sat Nov 6 01:00:57 2021 +0000 URL: https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=05aa2113
build: require at least a C99 compiler Realistically we aren't even testing with older than C11 compilers, but one thing at a time. Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org> configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index a353e0a..56ca87f 100644 --- a/configure.ac +++ b/configure.ac @@ -20,7 +20,8 @@ env 1>&AS_MESSAGE_LOG_FD AC_MSG_RESULT([ok]) dnl Check for compiler and features first. -AC_PROG_CC +AC_PROG_CC_C99 +AS_IF([test "$ac_cv_prog_cc_c99" = "no"], [AC_MSG_ERROR([A C99+ compiler is required])]) AM_PROG_CC_C_O AC_ISC_POSIX AC_USE_SYSTEM_EXTENSIONS
