equal
deleted
inserted
replaced
58 OUT=$REAL_CPU`echo $OUT | sed -e 's/[^-]*//'` |
58 OUT=$REAL_CPU`echo $OUT | sed -e 's/[^-]*//'` |
59 ;; |
59 ;; |
60 esac |
60 esac |
61 fi |
61 fi |
62 |
62 |
|
63 # Test and fix wsl |
|
64 echo $OUT | grep x86_64-unknown-linux-gnu > /dev/null 2> /dev/null |
|
65 if test $? = 0; then |
|
66 uname -r | grep Microsoft > /dev/null 2> /dev/null |
|
67 if test $? = 0; then |
|
68 OUT="x86_64-pc-wsl" |
|
69 fi |
|
70 fi |
|
71 |
63 # Test and fix architecture string on AIX |
72 # Test and fix architecture string on AIX |
64 # On AIX 'config.guess' returns 'powerpc' as architecture but 'powerpc' is |
73 # On AIX 'config.guess' returns 'powerpc' as architecture but 'powerpc' is |
65 # implicitely handled as 32-bit architecture in 'platform.m4' so we check |
74 # implicitely handled as 32-bit architecture in 'platform.m4' so we check |
66 # for the kernel mode rewrite it to 'powerpc64' if we'Re running in 64-bit mode. |
75 # for the kernel mode rewrite it to 'powerpc64' if we'Re running in 64-bit mode. |
67 # The check could also be done with `/usr/sbin/prtconf | grep "Kernel Type" | grep "64-bit"` |
76 # The check could also be done with `/usr/sbin/prtconf | grep "Kernel Type" | grep "64-bit"` |