< prev index next >

common/autoconf/generated-configure.sh

Print this page




4819 
4820 
4821 
4822 
4823 
4824 
4825 
4826 
4827 
4828 
4829 
4830 
4831 
4832 
4833 # This line needs to be here, verbatim, after all includes and the dummy hook
4834 # definitions. It is replaced with custom functionality when building
4835 # custom sources.
4836 #CUSTOM_AUTOCONF_INCLUDE
4837 
4838 # Do not change or remove the following line, it is needed for consistency checks:
4839 DATE_WHEN_GENERATED=1454994410
4840 
4841 ###############################################################################
4842 #
4843 # Initialization / Boot-strapping
4844 #
4845 # The bootstrapping process needs to solve the "chicken or the egg" problem,
4846 # thus it jumps back and forth, each time gaining something needed later on.
4847 #
4848 ###############################################################################
4849 
4850 # If we are requested to print additional help, do that and then exit.
4851 # This must be the very first call.
4852 
4853   if test "x$CONFIGURE_PRINT_TOOLCHAIN_LIST" != x; then
4854     $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
4855     $PRINTF "Which are valid to use depends on the build platform.\n"
4856     for toolchain in $VALID_TOOLCHAINS_all; do
4857       # Use indirect variable referencing
4858       toolchain_var_name=TOOLCHAIN_DESCRIPTION_$toolchain
4859       TOOLCHAIN_DESCRIPTION=${!toolchain_var_name}


32060         sym_link_dir=`$THEPWDCMD -P`
32061         sym_link_file=`$BASENAME $ISLINK`
32062         let COUNTER=COUNTER+1
32063       done
32064       cd $STARTDIR
32065       SYMLINK_ORIGINAL=$sym_link_dir/$sym_link_file
32066     fi
32067   fi
32068 
32069   if test "x$TEST_COMPILER" = "x$SYMLINK_ORIGINAL"; then
32070     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no symlink" >&5
32071 $as_echo "no symlink" >&6; }
32072   else
32073     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYMLINK_ORIGINAL" >&5
32074 $as_echo "$SYMLINK_ORIGINAL" >&6; }
32075 
32076     # We can't handle ccache by gcc wrappers, since we need to know if we're
32077     # using ccache. Instead ccache usage must be controlled by a configure option.
32078     COMPILER_BASENAME=`$BASENAME "$SYMLINK_ORIGINAL"`
32079     if test "x$COMPILER_BASENAME" = "xccache"; then

32080       { $as_echo "$as_me:${as_lineno-$LINENO}: Please use --enable-ccache instead of providing a wrapped compiler." >&5
32081 $as_echo "$as_me: Please use --enable-ccache instead of providing a wrapped compiler." >&6;}
32082       as_fn_error $? "$TEST_COMPILER is a symbolic link to ccache. This is not supported." "$LINENO" 5
32083     fi
32084   fi

32085 
32086 
32087   COMPILER=$CC
32088   COMPILER_NAME=$COMPILER_NAME
32089 
32090   if test "x$TOOLCHAIN_TYPE" = xsolstudio; then
32091     # cc -V output typically looks like
32092     #     cc: Sun C 5.12 Linux_i386 2011/11/16
32093     COMPILER_VERSION_OUTPUT=`$COMPILER -V 2>&1`
32094     # Check that this is likely to be the Solaris Studio cc.
32095     $ECHO "$COMPILER_VERSION_OUTPUT" | $GREP "^.*: Sun $COMPILER_NAME" > /dev/null
32096     if test $? -ne 0; then
32097       ALT_VERSION_OUTPUT=`$COMPILER --version 2>&1`
32098       { $as_echo "$as_me:${as_lineno-$LINENO}: The $COMPILER_NAME compiler (located as $COMPILER) does not seem to be the required $TOOLCHAIN_TYPE compiler." >&5
32099 $as_echo "$as_me: The $COMPILER_NAME compiler (located as $COMPILER) does not seem to be the required $TOOLCHAIN_TYPE compiler." >&6;}
32100       { $as_echo "$as_me:${as_lineno-$LINENO}: The result from running with -V was: \"$COMPILER_VERSION_OUTPUT\"" >&5
32101 $as_echo "$as_me: The result from running with -V was: \"$COMPILER_VERSION_OUTPUT\"" >&6;}
32102       { $as_echo "$as_me:${as_lineno-$LINENO}: The result from running with --version was: \"$ALT_VERSION_OUTPUT\"" >&5
32103 $as_echo "$as_me: The result from running with --version was: \"$ALT_VERSION_OUTPUT\"" >&6;}
32104       as_fn_error $? "A $TOOLCHAIN_TYPE compiler is required. Try setting --with-tools-dir." "$LINENO" 5


