common/autoconf/platform.m4

changeset 2163
6df58ec100b0
parent 2161
e50b76885c16
child 2164
d880fd7491af
equal deleted inserted replaced
2162:173035c9ff70 2163:6df58ec100b0
291 OPENJDK_TARGET_CPU_LEGACY_LIB="$OPENJDK_TARGET_CPU" 291 OPENJDK_TARGET_CPU_LEGACY_LIB="$OPENJDK_TARGET_CPU"
292 if test "x$OPENJDK_TARGET_CPU" = xx86; then 292 if test "x$OPENJDK_TARGET_CPU" = xx86; then
293 OPENJDK_TARGET_CPU_LEGACY_LIB="i386" 293 OPENJDK_TARGET_CPU_LEGACY_LIB="i386"
294 elif test "x$OPENJDK_TARGET_CPU" = xx86_64; then 294 elif test "x$OPENJDK_TARGET_CPU" = xx86_64; then
295 OPENJDK_TARGET_CPU_LEGACY_LIB="amd64" 295 OPENJDK_TARGET_CPU_LEGACY_LIB="amd64"
296 elif test "x$OPENJDK_TARGET_CPU" = xmips64 && test "x$OPENJDK_TARGET_CPU_ENDIAN" = xlittle; then
297 OPENJDK_TARGET_CPU_LEGACY_LIB="mips64el"
296 fi 298 fi
297 AC_SUBST(OPENJDK_TARGET_CPU_LEGACY_LIB) 299 AC_SUBST(OPENJDK_TARGET_CPU_LEGACY_LIB)
298 300
299 # This is the name of the cpu (but using i386 and amd64 instead of 301 # This is the name of the cpu (but using i386 and amd64 instead of
300 # x86 and x86_64, respectively), preceeded by a /, to be used when 302 # x86 and x86_64, respectively), preceeded by a /, to be used when
337 if test "x$OPENJDK_TARGET_CPU" = xx86; then 339 if test "x$OPENJDK_TARGET_CPU" = xx86; then
338 OPENJDK_TARGET_CPU_JLI="i386" 340 OPENJDK_TARGET_CPU_JLI="i386"
339 elif test "x$OPENJDK_TARGET_OS" != xmacosx && test "x$OPENJDK_TARGET_CPU" = xx86_64; then 341 elif test "x$OPENJDK_TARGET_OS" != xmacosx && test "x$OPENJDK_TARGET_CPU" = xx86_64; then
340 # On all platforms except macosx, we replace x86_64 with amd64. 342 # On all platforms except macosx, we replace x86_64 with amd64.
341 OPENJDK_TARGET_CPU_JLI="amd64" 343 OPENJDK_TARGET_CPU_JLI="amd64"
344 elif test "x$OPENJDK_TARGET_CPU" = xmips64 && test "x$OPENJDK_TARGET_CPU_ENDIAN" = xlittle; then
345 OPENJDK_TARGET_CPU_JLI="mips64el"
342 fi 346 fi
343 # Now setup the -D flags for building libjli. 347 # Now setup the -D flags for building libjli.
344 OPENJDK_TARGET_CPU_JLI_CFLAGS="-DLIBARCHNAME='\"$OPENJDK_TARGET_CPU_JLI\"'" 348 OPENJDK_TARGET_CPU_JLI_CFLAGS="-DLIBARCHNAME='\"$OPENJDK_TARGET_CPU_JLI\"'"
345 if test "x$OPENJDK_TARGET_OS" = xsolaris; then 349 if test "x$OPENJDK_TARGET_OS" = xsolaris; then
346 if test "x$OPENJDK_TARGET_CPU_ARCH" = xsparc; then 350 if test "x$OPENJDK_TARGET_CPU_ARCH" = xsparc; then

mercurial