common/autoconf/generated-configure.sh

Print this page




3860 
3861 # Check if the VS env variables were setup prior to running configure.
3862 # If not, then find vcvarsall.bat and run it automatically, and integrate
3863 # the set env variables into the spec file.
3864 
3865 
3866 
3867 
3868 
3869 
3870 
3871 
3872 
3873 
3874 # This line needs to be here, verbatim, after all includes and the dummy hook
3875 # definitions. It is replaced with custom functionality when building
3876 # custom sources.
3877 #CUSTOM_AUTOCONF_INCLUDE
3878 
3879 # Do not change or remove the following line, it is needed for consistency checks:
3880 DATE_WHEN_GENERATED=1421450260
3881 
3882 ###############################################################################
3883 #
3884 # Initialization / Boot-strapping
3885 #
3886 # The bootstrapping process needs to solve the "chicken or the egg" problem,
3887 # thus it jumps back and forth, each time gaining something needed later on.
3888 #
3889 ###############################################################################
3890 
3891 # Basic initialization that must happen first of all
3892 
3893   # Save the original command line. This is passed to us by the wrapper configure script.
3894 
3895   DATE_WHEN_CONFIGURED=`LANG=C date`
3896 
3897   { $as_echo "$as_me:${as_lineno-$LINENO}: Configuration created at $DATE_WHEN_CONFIGURED." >&5
3898 $as_echo "$as_me: Configuration created at $DATE_WHEN_CONFIGURED." >&6;}
3899   { $as_echo "$as_me:${as_lineno-$LINENO}: configure script generated at timestamp $DATE_WHEN_GENERATED." >&5
3900 $as_echo "$as_me: configure script generated at timestamp $DATE_WHEN_GENERATED." >&6;}


6823       ;;
6824     arm*)
6825       VAR_CPU=arm
6826       VAR_CPU_ARCH=arm
6827       VAR_CPU_BITS=32
6828       VAR_CPU_ENDIAN=little
6829       ;;
6830     powerpc)
6831       VAR_CPU=ppc
6832       VAR_CPU_ARCH=ppc
6833       VAR_CPU_BITS=32
6834       VAR_CPU_ENDIAN=big
6835       ;;
6836     powerpc64)
6837       VAR_CPU=ppc64
6838       VAR_CPU_ARCH=ppc
6839       VAR_CPU_BITS=64
6840       VAR_CPU_ENDIAN=big
6841       ;;
6842     powerpc64le)
6843       VAR_CPU=ppc64
6844       VAR_CPU_ARCH=ppc
6845       VAR_CPU_BITS=64
6846       VAR_CPU_ENDIAN=little
6847       ;;
6848     s390)
6849       VAR_CPU=s390
6850       VAR_CPU_ARCH=s390
6851       VAR_CPU_BITS=32
6852       VAR_CPU_ENDIAN=big
6853       ;;
6854     s390x)
6855       VAR_CPU=s390x
6856       VAR_CPU_ARCH=s390
6857       VAR_CPU_BITS=64
6858       VAR_CPU_ENDIAN=big
6859       ;;
6860     sparc)
6861       VAR_CPU=sparc
6862       VAR_CPU_ARCH=sparc
6863       VAR_CPU_BITS=32


6954       ;;
6955     arm*)
6956       VAR_CPU=arm
6957       VAR_CPU_ARCH=arm
6958       VAR_CPU_BITS=32
6959       VAR_CPU_ENDIAN=little
6960       ;;
6961     powerpc)
6962       VAR_CPU=ppc
6963       VAR_CPU_ARCH=ppc
6964       VAR_CPU_BITS=32
6965       VAR_CPU_ENDIAN=big
6966       ;;
6967     powerpc64)
6968       VAR_CPU=ppc64
6969       VAR_CPU_ARCH=ppc
6970       VAR_CPU_BITS=64
6971       VAR_CPU_ENDIAN=big
6972       ;;
6973     powerpc64le)
6974       VAR_CPU=ppc64
6975       VAR_CPU_ARCH=ppc
6976       VAR_CPU_BITS=64
6977       VAR_CPU_ENDIAN=little
6978       ;;
6979     s390)
6980       VAR_CPU=s390
6981       VAR_CPU_ARCH=s390
6982       VAR_CPU_BITS=32
6983       VAR_CPU_ENDIAN=big
6984       ;;
6985     s390x)
6986       VAR_CPU=s390x
6987       VAR_CPU_ARCH=s390
6988       VAR_CPU_BITS=64
6989       VAR_CPU_ENDIAN=big
6990       ;;
6991     sparc)
6992       VAR_CPU=sparc
6993       VAR_CPU_ARCH=sparc
6994       VAR_CPU_BITS=32


