Updated config.guess for building under MSYS2
An updated tweak to the distributed ./config.guess
script is required for the project to build under MSYS2 (MinGW 64-bit).
Should not affect GPLv2 license.
Merge request reports
Activity
Before
JHammler@DM-ENG-690 MSYS /d/x264
$ ./configure
./config.guess: unable to guess system typeThis script, last modified 2012-09-25, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts fromhttp://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
and
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEADIf the version you run (./config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to config-patches@gnu.org in order to provide the needed
information to handle your system.config.guess timestamp = 2012-09-25
uname -m = x86_64
uname -r = 3.0.7-338.x86_64
uname -s = MSYS_NT-10.0-18362
uname -v = 2019-07-11 10:58 UTC/usr/bin/uname -p = unknown
/bin/uname -X =hostinfo =
/bin/universe =
/usr/bin/arch -k =
/bin/arch = x86_64
/usr/bin/oslevel =
/usr/convex/getsysinfo =UNAME_MACHINE = x86_64
UNAME_RELEASE = 3.0.7-338.x86_64
UNAME_SYSTEM = MSYS_NT-10.0-18362
UNAME_VERSION = 2019-07-11 10:58 UTC
config.sub: missing argument
Try `config.sub --help' for more information.
Unknown system , edit the configureAfter
JHammler@DM-ENG-690 MSYS /d/x264
$ ./configure
platform: X86_64
byte order: little-endian
system: WINDOWS
cli: yes
libx264: internal
shared: no
static: no
asm: yes
interlaced: yes
avs: avisynth
lavf: no
ffms: no
mp4: no
gpl: yes
thread: win32
opencl: yes
filters: crop select_every
lto: no
debug: no
gprof: no
strip: no
PIC: no
bit depth: all
chroma format: allYou can run 'make' or 'make fprofiled' now.
- Resolved by JHammler
Obviously, the user could also just obtain a more up to date version of
./config.guess
...
- Resolved by JHammler
Need to be rebased. Also you should add support to
configure
for$host_os = msys*
to be able compile with Intel Compiler or Microsoft Visual Studio under MSYS2. i.e.QPRE="-" -if [[ $host_os = mingw* || $host_os = cygwin* ]]; then +if [[ $host_os = mingw* || $host_os = msys* || $host_os = cygwin* ]]; then if [[ "$cc_base" = icl || "$cc_base" = icl[\ .]* ]]; then
Also allow pushing to your branch in merge request so we can rebase it ourselves.
Edited by Anton Mitrofanov
added 17 commits
-
d553b2da...235ce613 - 16 commits from branch
videolan:master
- 506db1f3 - Update config.guess for MSYS2
-
d553b2da...235ce613 - 16 commits from branch
mentioned in commit JHammler/x264@2f88afca