< prev index next >

make/autoconf/build-aux/config.guess

Print this page

        

*** 58,67 **** --- 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 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"`
< prev index next >