7951   else
7952     BUILDING_MULTIPLE_JVM_VARIANTS=no
7953   fi
7954 
7955 
7956 
7957 
7958 
7959 
7960 
7961 
7962 
7963 
7964   INCLUDE_SA=true
7965   if test "x$JVM_VARIANT_ZERO" = xtrue ; then
7966     INCLUDE_SA=false
7967   fi
7968   if test "x$JVM_VARIANT_ZEROSHARK" = xtrue ; then
7969     INCLUDE_SA=false
7970   fi
7971   if test "x$VAR_CPU" = xppc64 ; then
7972     INCLUDE_SA=false
7973   fi
7974 
7975 
7976   if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then
7977     MACOSX_UNIVERSAL="false"
7978   fi
7979 
7980 
7981 
7982 
7983   ###############################################################################
7984   #
7985   # Set the debug level
7986   #    release: no debug information, all optimizations, no asserts.
7987   #    fastdebug: debug information (-g), all optimizations, all asserts
7988   #    slowdebug: debug information (-g), no optimizations, all asserts
7989   #
7990   DEBUG_LEVEL="release"
7991   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug level to use" >&5


29711 
29712   CCXXFLAGS_JDK="$CCXXFLAGS_JDK $ADD_LP64"
29713 
29714   # The package path is used only on macosx?
29715   PACKAGE_PATH=/opt/local
29716 
29717 
29718   if test "x$OPENJDK_TARGET_CPU_ENDIAN" = xlittle; then
29719     # The macro _LITTLE_ENDIAN needs to be defined the same to avoid the
29720     #   Sun C compiler warning message: warning: macro redefined: _LITTLE_ENDIAN
29721     #   (The Solaris X86 system defines this in file /usr/include/sys/isa_defs.h).
29722     #   Note: -Dmacro         is the same as    #define macro 1
29723     #         -Dmacro=        is the same as    #define macro
29724     if test "x$OPENJDK_TARGET_OS" = xsolaris; then
29725       CCXXFLAGS_JDK="$CCXXFLAGS_JDK -D_LITTLE_ENDIAN="
29726     else
29727       CCXXFLAGS_JDK="$CCXXFLAGS_JDK -D_LITTLE_ENDIAN"
29728     fi
29729   else
29730     CCXXFLAGS_JDK="$CCXXFLAGS_JDK -D_BIG_ENDIAN"



29731   fi
29732   if test "x$OPENJDK_TARGET_OS" = xlinux; then
29733     CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DLINUX"
29734   fi
29735   if test "x$OPENJDK_TARGET_OS" = xwindows; then
29736     CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DWINDOWS"
29737   fi
29738   if test "x$OPENJDK_TARGET_OS" = xsolaris; then
29739     CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DSOLARIS"
29740   fi
29741   if test "x$OPENJDK_TARGET_OS" = xaix; then
29742     CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DAIX -DPPC64"
29743   fi
29744   if test "x$OPENJDK_TARGET_OS" = xmacosx; then
29745     CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DMACOSX -D_ALLBSD_SOURCE -D_DARWIN_UNLIMITED_SELECT"
29746     # Setting these parameters makes it an error to link to macosx APIs that are
29747     # newer than the given OS version and makes the linked binaries compatible even
29748     # if built on a newer version of the OS.
29749     # The expected format is X.Y.Z
29750     MACOSX_VERSION_MIN=10.7.0