33357         sym_link_dir=`$THEPWDCMD -P`
33358         sym_link_file=`$BASENAME $ISLINK`
33359         let COUNTER=COUNTER+1
33360       done
33361       cd $STARTDIR
33362       SYMLINK_ORIGINAL=$sym_link_dir/$sym_link_file
33363     fi
33364   fi
33365 
33366   if test "x$TEST_COMPILER" = "x$SYMLINK_ORIGINAL"; then
33367     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no symlink" >&5
33368 $as_echo "no symlink" >&6; }
33369   else
33370     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYMLINK_ORIGINAL" >&5
33371 $as_echo "$SYMLINK_ORIGINAL" >&6; }
33372 
33373     # We can't handle ccache by gcc wrappers, since we need to know if we're
33374     # using ccache. Instead ccache usage must be controlled by a configure option.
33375     COMPILER_BASENAME=`$BASENAME "$SYMLINK_ORIGINAL"`
33376     if test "x$COMPILER_BASENAME" = "xccache"; then

33377       { $as_echo "$as_me:${as_lineno-$LINENO}: Please use --enable-ccache instead of providing a wrapped compiler." >&5
33378 $as_echo "$as_me: Please use --enable-ccache instead of providing a wrapped compiler." >&6;}
33379       as_fn_error $? "$TEST_COMPILER is a symbolic link to ccache. This is not supported." "$LINENO" 5

