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 |
7166 # On linux only, we replace x86 with i386. |
7184 # On linux only, we replace x86 with i386. |
7167 OPENJDK_TARGET_CPU_OSARCH="i386" |
7185 OPENJDK_TARGET_CPU_OSARCH="i386" |
7168 elif test "x$OPENJDK_TARGET_OS" != xmacosx && test "x$OPENJDK_TARGET_CPU" = xx86_64; then |
7186 elif test "x$OPENJDK_TARGET_OS" != xmacosx && test "x$OPENJDK_TARGET_CPU" = xx86_64; then |
7169 # On all platforms except macosx, we replace x86_64 with amd64. |
7187 # On all platforms except macosx, we replace x86_64 with amd64. |
7170 OPENJDK_TARGET_CPU_OSARCH="amd64" |
7188 OPENJDK_TARGET_CPU_OSARCH="amd64" |
|
7189 elif test "x$OPENJDK_TARGET_OS" = xlinux && test "x$OPENJDK_TARGET_CPU" = xmips64; then |
|
7190 # 2013/11/13 Jin: to be exactly same with OpenJDK 6(mips64) |
|
7191 # System.getProperty("os.arch"): mips64 -> mips64el |
|
7192 OPENJDK_TARGET_CPU_OSARCH="mips64el" |
7171 fi |
7193 fi |
7172 |
7194 |
7173 |
7195 |
7174 OPENJDK_TARGET_CPU_JLI="$OPENJDK_TARGET_CPU" |
7196 OPENJDK_TARGET_CPU_JLI="$OPENJDK_TARGET_CPU" |
7175 if test "x$OPENJDK_TARGET_CPU" = xx86; then |
7197 if test "x$OPENJDK_TARGET_CPU" = xx86; then |