3860 
3861 # Check if the VS env variables were setup prior to running configure.
3862 # If not, then find vcvarsall.bat and run it automatically, and integrate
3863 # the set env variables into the spec file.
3864 
3865 
3866 
3867 
3868 
3869 
3870 
3871 
3872 
3873 
3874 # This line needs to be here, verbatim, after all includes and the dummy hook
3875 # definitions. It is replaced with custom functionality when building
3876 # custom sources.
3877 #CUSTOM_AUTOCONF_INCLUDE
3878 
3879 # Do not change or remove the following line, it is needed for consistency checks:
3880 DATE_WHEN_GENERATED=1424261413
3881 
3882 ###############################################################################
3883 #
3884 # Initialization / Boot-strapping
3885 #
3886 # The bootstrapping process needs to solve the "chicken or the egg" problem,
3887 # thus it jumps back and forth, each time gaining something needed later on.
3888 #
3889 ###############################################################################
3890 
3891 # Basic initialization that must happen first of all
3892 
3893   # Save the original command line. This is passed to us by the wrapper configure script.
3894 
3895   DATE_WHEN_CONFIGURED=`LANG=C date`
3896 
3897   { $as_echo "$as_me:${as_lineno-$LINENO}: Configuration created at $DATE_WHEN_CONFIGURED." >&5
3898 $as_echo "$as_me: Configuration created at $DATE_WHEN_CONFIGURED." >&6;}
3899   { $as_echo "$as_me:${as_lineno-$LINENO}: configure script generated at timestamp $DATE_WHEN_GENERATED." >&5
3900 $as_echo "$as_me: configure script generated at timestamp $DATE_WHEN_GENERATED." >&6;}


6823       ;;
6824     arm*)
6825       VAR_CPU=arm
6826       VAR_CPU_ARCH=arm
6827       VAR_CPU_BITS=32
6828       VAR_CPU_ENDIAN=little
6829       ;;
6830     powerpc)
6831       VAR_CPU=ppc
6832       VAR_CPU_ARCH=ppc
6833       VAR_CPU_BITS=32
6834       VAR_CPU_ENDIAN=big
6835       ;;
6836     powerpc64)
6837       VAR_CPU=ppc64
6838       VAR_CPU_ARCH=ppc
6839       VAR_CPU_BITS=64
6840       VAR_CPU_ENDIAN=big
6841       ;;
6842     powerpc64le)
6843       VAR_CPU=ppc64le
6844       VAR_CPU_ARCH=ppc
6845       VAR_CPU_BITS=64
6846       VAR_CPU_ENDIAN=little
6847       ;;
6848     s390)
6849       VAR_CPU=s390
6850       VAR_CPU_ARCH=s390
6851       VAR_CPU_BITS=32
6852       VAR_CPU_ENDIAN=big
6853       ;;
6854     s390x)
6855       VAR_CPU=s390x
6856       VAR_CPU_ARCH=s390
6857       VAR_CPU_BITS=64
6858       VAR_CPU_ENDIAN=big
6859       ;;
6860     sparc)
6861       VAR_CPU=sparc
6862       VAR_CPU_ARCH=sparc
6863       VAR_CPU_BITS=32


6954       ;;
6955     arm*)
6956       VAR_CPU=arm
6957       VAR_CPU_ARCH=arm
6958       VAR_CPU_BITS=32
6959       VAR_CPU_ENDIAN=little
6960       ;;
6961     powerpc)
6962       VAR_CPU=ppc
6963       VAR_CPU_ARCH=ppc
6964       VAR_CPU_BITS=32
6965       VAR_CPU_ENDIAN=big
6966       ;;
6967     powerpc64)
6968       VAR_CPU=ppc64
6969       VAR_CPU_ARCH=ppc
6970       VAR_CPU_BITS=64
6971       VAR_CPU_ENDIAN=big
6972       ;;
6973     powerpc64le)
6974       VAR_CPU=ppc64le
6975       VAR_CPU_ARCH=ppc
6976       VAR_CPU_BITS=64
6977       VAR_CPU_ENDIAN=little
6978       ;;
6979     s390)
6980       VAR_CPU=s390
6981       VAR_CPU_ARCH=s390
6982       VAR_CPU_BITS=32
6983       VAR_CPU_ENDIAN=big
6984       ;;
6985     s390x)
6986       VAR_CPU=s390x
6987       VAR_CPU_ARCH=s390
6988       VAR_CPU_BITS=64
6989       VAR_CPU_ENDIAN=big
6990       ;;
6991     sparc)
6992       VAR_CPU=sparc
6993       VAR_CPU_ARCH=sparc
6994       VAR_CPU_BITS=32


