On Mon, 2018-01-29 at 05:49 +0000, Pan, Xiuli wrote:
Reminder for applying this patch! On master branch
Please check if you have install sudo apt-get install autoconf-archive
And see this line when run ./autogen.sh
aclocal: installing 'm4/ax_check_compile_flag.m4' from '/usr/share/aclocal/ax_check_compile_flag.m4'
or have file 'm4/ax_check_compile_flag.m4' in your git repo.
If not you will find these when configure.
./configure: line 3451: syntax error near unexpected token `- msse4.2,' ./configure: line 3451: `AX_CHECK_COMPILE_FLAG(-msse4.2, SSE42_CFLAGS="-DOPS_SSE42 -msse4.2 -ffast-math -ftree-vectorizer- verbose=0",'
It seems to be some m4 expand auto check about 'AX_CHECK_COMPILE_FLAG'. If you did no install this macro it will just copy but not expand it in configure file. And then the error will occur.
Synced with Keqiao to update CI environment and build guide.
Looks like this macro is deprecated.
https://code.videolan.org/videolan/libdvdnav/commit/6f4580d0c170ca25de3 07576a0b82f161ec3326f
Ranjani, can you send a patch to use CC_CHECK_CFLAGS_APPEND instead of AX_CHECK_COMPILE_FLAG.
Thanks
Liam