33380     fi
33381   fi
33382 
33383 
33384   COMPILER=$CXX
33385   COMPILER_NAME=$COMPILER_NAME
33386 
33387   if test "x$TOOLCHAIN_TYPE" = xsolstudio; then
33388     # cc -V output typically looks like
33389     #     cc: Sun C 5.12 Linux_i386 2011/11/16
33390     COMPILER_VERSION_OUTPUT=`$COMPILER -V 2>&1`
33391     # Check that this is likely to be the Solaris Studio cc.
33392     $ECHO "$COMPILER_VERSION_OUTPUT" | $GREP "^.*: Sun $COMPILER_NAME" > /dev/null
33393     if test $? -ne 0; then
33394       ALT_VERSION_OUTPUT=`$COMPILER --version 2>&1`
33395       { $as_echo "$as_me:${as_lineno-$LINENO}: The $COMPILER_NAME compiler (located as $COMPILER) does not seem to be the required $TOOLCHAIN_TYPE compiler." >&5
33396 $as_echo "$as_me: The $COMPILER_NAME compiler (located as $COMPILER) does not seem to be the required $TOOLCHAIN_TYPE compiler." >&6;}
33397       { $as_echo "$as_me:${as_lineno-$LINENO}: The result from running with -V was: \"$COMPILER_VERSION_OUTPUT\"" >&5
33398 $as_echo "$as_me: The result from running with -V was: \"$COMPILER_VERSION_OUTPUT\"" >&6;}
33399       { $as_echo "$as_me:${as_lineno-$LINENO}: The result from running with --version was: \"$ALT_VERSION_OUTPUT\"" >&5




4819 
4820 
4821 
4822 
4823 
4824 
4825 
4826 
4827 
4828 
4829 
4830 
4831 
4832 
4833 # This line needs to be here, verbatim, after all includes and the dummy hook
4834 # definitions. It is replaced with custom functionality when building
4835 # custom sources.
4836 #CUSTOM_AUTOCONF_INCLUDE
4837 
4838 # Do not change or remove the following line, it is needed for consistency checks:
4839 DATE_WHEN_GENERATED=1455024497
4840 
4841 ###############################################################################
4842 #
4843 # Initialization / Boot-strapping
4844 #
4845 # The bootstrapping process needs to solve the "chicken or the egg" problem,
4846 # thus it jumps back and forth, each time gaining something needed later on.
4847 #
4848 ###############################################################################
4849 
4850 # If we are requested to print additional help, do that and then exit.
4851 # This must be the very first call.
4852 
4853   if test "x$CONFIGURE_PRINT_TOOLCHAIN_LIST" != x; then
4854     $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
4855     $PRINTF "Which are valid to use depends on the build platform.\n"
4856     for toolchain in $VALID_TOOLCHAINS_all; do
4857       # Use indirect variable referencing
4858       toolchain_var_name=TOOLCHAIN_DESCRIPTION_$toolchain
4859       TOOLCHAIN_DESCRIPTION=${!toolchain_var_name}


32060         sym_link_dir=`$THEPWDCMD -P`
32061         sym_link_file=`$BASENAME $ISLINK`
32062         let COUNTER=COUNTER+1
32063       done
32064       cd $STARTDIR
32065       SYMLINK_ORIGINAL=$sym_link_dir/$sym_link_file
32066     fi
32067   fi
32068 
32069   if test "x$TEST_COMPILER" = "x$SYMLINK_ORIGINAL"; then
32070     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no symlink" >&5
32071 $as_echo "no symlink" >&6; }
32072   else
32073     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYMLINK_ORIGINAL" >&5
32074 $as_echo "$SYMLINK_ORIGINAL" >&6; }
32075 
32076     # We can't handle ccache by gcc wrappers, since we need to know if we're
32077     # using ccache. Instead ccache usage must be controlled by a configure option.
32078     COMPILER_BASENAME=`$BASENAME "$SYMLINK_ORIGINAL"`
32079     if test "x$COMPILER_BASENAME" = "xccache"; then
32080       if test "x$enable_ccache" != "xyes"; then
32081         { $as_echo "$as_me:${as_lineno-$LINENO}: Please use --enable-ccache instead of providing a wrapped compiler." >&5
32082 $as_echo "$as_me: Please use --enable-ccache instead of providing a wrapped compiler." >&6;}
32083         as_fn_error $? "$TEST_COMPILER is a symbolic link to ccache. This is not supported." "$LINENO" 5
32084       fi
32085     fi
32086   fi
32087 
32088 
32089   COMPILER=$CC
32090   COMPILER_NAME=$COMPILER_NAME
32091 
32092   if test "x$TOOLCHAIN_TYPE" = xsolstudio; then
32093     # cc -V output typically looks like
32094     #     cc: Sun C 5.12 Linux_i386 2011/11/16
32095     COMPILER_VERSION_OUTPUT=`$COMPILER -V 2>&1`
32096     # Check that this is likely to be the Solaris Studio cc.
32097     $ECHO "$COMPILER_VERSION_OUTPUT" | $GREP "^.*: Sun $COMPILER_NAME" > /dev/null
32098     if test $? -ne 0; then
32099       ALT_VERSION_OUTPUT=`$COMPILER --version 2>&1`
32100       { $as_echo "$as_me:${as_lineno-$LINENO}: The $COMPILER_NAME compiler (located as $COMPILER) does not seem to be the required $TOOLCHAIN_TYPE compiler." >&5
32101 $as_echo "$as_me: The $COMPILER_NAME compiler (located as $COMPILER) does not seem to be the required $TOOLCHAIN_TYPE compiler." >&6;}
32102       { $as_echo "$as_me:${as_lineno-$LINENO}: The result from running with -V was: \"$COMPILER_VERSION_OUTPUT\"" >&5
32103 $as_echo "$as_me: The result from running with -V was: \"$COMPILER_VERSION_OUTPUT\"" >&6;}
32104       { $as_echo "$as_me:${as_lineno-$LINENO}: The result from running with --version was: \"$ALT_VERSION_OUTPUT\"" >&5
32105 $as_echo "$as_me: The result from running with --version was: \"$ALT_VERSION_OUTPUT\"" >&6;}
32106       as_fn_error $? "A $TOOLCHAIN_TYPE compiler is required. Try setting --with-tools-dir." "$LINENO" 5