7951   else
7952     BUILDING_MULTIPLE_JVM_VARIANTS=no
7953   fi
7954 
7955 
7956 
7957 
7958 
7959 
7960 
7961 
7962 
7963 
7964   INCLUDE_SA=true
7965   if test "x$JVM_VARIANT_ZERO" = xtrue ; then
7966     INCLUDE_SA=false
7967   fi
7968   if test "x$JVM_VARIANT_ZEROSHARK" = xtrue ; then
7969     INCLUDE_SA=false
7970   fi
7971   if test "x$VAR_CPU" = xppc64 -o "x$VAR_CPU" = xppc64le ; then
7972     INCLUDE_SA=false
7973   fi
7974 
7975 
7976   if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then
7977     MACOSX_UNIVERSAL="false"
7978   fi
7979 
7980 
7981 
7982 
7983   ###############################################################################
7984   #
7985   # Set the debug level
7986   #    release: no debug information, all optimizations, no asserts.
7987   #    fastdebug: debug information (-g), all optimizations, all asserts
7988   #    slowdebug: debug information (-g), no optimizations, all asserts
7989   #
7990   DEBUG_LEVEL="release"
7991   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug level to use" >&5


29711 
29712   CCXXFLAGS_JDK="$CCXXFLAGS_JDK $ADD_LP64"
29713 
29714   # The package path is used only on macosx?
29715   PACKAGE_PATH=/opt/local
29716 
29717 
29718   if test "x$OPENJDK_TARGET_CPU_ENDIAN" = xlittle; then
29719     # The macro _LITTLE_ENDIAN needs to be defined the same to avoid the
29720     #   Sun C compiler warning message: warning: macro redefined: _LITTLE_ENDIAN
29721     #   (The Solaris X86 system defines this in file /usr/include/sys/isa_defs.h).
29722     #   Note: -Dmacro         is the same as    #define macro 1
29723     #         -Dmacro=        is the same as    #define macro
29724     if test "x$OPENJDK_TARGET_OS" = xsolaris; then
29725       CCXXFLAGS_JDK="$CCXXFLAGS_JDK -D_LITTLE_ENDIAN="
29726     else
29727       CCXXFLAGS_JDK="$CCXXFLAGS_JDK -D_LITTLE_ENDIAN"
29728     fi
29729   else
29730     CCXXFLAGS_JDK="$CCXXFLAGS_JDK -D_BIG_ENDIAN"
29731   fi
29732   if test "x$OPENJDK_TARGET_CPU" = xppc64le; then
29733     CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DABI_ELFv2"
29734   fi
29735   if test "x$OPENJDK_TARGET_OS" = xlinux; then
29736     CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DLINUX"
29737   fi
29738   if test "x$OPENJDK_TARGET_OS" = xwindows; then
29739     CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DWINDOWS"
29740   fi
29741   if test "x$OPENJDK_TARGET_OS" = xsolaris; then
29742     CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DSOLARIS"
29743   fi
29744   if test "x$OPENJDK_TARGET_OS" = xaix; then
29745     CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DAIX -DPPC64"
29746   fi
29747   if test "x$OPENJDK_TARGET_OS" = xmacosx; then
29748     CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DMACOSX -D_ALLBSD_SOURCE -D_DARWIN_UNLIMITED_SELECT"
29749     # Setting these parameters makes it an error to link to macosx APIs that are
29750     # newer than the given OS version and makes the linked binaries compatible even
29751     # if built on a newer version of the OS.
29752     # The expected format is X.Y.Z
29753     MACOSX_VERSION_MIN=10.7.0