common/autoconf/generated-configure.sh

Print this page
rev 997 : 8036767: PPC64: Support for little endian execution model
Contributed-by: asmundak@google.com


4215 
4216 # Check if the VS env variables were setup prior to running configure.
4217 # If not, then find vcvarsall.bat and run it automatically, and integrate
4218 # the set env variables into the spec file.
4219 
4220 
4221 
4222 
4223 
4224 
4225 
4226 
4227 
4228 
4229 # This line needs to be here, verbatim, after all includes and the dummy hook
4230 # definitions. It is replaced with custom functionality when building
4231 # custom sources.
4232 #CUSTOM_AUTOCONF_INCLUDE
4233 
4234 # Do not change or remove the following line, it is needed for consistency checks:
4235 DATE_WHEN_GENERATED=1394794899
4236 
4237 ###############################################################################
4238 #
4239 # Initialization / Boot-strapping
4240 #
4241 # The bootstrapping process needs to solve the "chicken or the egg" problem,
4242 # thus it jumps back and forth, each time gaining something needed later on.
4243 #
4244 ###############################################################################
4245 
4246 # If we are requested to print additional help, do that and then exit.
4247 # This must be the very first call.
4248 
4249   if test "x$CONFIGURE_PRINT_TOOLCHAIN_LIST" != x; then
4250     $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
4251     $PRINTF "Which are valid to use depends on the build platform.\n"
4252     for toolchain in $VALID_TOOLCHAINS_all; do
4253       # Use indirect variable referencing
4254       toolchain_var_name=TOOLCHAIN_DESCRIPTION_$toolchain
4255       TOOLCHAIN_DESCRIPTION=${!toolchain_var_name}


13490       VAR_CPU_ENDIAN=little
13491       ;;
13492     arm*)
13493       VAR_CPU=arm
13494       VAR_CPU_ARCH=arm
13495       VAR_CPU_BITS=32
13496       VAR_CPU_ENDIAN=little
13497       ;;
13498     powerpc)
13499       VAR_CPU=ppc
13500       VAR_CPU_ARCH=ppc
13501       VAR_CPU_BITS=32
13502       VAR_CPU_ENDIAN=big
13503       ;;
13504     powerpc64)
13505       VAR_CPU=ppc64
13506       VAR_CPU_ARCH=ppc
13507       VAR_CPU_BITS=64
13508       VAR_CPU_ENDIAN=big
13509       ;;






13510     s390)
13511       VAR_CPU=s390
13512       VAR_CPU_ARCH=s390
13513       VAR_CPU_BITS=32
13514       VAR_CPU_ENDIAN=big
13515       ;;
13516     s390x)
13517       VAR_CPU=s390x
13518       VAR_CPU_ARCH=s390
13519       VAR_CPU_BITS=64
13520       VAR_CPU_ENDIAN=big
13521       ;;
13522     sparc)
13523       VAR_CPU=sparc
13524       VAR_CPU_ARCH=sparc
13525       VAR_CPU_BITS=32
13526       VAR_CPU_ENDIAN=big
13527       ;;
13528     sparcv9)
13529       VAR_CPU=sparcv9


13614       VAR_CPU_BITS=32
13615       VAR_CPU_ENDIAN=little
13616       ;;
13617     arm*)
13618       VAR_CPU=arm
13619       VAR_CPU_ARCH=arm
13620       VAR_CPU_BITS=32
13621       VAR_CPU_ENDIAN=little
13622       ;;
13623     powerpc)
13624       VAR_CPU=ppc
13625       VAR_CPU_ARCH=ppc
13626       VAR_CPU_BITS=32
13627       VAR_CPU_ENDIAN=big
13628       ;;
13629     powerpc64)
13630       VAR_CPU=ppc64
13631       VAR_CPU_ARCH=ppc
13632       VAR_CPU_BITS=64
13633       VAR_CPU_ENDIAN=big






13634       ;;
13635     s390)
13636       VAR_CPU=s390
13637       VAR_CPU_ARCH=s390
13638       VAR_CPU_BITS=32
13639       VAR_CPU_ENDIAN=big
13640       ;;
13641     s390x)
13642       VAR_CPU=s390x
13643       VAR_CPU_ARCH=s390
13644       VAR_CPU_BITS=64
13645       VAR_CPU_ENDIAN=big
13646       ;;
13647     sparc)
13648       VAR_CPU=sparc
13649       VAR_CPU_ARCH=sparc
13650       VAR_CPU_BITS=32
13651       VAR_CPU_ENDIAN=big
13652       ;;
13653     sparcv9)