33359         sym_link_dir=`$THEPWDCMD -P`
33360         sym_link_file=`$BASENAME $ISLINK`
33361         let COUNTER=COUNTER+1
33362       done
33363       cd $STARTDIR
33364       SYMLINK_ORIGINAL=$sym_link_dir/$sym_link_file
33365     fi
33366   fi
33367 
33368   if test "x$TEST_COMPILER" = "x$SYMLINK_ORIGINAL"; then
33369     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no symlink" >&5
33370 $as_echo "no symlink" >&6; }
33371   else
33372     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYMLINK_ORIGINAL" >&5
33373 $as_echo "$SYMLINK_ORIGINAL" >&6; }
33374 
33375     # We can't handle ccache by gcc wrappers, since we need to know if we're
33376     # using ccache. Instead ccache usage must be controlled by a configure option.
33377     COMPILER_BASENAME=`$BASENAME "$SYMLINK_ORIGINAL"`
33378     if test "x$COMPILER_BASENAME" = "xccache"; then
33379       if test "x$enable_ccache" != "xyes"; then
33380         { $as_echo "$as_me:${as_lineno-$LINENO}: Please use --enable-ccache instead of providing a wrapped compiler." >&5
33381 $as_echo "$as_me: Please use --enable-ccache instead of providing a wrapped compiler." >&6;}
33382         as_fn_error $? "$TEST_COMPILER is a symbolic link to ccache. This is not supported." "$LINENO" 5
33383       fi
33384     fi
33385   fi
33386 
33387 
33388   COMPILER=$CXX
33389   COMPILER_NAME=$COMPILER_NAME
33390 
33391   if test "x$TOOLCHAIN_TYPE" = xsolstudio; then
33392     # cc -V output typically looks like
33393     #     cc: Sun C 5.12 Linux_i386 2011/11/16
33394     COMPILER_VERSION_OUTPUT=`$COMPILER -V 2>&1`
33395     # Check that this is likely to be the Solaris Studio cc.
33396     $ECHO "$COMPILER_VERSION_OUTPUT" | $GREP "^.*: Sun $COMPILER_NAME" > /dev/null
33397     if test $? -ne 0; then
33398       ALT_VERSION_OUTPUT=`$COMPILER --version 2>&1`
33399       { $as_echo "$as_me:${as_lineno-$LINENO}: The $COMPILER_NAME compiler (located as $COMPILER) does not seem to be the required $TOOLCHAIN_TYPE compiler." >&5
33400 $as_echo "$as_me: The $COMPILER_NAME compiler (located as $COMPILER) does not seem to be the required $TOOLCHAIN_TYPE compiler." >&6;}
33401       { $as_echo "$as_me:${as_lineno-$LINENO}: The result from running with -V was: \"$COMPILER_VERSION_OUTPUT\"" >&5
33402 $as_echo "$as_me: The result from running with -V was: \"$COMPILER_VERSION_OUTPUT\"" >&6;}
33403       { $as_echo "$as_me:${as_lineno-$LINENO}: The result from running with --version was: \"$ALT_VERSION_OUTPUT\"" >&5


< prev index next >