Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Side by Side Diff: configure

Issue 8372081: Fix cross-tool check for readelf (Closed) Base URL: http://git.chromium.org/native_client/nacl-newlib.git@master
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Makefile.in ('k') | configure.ac » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #! /bin/sh 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles. 2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64. 3 # Generated by GNU Autoconf 2.64.
4 # 4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software 6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc. 7 # Foundation, Inc.
8 # 8 #
9 # This configure script is free software; the Free Software Foundation 9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it. 10 # gives unlimited permission to copy, distribute and modify it.
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after
600 MAINTAINER_MODE_TRUE 600 MAINTAINER_MODE_TRUE
601 COMPILER_NM_FOR_TARGET 601 COMPILER_NM_FOR_TARGET
602 COMPILER_LD_FOR_TARGET 602 COMPILER_LD_FOR_TARGET
603 COMPILER_AS_FOR_TARGET 603 COMPILER_AS_FOR_TARGET
604 FLAGS_FOR_TARGET 604 FLAGS_FOR_TARGET
605 RAW_CXX_FOR_TARGET 605 RAW_CXX_FOR_TARGET
606 WINDMC_FOR_TARGET 606 WINDMC_FOR_TARGET
607 WINDRES_FOR_TARGET 607 WINDRES_FOR_TARGET
608 STRIP_FOR_TARGET 608 STRIP_FOR_TARGET
609 RANLIB_FOR_TARGET 609 RANLIB_FOR_TARGET
610 READELF_FOR_TARGET
610 OBJDUMP_FOR_TARGET 611 OBJDUMP_FOR_TARGET
611 NM_FOR_TARGET 612 NM_FOR_TARGET
612 LIPO_FOR_TARGET 613 LIPO_FOR_TARGET
613 LD_FOR_TARGET 614 LD_FOR_TARGET
614 DLLTOOL_FOR_TARGET 615 DLLTOOL_FOR_TARGET
615 AS_FOR_TARGET 616 AS_FOR_TARGET
616 AR_FOR_TARGET 617 AR_FOR_TARGET
617 GFORTRAN_FOR_TARGET 618 GFORTRAN_FOR_TARGET
618 GCJ_FOR_TARGET 619 GCJ_FOR_TARGET
619 GCC_FOR_TARGET 620 GCC_FOR_TARGET
620 CXX_FOR_TARGET 621 CXX_FOR_TARGET
621 CC_FOR_TARGET 622 CC_FOR_TARGET
623 READELF
622 OBJDUMP 624 OBJDUMP
623 OBJCOPY 625 OBJCOPY
624 WINDMC 626 WINDMC
625 WINDRES 627 WINDRES
626 STRIP 628 STRIP
627 RANLIB 629 RANLIB
628 NM 630 NM
629 LIPO 631 LIPO
630 LD 632 LD
631 DLLTOOL 633 DLLTOOL
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
839 DLLTOOL 841 DLLTOOL
840 LD 842 LD
841 LIPO 843 LIPO
842 NM 844 NM
843 RANLIB 845 RANLIB
844 STRIP 846 STRIP
845 WINDRES 847 WINDRES
846 WINDMC 848 WINDMC
847 OBJCOPY 849 OBJCOPY
848 OBJDUMP 850 OBJDUMP
851 READELF
849 CC_FOR_TARGET 852 CC_FOR_TARGET
850 CXX_FOR_TARGET 853 CXX_FOR_TARGET
851 GCC_FOR_TARGET 854 GCC_FOR_TARGET
852 GCJ_FOR_TARGET 855 GCJ_FOR_TARGET
853 GFORTRAN_FOR_TARGET 856 GFORTRAN_FOR_TARGET
854 AR_FOR_TARGET 857 AR_FOR_TARGET
855 AS_FOR_TARGET 858 AS_FOR_TARGET
856 DLLTOOL_FOR_TARGET 859 DLLTOOL_FOR_TARGET
857 LD_FOR_TARGET 860 LD_FOR_TARGET
858 LIPO_FOR_TARGET 861 LIPO_FOR_TARGET
859 NM_FOR_TARGET 862 NM_FOR_TARGET
860 OBJDUMP_FOR_TARGET 863 OBJDUMP_FOR_TARGET
864 READELF_FOR_TARGET
861 RANLIB_FOR_TARGET 865 RANLIB_FOR_TARGET
862 STRIP_FOR_TARGET 866 STRIP_FOR_TARGET
863 WINDRES_FOR_TARGET 867 WINDRES_FOR_TARGET
864 WINDMC_FOR_TARGET' 868 WINDMC_FOR_TARGET'
865 869
866 870
867 # Initialize some variables set by options. 871 # Initialize some variables set by options.
868 ac_init_help= 872 ac_init_help=
869 ac_init_version=false 873 ac_init_version=false
870 ac_unrecognized_opts= 874 ac_unrecognized_opts=
(...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after
1573 DLLTOOL DLLTOOL for the host 1577 DLLTOOL DLLTOOL for the host
1574 LD LD for the host 1578 LD LD for the host
1575 LIPO LIPO for the host 1579 LIPO LIPO for the host
1576 NM NM for the host 1580 NM NM for the host
1577 RANLIB RANLIB for the host 1581 RANLIB RANLIB for the host
1578 STRIP STRIP for the host 1582 STRIP STRIP for the host
1579 WINDRES WINDRES for the host 1583 WINDRES WINDRES for the host
1580 WINDMC WINDMC for the host 1584 WINDMC WINDMC for the host
1581 OBJCOPY OBJCOPY for the host 1585 OBJCOPY OBJCOPY for the host
1582 OBJDUMP OBJDUMP for the host 1586 OBJDUMP OBJDUMP for the host
1587 READELF READELF for the host
1583 CC_FOR_TARGET 1588 CC_FOR_TARGET
1584 CC for the target 1589 CC for the target
1585 CXX_FOR_TARGET 1590 CXX_FOR_TARGET
1586 CXX for the target 1591 CXX for the target
1587 GCC_FOR_TARGET 1592 GCC_FOR_TARGET
1588 GCC for the target 1593 GCC for the target
1589 GCJ_FOR_TARGET 1594 GCJ_FOR_TARGET
1590 GCJ for the target 1595 GCJ for the target
1591 GFORTRAN_FOR_TARGET 1596 GFORTRAN_FOR_TARGET
1592 GFORTRAN for the target 1597 GFORTRAN for the target
1593 AR_FOR_TARGET 1598 AR_FOR_TARGET
1594 AR for the target 1599 AR for the target
1595 AS_FOR_TARGET 1600 AS_FOR_TARGET
1596 AS for the target 1601 AS for the target
1597 DLLTOOL_FOR_TARGET 1602 DLLTOOL_FOR_TARGET
1598 DLLTOOL for the target 1603 DLLTOOL for the target
1599 LD_FOR_TARGET 1604 LD_FOR_TARGET
1600 LD for the target 1605 LD for the target
1601 LIPO_FOR_TARGET 1606 LIPO_FOR_TARGET
1602 LIPO for the target 1607 LIPO for the target
1603 NM_FOR_TARGET 1608 NM_FOR_TARGET
1604 NM for the target 1609 NM for the target
1605 OBJDUMP_FOR_TARGET 1610 OBJDUMP_FOR_TARGET
1606 OBJDUMP for the target 1611 OBJDUMP for the target
1612 READELF_FOR_TARGET
1613 READELF for the target
1607 RANLIB_FOR_TARGET 1614 RANLIB_FOR_TARGET
1608 RANLIB for the target 1615 RANLIB for the target
1609 STRIP_FOR_TARGET 1616 STRIP_FOR_TARGET
1610 STRIP for the target 1617 STRIP for the target
1611 WINDRES_FOR_TARGET 1618 WINDRES_FOR_TARGET
1612 WINDRES for the target 1619 WINDRES for the target
1613 WINDMC_FOR_TARGET 1620 WINDMC_FOR_TARGET
1614 WINDMC for the target 1621 WINDMC for the target
1615 1622
1616 Use these variables to override the choices made by `configure' or to help 1623 Use these variables to override the choices made by `configure' or to help
(...skipping 2107 matching lines...) Expand 10 before | Expand all | Expand 10 after
3724 ;; 3731 ;;
3725 xtensa*-*-*) 3732 xtensa*-*-*)
3726 noconfigdirs="$noconfigdirs ${libgcj}" 3733 noconfigdirs="$noconfigdirs ${libgcj}"
3727 ;; 3734 ;;
3728 ip2k-*-*) 3735 ip2k-*-*)
3729 noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}" 3736 noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
3730 ;; 3737 ;;
3731 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu) 3738 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
3732 noconfigdirs="$noconfigdirs target-newlib target-libgloss" 3739 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3733 ;; 3740 ;;
3741 *-*-lynxos*)
3742 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3743 ;;
3734 *-*-nacl*) 3744 *-*-nacl*)
3735 noconfigdirs="$noconfigdirs" 3745 noconfigdirs="$noconfigdirs"
3736 ;; 3746 ;;
3737 *-*-lynxos*)
3738 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3739 ;;
3740 *-*-*) 3747 *-*-*)
3741 noconfigdirs="$noconfigdirs ${libgcj}" 3748 noconfigdirs="$noconfigdirs ${libgcj}"
3742 ;; 3749 ;;
3743 esac 3750 esac
3744 3751
3745 # If we aren't building newlib, then don't build libgloss, since libgloss 3752 # If we aren't building newlib, then don't build libgloss, since libgloss
3746 # depends upon some newlib header files. 3753 # depends upon some newlib header files.
3747 case "${noconfigdirs}" in 3754 case "${noconfigdirs}" in
3748 *target-libgloss*) ;; 3755 *target-libgloss*) ;;
3749 *target-newlib*) noconfigdirs="$noconfigdirs target-libgloss" ;; 3756 *target-newlib*) noconfigdirs="$noconfigdirs target-libgloss" ;;
(...skipping 6250 matching lines...) Expand 10 before | Expand all | Expand 10 after
10000 set dummy objdump 10007 set dummy objdump
10001 if test $build = $host ; then 10008 if test $build = $host ; then
10002 OBJDUMP="$2" 10009 OBJDUMP="$2"
10003 else 10010 else
10004 OBJDUMP="${ncn_tool_prefix}$2" 10011 OBJDUMP="${ncn_tool_prefix}$2"
10005 fi 10012 fi
10006 fi 10013 fi
10007 10014
10008 10015
10009 10016
10017 if test -n "$READELF"; then
10018 ac_cv_prog_READELF=$READELF
10019 elif test -n "$ac_cv_prog_READELF"; then
10020 READELF=$ac_cv_prog_READELF
10021 fi
10022
10023 if test -n "$ac_cv_prog_READELF"; then
10024 for ncn_progname in readelf; do
10025 # Extract the first word of "${ncn_progname}", so it can be a program name w ith args.
10026 set dummy ${ncn_progname}; ac_word=$2
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10028 $as_echo_n "checking for $ac_word... " >&6; }
10029 if test "${ac_cv_prog_READELF+set}" = set; then :
10030 $as_echo_n "(cached) " >&6
10031 else
10032 if test -n "$READELF"; then
10033 ac_cv_prog_READELF="$READELF" # Let the user override the test.
10034 else
10035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10036 for as_dir in $PATH
10037 do
10038 IFS=$as_save_IFS
10039 test -z "$as_dir" && as_dir=.
10040 for ac_exec_ext in '' $ac_executable_extensions; do
10041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac _exec_ext"; }; then
10042 ac_cv_prog_READELF="${ncn_progname}"
10043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
10044 break 2
10045 fi
10046 done
10047 done
10048 IFS=$as_save_IFS
10049
10050 fi
10051 fi
10052 READELF=$ac_cv_prog_READELF
10053 if test -n "$READELF"; then
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
10055 $as_echo "$READELF" >&6; }
10056 else
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10058 $as_echo "no" >&6; }
10059 fi
10060
10061
10062 done
10063 fi
10064
10065 for ncn_progname in readelf; do
10066 if test -n "$ncn_tool_prefix"; then
10067 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can b e a program name with args.
10068 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10070 $as_echo_n "checking for $ac_word... " >&6; }
10071 if test "${ac_cv_prog_READELF+set}" = set; then :
10072 $as_echo_n "(cached) " >&6
10073 else
10074 if test -n "$READELF"; then
10075 ac_cv_prog_READELF="$READELF" # Let the user override the test.
10076 else
10077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10078 for as_dir in $PATH
10079 do
10080 IFS=$as_save_IFS
10081 test -z "$as_dir" && as_dir=.
10082 for ac_exec_ext in '' $ac_executable_extensions; do
10083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac _exec_ext"; }; then
10084 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
10085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
10086 break 2
10087 fi
10088 done
10089 done
10090 IFS=$as_save_IFS
10091
10092 fi
10093 fi
10094 READELF=$ac_cv_prog_READELF
10095 if test -n "$READELF"; then
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
10097 $as_echo "$READELF" >&6; }
10098 else
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10100 $as_echo "no" >&6; }
10101 fi
10102
10103
10104 fi
10105 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
10106 # Extract the first word of "${ncn_progname}", so it can be a program name w ith args.
10107 set dummy ${ncn_progname}; ac_word=$2
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10109 $as_echo_n "checking for $ac_word... " >&6; }
10110 if test "${ac_cv_prog_READELF+set}" = set; then :
10111 $as_echo_n "(cached) " >&6
10112 else
10113 if test -n "$READELF"; then
10114 ac_cv_prog_READELF="$READELF" # Let the user override the test.
10115 else
10116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10117 for as_dir in $PATH
10118 do
10119 IFS=$as_save_IFS
10120 test -z "$as_dir" && as_dir=.
10121 for ac_exec_ext in '' $ac_executable_extensions; do
10122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac _exec_ext"; }; then
10123 ac_cv_prog_READELF="${ncn_progname}"
10124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
10125 break 2
10126 fi
10127 done
10128 done
10129 IFS=$as_save_IFS
10130
10131 fi
10132 fi
10133 READELF=$ac_cv_prog_READELF
10134 if test -n "$READELF"; then
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
10136 $as_echo "$READELF" >&6; }
10137 else
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10139 $as_echo "no" >&6; }
10140 fi
10141
10142
10143 fi
10144 test -n "$ac_cv_prog_READELF" && break
10145 done
10146
10147 if test -z "$ac_cv_prog_READELF" ; then
10148 set dummy readelf
10149 if test $build = $host ; then
10150 READELF="$2"
10151 else
10152 READELF="${ncn_tool_prefix}$2"
10153 fi
10154 fi
10155
10156
10157
10010 10158
10011 10159
10012 10160
10013 # Target tools. 10161 # Target tools.
10014 10162
10015 # Check whether --with-build-time-tools was given. 10163 # Check whether --with-build-time-tools was given.
10016 if test "${with_build_time_tools+set}" = set; then : 10164 if test "${with_build_time_tools+set}" = set; then :
10017 withval=$with_build_time_tools; case x"$withval" in 10165 withval=$with_build_time_tools; case x"$withval" in
10018 x/*) ;; 10166 x/*) ;;
10019 *) 10167 *)
(...skipping 2428 matching lines...) Expand 10 before | Expand all | Expand 10 after
12448 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET" 12596 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12449 fi 12597 fi
12450 12598
12451 else 12599 else
12452 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET 12600 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12453 fi 12601 fi
12454 12602
12455 12603
12456 12604
12457 12605
12606 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12607 if test -n "$with_build_time_tools"; then
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readelf in $with_build _time_tools" >&5
12609 $as_echo_n "checking for readelf in $with_build_time_tools... " >&6; }
12610 if test -x $with_build_time_tools/readelf; then
12611 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12612 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_READELF_FOR_T ARGET" >&5
12614 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12615 else
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12617 $as_echo "no" >&6; }
12618 fi
12619 elif test $build != $host && test $have_gcc_for_target = yes; then
12620 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12621 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12622 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_ TARGET
12623 fi
12624 fi
12625 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12626 # Extract the first word of "readelf", so it can be a program name with args.
12627 set dummy readelf; ac_word=$2
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12629 $as_echo_n "checking for $ac_word... " >&6; }
12630 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
12631 $as_echo_n "(cached) " >&6
12632 else
12633 case $READELF_FOR_TARGET in
12634 [\\/]* | ?:[\\/]*)
12635 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override th e test with a path.
12636 ;;
12637 *)
12638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12639 for as_dir in $gcc_cv_tool_dirs
12640 do
12641 IFS=$as_save_IFS
12642 test -z "$as_dir" && as_dir=.
12643 for ac_exec_ext in '' $ac_executable_extensions; do
12644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac _exec_ext"; }; then
12645 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
12647 break 2
12648 fi
12649 done
12650 done
12651 IFS=$as_save_IFS
12652
12653 ;;
12654 esac
12655 fi
12656 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12657 if test -n "$READELF_FOR_TARGET"; then
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF_FOR_TARGET" >&5
12659 $as_echo "$READELF_FOR_TARGET" >&6; }
12660 else
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12662 $as_echo "no" >&6; }
12663 fi
12664
12665
12666 fi
12667 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12668
12669
12670 if test -n "$READELF_FOR_TARGET"; then
12671 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
12672 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12673 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12674 fi
12675
12676 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12677 for ncn_progname in readelf; do
12678 # Extract the first word of "${ncn_progname}", so it can be a program name w ith args.
12679 set dummy ${ncn_progname}; ac_word=$2
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12681 $as_echo_n "checking for $ac_word... " >&6; }
12682 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12683 $as_echo_n "(cached) " >&6
12684 else
12685 if test -n "$READELF_FOR_TARGET"; then
12686 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override th e test.
12687 else
12688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12689 for as_dir in $PATH
12690 do
12691 IFS=$as_save_IFS
12692 test -z "$as_dir" && as_dir=.
12693 for ac_exec_ext in '' $ac_executable_extensions; do
12694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac _exec_ext"; }; then
12695 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
12697 break 2
12698 fi
12699 done
12700 done
12701 IFS=$as_save_IFS
12702
12703 fi
12704 fi
12705 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12706 if test -n "$READELF_FOR_TARGET"; then
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF_FOR_TARGET" >&5
12708 $as_echo "$READELF_FOR_TARGET" >&6; }
12709 else
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12711 $as_echo "no" >&6; }
12712 fi
12713
12714
12715 done
12716 fi
12717
12718 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
12719 for ncn_progname in readelf; do
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $wi th_build_time_tools" >&5
12721 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
12722 if test -x $with_build_time_tools/${ncn_progname}; then
12723 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12725 $as_echo "yes" >&6; }
12726 break
12727 else
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12729 $as_echo "no" >&6; }
12730 fi
12731 done
12732 fi
12733
12734 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
12735 for ncn_progname in readelf; do
12736 if test -n "$ncn_target_tool_prefix"; then
12737 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12738 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12740 $as_echo_n "checking for $ac_word... " >&6; }
12741 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12742 $as_echo_n "(cached) " >&6
12743 else
12744 if test -n "$READELF_FOR_TARGET"; then
12745 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override th e test.
12746 else
12747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12748 for as_dir in $PATH
12749 do
12750 IFS=$as_save_IFS
12751 test -z "$as_dir" && as_dir=.
12752 for ac_exec_ext in '' $ac_executable_extensions; do
12753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac _exec_ext"; }; then
12754 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
12756 break 2
12757 fi
12758 done
12759 done
12760 IFS=$as_save_IFS
12761
12762 fi
12763 fi
12764 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12765 if test -n "$READELF_FOR_TARGET"; then
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF_FOR_TARGET" >&5
12767 $as_echo "$READELF_FOR_TARGET" >&6; }
12768 else
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12770 $as_echo "no" >&6; }
12771 fi
12772
12773
12774 fi
12775 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
12776 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12777 set dummy ${ncn_progname}; ac_word=$2
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12779 $as_echo_n "checking for $ac_word... " >&6; }
12780 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12781 $as_echo_n "(cached) " >&6
12782 else
12783 if test -n "$READELF_FOR_TARGET"; then
12784 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override th e test.
12785 else
12786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12787 for as_dir in $PATH
12788 do
12789 IFS=$as_save_IFS
12790 test -z "$as_dir" && as_dir=.
12791 for ac_exec_ext in '' $ac_executable_extensions; do
12792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac _exec_ext"; }; then
12793 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
12795 break 2
12796 fi
12797 done
12798 done
12799 IFS=$as_save_IFS
12800
12801 fi
12802 fi
12803 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12804 if test -n "$READELF_FOR_TARGET"; then
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF_FOR_TARGET" >&5
12806 $as_echo "$READELF_FOR_TARGET" >&6; }
12807 else
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12809 $as_echo "no" >&6; }
12810 fi
12811
12812
12813 fi
12814 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
12815 done
12816 fi
12817
12818 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
12819 set dummy readelf
12820 if test $build = $target ; then
12821 READELF_FOR_TARGET="$2"
12822 else
12823 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
12824 fi
12825 else
12826 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
12827 fi
12828
12829 else
12830 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12831 fi
12832
12833
12834
12835
12458 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then 12836 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12459 if test -n "$with_build_time_tools"; then 12837 if test -n "$with_build_time_tools"; then
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ranlib in $with_build_ time_tools" >&5 12838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ranlib in $with_build_ time_tools" >&5
12461 $as_echo_n "checking for ranlib in $with_build_time_tools... " >&6; } 12839 $as_echo_n "checking for ranlib in $with_build_time_tools... " >&6; }
12462 if test -x $with_build_time_tools/ranlib; then 12840 if test -x $with_build_time_tools/ranlib; then
12463 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib 12841 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12464 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET 12842 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_RANLIB_FOR_TA RGET" >&5 12843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_RANLIB_FOR_TA RGET" >&5
12466 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; } 12844 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12467 else 12845 else
(...skipping 1447 matching lines...) Expand 10 before | Expand all | Expand 10 after
13915 OBJDUMP_FOR_TARGET='$(OBJDUMP)' 14293 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5 14294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13917 $as_echo "host tool" >&6; } 14295 $as_echo "host tool" >&6; }
13918 else 14296 else
13919 # We need a cross tool 14297 # We need a cross tool
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5 14298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13921 $as_echo "pre-installed" >&6; } 14299 $as_echo "pre-installed" >&6; }
13922 fi 14300 fi
13923 fi 14301 fi
13924 14302
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target reade lf" >&5
14304 $as_echo_n "checking where to find the target readelf... " >&6; }
14305 if test "x${build}" != "x${host}" ; then
14306 if expr "x$READELF_FOR_TARGET" : "x/" > /dev/null; then
14307 # We already found the complete path
14308 ac_dir=`dirname $READELF_FOR_TARGET`
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" > &5
14310 $as_echo "pre-installed in $ac_dir" >&6; }
14311 else
14312 # Canadian cross, just use what we found
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14314 $as_echo "pre-installed" >&6; }
14315 fi
14316 else
14317 ok=yes
14318 case " ${configdirs} " in
14319 *" binutils "*) ;;
14320 *) ok=no ;;
14321 esac
14322
14323 if test $ok = yes; then
14324 # An in-tree tool is available and we can use it
14325 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14327 $as_echo "just compiled" >&6; }
14328 elif expr "x$READELF_FOR_TARGET" : "x/" > /dev/null; then
14329 # We already found the complete path
14330 ac_dir=`dirname $READELF_FOR_TARGET`
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" > &5
14332 $as_echo "pre-installed in $ac_dir" >&6; }
14333 elif test "x$target" = "x$host"; then
14334 # We can use an host tool
14335 READELF_FOR_TARGET='$(READELF)'
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14337 $as_echo "host tool" >&6; }
14338 else
14339 # We need a cross tool
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14341 $as_echo "pre-installed" >&6; }
14342 fi
14343 fi
14344
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ranli b" >&5 14345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ranli b" >&5
13926 $as_echo_n "checking where to find the target ranlib... " >&6; } 14346 $as_echo_n "checking where to find the target ranlib... " >&6; }
13927 if test "x${build}" != "x${host}" ; then 14347 if test "x${build}" != "x${host}" ; then
13928 if expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then 14348 if expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
13929 # We already found the complete path 14349 # We already found the complete path
13930 ac_dir=`dirname $RANLIB_FOR_TARGET` 14350 ac_dir=`dirname $RANLIB_FOR_TARGET`
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" > &5 14351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" > &5
13932 $as_echo "pre-installed in $ac_dir" >&6; } 14352 $as_echo "pre-installed in $ac_dir" >&6; }
13933 else 14353 else
13934 # Canadian cross, just use what we found 14354 # Canadian cross, just use what we found
(...skipping 1491 matching lines...) Expand 10 before | Expand all | Expand 10 after
15426 exec 5>>config.log 15846 exec 5>>config.log
15427 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 15847 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15428 # would make configure fail if this is the last instruction. 15848 # would make configure fail if this is the last instruction.
15429 $ac_cs_success || as_fn_exit $? 15849 $ac_cs_success || as_fn_exit $?
15430 fi 15850 fi
15431 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 15851 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un recognized_opts" >&5 15852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un recognized_opts" >&5
15433 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 15853 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15434 fi 15854 fi
15435 15855
OLDNEW
« no previous file with comments | « Makefile.in ('k') | configure.ac » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698