Commit 1dedcd3e authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

configure: really print an error if the compiler cannot be found

parent 5f17cb41
......@@ -71,7 +71,8 @@ AC_ARG_VAR([DESKTOP_FILE_VALIDATE], [Validator for desktop entry files])
AC_ARG_VAR([BUILDCC], [Build system C11 or C99 compiler command])
AC_PATH_PROGS(BUILDCC, [c11-gcc c11 c99-gcc c99], [
AC_PATH_PROGS(BUILDCC, [c11-gcc c11 c99-gcc c99], [false])
AS_IF([test "$BUILDCC" = "false"], [
AC_MSG_ERROR([Cannot find native C99 compiler: please define BUILDCC.])
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment