11 # This configure script is free software; the Free Software Foundation |
11 # This configure script is free software; the Free Software Foundation |
12 # gives unlimited permission to copy, distribute and modify it. |
12 # gives unlimited permission to copy, distribute and modify it. |
13 ## -------------------- ## |
13 ## -------------------- ## |
14 ## M4sh Initialization. ## |
14 ## M4sh Initialization. ## |
15 ## -------------------- ## |
15 ## -------------------- ## |
|
16 |
|
17 # |
|
18 # This file has been modified by Loongson Technology in 2015. These |
|
19 # modifications are Copyright (c) 2015 Loongson Technology, and are made |
|
20 # available on the same license terms set forth above. |
|
21 # |
16 |
22 |
17 # Be more Bourne compatible |
23 # Be more Bourne compatible |
18 DUALCASE=1; export DUALCASE # for MKS sh |
24 DUALCASE=1; export DUALCASE # for MKS sh |
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
25 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
20 emulate sh |
26 emulate sh |
7167 # On linux only, we replace x86 with i386. |
7185 # On linux only, we replace x86 with i386. |
7168 OPENJDK_TARGET_CPU_OSARCH="i386" |
7186 OPENJDK_TARGET_CPU_OSARCH="i386" |
7169 elif test "x$OPENJDK_TARGET_OS" != xmacosx && test "x$OPENJDK_TARGET_CPU" = xx86_64; then |
7187 elif test "x$OPENJDK_TARGET_OS" != xmacosx && test "x$OPENJDK_TARGET_CPU" = xx86_64; then |
7170 # On all platforms except macosx, we replace x86_64 with amd64. |
7188 # On all platforms except macosx, we replace x86_64 with amd64. |
7171 OPENJDK_TARGET_CPU_OSARCH="amd64" |
7189 OPENJDK_TARGET_CPU_OSARCH="amd64" |
|
7190 elif test "x$OPENJDK_TARGET_OS" = xlinux && test "x$OPENJDK_TARGET_CPU" = xmips64; then |
|
7191 # 2013/11/13 Jin: to be exactly same with OpenJDK 6(mips64) |
|
7192 # System.getProperty("os.arch"): mips64 -> mips64el |
|
7193 OPENJDK_TARGET_CPU_OSARCH="mips64el" |
7172 fi |
7194 fi |
7173 |
7195 |
7174 |
7196 |
7175 OPENJDK_TARGET_CPU_JLI="$OPENJDK_TARGET_CPU" |
7197 OPENJDK_TARGET_CPU_JLI="$OPENJDK_TARGET_CPU" |
7176 if test "x$OPENJDK_TARGET_CPU" = xx86; then |
7198 if test "x$OPENJDK_TARGET_CPU" = xx86; then |