[vlc-devel] [PATCH 3/6] src: fix compilation of fourcc_gen on OS/2

KO Myung-Hun komh78 at gmail.com
Wed Jul 8 08:59:33 CEST 2015


KO Myung-Hun wrote:
> 
> 
> Rémi Denis-Courmont wrote:
>> Le lundi 06 juillet 2015, 17:03:22 KO Myung-Hun a écrit :
>>> ---
>>>  configure.ac    | 15 ++++++++++++++-
>>>  src/Makefile.am |  6 +++---
>>>  2 files changed, 17 insertions(+), 4 deletions(-)
>>>
>>> diff --git a/configure.ac b/configure.ac
>>> index bf6d416..9751217 100644
>>> --- a/configure.ac
>>> +++ b/configure.ac
>>> @@ -73,7 +73,16 @@ 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], [false])
>>>  AS_IF([test "$BUILDCC" = "false"], [
>>> -  AC_MSG_ERROR([Cannot find native C99 compiler: please define BUILDCC.])
>>> +  case "${build_os}" in
>>> +    os2*)
>>> +      # OS/2 does not have c11* nor c99*. However C99 is suppoted by
>>> +      # gcc -std=gnu99.
>>> +      BUILDCC="gcc -std=gnu99"
>>> +      ;;
>>> +    *)
>>> +      AC_MSG_ERROR([Cannot find native C99 compiler: please define
>>> BUILDCC.]) +      ;;
>>> +  esac
>>>  ])
>>

Updated patches.

-- 
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

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-configure-improve-detection-of-BUILDCC-and-set-BUILD.patch
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20150708/f16094fe/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0002-src-append-BUILDEXEEXT-to-fourcc_gen.patch
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20150708/f16094fe/attachment-0001.ksh>


More information about the vlc-devel mailing list