[vlc-commits] configure: really print an error if the compiler cannot be found
Rémi Denis-Courmont
git at videolan.org
Sun Jun 28 22:10:19 CEST 2015
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jun 28 18:31:12 2015 +0300| [1dedcd3e13221f5ab878faf64d2b73d95fdb16fa] | committer: Rémi Denis-Courmont
configure: really print an error if the compiler cannot be found
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1dedcd3e13221f5ab878faf64d2b73d95fdb16fa
---
configure.ac | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 270577e..bf6d416 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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_PATH_PROG(YASM, yasm)
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.])
])
More information about the vlc-commits
mailing list