mirror of
https://code.videolan.org/videolan/vlc
synced 2024-08-27 04:21:53 +02:00
configure: really print an error if the compiler cannot be found
This commit is contained in:
parent
5f17cb41c0
commit
1dedcd3e13
@ -71,7 +71,8 @@ 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 C11 or C99 compiler command])
|
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.])
|
AC_MSG_ERROR([Cannot find native C99 compiler: please define BUILDCC.])
|
||||||
])
|
])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user