@cryptotaxi247 / netdata-1 / commits / f47b43078

Added more stringent check for C99 support in configure script. (#9982)

This will help ensure that people who are building on a compiler that does not support C99 get a more useful message about needing C99 and also avoid wasting time getting into the build itself.

Austin S. Hemmelgarn committed Sep 24, 2020 at 06:54 UTC f47b430780b812b37b5bba241982c4741dc934b7
1 file changed +4
configure.ac
+4
@@ -173,6 +173,10 @@ AC_ARG_ENABLE(
173 [enable_ebpf="detect"]
174 )
175
176 +# -----------------------------------------------------------------------------
177 +# Enforce building with C99, bail early if we can't.
178 +test "${ac_cv_prog_cc_c99}" = "no" && AC_MSG_ERROR([Netdata rquires a compiler that supports C99 to build])
179 +
180 # -----------------------------------------------------------------------------
181 # Check if cloud is enabled and if the functionality is available
182