[vlc-devel] [vlc-commit] configure: allow C11 compiler for build system native compiler
KO Myung-Hun
komh78 at gmail.com
Tue Jun 23 12:54:22 CEST 2015
Rémi Denis-Courmont wrote:
> vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jun 21 22:21:44 2015 +0300| [dab7c5012610b5edae99adb7c59c4f2badd798fd] | committer: Rémi Denis-Courmont
>
> configure: allow C11 compiler for build system native compiler
>
> Also error out if necessary.
>
>> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dab7c5012610b5edae99adb7c59c4f2badd798fd
> ---
>
> configure.ac | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 5332221..4aba1af 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -69,8 +69,10 @@ AM_PROG_AS
> 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 C99 compiler command])
> -AC_PATH_PROGS(BUILDCC, [c99-gcc c99])
> +AC_ARG_VAR([BUILDCC], [Build system C11 or C99 compiler command])
> +AC_PATH_PROGS(BUILDCC, [c11-gcc c11 c99-gcc c99], [
> + AC_MSG_ERROR([Cannot find native C99 compiler: please define BUILDCC.])
> +])
>
The third argument of AC_PATH_PROGS is *value-if-not-found* not
*action-if-not-found*.
--
KO Myung-Hun
Using Mozilla SeaMonkey 2.7.2
Under OS/2 Warp 4 for Korean with FixPak #15
In VirtualBox v4.1.32 on Intel Core i7-3615QM 2.30GHz with 8GB RAM
Korean OS/2 User Community : http://www.ecomstation.co.kr
More information about the vlc-devel
mailing list