< prev index next >

common/autoconf/generated-configure.sh

Print this page
@  rev 1284 : 8067330: ZERO_ARCHDEF incorrectly defined for PPC/PPC64 architectures
|


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;}


7195     A_LP64="LP64:="
7196     # -D_LP64=1 is only set on linux and mac. Setting on windows causes diff in
7197     # unpack200.exe
7198     if test "x$OPENJDK_TARGET_OS" = xlinux || test "x$OPENJDK_TARGET_OS" = xmacosx; then
7199       ADD_LP64="-D_LP64=1"
7200     fi
7201   fi
7202   LP64=$A_LP64
7203 
7204 
7205   if test "x$COMPILE_TYPE" = "xcross"; then
7206     # FIXME: ... or should this include reduced builds..?
7207     DEFINE_CROSS_COMPILE_ARCH="CROSS_COMPILE_ARCH:=$OPENJDK_TARGET_CPU_LEGACY"
7208   else
7209     DEFINE_CROSS_COMPILE_ARCH=""
7210   fi
7211 
7212 
7213   # ZERO_ARCHDEF is used to enable architecture-specific code
7214   case "${OPENJDK_TARGET_CPU}" in
7215     ppc*)    ZERO_ARCHDEF=PPC   ;;

7216     s390*)   ZERO_ARCHDEF=S390  ;;
7217     sparc*)  ZERO_ARCHDEF=SPARC ;;
7218     x86_64*) ZERO_ARCHDEF=AMD64 ;;
7219     x86)     ZERO_ARCHDEF=IA32  ;;
7220     *)      ZERO_ARCHDEF=$(echo "${OPENJDK_TARGET_CPU_LEGACY_LIB}" | tr a-z A-Z)
7221   esac
7222 
7223 
7224 
7225 
7226 # Continue setting up basic stuff. Most remaining code require fundamental tools.
7227 
7228   # Locate the directory of this script.
7229   SCRIPT="$0"
7230   AUTOCONF_DIR=`cd \`$DIRNAME $SCRIPT\`; $THEPWDCMD -L`
7231 
7232   # Where is the source? It is located two levels above the configure script.
7233   CURDIR="$PWD"
7234   cd "$AUTOCONF_DIR/../.."
7235   SRC_ROOT="`$THEPWDCMD -L`"




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=1424783708
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;}


7195     A_LP64="LP64:="
7196     # -D_LP64=1 is only set on linux and mac. Setting on windows causes diff in
7197     # unpack200.exe
7198     if test "x$OPENJDK_TARGET_OS" = xlinux || test "x$OPENJDK_TARGET_OS" = xmacosx; then
7199       ADD_LP64="-D_LP64=1"
7200     fi
7201   fi
7202   LP64=$A_LP64
7203 
7204 
7205   if test "x$COMPILE_TYPE" = "xcross"; then
7206     # FIXME: ... or should this include reduced builds..?
7207     DEFINE_CROSS_COMPILE_ARCH="CROSS_COMPILE_ARCH:=$OPENJDK_TARGET_CPU_LEGACY"
7208   else
7209     DEFINE_CROSS_COMPILE_ARCH=""
7210   fi
7211 
7212 
7213   # ZERO_ARCHDEF is used to enable architecture-specific code
7214   case "${OPENJDK_TARGET_CPU}" in
7215     ppc)     ZERO_ARCHDEF=PPC32 ;;
7216     ppc64)   ZERO_ARCHDEF=PPC64 ;;
7217     s390*)   ZERO_ARCHDEF=S390  ;;
7218     sparc*)  ZERO_ARCHDEF=SPARC ;;
7219     x86_64*) ZERO_ARCHDEF=AMD64 ;;
7220     x86)     ZERO_ARCHDEF=IA32  ;;
7221     *)      ZERO_ARCHDEF=$(echo "${OPENJDK_TARGET_CPU_LEGACY_LIB}" | tr a-z A-Z)
7222   esac
7223 
7224 
7225 
7226 
7227 # Continue setting up basic stuff. Most remaining code require fundamental tools.
7228 
7229   # Locate the directory of this script.
7230   SCRIPT="$0"
7231   AUTOCONF_DIR=`cd \`$DIRNAME $SCRIPT\`; $THEPWDCMD -L`
7232 
7233   # Where is the source? It is located two levels above the configure script.
7234   CURDIR="$PWD"
7235   cd "$AUTOCONF_DIR/../.."
7236   SRC_ROOT="`$THEPWDCMD -L`"


< prev index next >