Commit dab7c501 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

configure: allow C11 compiler for build system native compiler

Also error out if necessary.
parent 383a2090
...@@ -69,8 +69,10 @@ AM_PROG_AS ...@@ -69,8 +69,10 @@ AM_PROG_AS
AC_ARG_VAR([DESKTOP_FILE_VALIDATE], [Validator for desktop entry files]) AC_ARG_VAR([DESKTOP_FILE_VALIDATE], [Validator for desktop entry files])
AC_CHECK_PROGS(DESKTOP_FILE_VALIDATE, [${DESKTOP_FILE_VALIDATE} desktop-file-validate], :) AC_CHECK_PROGS(DESKTOP_FILE_VALIDATE, [${DESKTOP_FILE_VALIDATE} desktop-file-validate], :)
AC_PATH_PROG(YASM, yasm) AC_PATH_PROG(YASM, yasm)
AC_ARG_VAR([BUILDCC], [Build system C99 compiler command]) AC_ARG_VAR([BUILDCC], [Build system C11 or C99 compiler command])
AC_PATH_PROGS(BUILDCC, [c99-gcc c99]) AC_PATH_PROGS(BUILDCC, [c11-gcc c11 c99-gcc c99], [
AC_MSG_ERROR([Cannot find native C99 compiler: please define BUILDCC.])
])
dnl Check for compiler properties dnl Check for compiler properties
AC_C_CONST AC_C_CONST
......
Markdown is supported
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