< prev index next >

make/autoconf/build-aux/config.guess

Print this page

        

*** 1,8 **** #!/bin/sh # ! # Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 only, as # published by the Free Software Foundation. --- 1,8 ---- #!/bin/sh # ! # Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 only, as # published by the Free Software Foundation.
*** 58,76 **** OUT=$REAL_CPU`echo $OUT | sed -e 's/[^-]*//'` ;; esac fi - # Test and fix wsl - echo $OUT | grep x86_64-unknown-linux-gnu > /dev/null 2> /dev/null - if test $? = 0; then - uname -r | grep -i microsoft > /dev/null 2> /dev/null - if test $? = 0; then - OUT="x86_64-pc-wsl" - fi - fi - # Test and fix architecture string on AIX # On AIX 'config.guess' returns 'powerpc' as architecture but 'powerpc' is # implicitely handled as 32-bit architecture in 'platform.m4' so we check # for the kernel mode rewrite it to 'powerpc64' if we'Re running in 64-bit mode. # The check could also be done with `/usr/sbin/prtconf | grep "Kernel Type" | grep "64-bit"` --- 58,67 ----
< prev index next >