4215 
4216 # Check if the VS env variables were setup prior to running configure.
4217 # If not, then find vcvarsall.bat and run it automatically, and integrate
4218 # the set env variables into the spec file.
4219 
4220 
4221 
4222 
4223 
4224 
4225 
4226 
4227 
4228 
4229 # This line needs to be here, verbatim, after all includes and the dummy hook
4230 # definitions. It is replaced with custom functionality when building
4231 # custom sources.
4232 #CUSTOM_AUTOCONF_INCLUDE
4233 
4234 # Do not change or remove the following line, it is needed for consistency checks:
4235 DATE_WHEN_GENERATED=1395358435
4236 
4237 ###############################################################################
4238 #
4239 # Initialization / Boot-strapping
4240 #
4241 # The bootstrapping process needs to solve the "chicken or the egg" problem,
4242 # thus it jumps back and forth, each time gaining something needed later on.
4243 #
4244 ###############################################################################
4245 
4246 # If we are requested to print additional help, do that and then exit.
4247 # This must be the very first call.
4248 
4249   if test "x$CONFIGURE_PRINT_TOOLCHAIN_LIST" != x; then
4250     $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
4251     $PRINTF "Which are valid to use depends on the build platform.\n"
4252     for toolchain in $VALID_TOOLCHAINS_all; do
4253       # Use indirect variable referencing
4254       toolchain_var_name=TOOLCHAIN_DESCRIPTION_$toolchain
4255       TOOLCHAIN_DESCRIPTION=${!toolchain_var_name}


13490       VAR_CPU_ENDIAN=little
13491       ;;
13492     arm*)
13493       VAR_CPU=arm
13494       VAR_CPU_ARCH=arm
13495       VAR_CPU_BITS=32
13496       VAR_CPU_ENDIAN=little
13497       ;;
13498     powerpc)
13499       VAR_CPU=ppc
13500       VAR_CPU_ARCH=ppc
13501       VAR_CPU_BITS=32
13502       VAR_CPU_ENDIAN=big
13503       ;;
13504     powerpc64)
13505       VAR_CPU=ppc64
13506       VAR_CPU_ARCH=ppc
13507       VAR_CPU_BITS=64
13508       VAR_CPU_ENDIAN=big
13509       ;;
13510     powerpc64le)
13511       VAR_CPU=ppc64
13512       VAR_CPU_ARCH=ppc
13513       VAR_CPU_BITS=64
13514       VAR_CPU_ENDIAN=little
13515       ;;
13516     s390)
13517       VAR_CPU=s390
13518       VAR_CPU_ARCH=s390
13519       VAR_CPU_BITS=32
13520       VAR_CPU_ENDIAN=big
13521       ;;
13522     s390x)
13523       VAR_CPU=s390x
13524       VAR_CPU_ARCH=s390
13525       VAR_CPU_BITS=64
13526       VAR_CPU_ENDIAN=big
13527       ;;
13528     sparc)
13529       VAR_CPU=sparc
13530       VAR_CPU_ARCH=sparc
13531       VAR_CPU_BITS=32
13532       VAR_CPU_ENDIAN=big
13533       ;;
13534     sparcv9)
13535       VAR_CPU=sparcv9


13620       VAR_CPU_BITS=32
13621       VAR_CPU_ENDIAN=little
13622       ;;
13623     arm*)
13624       VAR_CPU=arm
13625       VAR_CPU_ARCH=arm
13626       VAR_CPU_BITS=32
13627       VAR_CPU_ENDIAN=little
13628       ;;
13629     powerpc)
13630       VAR_CPU=ppc
13631       VAR_CPU_ARCH=ppc
13632       VAR_CPU_BITS=32
13633       VAR_CPU_ENDIAN=big
13634       ;;
13635     powerpc64)
13636       VAR_CPU=ppc64
13637       VAR_CPU_ARCH=ppc
13638       VAR_CPU_BITS=64
13639       VAR_CPU_ENDIAN=big
13640       ;;
13641     powerpc64le)
13642       VAR_CPU=ppc64
13643       VAR_CPU_ARCH=ppc
13644       VAR_CPU_BITS=64
13645       VAR_CPU_ENDIAN=little
13646       ;;
13647     s390)
13648       VAR_CPU=s390
13649       VAR_CPU_ARCH=s390
13650       VAR_CPU_BITS=32
13651       VAR_CPU_ENDIAN=big
13652       ;;
13653     s390x)
13654       VAR_CPU=s390x
13655       VAR_CPU_ARCH=s390
13656       VAR_CPU_BITS=64
13657       VAR_CPU_ENDIAN=big
13658       ;;
13659     sparc)
13660       VAR_CPU=sparc
13661       VAR_CPU_ARCH=sparc
13662       VAR_CPU_BITS=32
13663       VAR_CPU_ENDIAN=big
13664       ;;
13665     sparcv9)