Changeset 609 for branches/GNU/src/binutils/bfd/configure
- Timestamp:
- Aug 16, 2003, 6:59:22 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/binutils/bfd/configure
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r608 r609 37 37 --enable-maintainer-mode enable make rules and dependencies not useful 38 38 (and sometimes confusing) to the casual installer" 39 ac_help="$ac_help 40 --enable-install-libbfd controls installation of libbfd and related headers" 39 41 ac_help="$ac_help 40 42 --disable-nls do not use Native Language Support" … … 562 564 563 565 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 564 echo "configure:56 5: checking for Cygwin environment" >&5566 echo "configure:567: checking for Cygwin environment" >&5 565 567 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 566 568 echo $ac_n "(cached) $ac_c" 1>&6 567 569 else 568 570 cat > conftest.$ac_ext <<EOF 569 #line 57 0"configure"571 #line 572 "configure" 570 572 #include "confdefs.h" 571 573 … … 578 580 ; return 0; } 579 581 EOF 580 if { (eval echo configure:58 1: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then582 if { (eval echo configure:583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 581 583 rm -rf conftest* 582 584 ac_cv_cygwin=yes … … 595 597 test "$ac_cv_cygwin" = yes && CYGWIN=yes 596 598 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 597 echo "configure: 598: checking for mingw32 environment" >&5599 echo "configure:600: checking for mingw32 environment" >&5 598 600 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 599 601 echo $ac_n "(cached) $ac_c" 1>&6 600 602 else 601 603 cat > conftest.$ac_ext <<EOF 602 #line 60 3"configure"604 #line 605 "configure" 603 605 #include "confdefs.h" 604 606 … … 607 609 ; return 0; } 608 610 EOF 609 if { (eval echo configure:61 0: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then611 if { (eval echo configure:612: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 610 612 rm -rf conftest* 611 613 ac_cv_mingw32=yes … … 672 674 673 675 echo $ac_n "checking host system type""... $ac_c" 1>&6 674 echo "configure:67 5: checking host system type" >&5676 echo "configure:677: checking host system type" >&5 675 677 676 678 host_alias=$host … … 693 695 694 696 echo $ac_n "checking target system type""... $ac_c" 1>&6 695 echo "configure:69 6: checking target system type" >&5697 echo "configure:698: checking target system type" >&5 696 698 697 699 target_alias=$target … … 711 713 712 714 echo $ac_n "checking build system type""... $ac_c" 1>&6 713 echo "configure:71 4: checking build system type" >&5715 echo "configure:716: checking build system type" >&5 714 716 715 717 build_alias=$build … … 733 735 program_prefix=${target_alias}- 734 736 737 738 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6 739 echo "configure:740: checking for strerror in -lcposix" >&5 740 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'` 741 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 742 echo $ac_n "(cached) $ac_c" 1>&6 743 else 744 ac_save_LIBS="$LIBS" 745 LIBS="-lcposix $LIBS" 746 cat > conftest.$ac_ext <<EOF 747 #line 748 "configure" 748 #include "confdefs.h" 749 /* Override any gcc2 internal prototype to avoid an error. */ 750 /* We use char because int might match the return type of a gcc2 751 builtin and then its argument prototype would still apply. */ 752 char strerror(); 753 754 int main() { 755 strerror() 756 ; return 0; } 757 EOF 758 if { (eval echo configure:759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 759 rm -rf conftest* 760 eval "ac_cv_lib_$ac_lib_var=yes" 761 else 762 echo "configure: failed program was:" >&5 763 cat conftest.$ac_ext >&5 764 rm -rf conftest* 765 eval "ac_cv_lib_$ac_lib_var=no" 766 fi 767 rm -f conftest* 768 LIBS="$ac_save_LIBS" 769 770 fi 771 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 772 echo "$ac_t""yes" 1>&6 773 LIBS="$LIBS -lcposix" 774 else 775 echo "$ac_t""no" 1>&6 776 fi 777 778 779 780 781 # Find a good install program. We prefer a C program (faster), 782 # so one script is as good as another. But avoid the broken or 783 # incompatible versions: 784 # SysV /etc/install, /usr/sbin/install 785 # SunOS /usr/etc/install 786 # IRIX /sbin/install 787 # AIX /bin/install 788 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 789 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 790 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 791 # ./install, which can be erroneously created by make from ./install.sh. 792 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 793 echo "configure:794: checking for a BSD compatible install" >&5 794 if test -z "$INSTALL"; then 795 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 796 echo $ac_n "(cached) $ac_c" 1>&6 797 else 798 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 799 for ac_dir in $PATH; do 800 # Account for people who put trailing slashes in PATH elements. 801 case "$ac_dir/" in 802 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; 803 *) 804 # OSF1 and SCO ODT 3.0 have their own names for install. 805 # Don't use installbsd from OSF since it installs stuff as root 806 # by default. 807 for ac_prog in ginstall scoinst install; do 808 if test -f $ac_dir/$ac_prog; then 809 if test $ac_prog = install && 810 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then 811 # AIX install. It has an incompatible calling convention. 812 : 813 else 814 ac_cv_path_install="$ac_dir/$ac_prog -c" 815 break 2 816 fi 817 fi 818 done 819 ;; 820 esac 821 done 822 IFS="$ac_save_IFS" 823 824 fi 825 if test "${ac_cv_path_install+set}" = set; then 826 INSTALL="$ac_cv_path_install" 827 else 828 # As a last resort, use the slow shell script. We don't cache a 829 # path for INSTALL within a source directory, because that will 830 # break other packages using the cache if that directory is 831 # removed, or if the path is relative. 832 INSTALL="$ac_install_sh" 833 fi 834 fi 835 echo "$ac_t""$INSTALL" 1>&6 836 837 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 838 # It thinks the first close brace ends the variable substitution. 839 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 840 841 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' 842 843 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 844 845 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 846 echo "configure:847: checking whether build environment is sane" >&5 847 # Just in case 848 sleep 1 849 echo timestamp > conftestfile 850 # Do `set' in a subshell so we don't clobber the current shell's 851 # arguments. Must try -L first in case configure is actually a 852 # symlink; some systems play weird games with the mod time of symlinks 853 # (eg FreeBSD returns the mod time of the symlink's containing 854 # directory). 855 if ( 856 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` 857 if test "$*" = "X"; then 858 # -L didn't work. 859 set X `ls -t $srcdir/configure conftestfile` 860 fi 861 if test "$*" != "X $srcdir/configure conftestfile" \ 862 && test "$*" != "X conftestfile $srcdir/configure"; then 863 864 # If neither matched, then we have a broken ls. This can happen 865 # if, for instance, CONFIG_SHELL is bash and it inherits a 866 # broken ls alias from the environment. This has actually 867 # happened. Such a system could not be considered "sane". 868 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken 869 alias in your environment" 1>&2; exit 1; } 870 fi 871 872 test "$2" = conftestfile 873 ) 874 then 875 # Ok. 876 : 877 else 878 { echo "configure: error: newly created file is older than distributed files! 879 Check your system clock" 1>&2; exit 1; } 880 fi 881 rm -f conftest* 882 echo "$ac_t""yes" 1>&6 883 if test "$program_transform_name" = s,x,x,; then 884 program_transform_name= 885 else 886 # Double any \ or $. echo might interpret backslashes. 887 cat <<\EOF_SED > conftestsed 888 s,\\,\\\\,g; s,\$,$$,g 889 EOF_SED 890 program_transform_name="`echo $program_transform_name|sed -f conftestsed`" 891 rm -f conftestsed 892 fi 893 test "$program_prefix" != NONE && 894 program_transform_name="s,^,${program_prefix},; $program_transform_name" 895 # Use a double $ so make ignores it. 896 test "$program_suffix" != NONE && 897 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" 898 899 # sed with no file args requires a program. 900 test "$program_transform_name" = "" && program_transform_name="s,x,x," 901 902 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 903 echo "configure:904: checking whether ${MAKE-make} sets \${MAKE}" >&5 904 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 905 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 906 echo $ac_n "(cached) $ac_c" 1>&6 907 else 908 cat > conftestmake <<\EOF 909 all: 910 @echo 'ac_maketemp="${MAKE}"' 911 EOF 912 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 913 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` 914 if test -n "$ac_maketemp"; then 915 eval ac_cv_prog_make_${ac_make}_set=yes 916 else 917 eval ac_cv_prog_make_${ac_make}_set=no 918 fi 919 rm -f conftestmake 920 fi 921 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 922 echo "$ac_t""yes" 1>&6 923 SET_MAKE= 924 else 925 echo "$ac_t""no" 1>&6 926 SET_MAKE="MAKE=${MAKE-make}" 927 fi 928 929 930 PACKAGE=bfd 931 932 VERSION=2.14 933 934 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then 935 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } 936 fi 937 cat >> confdefs.h <<EOF 938 #define PACKAGE "$PACKAGE" 939 EOF 940 941 cat >> confdefs.h <<EOF 942 #define VERSION "$VERSION" 943 EOF 944 945 946 947 missing_dir=`cd $ac_aux_dir && pwd` 948 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 949 echo "configure:950: checking for working aclocal" >&5 950 # Run test in a subshell; some versions of sh will print an error if 951 # an executable is not found, even if stderr is redirected. 952 # Redirect stdin to placate older versions of autoconf. Sigh. 953 if (aclocal --version) < /dev/null > /dev/null 2>&1; then 954 ACLOCAL=aclocal 955 echo "$ac_t""found" 1>&6 956 else 957 ACLOCAL="$missing_dir/missing aclocal" 958 echo "$ac_t""missing" 1>&6 959 fi 960 961 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 962 echo "configure:963: checking for working autoconf" >&5 963 # Run test in a subshell; some versions of sh will print an error if 964 # an executable is not found, even if stderr is redirected. 965 # Redirect stdin to placate older versions of autoconf. Sigh. 966 if (autoconf --version) < /dev/null > /dev/null 2>&1; then 967 AUTOCONF=autoconf 968 echo "$ac_t""found" 1>&6 969 else 970 AUTOCONF="$missing_dir/missing autoconf" 971 echo "$ac_t""missing" 1>&6 972 fi 973 974 echo $ac_n "checking for working automake""... $ac_c" 1>&6 975 echo "configure:976: checking for working automake" >&5 976 # Run test in a subshell; some versions of sh will print an error if 977 # an executable is not found, even if stderr is redirected. 978 # Redirect stdin to placate older versions of autoconf. Sigh. 979 if (automake --version) < /dev/null > /dev/null 2>&1; then 980 AUTOMAKE=automake 981 echo "$ac_t""found" 1>&6 982 else 983 AUTOMAKE="$missing_dir/missing automake" 984 echo "$ac_t""missing" 1>&6 985 fi 986 987 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 988 echo "configure:989: checking for working autoheader" >&5 989 # Run test in a subshell; some versions of sh will print an error if 990 # an executable is not found, even if stderr is redirected. 991 # Redirect stdin to placate older versions of autoconf. Sigh. 992 if (autoheader --version) < /dev/null > /dev/null 2>&1; then 993 AUTOHEADER=autoheader 994 echo "$ac_t""found" 1>&6 995 else 996 AUTOHEADER="$missing_dir/missing autoheader" 997 echo "$ac_t""missing" 1>&6 998 fi 999 1000 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 1001 echo "configure:1002: checking for working makeinfo" >&5 1002 # Run test in a subshell; some versions of sh will print an error if 1003 # an executable is not found, even if stderr is redirected. 1004 # Redirect stdin to placate older versions of autoconf. Sigh. 1005 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then 1006 MAKEINFO=makeinfo 1007 echo "$ac_t""found" 1>&6 1008 else 1009 MAKEINFO="$missing_dir/missing makeinfo" 1010 echo "$ac_t""missing" 1>&6 1011 fi 1012 1013 1014 # Uncomment the next line to remove the date from the reported bfd version 1015 #is_release=y 1016 1017 bfd_version=`echo "${VERSION}" | sed -e 's/\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\).*/\1.00\2.00\3.00\4.00\5/' -e 's/\([^\.]*\)\..*\(..\)\..*\(..\)\..*\(..\)\..*\(..\)$/\1\2\3\4\5/'` 1018 1019 bfd_version_string="\"${VERSION}\"" 1020 if test x${is_release} = x; then 1021 bfd_version_date=`sed -n -e 's/.*DATE //p' < ${srcdir}/version.h` 1022 bfd_version_string="\"${VERSION} ${bfd_version_date}\"" 1023 fi 1024 1025 1026 1027 if test $host != $build; then 1028 ac_tool_prefix=${host_alias}- 1029 else 1030 ac_tool_prefix= 1031 fi 1032 1033 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 1034 set dummy ${ac_tool_prefix}ar; ac_word=$2 1035 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1036 echo "configure:1037: checking for $ac_word" >&5 1037 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then 1038 echo $ac_n "(cached) $ac_c" 1>&6 1039 else 1040 if test -n "$AR"; then 1041 ac_cv_prog_AR="$AR" # Let the user override the test. 1042 else 1043 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1044 ac_dummy="$PATH" 1045 for ac_dir in $ac_dummy; do 1046 test -z "$ac_dir" && ac_dir=. 1047 if test -f $ac_dir/$ac_word; then 1048 ac_cv_prog_AR="${ac_tool_prefix}ar" 1049 break 1050 fi 1051 done 1052 IFS="$ac_save_ifs" 1053 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar" 1054 fi 1055 fi 1056 AR="$ac_cv_prog_AR" 1057 if test -n "$AR"; then 1058 echo "$ac_t""$AR" 1>&6 1059 else 1060 echo "$ac_t""no" 1>&6 1061 fi 1062 1063 1064 1065 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 1066 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1067 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1068 echo "configure:1069: checking for $ac_word" >&5 1069 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1070 echo $ac_n "(cached) $ac_c" 1>&6 1071 else 1072 if test -n "$RANLIB"; then 1073 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 1074 else 1075 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1076 ac_dummy="$PATH" 1077 for ac_dir in $ac_dummy; do 1078 test -z "$ac_dir" && ac_dir=. 1079 if test -f $ac_dir/$ac_word; then 1080 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 1081 break 1082 fi 1083 done 1084 IFS="$ac_save_ifs" 1085 fi 1086 fi 1087 RANLIB="$ac_cv_prog_RANLIB" 1088 if test -n "$RANLIB"; then 1089 echo "$ac_t""$RANLIB" 1>&6 1090 else 1091 echo "$ac_t""no" 1>&6 1092 fi 1093 1094 1095 if test -z "$ac_cv_prog_RANLIB"; then 1096 if test -n "$ac_tool_prefix"; then 1097 # Extract the first word of "ranlib", so it can be a program name with args. 1098 set dummy ranlib; ac_word=$2 1099 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1100 echo "configure:1101: checking for $ac_word" >&5 1101 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1102 echo $ac_n "(cached) $ac_c" 1>&6 1103 else 1104 if test -n "$RANLIB"; then 1105 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 1106 else 1107 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1108 ac_dummy="$PATH" 1109 for ac_dir in $ac_dummy; do 1110 test -z "$ac_dir" && ac_dir=. 1111 if test -f $ac_dir/$ac_word; then 1112 ac_cv_prog_RANLIB="ranlib" 1113 break 1114 fi 1115 done 1116 IFS="$ac_save_ifs" 1117 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" 1118 fi 1119 fi 1120 RANLIB="$ac_cv_prog_RANLIB" 1121 if test -n "$RANLIB"; then 1122 echo "$ac_t""$RANLIB" 1>&6 1123 else 1124 echo "$ac_t""no" 1>&6 1125 fi 1126 1127 else 1128 RANLIB=":" 1129 fi 1130 fi 1131 1132 1133 # Check whether --enable-shared or --disable-shared was given. 1134 if test "${enable_shared+set}" = set; then 1135 enableval="$enable_shared" 1136 p=${PACKAGE-default} 1137 case $enableval in 1138 yes) enable_shared=yes ;; 1139 no) enable_shared=no ;; 1140 *) 1141 enable_shared=no 1142 # Look at the argument we got. We use all the common list separators. 1143 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," 1144 for pkg in $enableval; do 1145 if test "X$pkg" = "X$p"; then 1146 enable_shared=yes 1147 fi 1148 done 1149 IFS="$ac_save_ifs" 1150 ;; 1151 esac 1152 else 1153 enable_shared=no 1154 fi 1155 1156 1157 # Check whether --enable-static or --disable-static was given. 1158 if test "${enable_static+set}" = set; then 1159 enableval="$enable_static" 1160 p=${PACKAGE-default} 1161 case $enableval in 1162 yes) enable_static=yes ;; 1163 no) enable_static=no ;; 1164 *) 1165 enable_static=no 1166 # Look at the argument we got. We use all the common list separators. 1167 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," 1168 for pkg in $enableval; do 1169 if test "X$pkg" = "X$p"; then 1170 enable_static=yes 1171 fi 1172 done 1173 IFS="$ac_save_ifs" 1174 ;; 1175 esac 1176 else 1177 enable_static=yes 1178 fi 1179 1180 # Check whether --enable-fast-install or --disable-fast-install was given. 1181 if test "${enable_fast_install+set}" = set; then 1182 enableval="$enable_fast_install" 1183 p=${PACKAGE-default} 1184 case $enableval in 1185 yes) enable_fast_install=yes ;; 1186 no) enable_fast_install=no ;; 1187 *) 1188 enable_fast_install=no 1189 # Look at the argument we got. We use all the common list separators. 1190 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," 1191 for pkg in $enableval; do 1192 if test "X$pkg" = "X$p"; then 1193 enable_fast_install=yes 1194 fi 1195 done 1196 IFS="$ac_save_ifs" 1197 ;; 1198 esac 1199 else 1200 enable_fast_install=yes 1201 fi 1202 735 1203 # Extract the first word of "gcc", so it can be a program name with args. 736 1204 set dummy gcc; ac_word=$2 737 1205 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 738 echo "configure: 739: checking for $ac_word" >&51206 echo "configure:1207: checking for $ac_word" >&5 739 1207 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 740 1208 echo $ac_n "(cached) $ac_c" 1>&6 … … 766 1234 set dummy cc; ac_word=$2 767 1235 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 768 echo "configure: 769: checking for $ac_word" >&51236 echo "configure:1237: checking for $ac_word" >&5 769 1237 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 770 1238 echo $ac_n "(cached) $ac_c" 1>&6 … … 817 1285 set dummy cl; ac_word=$2 818 1286 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 819 echo "configure: 820: checking for $ac_word" >&51287 echo "configure:1288: checking for $ac_word" >&5 820 1288 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 821 1289 echo $ac_n "(cached) $ac_c" 1>&6 … … 849 1317 850 1318 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 851 echo "configure: 852: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&51319 echo "configure:1320: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 852 1320 853 1321 ac_ext=c … … 860 1328 cat > conftest.$ac_ext << EOF 861 1329 862 #line 863"configure"1330 #line 1331 "configure" 863 1331 #include "confdefs.h" 864 1332 865 1333 main(){return(0);} 866 1334 EOF 867 if { (eval echo configure: 868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1335 if { (eval echo configure:1336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 868 1336 ac_cv_prog_cc_works=yes 869 1337 # If we can't run a trivial program, we are probably using a cross compiler. … … 891 1359 fi 892 1360 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 893 echo "configure: 894: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&51361 echo "configure:1362: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 894 1362 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 895 1363 cross_compiling=$ac_cv_prog_cc_cross 896 1364 897 1365 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 898 echo "configure: 899: checking whether we are using GNU C" >&51366 echo "configure:1367: checking whether we are using GNU C" >&5 899 1367 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 900 1368 echo $ac_n "(cached) $ac_c" 1>&6 … … 905 1373 #endif 906 1374 EOF 907 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure: 908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1375 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1376: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 908 1376 ac_cv_prog_gcc=yes 909 1377 else … … 924 1392 CFLAGS= 925 1393 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 926 echo "configure: 927: checking whether ${CC-cc} accepts -g" >&51394 echo "configure:1395: checking whether ${CC-cc} accepts -g" >&5 927 1395 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 928 1396 echo $ac_n "(cached) $ac_c" 1>&6 … … 955 1423 fi 956 1424 957 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6958 echo "configure:959: checking for POSIXized ISC" >&5959 if test -d /etc/conf/kconfig.d &&960 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1961 then962 echo "$ac_t""yes" 1>&6963 ISC=yes # If later tests want to check for ISC.964 cat >> confdefs.h <<\EOF965 #define _POSIX_SOURCE 1966 EOF967 968 if test "$GCC" = yes; then969 CC="$CC -posix"970 else971 CC="$CC -Xp"972 fi973 else974 echo "$ac_t""no" 1>&6975 ISC=976 fi977 978 979 # Find a good install program. We prefer a C program (faster),980 # so one script is as good as another. But avoid the broken or981 # incompatible versions:982 # SysV /etc/install, /usr/sbin/install983 # SunOS /usr/etc/install984 # IRIX /sbin/install985 # AIX /bin/install986 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag987 # AFS /usr/afsws/bin/install, which mishandles nonexistent args988 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"989 # ./install, which can be erroneously created by make from ./install.sh.990 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6991 echo "configure:992: checking for a BSD compatible install" >&5992 if test -z "$INSTALL"; then993 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then994 echo $ac_n "(cached) $ac_c" 1>&6995 else996 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"997 for ac_dir in $PATH; do998 # Account for people who put trailing slashes in PATH elements.999 case "$ac_dir/" in1000 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;1001 *)1002 # OSF1 and SCO ODT 3.0 have their own names for install.1003 # Don't use installbsd from OSF since it installs stuff as root1004 # by default.1005 for ac_prog in ginstall scoinst install; do1006 if test -f $ac_dir/$ac_prog; then1007 if test $ac_prog = install &&1008 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then1009 # AIX install. It has an incompatible calling convention.1010 :1011 else1012 ac_cv_path_install="$ac_dir/$ac_prog -c"1013 break 21014 fi1015 fi1016 done1017 ;;1018 esac1019 done1020 IFS="$ac_save_IFS"1021 1022 fi1023 if test "${ac_cv_path_install+set}" = set; then1024 INSTALL="$ac_cv_path_install"1025 else1026 # As a last resort, use the slow shell script. We don't cache a1027 # path for INSTALL within a source directory, because that will1028 # break other packages using the cache if that directory is1029 # removed, or if the path is relative.1030 INSTALL="$ac_install_sh"1031 fi1032 fi1033 echo "$ac_t""$INSTALL" 1>&61034 1035 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.1036 # It thinks the first close brace ends the variable substitution.1037 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'1038 1039 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'1040 1041 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'1042 1043 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&61044 echo "configure:1045: checking whether build environment is sane" >&51045 # Just in case1046 sleep 11047 echo timestamp > conftestfile1048 # Do `set' in a subshell so we don't clobber the current shell's1049 # arguments. Must try -L first in case configure is actually a1050 # symlink; some systems play weird games with the mod time of symlinks1051 # (eg FreeBSD returns the mod time of the symlink's containing1052 # directory).1053 if (1054 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`1055 if test "$*" = "X"; then1056 # -L didn't work.1057 set X `ls -t $srcdir/configure conftestfile`1058 fi1059 if test "$*" != "X $srcdir/configure conftestfile" \1060 && test "$*" != "X conftestfile $srcdir/configure"; then1061 1062 # If neither matched, then we have a broken ls. This can happen1063 # if, for instance, CONFIG_SHELL is bash and it inherits a1064 # broken ls alias from the environment. This has actually1065 # happened. Such a system could not be considered "sane".1066 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken1067 alias in your environment" 1>&2; exit 1; }1068 fi1069 1070 test "$2" = conftestfile1071 )1072 then1073 # Ok.1074 :1075 else1076 { echo "configure: error: newly created file is older than distributed files!1077 Check your system clock" 1>&2; exit 1; }1078 fi1079 rm -f conftest*1080 echo "$ac_t""yes" 1>&61081 if test "$program_transform_name" = s,x,x,; then1082 program_transform_name=1083 else1084 # Double any \ or $. echo might interpret backslashes.1085 cat <<\EOF_SED > conftestsed1086 s,\\,\\\\,g; s,\$,$$,g1087 EOF_SED1088 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"1089 rm -f conftestsed1090 fi1091 test "$program_prefix" != NONE &&1092 program_transform_name="s,^,${program_prefix},; $program_transform_name"1093 # Use a double $ so make ignores it.1094 test "$program_suffix" != NONE &&1095 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"1096 1097 # sed with no file args requires a program.1098 test "$program_transform_name" = "" && program_transform_name="s,x,x,"1099 1100 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&61101 echo "configure:1102: checking whether ${MAKE-make} sets \${MAKE}" >&51102 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`1103 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then1104 echo $ac_n "(cached) $ac_c" 1>&61105 else1106 cat > conftestmake <<\EOF1107 all:1108 @echo 'ac_maketemp="${MAKE}"'1109 EOF1110 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.1111 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`1112 if test -n "$ac_maketemp"; then1113 eval ac_cv_prog_make_${ac_make}_set=yes1114 else1115 eval ac_cv_prog_make_${ac_make}_set=no1116 fi1117 rm -f conftestmake1118 fi1119 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then1120 echo "$ac_t""yes" 1>&61121 SET_MAKE=1122 else1123 echo "$ac_t""no" 1>&61124 SET_MAKE="MAKE=${MAKE-make}"1125 fi1126 1127 1128 PACKAGE=bfd1129 1130 VERSION=2.11.21131 1132 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then1133 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }1134 fi1135 cat >> confdefs.h <<EOF1136 #define PACKAGE "$PACKAGE"1137 EOF1138 1139 cat >> confdefs.h <<EOF1140 #define VERSION "$VERSION"1141 EOF1142 1143 1144 1145 missing_dir=`cd $ac_aux_dir && pwd`1146 echo $ac_n "checking for working aclocal""... $ac_c" 1>&61147 echo "configure:1148: checking for working aclocal" >&51148 # Run test in a subshell; some versions of sh will print an error if1149 # an executable is not found, even if stderr is redirected.1150 # Redirect stdin to placate older versions of autoconf. Sigh.1151 if (aclocal --version) < /dev/null > /dev/null 2>&1; then1152 ACLOCAL=aclocal1153 echo "$ac_t""found" 1>&61154 else1155 ACLOCAL="$missing_dir/missing aclocal"1156 echo "$ac_t""missing" 1>&61157 fi1158 1159 echo $ac_n "checking for working autoconf""... $ac_c" 1>&61160 echo "configure:1161: checking for working autoconf" >&51161 # Run test in a subshell; some versions of sh will print an error if1162 # an executable is not found, even if stderr is redirected.1163 # Redirect stdin to placate older versions of autoconf. Sigh.1164 if (autoconf --version) < /dev/null > /dev/null 2>&1; then1165 AUTOCONF=autoconf1166 echo "$ac_t""found" 1>&61167 else1168 AUTOCONF="$missing_dir/missing autoconf"1169 echo "$ac_t""missing" 1>&61170 fi1171 1172 echo $ac_n "checking for working automake""... $ac_c" 1>&61173 echo "configure:1174: checking for working automake" >&51174 # Run test in a subshell; some versions of sh will print an error if1175 # an executable is not found, even if stderr is redirected.1176 # Redirect stdin to placate older versions of autoconf. Sigh.1177 if (automake --version) < /dev/null > /dev/null 2>&1; then1178 AUTOMAKE=automake1179 echo "$ac_t""found" 1>&61180 else1181 AUTOMAKE="$missing_dir/missing automake"1182 echo "$ac_t""missing" 1>&61183 fi1184 1185 echo $ac_n "checking for working autoheader""... $ac_c" 1>&61186 echo "configure:1187: checking for working autoheader" >&51187 # Run test in a subshell; some versions of sh will print an error if1188 # an executable is not found, even if stderr is redirected.1189 # Redirect stdin to placate older versions of autoconf. Sigh.1190 if (autoheader --version) < /dev/null > /dev/null 2>&1; then1191 AUTOHEADER=autoheader1192 echo "$ac_t""found" 1>&61193 else1194 AUTOHEADER="$missing_dir/missing autoheader"1195 echo "$ac_t""missing" 1>&61196 fi1197 1198 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&61199 echo "configure:1200: checking for working makeinfo" >&51200 # Run test in a subshell; some versions of sh will print an error if1201 # an executable is not found, even if stderr is redirected.1202 # Redirect stdin to placate older versions of autoconf. Sigh.1203 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then1204 MAKEINFO=makeinfo1205 echo "$ac_t""found" 1>&61206 else1207 MAKEINFO="$missing_dir/missing makeinfo"1208 echo "$ac_t""missing" 1>&61209 fi1210 1211 1212 1213 if test $host != $build; then1214 ac_tool_prefix=${host_alias}-1215 else1216 ac_tool_prefix=1217 fi1218 1219 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.1220 set dummy ${ac_tool_prefix}ar; ac_word=$21221 echo $ac_n "checking for $ac_word""... $ac_c" 1>&61222 echo "configure:1223: checking for $ac_word" >&51223 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then1224 echo $ac_n "(cached) $ac_c" 1>&61225 else1226 if test -n "$AR"; then1227 ac_cv_prog_AR="$AR" # Let the user override the test.1228 else1229 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"1230 ac_dummy="$PATH"1231 for ac_dir in $ac_dummy; do1232 test -z "$ac_dir" && ac_dir=.1233 if test -f $ac_dir/$ac_word; then1234 ac_cv_prog_AR="${ac_tool_prefix}ar"1235 break1236 fi1237 done1238 IFS="$ac_save_ifs"1239 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"1240 fi1241 fi1242 AR="$ac_cv_prog_AR"1243 if test -n "$AR"; then1244 echo "$ac_t""$AR" 1>&61245 else1246 echo "$ac_t""no" 1>&61247 fi1248 1249 1250 1251 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.1252 set dummy ${ac_tool_prefix}ranlib; ac_word=$21253 echo $ac_n "checking for $ac_word""... $ac_c" 1>&61254 echo "configure:1255: checking for $ac_word" >&51255 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then1256 echo $ac_n "(cached) $ac_c" 1>&61257 else1258 if test -n "$RANLIB"; then1259 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.1260 else1261 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"1262 ac_dummy="$PATH"1263 for ac_dir in $ac_dummy; do1264 test -z "$ac_dir" && ac_dir=.1265 if test -f $ac_dir/$ac_word; then1266 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"1267 break1268 fi1269 done1270 IFS="$ac_save_ifs"1271 fi1272 fi1273 RANLIB="$ac_cv_prog_RANLIB"1274 if test -n "$RANLIB"; then1275 echo "$ac_t""$RANLIB" 1>&61276 else1277 echo "$ac_t""no" 1>&61278 fi1279 1280 1281 if test -z "$ac_cv_prog_RANLIB"; then1282 if test -n "$ac_tool_prefix"; then1283 # Extract the first word of "ranlib", so it can be a program name with args.1284 set dummy ranlib; ac_word=$21285 echo $ac_n "checking for $ac_word""... $ac_c" 1>&61286 echo "configure:1287: checking for $ac_word" >&51287 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then1288 echo $ac_n "(cached) $ac_c" 1>&61289 else1290 if test -n "$RANLIB"; then1291 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.1292 else1293 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"1294 ac_dummy="$PATH"1295 for ac_dir in $ac_dummy; do1296 test -z "$ac_dir" && ac_dir=.1297 if test -f $ac_dir/$ac_word; then1298 ac_cv_prog_RANLIB="ranlib"1299 break1300 fi1301 done1302 IFS="$ac_save_ifs"1303 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"1304 fi1305 fi1306 RANLIB="$ac_cv_prog_RANLIB"1307 if test -n "$RANLIB"; then1308 echo "$ac_t""$RANLIB" 1>&61309 else1310 echo "$ac_t""no" 1>&61311 fi1312 1313 else1314 RANLIB=":"1315 fi1316 fi1317 1318 1319 # Check whether --enable-shared or --disable-shared was given.1320 if test "${enable_shared+set}" = set; then1321 enableval="$enable_shared"1322 p=${PACKAGE-default}1323 case "$enableval" in1324 yes) enable_shared=yes ;;1325 no) enable_shared=no ;;1326 *)1327 enable_shared=no1328 # Look at the argument we got. We use all the common list separators.1329 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"1330 for pkg in $enableval; do1331 if test "X$pkg" = "X$p"; then1332 enable_shared=yes1333 fi1334 done1335 IFS="$ac_save_ifs"1336 ;;1337 esac1338 else1339 enable_shared=no1340 fi1341 1342 1343 # Check whether --enable-static or --disable-static was given.1344 if test "${enable_static+set}" = set; then1345 enableval="$enable_static"1346 p=${PACKAGE-default}1347 case "$enableval" in1348 yes) enable_static=yes ;;1349 no) enable_static=no ;;1350 *)1351 enable_static=no1352 # Look at the argument we got. We use all the common list separators.1353 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"1354 for pkg in $enableval; do1355 if test "X$pkg" = "X$p"; then1356 enable_static=yes1357 fi1358 done1359 IFS="$ac_save_ifs"1360 ;;1361 esac1362 else1363 enable_static=yes1364 fi1365 1366 # Check whether --enable-fast-install or --disable-fast-install was given.1367 if test "${enable_fast_install+set}" = set; then1368 enableval="$enable_fast_install"1369 p=${PACKAGE-default}1370 case "$enableval" in1371 yes) enable_fast_install=yes ;;1372 no) enable_fast_install=no ;;1373 *)1374 enable_fast_install=no1375 # Look at the argument we got. We use all the common list separators.1376 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"1377 for pkg in $enableval; do1378 if test "X$pkg" = "X$p"; then1379 enable_fast_install=yes1380 fi1381 done1382 IFS="$ac_save_ifs"1383 ;;1384 esac1385 else1386 enable_fast_install=yes1387 fi1388 1389 1425 # Check whether --with-gnu-ld or --without-gnu-ld was given. 1390 1426 if test "${with_gnu_ld+set}" = set; then … … 1396 1432 1397 1433 ac_prog=ld 1398 if test "$ ac_cv_prog_gcc" = yes; then1434 if test "$GCC" = yes; then 1399 1435 # Check if gcc -print-prog-name=ld gives a path. 1400 1436 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 1401 echo "configure:14 02: checking for ld used by GCC" >&51437 echo "configure:1438: checking for ld used by GCC" >&5 1402 1438 case $host in 1403 1439 *-*-mingw*) … … 1407 1443 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 1408 1444 esac 1409 case "$ac_prog"in1445 case $ac_prog in 1410 1446 # Accept absolute paths. 1411 1447 [\\/]* | [A-Za-z]:[\\/]*) … … 1429 1465 elif test "$with_gnu_ld" = yes; then 1430 1466 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 1431 echo "configure:14 32: checking for GNU ld" >&51467 echo "configure:1468: checking for GNU ld" >&5 1432 1468 else 1433 1469 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 1434 echo "configure:14 35: checking for non-GNU ld" >&51435 fi 1436 if eval "test \"`echo '$''{' ac_cv_path_LD'+set}'`\" = set"; then1470 echo "configure:1471: checking for non-GNU ld" >&5 1471 fi 1472 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then 1437 1473 echo $ac_n "(cached) $ac_c" 1>&6 1438 1474 else … … 1442 1478 test -z "$ac_dir" && ac_dir=. 1443 1479 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 1444 ac_cv_path_LD="$ac_dir/$ac_prog"1480 lt_cv_path_LD="$ac_dir/$ac_prog" 1445 1481 # Check to see if the program is GNU ld. I'd rather use --version, 1446 1482 # but apparently some GNU ld's only accept -v. 1447 1483 # Break only if it was the GNU/non-GNU ld that we prefer. 1448 if "$ ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then1484 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then 1449 1485 test "$with_gnu_ld" != no && break 1450 1486 else … … 1455 1491 IFS="$ac_save_ifs" 1456 1492 else 1457 ac_cv_path_LD="$LD" # Let the user override the test with a path.1458 fi 1459 fi 1460 1461 LD="$ ac_cv_path_LD"1493 lt_cv_path_LD="$LD" # Let the user override the test with a path. 1494 fi 1495 fi 1496 1497 LD="$lt_cv_path_LD" 1462 1498 if test -n "$LD"; then 1463 1499 echo "$ac_t""$LD" 1>&6 … … 1467 1503 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } 1468 1504 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 1469 echo "configure:1 470: checking if the linker ($LD) is GNU ld" >&51470 if eval "test \"`echo '$''{' ac_cv_prog_gnu_ld'+set}'`\" = set"; then1505 echo "configure:1506: checking if the linker ($LD) is GNU ld" >&5 1506 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then 1471 1507 echo $ac_n "(cached) $ac_c" 1>&6 1472 1508 else 1473 1509 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 1474 1510 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 1475 ac_cv_prog_gnu_ld=yes1476 else 1477 ac_cv_prog_gnu_ld=no1478 fi 1479 fi 1480 1481 echo "$ac_t""$ ac_cv_prog_gnu_ld" 1>&61482 with_gnu_ld=$ ac_cv_prog_gnu_ld1511 lt_cv_prog_gnu_ld=yes 1512 else 1513 lt_cv_prog_gnu_ld=no 1514 fi 1515 fi 1516 1517 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6 1518 with_gnu_ld=$lt_cv_prog_gnu_ld 1483 1519 1484 1520 1485 1521 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6 1486 echo "configure:1 487: checking for $LD option to reload object files" >&51522 echo "configure:1523: checking for $LD option to reload object files" >&5 1487 1523 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then 1488 1524 echo $ac_n "(cached) $ac_c" 1>&6 … … 1496 1532 1497 1533 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 1498 echo "configure:1 499: checking for BSD-compatible nm" >&51499 if eval "test \"`echo '$''{' ac_cv_path_NM'+set}'`\" = set"; then1534 echo "configure:1535: checking for BSD-compatible nm" >&5 1535 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then 1500 1536 echo $ac_n "(cached) $ac_c" 1>&6 1501 1537 else 1502 1538 if test -n "$NM"; then 1503 1539 # Let the user override the test. 1504 ac_cv_path_NM="$NM"1540 lt_cv_path_NM="$NM" 1505 1541 else 1506 1542 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" … … 1514 1550 # Tru64's nm complains that /dev/null is an invalid object file 1515 1551 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then 1516 ac_cv_path_NM="$tmp_nm -B"1552 lt_cv_path_NM="$tmp_nm -B" 1517 1553 break 1518 1554 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then 1519 ac_cv_path_NM="$tmp_nm -p"1555 lt_cv_path_NM="$tmp_nm -p" 1520 1556 break 1521 1557 else 1522 ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but1558 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 1523 1559 continue # so that we can try to find one that supports BSD flags 1524 1560 fi … … 1526 1562 done 1527 1563 IFS="$ac_save_ifs" 1528 test -z "$ ac_cv_path_NM" && ac_cv_path_NM=nm1529 fi 1530 fi 1531 1532 NM="$ ac_cv_path_NM"1564 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm 1565 fi 1566 fi 1567 1568 NM="$lt_cv_path_NM" 1533 1569 echo "$ac_t""$NM" 1>&6 1534 1570 1535 1571 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1536 echo "configure:15 37: checking whether ln -s works" >&51572 echo "configure:1573: checking whether ln -s works" >&5 1537 1573 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1538 1574 echo $ac_n "(cached) $ac_c" 1>&6 … … 1555 1591 1556 1592 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6 1557 echo "configure:15 58: checking how to recognise dependant libraries" >&51593 echo "configure:1594: checking how to recognise dependant libraries" >&5 1558 1594 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then 1559 1595 echo $ac_n "(cached) $ac_c" 1>&6 … … 1573 1609 # whether `pass_all' will *always* work, you probably want this one. 1574 1610 1575 case "$host_os"in1576 aix 4*)1611 case $host_os in 1612 aix*) 1577 1613 lt_cv_deplibs_check_method=pass_all 1578 1614 ;; … … 1583 1619 1584 1620 bsdi4*) 1585 1586 1621 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 1622 lt_cv_file_magic_cmd='/usr/bin/file -L' 1587 1623 lt_cv_file_magic_test_file=/shlib/libc.so 1588 1624 ;; … … 1593 1629 ;; 1594 1630 1631 darwin* | rhapsody*) 1632 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' 1633 lt_cv_file_magic_cmd='/usr/bin/file -L' 1634 case "$host_os" in 1635 rhapsody* | darwin1.012) 1636 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System' 1637 ;; 1638 *) # Darwin 1.3 on 1639 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' 1640 ;; 1641 esac 1642 ;; 1643 1595 1644 freebsd* ) 1596 1645 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 1597 case "$host_cpu"in1646 case $host_cpu in 1598 1647 i*86 ) 1599 1648 # Not sure whether the presence of OpenBSD here was a mistake. 1600 1649 # Let's accept both of them until this is cleared up. 1601 1602 1650 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' 1651 lt_cv_file_magic_cmd=/usr/bin/file 1603 1652 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 1604 1653 ;; … … 1613 1662 ;; 1614 1663 1615 hpux10.20*) 1616 # TODO: Does this work for hpux-11 too? 1617 lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library' 1618 lt_cv_file_magic_cmd=/usr/bin/file 1619 lt_cv_file_magic_test_file=/usr/lib/libc.sl 1664 hpux10.20*|hpux11*) 1665 case $host_cpu in 1666 hppa*) 1667 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 1668 lt_cv_file_magic_cmd=/usr/bin/file 1669 lt_cv_file_magic_test_file=/usr/lib/libc.sl 1670 ;; 1671 ia64*) 1672 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 1673 lt_cv_file_magic_cmd=/usr/bin/file 1674 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 1675 ;; 1676 esac 1620 1677 ;; 1621 1678 1622 1679 irix5* | irix6*) 1623 case "$host_os"in1680 case $host_os in 1624 1681 irix5*) 1625 1682 # this will be overridden with pass_all, but let us keep it just in case … … 1627 1684 ;; 1628 1685 *) 1629 case "$LD"in1686 case $LD in 1630 1687 *-32|*"-32 ") libmagic=32-bit;; 1631 1688 *-n32|*"-n32 ") libmagic=N32;; … … 1634 1691 esac 1635 1692 # this will be overridden with pass_all, but let us keep it just in case 1636 1637 1693 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" 1694 ;; 1638 1695 esac 1639 1696 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` … … 1643 1700 # This must be Linux ELF. 1644 1701 linux-gnu*) 1645 case "$host_cpu"in1646 alpha* | i*86 | powerpc* | sparc* | ia64* )1702 case $host_cpu in 1703 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* ) 1647 1704 lt_cv_deplibs_check_method=pass_all ;; 1648 1705 *) 1649 1706 # glibc up to 2.1.1 does not perform some relocations on ARM 1650 1651 1707 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; 1708 esac 1652 1709 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` 1653 1710 ;; 1654 1711 1655 1712 netbsd*) 1656 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then : 1713 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 1714 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' 1657 1715 else 1658 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' 1659 lt_cv_file_magic_cmd='/usr/bin/file -L' 1660 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 1716 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' 1661 1717 fi 1718 ;; 1719 1720 newsos6) 1721 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 1722 lt_cv_file_magic_cmd=/usr/bin/file 1723 lt_cv_file_magic_test_file=/usr/lib/libnls.so 1662 1724 ;; 1663 1725 … … 1678 1740 ;; 1679 1741 1742 sysv5uw[78]* | sysv4*uw2*) 1743 lt_cv_deplibs_check_method=pass_all 1744 ;; 1745 1680 1746 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 1681 case "$host_vendor"in1747 case $host_vendor in 1682 1748 ncr) 1683 1749 lt_cv_deplibs_check_method=pass_all 1684 1750 ;; 1685 1751 motorola) 1686 1687 1752 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' 1753 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 1688 1754 ;; 1689 1755 esac … … 1698 1764 1699 1765 echo $ac_n "checking for object suffix""... $ac_c" 1>&6 1700 echo "configure:17 01: checking for object suffix" >&51766 echo "configure:1767: checking for object suffix" >&5 1701 1767 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then 1702 1768 echo $ac_n "(cached) $ac_c" 1>&6 … … 1704 1770 rm -f conftest* 1705 1771 echo 'int i = 1;' > conftest.$ac_ext 1706 if { (eval echo configure:17 07: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1772 if { (eval echo configure:1773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1707 1773 for ac_file in conftest.*; do 1708 1774 case $ac_file in … … 1724 1790 1725 1791 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 1726 echo "configure:17 27: checking for executable suffix" >&51792 echo "configure:1793: checking for executable suffix" >&5 1727 1793 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 1728 1794 echo $ac_n "(cached) $ac_c" 1>&6 … … 1734 1800 echo 'int main () { return 0; }' > conftest.$ac_ext 1735 1801 ac_cv_exeext= 1736 if { (eval echo configure:1 737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1802 if { (eval echo configure:1803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1737 1803 for file in conftest.*; do 1738 1804 case $file in … … 1757 1823 1758 1824 # Only perform the check for file, if the check method requires it 1759 case "$deplibs_check_method"in1825 case $deplibs_check_method in 1760 1826 file_magic*) 1761 1827 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 1762 1828 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6 1763 echo "configure:1 764: checking for ${ac_tool_prefix}file" >&51829 echo "configure:1830: checking for ${ac_tool_prefix}file" >&5 1764 1830 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1765 1831 echo $ac_n "(cached) $ac_c" 1>&6 1766 1832 else 1767 case "$MAGIC_CMD"in1833 case $MAGIC_CMD in 1768 1834 /*) 1769 1835 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. … … 1781 1847 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 1782 1848 if test -n "$file_magic_test_file"; then 1783 case "$deplibs_check_method"in1849 case $deplibs_check_method in 1784 1850 "file_magic "*) 1785 1851 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" … … 1823 1889 if test -n "$ac_tool_prefix"; then 1824 1890 echo $ac_n "checking for file""... $ac_c" 1>&6 1825 echo "configure:18 26: checking for file" >&51891 echo "configure:1892: checking for file" >&5 1826 1892 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1827 1893 echo $ac_n "(cached) $ac_c" 1>&6 1828 1894 else 1829 case "$MAGIC_CMD"in1895 case $MAGIC_CMD in 1830 1896 /*) 1831 1897 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. … … 1843 1909 lt_cv_path_MAGIC_CMD="$ac_dir/file" 1844 1910 if test -n "$file_magic_test_file"; then 1845 case "$deplibs_check_method"in1911 case $deplibs_check_method in 1846 1912 "file_magic "*) 1847 1913 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" … … 1894 1960 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1895 1961 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1896 echo "configure:1 897: checking for $ac_word" >&51962 echo "configure:1963: checking for $ac_word" >&5 1897 1963 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1898 1964 echo $ac_n "(cached) $ac_c" 1>&6 … … 1926 1992 set dummy ranlib; ac_word=$2 1927 1993 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1928 echo "configure:19 29: checking for $ac_word" >&51994 echo "configure:1995: checking for $ac_word" >&5 1929 1995 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1930 1996 echo $ac_n "(cached) $ac_c" 1>&6 … … 1961 2027 set dummy ${ac_tool_prefix}strip; ac_word=$2 1962 2028 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1963 echo "configure: 1964: checking for $ac_word" >&52029 echo "configure:2030: checking for $ac_word" >&5 1964 2030 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 1965 2031 echo $ac_n "(cached) $ac_c" 1>&6 … … 1993 2059 set dummy strip; ac_word=$2 1994 2060 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1995 echo "configure: 1996: checking for $ac_word" >&52061 echo "configure:2062: checking for $ac_word" >&5 1996 2062 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 1997 2063 echo $ac_n "(cached) $ac_c" 1>&6 … … 2031 2097 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static" 2032 2098 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install" 2033 test "$ ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"2034 test "$ ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"2099 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc" 2100 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld" 2035 2101 2036 2102 … … 2057 2123 # Some flags need to be propagated to the compiler or linker for good 2058 2124 # libtool support. 2059 case "$host"in2125 case $host in 2060 2126 *-*-irix6*) 2061 2127 # Find out which ABI we are using. 2062 echo '#line 2063 "configure"' > conftest.$ac_ext 2063 if { (eval echo configure:2064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2064 case "`/usr/bin/file conftest.o`" in 2128 echo '#line 2129 "configure"' > conftest.$ac_ext 2129 if { (eval echo configure:2130: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2130 if test "$lt_cv_prog_gnu_ld" = yes; then 2131 case `/usr/bin/file conftest.$ac_objext` in 2132 *32-bit*) 2133 LD="${LD-ld} -melf32bsmip" 2134 ;; 2135 *N32*) 2136 LD="${LD-ld} -melf32bmipn32" 2137 ;; 2138 *64-bit*) 2139 LD="${LD-ld} -melf64bmip" 2140 ;; 2141 esac 2142 else 2143 case `/usr/bin/file conftest.$ac_objext` in 2065 2144 *32-bit*) 2066 2145 LD="${LD-ld} -32" … … 2073 2152 ;; 2074 2153 esac 2154 fi 2155 fi 2156 rm -rf conftest* 2157 ;; 2158 2159 ia64-*-hpux*) 2160 # Find out which ABI we are using. 2161 echo 'int i;' > conftest.$ac_ext 2162 if { (eval echo configure:2163: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2163 case "`/usr/bin/file conftest.o`" in 2164 *ELF-32*) 2165 HPUX_IA64_MODE="32" 2166 ;; 2167 *ELF-64*) 2168 HPUX_IA64_MODE="64" 2169 ;; 2170 esac 2075 2171 fi 2076 2172 rm -rf conftest* … … 2082 2178 CFLAGS="$CFLAGS -belf" 2083 2179 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 2084 echo "configure:2 085: checking whether the C compiler needs -belf" >&52180 echo "configure:2181: checking whether the C compiler needs -belf" >&5 2085 2181 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then 2086 2182 echo $ac_n "(cached) $ac_c" 1>&6 … … 2095 2191 2096 2192 cat > conftest.$ac_ext <<EOF 2097 #line 2 098"configure"2193 #line 2194 "configure" 2098 2194 #include "confdefs.h" 2099 2195 … … 2102 2198 ; return 0; } 2103 2199 EOF 2104 if { (eval echo configure:2 105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2200 if { (eval echo configure:2201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2105 2201 rm -rf conftest* 2106 2202 lt_cv_cc_needs_belf=yes … … 2212 2308 exec 5>>./config.log 2213 2309 2214 2215 2310 2216 2311 … … 2261 2356 fi 2262 2357 2263 build_warnings="-W -Wall "2358 build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" 2264 2359 # Check whether --enable-build-warnings or --disable-build-warnings was given. 2265 2360 if test "${enable_build_warnings+set}" = set; then … … 2279 2374 fi 2280 2375 WARN_CFLAGS="" 2281 if test "x${build_warnings}" != x -a"x$GCC" = xyes ; then2376 if test "x${build_warnings}" != x && test "x$GCC" = xyes ; then 2282 2377 WARN_CFLAGS="${build_warnings}" 2283 2378 fi … … 2291 2386 { echo "configure: error: Unrecognized target system type; please check config.sub." 1>&2; exit 1; } 2292 2387 fi 2293 if test "$program_transform_name" = s,x,x,; then2294 program_transform_name=2295 else2296 # Double any \ or $. echo might interpret backslashes.2297 cat <<\EOF_SED > conftestsed2298 s,\\,\\\\,g; s,\$,$$,g2299 EOF_SED2300 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"2301 rm -f conftestsed2302 fi2303 test "$program_prefix" != NONE &&2304 program_transform_name="s,^,${program_prefix},; $program_transform_name"2305 # Use a double $ so make ignores it.2306 test "$program_suffix" != NONE &&2307 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"2308 2309 # sed with no file args requires a program.2310 test "$program_transform_name" = "" && program_transform_name="s,x,x,"2311 2312 2388 2313 2389 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 2314 echo "configure:23 15: checking whether to enable maintainer-specific portions of Makefiles" >&52390 echo "configure:2391: checking whether to enable maintainer-specific portions of Makefiles" >&5 2315 2391 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 2316 2392 if test "${enable_maintainer_mode+set}" = set; then … … 2334 2410 2335 2411 2412 echo $ac_n "checking whether to install libbfd""... $ac_c" 1>&6 2413 echo "configure:2414: checking whether to install libbfd" >&5 2414 # Check whether --enable-install-libbfd or --disable-install-libbfd was given. 2415 if test "${enable_install_libbfd+set}" = set; then 2416 enableval="$enable_install_libbfd" 2417 install_libbfd_p=$enableval 2418 else 2419 if test "${host}" = "${target}" || test "$enable_shared" = "yes"; then 2420 install_libbfd_p=yes 2421 else 2422 install_libbfd_p=no 2423 fi 2424 fi 2425 2426 echo "$ac_t""$install_libbfd_p" 1>&6 2427 2428 2429 if test $install_libbfd_p = yes; then 2430 INSTALL_LIBBFD_TRUE= 2431 INSTALL_LIBBFD_FALSE='#' 2432 else 2433 INSTALL_LIBBFD_TRUE='#' 2434 INSTALL_LIBBFD_FALSE= 2435 fi 2436 # libbfd.a is a host library containing target dependent code 2437 bfdlibdir='$(libdir)' 2438 bfdincludedir='$(includedir)' 2439 if test "${host}" != "${target}"; then 2440 bfdlibdir='$(exec_prefix)/$(host_alias)/$(target_alias)/lib' 2441 bfdincludedir='$(exec_prefix)/$(host_alias)/$(target_alias)/include' 2442 fi 2443 2444 2445 2446 2336 2447 2337 2448 2338 2449 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 2339 echo "configure:2 340: checking for executable suffix" >&52450 echo "configure:2451: checking for executable suffix" >&5 2340 2451 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 2341 2452 echo $ac_n "(cached) $ac_c" 1>&6 … … 2347 2458 echo 'int main () { return 0; }' > conftest.$ac_ext 2348 2459 ac_cv_exeext= 2349 if { (eval echo configure:2 350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2460 if { (eval echo configure:2461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 2350 2461 for file in conftest.*; do 2351 2462 case $file in … … 2370 2481 host64=false 2371 2482 target64=false 2483 bfd_default_target_size=32 2372 2484 2373 2485 # host stuff: … … 2376 2488 set dummy gcc; ac_word=$2 2377 2489 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2378 echo "configure:2 379: checking for $ac_word" >&52490 echo "configure:2491: checking for $ac_word" >&5 2379 2491 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2380 2492 echo $ac_n "(cached) $ac_c" 1>&6 … … 2406 2518 set dummy cc; ac_word=$2 2407 2519 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2408 echo "configure:2 409: checking for $ac_word" >&52520 echo "configure:2521: checking for $ac_word" >&5 2409 2521 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2410 2522 echo $ac_n "(cached) $ac_c" 1>&6 … … 2457 2569 set dummy cl; ac_word=$2 2458 2570 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2459 echo "configure:2 460: checking for $ac_word" >&52571 echo "configure:2572: checking for $ac_word" >&5 2460 2572 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2461 2573 echo $ac_n "(cached) $ac_c" 1>&6 … … 2489 2601 2490 2602 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 2491 echo "configure:2 492: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&52603 echo "configure:2604: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 2492 2604 2493 2605 ac_ext=c … … 2500 2612 cat > conftest.$ac_ext << EOF 2501 2613 2502 #line 2 503"configure"2614 #line 2615 "configure" 2503 2615 #include "confdefs.h" 2504 2616 2505 2617 main(){return(0);} 2506 2618 EOF 2507 if { (eval echo configure:2 508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2619 if { (eval echo configure:2620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2508 2620 ac_cv_prog_cc_works=yes 2509 2621 # If we can't run a trivial program, we are probably using a cross compiler. … … 2531 2643 fi 2532 2644 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 2533 echo "configure:2 534: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&52645 echo "configure:2646: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 2534 2646 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 2535 2647 cross_compiling=$ac_cv_prog_cc_cross 2536 2648 2537 2649 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 2538 echo "configure:2 539: checking whether we are using GNU C" >&52650 echo "configure:2651: checking whether we are using GNU C" >&5 2539 2651 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 2540 2652 echo $ac_n "(cached) $ac_c" 1>&6 … … 2545 2657 #endif 2546 2658 EOF 2547 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2 548: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then2659 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 2548 2660 ac_cv_prog_gcc=yes 2549 2661 else … … 2564 2676 CFLAGS= 2565 2677 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 2566 echo "configure:2 567: checking whether ${CC-cc} accepts -g" >&52678 echo "configure:2679: checking whether ${CC-cc} accepts -g" >&5 2567 2679 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 2568 2680 echo $ac_n "(cached) $ac_c" 1>&6 … … 2596 2708 2597 2709 2598 ALL_LINGUAS= 2710 ALL_LINGUAS="fr tr ja es sv da zh_CN" 2599 2711 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 2600 echo "configure:2 601: checking how to run the C preprocessor" >&52712 echo "configure:2713: checking how to run the C preprocessor" >&5 2601 2713 # On Suns, sometimes $CPP names a directory. 2602 2714 if test -n "$CPP" && test -d "$CPP"; then … … 2613 2725 # not just through cpp. 2614 2726 cat > conftest.$ac_ext <<EOF 2615 #line 2 616"configure"2727 #line 2728 "configure" 2616 2728 #include "confdefs.h" 2617 2729 #include <assert.h> … … 2619 2731 EOF 2620 2732 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2621 { (eval echo configure:2 622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2733 { (eval echo configure:2734: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2622 2734 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2623 2735 if test -z "$ac_err"; then … … 2630 2742 CPP="${CC-cc} -E -traditional-cpp" 2631 2743 cat > conftest.$ac_ext <<EOF 2632 #line 2 633"configure"2744 #line 2745 "configure" 2633 2745 #include "confdefs.h" 2634 2746 #include <assert.h> … … 2636 2748 EOF 2637 2749 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2638 { (eval echo configure:2 639: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2750 { (eval echo configure:2751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2639 2751 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2640 2752 if test -z "$ac_err"; then … … 2647 2759 CPP="${CC-cc} -nologo -E" 2648 2760 cat > conftest.$ac_ext <<EOF 2649 #line 2 650"configure"2761 #line 2762 "configure" 2650 2762 #include "confdefs.h" 2651 2763 #include <assert.h> … … 2653 2765 EOF 2654 2766 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2655 { (eval echo configure:2 656: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2767 { (eval echo configure:2768: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2656 2768 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2657 2769 if test -z "$ac_err"; then … … 2680 2792 set dummy ranlib; ac_word=$2 2681 2793 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2682 echo "configure:2 683: checking for $ac_word" >&52794 echo "configure:2795: checking for $ac_word" >&5 2683 2795 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 2684 2796 echo $ac_n "(cached) $ac_c" 1>&6 … … 2708 2820 2709 2821 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2710 echo "configure:2 711: checking for ANSI C header files" >&52822 echo "configure:2823: checking for ANSI C header files" >&5 2711 2823 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2712 2824 echo $ac_n "(cached) $ac_c" 1>&6 2713 2825 else 2714 2826 cat > conftest.$ac_ext <<EOF 2715 #line 2 716"configure"2827 #line 2828 "configure" 2716 2828 #include "confdefs.h" 2717 2829 #include <stdlib.h> … … 2721 2833 EOF 2722 2834 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2723 { (eval echo configure:2 724: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2835 { (eval echo configure:2836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2724 2836 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2725 2837 if test -z "$ac_err"; then … … 2738 2850 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2739 2851 cat > conftest.$ac_ext <<EOF 2740 #line 2 741"configure"2852 #line 2853 "configure" 2741 2853 #include "confdefs.h" 2742 2854 #include <string.h> … … 2756 2868 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2757 2869 cat > conftest.$ac_ext <<EOF 2758 #line 2 759"configure"2870 #line 2871 "configure" 2759 2871 #include "confdefs.h" 2760 2872 #include <stdlib.h> … … 2777 2889 else 2778 2890 cat > conftest.$ac_ext <<EOF 2779 #line 2 780"configure"2891 #line 2892 "configure" 2780 2892 #include "confdefs.h" 2781 2893 #include <ctype.h> … … 2788 2900 2789 2901 EOF 2790 if { (eval echo configure:2 791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2902 if { (eval echo configure:2903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2791 2903 then 2792 2904 : … … 2812 2924 2813 2925 echo $ac_n "checking for working const""... $ac_c" 1>&6 2814 echo "configure:2 815: checking for working const" >&52926 echo "configure:2927: checking for working const" >&5 2815 2927 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 2816 2928 echo $ac_n "(cached) $ac_c" 1>&6 2817 2929 else 2818 2930 cat > conftest.$ac_ext <<EOF 2819 #line 2 820"configure"2931 #line 2932 "configure" 2820 2932 #include "confdefs.h" 2821 2933 … … 2866 2978 ; return 0; } 2867 2979 EOF 2868 if { (eval echo configure:2 869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2980 if { (eval echo configure:2981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2869 2981 rm -rf conftest* 2870 2982 ac_cv_c_const=yes … … 2887 2999 2888 3000 echo $ac_n "checking for inline""... $ac_c" 1>&6 2889 echo "configure: 2890: checking for inline" >&53001 echo "configure:3002: checking for inline" >&5 2890 3002 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 2891 3003 echo $ac_n "(cached) $ac_c" 1>&6 … … 2894 3006 for ac_kw in inline __inline__ __inline; do 2895 3007 cat > conftest.$ac_ext <<EOF 2896 #line 2897"configure"3008 #line 3009 "configure" 2897 3009 #include "confdefs.h" 2898 3010 … … 2901 3013 ; return 0; } 2902 3014 EOF 2903 if { (eval echo configure: 2904: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3015 if { (eval echo configure:3016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2904 3016 rm -rf conftest* 2905 3017 ac_cv_c_inline=$ac_kw; break … … 2927 3039 2928 3040 echo $ac_n "checking for off_t""... $ac_c" 1>&6 2929 echo "configure: 2930: checking for off_t" >&53041 echo "configure:3042: checking for off_t" >&5 2930 3042 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then 2931 3043 echo $ac_n "(cached) $ac_c" 1>&6 2932 3044 else 2933 3045 cat > conftest.$ac_ext <<EOF 2934 #line 2935"configure"3046 #line 3047 "configure" 2935 3047 #include "confdefs.h" 2936 3048 #include <sys/types.h> … … 2960 3072 2961 3073 echo $ac_n "checking for size_t""... $ac_c" 1>&6 2962 echo "configure: 2963: checking for size_t" >&53074 echo "configure:3075: checking for size_t" >&5 2963 3075 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 2964 3076 echo $ac_n "(cached) $ac_c" 1>&6 2965 3077 else 2966 3078 cat > conftest.$ac_ext <<EOF 2967 #line 2968"configure"3079 #line 3080 "configure" 2968 3080 #include "confdefs.h" 2969 3081 #include <sys/types.h> … … 2995 3107 # for constant arguments. Useless! 2996 3108 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 2997 echo "configure: 2998: checking for working alloca.h" >&53109 echo "configure:3110: checking for working alloca.h" >&5 2998 3110 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 2999 3111 echo $ac_n "(cached) $ac_c" 1>&6 3000 3112 else 3001 3113 cat > conftest.$ac_ext <<EOF 3002 #line 3 003"configure"3114 #line 3115 "configure" 3003 3115 #include "confdefs.h" 3004 3116 #include <alloca.h> … … 3007 3119 ; return 0; } 3008 3120 EOF 3009 if { (eval echo configure:3 010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3121 if { (eval echo configure:3122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3010 3122 rm -rf conftest* 3011 3123 ac_cv_header_alloca_h=yes … … 3028 3140 3029 3141 echo $ac_n "checking for alloca""... $ac_c" 1>&6 3030 echo "configure:3 031: checking for alloca" >&53142 echo "configure:3143: checking for alloca" >&5 3031 3143 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 3032 3144 echo $ac_n "(cached) $ac_c" 1>&6 3033 3145 else 3034 3146 cat > conftest.$ac_ext <<EOF 3035 #line 3 036"configure"3147 #line 3148 "configure" 3036 3148 #include "confdefs.h" 3037 3149 … … 3061 3173 ; return 0; } 3062 3174 EOF 3063 if { (eval echo configure:3 064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3175 if { (eval echo configure:3176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3064 3176 rm -rf conftest* 3065 3177 ac_cv_func_alloca_works=yes … … 3093 3205 3094 3206 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 3095 echo "configure:3 096: checking whether alloca needs Cray hooks" >&53207 echo "configure:3208: checking whether alloca needs Cray hooks" >&5 3096 3208 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 3097 3209 echo $ac_n "(cached) $ac_c" 1>&6 3098 3210 else 3099 3211 cat > conftest.$ac_ext <<EOF 3100 #line 3 101"configure"3212 #line 3213 "configure" 3101 3213 #include "confdefs.h" 3102 3214 #if defined(CRAY) && ! defined(CRAY2) … … 3123 3235 for ac_func in _getb67 GETB67 getb67; do 3124 3236 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3125 echo "configure:3 126: checking for $ac_func" >&53237 echo "configure:3238: checking for $ac_func" >&5 3126 3238 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3127 3239 echo $ac_n "(cached) $ac_c" 1>&6 3128 3240 else 3129 3241 cat > conftest.$ac_ext <<EOF 3130 #line 3 131"configure"3242 #line 3243 "configure" 3131 3243 #include "confdefs.h" 3132 3244 /* System header to define __stub macros and hopefully few prototypes, … … 3151 3263 ; return 0; } 3152 3264 EOF 3153 if { (eval echo configure:3 154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3265 if { (eval echo configure:3266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3154 3266 rm -rf conftest* 3155 3267 eval "ac_cv_func_$ac_func=yes" … … 3178 3290 3179 3291 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 3180 echo "configure:3 181: checking stack direction for C alloca" >&53292 echo "configure:3293: checking stack direction for C alloca" >&5 3181 3293 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 3182 3294 echo $ac_n "(cached) $ac_c" 1>&6 … … 3186 3298 else 3187 3299 cat > conftest.$ac_ext <<EOF 3188 #line 3 189"configure"3300 #line 3301 "configure" 3189 3301 #include "confdefs.h" 3190 3302 find_stack_direction () … … 3205 3317 } 3206 3318 EOF 3207 if { (eval echo configure:3 208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3319 if { (eval echo configure:3320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3208 3320 then 3209 3321 ac_cv_c_stack_direction=1 … … 3230 3342 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3231 3343 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3232 echo "configure:3 233: checking for $ac_hdr" >&53344 echo "configure:3345: checking for $ac_hdr" >&5 3233 3345 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3234 3346 echo $ac_n "(cached) $ac_c" 1>&6 3235 3347 else 3236 3348 cat > conftest.$ac_ext <<EOF 3237 #line 3 238"configure"3349 #line 3350 "configure" 3238 3350 #include "confdefs.h" 3239 3351 #include <$ac_hdr> 3240 3352 EOF 3241 3353 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3242 { (eval echo configure:3 243: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3354 { (eval echo configure:3355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3243 3355 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3244 3356 if test -z "$ac_err"; then … … 3269 3381 do 3270 3382 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3271 echo "configure:3 272: checking for $ac_func" >&53383 echo "configure:3384: checking for $ac_func" >&5 3272 3384 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3273 3385 echo $ac_n "(cached) $ac_c" 1>&6 3274 3386 else 3275 3387 cat > conftest.$ac_ext <<EOF 3276 #line 3 277"configure"3388 #line 3389 "configure" 3277 3389 #include "confdefs.h" 3278 3390 /* System header to define __stub macros and hopefully few prototypes, … … 3297 3409 ; return 0; } 3298 3410 EOF 3299 if { (eval echo configure:3 300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3411 if { (eval echo configure:3412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3300 3412 rm -rf conftest* 3301 3413 eval "ac_cv_func_$ac_func=yes" … … 3322 3434 3323 3435 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 3324 echo "configure:3 325: checking for working mmap" >&53436 echo "configure:3437: checking for working mmap" >&5 3325 3437 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 3326 3438 echo $ac_n "(cached) $ac_c" 1>&6 … … 3330 3442 else 3331 3443 cat > conftest.$ac_ext <<EOF 3332 #line 3 333"configure"3444 #line 3445 "configure" 3333 3445 #include "confdefs.h" 3334 3446 … … 3470 3582 3471 3583 EOF 3472 if { (eval echo configure:3 473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3584 if { (eval echo configure:3585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3473 3585 then 3474 3586 ac_cv_func_mmap_fixed_mapped=yes … … 3498 3610 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3499 3611 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3500 echo "configure:3 501: checking for $ac_hdr" >&53612 echo "configure:3613: checking for $ac_hdr" >&5 3501 3613 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3502 3614 echo $ac_n "(cached) $ac_c" 1>&6 3503 3615 else 3504 3616 cat > conftest.$ac_ext <<EOF 3505 #line 3 506"configure"3617 #line 3618 "configure" 3506 3618 #include "confdefs.h" 3507 3619 #include <$ac_hdr> 3508 3620 EOF 3509 3621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3510 { (eval echo configure:3 511: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3622 { (eval echo configure:3623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3511 3623 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3512 3624 if test -z "$ac_err"; then … … 3538 3650 do 3539 3651 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3540 echo "configure:3 541: checking for $ac_func" >&53652 echo "configure:3653: checking for $ac_func" >&5 3541 3653 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3542 3654 echo $ac_n "(cached) $ac_c" 1>&6 3543 3655 else 3544 3656 cat > conftest.$ac_ext <<EOF 3545 #line 3 546"configure"3657 #line 3658 "configure" 3546 3658 #include "confdefs.h" 3547 3659 /* System header to define __stub macros and hopefully few prototypes, … … 3566 3678 ; return 0; } 3567 3679 EOF 3568 if { (eval echo configure:3 569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3680 if { (eval echo configure:3681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3569 3681 rm -rf conftest* 3570 3682 eval "ac_cv_func_$ac_func=yes" … … 3595 3707 do 3596 3708 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3597 echo "configure:3 598: checking for $ac_func" >&53709 echo "configure:3710: checking for $ac_func" >&5 3598 3710 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3599 3711 echo $ac_n "(cached) $ac_c" 1>&6 3600 3712 else 3601 3713 cat > conftest.$ac_ext <<EOF 3602 #line 3 603"configure"3714 #line 3715 "configure" 3603 3715 #include "confdefs.h" 3604 3716 /* System header to define __stub macros and hopefully few prototypes, … … 3623 3735 ; return 0; } 3624 3736 EOF 3625 if { (eval echo configure:3 626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3737 if { (eval echo configure:3738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3626 3738 rm -rf conftest* 3627 3739 eval "ac_cv_func_$ac_func=yes" … … 3657 3769 if test $ac_cv_header_locale_h = yes; then 3658 3770 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 3659 echo "configure:3 660: checking for LC_MESSAGES" >&53771 echo "configure:3772: checking for LC_MESSAGES" >&5 3660 3772 if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then 3661 3773 echo $ac_n "(cached) $ac_c" 1>&6 3662 3774 else 3663 3775 cat > conftest.$ac_ext <<EOF 3664 #line 3 665"configure"3776 #line 3777 "configure" 3665 3777 #include "confdefs.h" 3666 3778 #include <locale.h> … … 3669 3781 ; return 0; } 3670 3782 EOF 3671 if { (eval echo configure:3 672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3783 if { (eval echo configure:3784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3672 3784 rm -rf conftest* 3673 3785 am_cv_val_LC_MESSAGES=yes … … 3690 3802 fi 3691 3803 echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 3692 echo "configure:3 693: checking whether NLS is requested" >&53804 echo "configure:3805: checking whether NLS is requested" >&5 3693 3805 # Check whether --enable-nls or --disable-nls was given. 3694 3806 if test "${enable_nls+set}" = set; then … … 3710 3822 3711 3823 echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6 3712 echo "configure:3 713: checking whether included gettext is requested" >&53824 echo "configure:3825: checking whether included gettext is requested" >&5 3713 3825 # Check whether --with-included-gettext or --without-included-gettext was given. 3714 3826 if test "${with_included_gettext+set}" = set; then … … 3729 3841 ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'` 3730 3842 echo $ac_n "checking for libintl.h""... $ac_c" 1>&6 3731 echo "configure:3 732: checking for libintl.h" >&53843 echo "configure:3844: checking for libintl.h" >&5 3732 3844 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3733 3845 echo $ac_n "(cached) $ac_c" 1>&6 3734 3846 else 3735 3847 cat > conftest.$ac_ext <<EOF 3736 #line 3 737"configure"3848 #line 3849 "configure" 3737 3849 #include "confdefs.h" 3738 3850 #include <libintl.h> 3739 3851 EOF 3740 3852 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3741 { (eval echo configure:3 742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3853 { (eval echo configure:3854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3742 3854 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3743 3855 if test -z "$ac_err"; then … … 3756 3868 echo "$ac_t""yes" 1>&6 3757 3869 echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6 3758 echo "configure:3 759: checking for gettext in libc" >&53870 echo "configure:3871: checking for gettext in libc" >&5 3759 3871 if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then 3760 3872 echo $ac_n "(cached) $ac_c" 1>&6 3761 3873 else 3762 3874 cat > conftest.$ac_ext <<EOF 3763 #line 3 764"configure"3875 #line 3876 "configure" 3764 3876 #include "confdefs.h" 3765 3877 #include <libintl.h> … … 3768 3880 ; return 0; } 3769 3881 EOF 3770 if { (eval echo configure:3 771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3882 if { (eval echo configure:3883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3771 3883 rm -rf conftest* 3772 3884 gt_cv_func_gettext_libc=yes … … 3784 3896 if test "$gt_cv_func_gettext_libc" != "yes"; then 3785 3897 echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6 3786 echo "configure:3 787: checking for bindtextdomain in -lintl" >&53898 echo "configure:3899: checking for bindtextdomain in -lintl" >&5 3787 3899 ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'` 3788 3900 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3792 3904 LIBS="-lintl $LIBS" 3793 3905 cat > conftest.$ac_ext <<EOF 3794 #line 3 795"configure"3906 #line 3907 "configure" 3795 3907 #include "confdefs.h" 3796 3908 /* Override any gcc2 internal prototype to avoid an error. */ … … 3803 3915 ; return 0; } 3804 3916 EOF 3805 if { (eval echo configure:3 806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3917 if { (eval echo configure:3918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3806 3918 rm -rf conftest* 3807 3919 eval "ac_cv_lib_$ac_lib_var=yes" … … 3819 3931 echo "$ac_t""yes" 1>&6 3820 3932 echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6 3821 echo "configure:3 822: checking for gettext in libintl" >&53933 echo "configure:3934: checking for gettext in libintl" >&5 3822 3934 if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then 3823 3935 echo $ac_n "(cached) $ac_c" 1>&6 3824 3936 else 3825 3937 cat > conftest.$ac_ext <<EOF 3826 #line 3 827"configure"3938 #line 3939 "configure" 3827 3939 #include "confdefs.h" 3828 3940 … … 3831 3943 ; return 0; } 3832 3944 EOF 3833 if { (eval echo configure:3 834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3945 if { (eval echo configure:3946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3834 3946 rm -rf conftest* 3835 3947 gt_cv_func_gettext_libintl=yes … … 3859 3971 set dummy msgfmt; ac_word=$2 3860 3972 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3861 echo "configure:3 862: checking for $ac_word" >&53973 echo "configure:3974: checking for $ac_word" >&5 3862 3974 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then 3863 3975 echo $ac_n "(cached) $ac_c" 1>&6 … … 3893 4005 do 3894 4006 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3895 echo "configure: 3896: checking for $ac_func" >&54007 echo "configure:4008: checking for $ac_func" >&5 3896 4008 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3897 4009 echo $ac_n "(cached) $ac_c" 1>&6 3898 4010 else 3899 4011 cat > conftest.$ac_ext <<EOF 3900 #line 3901"configure"4012 #line 4013 "configure" 3901 4013 #include "confdefs.h" 3902 4014 /* System header to define __stub macros and hopefully few prototypes, … … 3921 4033 ; return 0; } 3922 4034 EOF 3923 if { (eval echo configure: 3924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4035 if { (eval echo configure:4036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3924 4036 rm -rf conftest* 3925 4037 eval "ac_cv_func_$ac_func=yes" … … 3948 4060 set dummy gmsgfmt; ac_word=$2 3949 4061 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3950 echo "configure: 3951: checking for $ac_word" >&54062 echo "configure:4063: checking for $ac_word" >&5 3951 4063 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then 3952 4064 echo $ac_n "(cached) $ac_c" 1>&6 … … 3984 4096 set dummy xgettext; ac_word=$2 3985 4097 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3986 echo "configure: 3987: checking for $ac_word" >&54098 echo "configure:4099: checking for $ac_word" >&5 3987 4099 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then 3988 4100 echo $ac_n "(cached) $ac_c" 1>&6 … … 4016 4128 4017 4129 cat > conftest.$ac_ext <<EOF 4018 #line 4 019"configure"4130 #line 4131 "configure" 4019 4131 #include "confdefs.h" 4020 4132 … … 4024 4136 ; return 0; } 4025 4137 EOF 4026 if { (eval echo configure:4 027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4138 if { (eval echo configure:4139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4027 4139 rm -rf conftest* 4028 4140 CATOBJEXT=.gmo … … 4056 4168 set dummy msgfmt; ac_word=$2 4057 4169 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4058 echo "configure:4 059: checking for $ac_word" >&54170 echo "configure:4171: checking for $ac_word" >&5 4059 4171 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then 4060 4172 echo $ac_n "(cached) $ac_c" 1>&6 … … 4090 4202 set dummy gmsgfmt; ac_word=$2 4091 4203 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4092 echo "configure:4 093: checking for $ac_word" >&54204 echo "configure:4205: checking for $ac_word" >&5 4093 4205 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then 4094 4206 echo $ac_n "(cached) $ac_c" 1>&6 … … 4126 4238 set dummy xgettext; ac_word=$2 4127 4239 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4128 echo "configure:4 129: checking for $ac_word" >&54240 echo "configure:4241: checking for $ac_word" >&5 4129 4241 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then 4130 4242 echo $ac_n "(cached) $ac_c" 1>&6 … … 4216 4328 else 4217 4329 echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 4218 echo "configure:4 219: checking for catalogs to be installed" >&54330 echo "configure:4331: checking for catalogs to be installed" >&5 4219 4331 NEW_LINGUAS= 4220 4332 for lang in ${LINGUAS=$ALL_LINGUAS}; do … … 4244 4356 ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'` 4245 4357 echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6 4246 echo "configure:4 247: checking for linux/version.h" >&54358 echo "configure:4359: checking for linux/version.h" >&5 4247 4359 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4248 4360 echo $ac_n "(cached) $ac_c" 1>&6 4249 4361 else 4250 4362 cat > conftest.$ac_ext <<EOF 4251 #line 4 252"configure"4363 #line 4364 "configure" 4252 4364 #include "confdefs.h" 4253 4365 #include <linux/version.h> 4254 4366 EOF 4255 4367 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4256 { (eval echo configure:4 257: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4368 { (eval echo configure:4369: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4257 4369 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4258 4370 if test -z "$ac_err"; then … … 4299 4411 4300 4412 4301 if test - d $srcdir/po; then4413 if test -f $srcdir/po/POTFILES.in; then 4302 4414 test -d po || mkdir po 4303 4415 if test "x$srcdir" != "x."; then … … 4332 4444 # ./install, which can be erroneously created by make from ./install.sh. 4333 4445 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 4334 echo "configure:4 335: checking for a BSD compatible install" >&54446 echo "configure:4447: checking for a BSD compatible install" >&5 4335 4447 if test -z "$INSTALL"; then 4336 4448 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 4415 4527 else 4416 4528 echo $ac_n "checking for build system executable suffix""... $ac_c" 1>&6 4417 echo "configure:4 418: checking for build system executable suffix" >&54529 echo "configure:4530: checking for build system executable suffix" >&5 4418 4530 if eval "test \"`echo '$''{'bfd_cv_build_exeext'+set}'`\" = set"; then 4419 4531 echo $ac_n "(cached) $ac_c" 1>&6 … … 4443 4555 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4444 4556 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4445 echo "configure:4 446: checking for $ac_hdr" >&54557 echo "configure:4558: checking for $ac_hdr" >&5 4446 4558 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4447 4559 echo $ac_n "(cached) $ac_c" 1>&6 4448 4560 else 4449 4561 cat > conftest.$ac_ext <<EOF 4450 #line 4 451"configure"4562 #line 4563 "configure" 4451 4563 #include "confdefs.h" 4452 4564 #include <$ac_hdr> 4453 4565 EOF 4454 4566 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4455 { (eval echo configure:4 456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4567 { (eval echo configure:4568: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4456 4568 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4457 4569 if test -z "$ac_err"; then … … 4483 4595 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4484 4596 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4485 echo "configure:4 486: checking for $ac_hdr" >&54597 echo "configure:4598: checking for $ac_hdr" >&5 4486 4598 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4487 4599 echo $ac_n "(cached) $ac_c" 1>&6 4488 4600 else 4489 4601 cat > conftest.$ac_ext <<EOF 4490 #line 4 491"configure"4602 #line 4603 "configure" 4491 4603 #include "confdefs.h" 4492 4604 #include <$ac_hdr> 4493 4605 EOF 4494 4606 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4495 { (eval echo configure:4 496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4607 { (eval echo configure:4608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4496 4608 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4497 4609 if test -z "$ac_err"; then … … 4520 4632 4521 4633 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 4522 echo "configure:4 523: checking whether time.h and sys/time.h may both be included" >&54634 echo "configure:4635: checking whether time.h and sys/time.h may both be included" >&5 4523 4635 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 4524 4636 echo $ac_n "(cached) $ac_c" 1>&6 4525 4637 else 4526 4638 cat > conftest.$ac_ext <<EOF 4527 #line 4 528"configure"4639 #line 4640 "configure" 4528 4640 #include "confdefs.h" 4529 4641 #include <sys/types.h> … … 4534 4646 ; return 0; } 4535 4647 EOF 4536 if { (eval echo configure:4 537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4648 if { (eval echo configure:4649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4537 4649 rm -rf conftest* 4538 4650 ac_cv_header_time=yes … … 4559 4671 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4560 4672 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 4561 echo "configure:4 562: checking for $ac_hdr that defines DIR" >&54673 echo "configure:4674: checking for $ac_hdr that defines DIR" >&5 4562 4674 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then 4563 4675 echo $ac_n "(cached) $ac_c" 1>&6 4564 4676 else 4565 4677 cat > conftest.$ac_ext <<EOF 4566 #line 4 567"configure"4678 #line 4679 "configure" 4567 4679 #include "confdefs.h" 4568 4680 #include <sys/types.h> … … 4572 4684 ; return 0; } 4573 4685 EOF 4574 if { (eval echo configure:4 575: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4686 if { (eval echo configure:4687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4575 4687 rm -rf conftest* 4576 4688 eval "ac_cv_header_dirent_$ac_safe=yes" … … 4597 4709 if test $ac_header_dirent = dirent.h; then 4598 4710 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 4599 echo "configure:4 600: checking for opendir in -ldir" >&54711 echo "configure:4712: checking for opendir in -ldir" >&5 4600 4712 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` 4601 4713 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4605 4717 LIBS="-ldir $LIBS" 4606 4718 cat > conftest.$ac_ext <<EOF 4607 #line 4 608"configure"4719 #line 4720 "configure" 4608 4720 #include "confdefs.h" 4609 4721 /* Override any gcc2 internal prototype to avoid an error. */ … … 4616 4728 ; return 0; } 4617 4729 EOF 4618 if { (eval echo configure:4 619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4730 if { (eval echo configure:4731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4619 4731 rm -rf conftest* 4620 4732 eval "ac_cv_lib_$ac_lib_var=yes" … … 4638 4750 else 4639 4751 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 4640 echo "configure:4 641: checking for opendir in -lx" >&54752 echo "configure:4753: checking for opendir in -lx" >&5 4641 4753 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` 4642 4754 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4646 4758 LIBS="-lx $LIBS" 4647 4759 cat > conftest.$ac_ext <<EOF 4648 #line 4 649"configure"4760 #line 4761 "configure" 4649 4761 #include "confdefs.h" 4650 4762 /* Override any gcc2 internal prototype to avoid an error. */ … … 4657 4769 ; return 0; } 4658 4770 EOF 4659 if { (eval echo configure:4 660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4771 if { (eval echo configure:4772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4660 4772 rm -rf conftest* 4661 4773 eval "ac_cv_lib_$ac_lib_var=yes" … … 4682 4794 do 4683 4795 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4684 echo "configure:4 685: checking for $ac_func" >&54796 echo "configure:4797: checking for $ac_func" >&5 4685 4797 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4686 4798 echo $ac_n "(cached) $ac_c" 1>&6 4687 4799 else 4688 4800 cat > conftest.$ac_ext <<EOF 4689 #line 4 690"configure"4801 #line 4802 "configure" 4690 4802 #include "confdefs.h" 4691 4803 /* System header to define __stub macros and hopefully few prototypes, … … 4710 4822 ; return 0; } 4711 4823 EOF 4712 if { (eval echo configure:4 713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4824 if { (eval echo configure:4825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4713 4825 rm -rf conftest* 4714 4826 eval "ac_cv_func_$ac_func=yes" … … 4745 4857 4746 4858 echo $ac_n "checking whether strstr must be declared""... $ac_c" 1>&6 4747 echo "configure:4 748: checking whether strstr must be declared" >&54859 echo "configure:4860: checking whether strstr must be declared" >&5 4748 4860 if eval "test \"`echo '$''{'bfd_cv_decl_needed_strstr'+set}'`\" = set"; then 4749 4861 echo $ac_n "(cached) $ac_c" 1>&6 4750 4862 else 4751 4863 cat > conftest.$ac_ext <<EOF 4752 #line 4 753"configure"4864 #line 4865 "configure" 4753 4865 #include "confdefs.h" 4754 4866 … … 4771 4883 ; return 0; } 4772 4884 EOF 4773 if { (eval echo configure:4 774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4885 if { (eval echo configure:4886: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4774 4886 rm -rf conftest* 4775 4887 bfd_cv_decl_needed_strstr=no … … 4792 4904 4793 4905 echo $ac_n "checking whether malloc must be declared""... $ac_c" 1>&6 4794 echo "configure:4 795: checking whether malloc must be declared" >&54906 echo "configure:4907: checking whether malloc must be declared" >&5 4795 4907 if eval "test \"`echo '$''{'bfd_cv_decl_needed_malloc'+set}'`\" = set"; then 4796 4908 echo $ac_n "(cached) $ac_c" 1>&6 4797 4909 else 4798 4910 cat > conftest.$ac_ext <<EOF 4799 #line 4 800"configure"4911 #line 4912 "configure" 4800 4912 #include "confdefs.h" 4801 4913 … … 4818 4930 ; return 0; } 4819 4931 EOF 4820 if { (eval echo configure:4 821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4932 if { (eval echo configure:4933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4821 4933 rm -rf conftest* 4822 4934 bfd_cv_decl_needed_malloc=no … … 4839 4951 4840 4952 echo $ac_n "checking whether realloc must be declared""... $ac_c" 1>&6 4841 echo "configure:4 842: checking whether realloc must be declared" >&54953 echo "configure:4954: checking whether realloc must be declared" >&5 4842 4954 if eval "test \"`echo '$''{'bfd_cv_decl_needed_realloc'+set}'`\" = set"; then 4843 4955 echo $ac_n "(cached) $ac_c" 1>&6 4844 4956 else 4845 4957 cat > conftest.$ac_ext <<EOF 4846 #line 4 847"configure"4958 #line 4959 "configure" 4847 4959 #include "confdefs.h" 4848 4960 … … 4865 4977 ; return 0; } 4866 4978 EOF 4867 if { (eval echo configure:4 868: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4979 if { (eval echo configure:4980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4868 4980 rm -rf conftest* 4869 4981 bfd_cv_decl_needed_realloc=no … … 4886 4998 4887 4999 echo $ac_n "checking whether free must be declared""... $ac_c" 1>&6 4888 echo "configure: 4889: checking whether free must be declared" >&55000 echo "configure:5001: checking whether free must be declared" >&5 4889 5001 if eval "test \"`echo '$''{'bfd_cv_decl_needed_free'+set}'`\" = set"; then 4890 5002 echo $ac_n "(cached) $ac_c" 1>&6 4891 5003 else 4892 5004 cat > conftest.$ac_ext <<EOF 4893 #line 4894"configure"5005 #line 5006 "configure" 4894 5006 #include "confdefs.h" 4895 5007 … … 4912 5024 ; return 0; } 4913 5025 EOF 4914 if { (eval echo configure: 4915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5026 if { (eval echo configure:5027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4915 5027 rm -rf conftest* 4916 5028 bfd_cv_decl_needed_free=no … … 4933 5045 4934 5046 echo $ac_n "checking whether getenv must be declared""... $ac_c" 1>&6 4935 echo "configure: 4936: checking whether getenv must be declared" >&55047 echo "configure:5048: checking whether getenv must be declared" >&5 4936 5048 if eval "test \"`echo '$''{'bfd_cv_decl_needed_getenv'+set}'`\" = set"; then 4937 5049 echo $ac_n "(cached) $ac_c" 1>&6 4938 5050 else 4939 5051 cat > conftest.$ac_ext <<EOF 4940 #line 4941"configure"5052 #line 5053 "configure" 4941 5053 #include "confdefs.h" 4942 5054 … … 4959 5071 ; return 0; } 4960 5072 EOF 4961 if { (eval echo configure: 4962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5073 if { (eval echo configure:5074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4962 5074 rm -rf conftest* 4963 5075 bfd_cv_decl_needed_getenv=no … … 4993 5105 TRAD_HEADER='"hosts/alphalinux.h"' 4994 5106 ;; 4995 alpha*-*-netbsd*) COREFILE=netbsd-core.lo ;; 5107 alpha*-*-netbsd* | alpha*-*-openbsd*) 5108 COREFILE=netbsd-core.lo 5109 ;; 4996 5110 alpha*-*-*) COREFILE=osf-core.lo ;; 4997 5111 arm-*-freebsd*) COREFILE='' ;; 5112 arm-*-netbsd*) COREFILE=netbsd-core.lo ;; 4998 5113 arm-*-riscix) COREFILE=trad-core.lo ;; 4999 5114 hppa*-*-hpux*) COREFILE=hpux-core.lo ;; … … 5002 5117 hppa*-*-bsd*) COREFILE="hpux-core.lo hppabsd-core.lo" 5003 5118 COREFLAG="-DHPUX_CORE -DHPPABSD_CORE" ;; 5004 i370-*-*) 5119 i370-*-*) 5005 5120 COREFILE=trad-core.lo 5006 5121 TRAD_HEADER='"hosts/i370linux.h"' … … 5016 5131 TRAD_HEADER='"hosts/symmetry.h"' 5017 5132 ;; 5018 i[3456]86-*-bsd* | i[34567]86-*-freebsd[1234] | i[34567]86-*-freebsd[1234]\.* | i[34567]86-*-freebsd*aout*) 5133 i[3456]86-*-bsdi) 5134 COREFILE= 5135 ;; 5136 i[3456]86-*-bsd* | i[34567]86-*-freebsd[123] | i[34567]86-*-freebsd[123]\.* | i[34567]86-*-freebsd4\.[01234]* | i[34567]86-*-freebsd*aout*) 5019 5137 COREFILE=trad-core.lo 5020 5138 TRAD_HEADER='"hosts/i386bsd.h"' … … 5111 5229 TRAD_HEADER='"hosts/m68kaux.h"' 5112 5230 ;; 5113 m88*-*-sysv4*) ;; 5114 m88*-motorola-sysv*) COREFILE=ptrace-core.lo ;; 5231 m88*-*-sysv4*) 5232 ;; 5233 m88*-motorola-sysv*) 5234 COREFILE=ptrace-core.lo 5235 ;; 5115 5236 m88*-*-mach3*) 5116 5237 COREFILE=trad-core.lo … … 5124 5245 COREFILE=netbsd-core.lo 5125 5246 ;; 5126 rs6000-*-lynx*) COREFILE=lynx-core.lo ;; 5247 rs6000-*-lynx*) 5248 COREFILE=lynx-core.lo 5249 ;; 5250 rs6000-*-aix5.* | powerpc-*-aix5.*) 5251 COREFILE=rs6000-core.lo 5252 COREFLAG="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE" 5253 ;; 5127 5254 rs6000-*-aix4.[3-9]* | powerpc-*-aix4.[3-9]*) 5128 5255 COREFILE=rs6000-core.lo 5129 5256 COREFLAG="$COREFLAG -DAIX_CORE_DUMPX_CORE" 5257 # Not all versions of AIX with -DAIX_CORE_DUMPX_CORE 5258 # have c_impl as a member of struct core_dumpx 5259 echo $ac_n "checking for c_impl in struct core_dumpx""... $ac_c" 1>&6 5260 echo "configure:5261: checking for c_impl in struct core_dumpx" >&5 5261 cat > conftest.$ac_ext <<EOF 5262 #line 5263 "configure" 5263 #include "confdefs.h" 5264 #include <core.h> 5265 int main() { 5266 struct core_dumpx c; c.c_impl = 0; 5267 ; return 0; } 5268 EOF 5269 if { (eval echo configure:5270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5270 rm -rf conftest* 5271 cat >> confdefs.h <<\EOF 5272 #define HAVE_ST_C_IMPL 1 5273 EOF 5274 5275 echo "$ac_t""yes" 1>&6 5276 else 5277 echo "configure: failed program was:" >&5 5278 cat conftest.$ac_ext >&5 5279 rm -rf conftest* 5280 echo "$ac_t""no" 1>&6 5281 fi 5282 rm -f conftest* 5130 5283 ;; 5131 5284 rs6000-*-aix4*) COREFILE=rs6000-core.lo ;; … … 5137 5290 powerpc-*-netbsd*) COREFILE=netbsd-core.lo ;; 5138 5291 powerpc-*-*bsd*) COREFILE=netbsd-core.lo ;; 5139 sparc-*-netbsd* | sparc-*-openbsd*) 5292 s390*-*-*) COREFILE=trad-core.lo ;; 5293 sh*-*-netbsd*) COREFILE=netbsd-core.lo ;; 5294 sparc-*-netbsd* | sparc*-*-openbsd*) 5140 5295 COREFILE=netbsd-core.lo 5141 5296 ;; … … 5144 5299 TRAD_HEADER='"hosts/tahoe.h"' 5145 5300 ;; 5301 vax-*-netbsd*) COREFILE=netbsd-core.lo ;; 5146 5302 vax-*-ultrix2*) 5147 5303 COREFILE=trad-core.lo … … 5156 5312 TRAD_HEADER='"hosts/vaxbsd.h"' 5157 5313 ;; 5314 x86_64-*-netbsd*) COREFILE=netbsd-core.lo ;; 5158 5315 esac 5159 5316 … … 5178 5335 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5179 5336 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5180 echo "configure:5 181: checking for $ac_hdr" >&55337 echo "configure:5338: checking for $ac_hdr" >&5 5181 5338 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5182 5339 echo $ac_n "(cached) $ac_c" 1>&6 5183 5340 else 5184 5341 cat > conftest.$ac_ext <<EOF 5185 #line 5 186"configure"5342 #line 5343 "configure" 5186 5343 #include "confdefs.h" 5187 5344 #include <$ac_hdr> 5188 5345 EOF 5189 5346 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5190 { (eval echo configure:5 191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }5347 { (eval echo configure:5348: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5191 5348 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5192 5349 if test -z "$ac_err"; then … … 5216 5373 if test "$ac_cv_header_sys_procfs_h" = yes; then 5217 5374 echo $ac_n "checking for prstatus_t in sys/procfs.h""... $ac_c" 1>&6 5218 echo "configure:5 219: checking for prstatus_t in sys/procfs.h" >&55375 echo "configure:5376: checking for prstatus_t in sys/procfs.h" >&5 5219 5376 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prstatus_t'+set}'`\" = set"; then 5220 5377 echo $ac_n "(cached) $ac_c" 1>&6 5221 5378 else 5222 5379 cat > conftest.$ac_ext <<EOF 5223 #line 5 224"configure"5380 #line 5381 "configure" 5224 5381 #include "confdefs.h" 5225 5382 … … 5230 5387 ; return 0; } 5231 5388 EOF 5232 if { (eval echo configure:5 233: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5389 if { (eval echo configure:5390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5233 5390 rm -rf conftest* 5234 5391 bfd_cv_have_sys_procfs_type_prstatus_t=yes … … 5252 5409 5253 5410 echo $ac_n "checking for prstatus32_t in sys/procfs.h""... $ac_c" 1>&6 5254 echo "configure:5 255: checking for prstatus32_t in sys/procfs.h" >&55411 echo "configure:5412: checking for prstatus32_t in sys/procfs.h" >&5 5255 5412 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prstatus32_t'+set}'`\" = set"; then 5256 5413 echo $ac_n "(cached) $ac_c" 1>&6 5257 5414 else 5258 5415 cat > conftest.$ac_ext <<EOF 5259 #line 5 260"configure"5416 #line 5417 "configure" 5260 5417 #include "confdefs.h" 5261 5418 … … 5266 5423 ; return 0; } 5267 5424 EOF 5268 if { (eval echo configure:5 269: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5425 if { (eval echo configure:5426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5269 5426 rm -rf conftest* 5270 5427 bfd_cv_have_sys_procfs_type_prstatus32_t=yes … … 5288 5445 5289 5446 echo $ac_n "checking for prstatus_t.pr_who in sys/procfs.h""... $ac_c" 1>&6 5290 echo "configure:5 291: checking for prstatus_t.pr_who in sys/procfs.h" >&55447 echo "configure:5448: checking for prstatus_t.pr_who in sys/procfs.h" >&5 5291 5448 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who'+set}'`\" = set"; then 5292 5449 echo $ac_n "(cached) $ac_c" 1>&6 5293 5450 else 5294 5451 cat > conftest.$ac_ext <<EOF 5295 #line 5 296"configure"5452 #line 5453 "configure" 5296 5453 #include "confdefs.h" 5297 5454 … … 5302 5459 ; return 0; } 5303 5460 EOF 5304 if { (eval echo configure:5 305: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5461 if { (eval echo configure:5462: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5305 5462 rm -rf conftest* 5306 5463 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=yes … … 5324 5481 5325 5482 echo $ac_n "checking for prstatus32_t.pr_who in sys/procfs.h""... $ac_c" 1>&6 5326 echo "configure:5 327: checking for prstatus32_t.pr_who in sys/procfs.h" >&55483 echo "configure:5484: checking for prstatus32_t.pr_who in sys/procfs.h" >&5 5327 5484 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who'+set}'`\" = set"; then 5328 5485 echo $ac_n "(cached) $ac_c" 1>&6 5329 5486 else 5330 5487 cat > conftest.$ac_ext <<EOF 5331 #line 5 332"configure"5488 #line 5489 "configure" 5332 5489 #include "confdefs.h" 5333 5490 … … 5338 5495 ; return 0; } 5339 5496 EOF 5340 if { (eval echo configure:5 341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5497 if { (eval echo configure:5498: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5341 5498 rm -rf conftest* 5342 5499 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=yes … … 5360 5517 5361 5518 echo $ac_n "checking for pstatus_t in sys/procfs.h""... $ac_c" 1>&6 5362 echo "configure:5 363: checking for pstatus_t in sys/procfs.h" >&55519 echo "configure:5520: checking for pstatus_t in sys/procfs.h" >&5 5363 5520 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pstatus_t'+set}'`\" = set"; then 5364 5521 echo $ac_n "(cached) $ac_c" 1>&6 5365 5522 else 5366 5523 cat > conftest.$ac_ext <<EOF 5367 #line 5 368"configure"5524 #line 5525 "configure" 5368 5525 #include "confdefs.h" 5369 5526 … … 5374 5531 ; return 0; } 5375 5532 EOF 5376 if { (eval echo configure:5 377: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5533 if { (eval echo configure:5534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5377 5534 rm -rf conftest* 5378 5535 bfd_cv_have_sys_procfs_type_pstatus_t=yes … … 5396 5553 5397 5554 echo $ac_n "checking for pxstatus_t in sys/procfs.h""... $ac_c" 1>&6 5398 echo "configure:5 399: checking for pxstatus_t in sys/procfs.h" >&55555 echo "configure:5556: checking for pxstatus_t in sys/procfs.h" >&5 5399 5556 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pxstatus_t'+set}'`\" = set"; then 5400 5557 echo $ac_n "(cached) $ac_c" 1>&6 5401 5558 else 5402 5559 cat > conftest.$ac_ext <<EOF 5403 #line 5 404"configure"5560 #line 5561 "configure" 5404 5561 #include "confdefs.h" 5405 5562 … … 5410 5567 ; return 0; } 5411 5568 EOF 5412 if { (eval echo configure:5 413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5569 if { (eval echo configure:5570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5413 5570 rm -rf conftest* 5414 5571 bfd_cv_have_sys_procfs_type_pxstatus_t=yes … … 5432 5589 5433 5590 echo $ac_n "checking for pstatus32_t in sys/procfs.h""... $ac_c" 1>&6 5434 echo "configure:5 435: checking for pstatus32_t in sys/procfs.h" >&55591 echo "configure:5592: checking for pstatus32_t in sys/procfs.h" >&5 5435 5592 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pstatus32_t'+set}'`\" = set"; then 5436 5593 echo $ac_n "(cached) $ac_c" 1>&6 5437 5594 else 5438 5595 cat > conftest.$ac_ext <<EOF 5439 #line 5 440"configure"5596 #line 5597 "configure" 5440 5597 #include "confdefs.h" 5441 5598 … … 5446 5603 ; return 0; } 5447 5604 EOF 5448 if { (eval echo configure:5 449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5605 if { (eval echo configure:5606: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5449 5606 rm -rf conftest* 5450 5607 bfd_cv_have_sys_procfs_type_pstatus32_t=yes … … 5468 5625 5469 5626 echo $ac_n "checking for prpsinfo_t in sys/procfs.h""... $ac_c" 1>&6 5470 echo "configure:5 471: checking for prpsinfo_t in sys/procfs.h" >&55627 echo "configure:5628: checking for prpsinfo_t in sys/procfs.h" >&5 5471 5628 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prpsinfo_t'+set}'`\" = set"; then 5472 5629 echo $ac_n "(cached) $ac_c" 1>&6 5473 5630 else 5474 5631 cat > conftest.$ac_ext <<EOF 5475 #line 5 476"configure"5632 #line 5633 "configure" 5476 5633 #include "confdefs.h" 5477 5634 … … 5482 5639 ; return 0; } 5483 5640 EOF 5484 if { (eval echo configure:5 485: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5641 if { (eval echo configure:5642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5485 5642 rm -rf conftest* 5486 5643 bfd_cv_have_sys_procfs_type_prpsinfo_t=yes … … 5504 5661 5505 5662 echo $ac_n "checking for prpsinfo32_t in sys/procfs.h""... $ac_c" 1>&6 5506 echo "configure:5 507: checking for prpsinfo32_t in sys/procfs.h" >&55663 echo "configure:5664: checking for prpsinfo32_t in sys/procfs.h" >&5 5507 5664 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prpsinfo32_t'+set}'`\" = set"; then 5508 5665 echo $ac_n "(cached) $ac_c" 1>&6 5509 5666 else 5510 5667 cat > conftest.$ac_ext <<EOF 5511 #line 5 512"configure"5668 #line 5669 "configure" 5512 5669 #include "confdefs.h" 5513 5670 … … 5518 5675 ; return 0; } 5519 5676 EOF 5520 if { (eval echo configure:5 521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5677 if { (eval echo configure:5678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5521 5678 rm -rf conftest* 5522 5679 bfd_cv_have_sys_procfs_type_prpsinfo32_t=yes … … 5540 5697 5541 5698 echo $ac_n "checking for psinfo_t in sys/procfs.h""... $ac_c" 1>&6 5542 echo "configure:5 543: checking for psinfo_t in sys/procfs.h" >&55699 echo "configure:5700: checking for psinfo_t in sys/procfs.h" >&5 5543 5700 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_psinfo_t'+set}'`\" = set"; then 5544 5701 echo $ac_n "(cached) $ac_c" 1>&6 5545 5702 else 5546 5703 cat > conftest.$ac_ext <<EOF 5547 #line 5 548"configure"5704 #line 5705 "configure" 5548 5705 #include "confdefs.h" 5549 5706 … … 5554 5711 ; return 0; } 5555 5712 EOF 5556 if { (eval echo configure:5 557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5713 if { (eval echo configure:5714: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5557 5714 rm -rf conftest* 5558 5715 bfd_cv_have_sys_procfs_type_psinfo_t=yes … … 5576 5733 5577 5734 echo $ac_n "checking for psinfo32_t in sys/procfs.h""... $ac_c" 1>&6 5578 echo "configure:5 579: checking for psinfo32_t in sys/procfs.h" >&55735 echo "configure:5736: checking for psinfo32_t in sys/procfs.h" >&5 5579 5736 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_psinfo32_t'+set}'`\" = set"; then 5580 5737 echo $ac_n "(cached) $ac_c" 1>&6 5581 5738 else 5582 5739 cat > conftest.$ac_ext <<EOF 5583 #line 5 584"configure"5740 #line 5741 "configure" 5584 5741 #include "confdefs.h" 5585 5742 … … 5590 5747 ; return 0; } 5591 5748 EOF 5592 if { (eval echo configure:5 593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5749 if { (eval echo configure:5750: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5593 5750 rm -rf conftest* 5594 5751 bfd_cv_have_sys_procfs_type_psinfo32_t=yes … … 5612 5769 5613 5770 echo $ac_n "checking for lwpstatus_t in sys/procfs.h""... $ac_c" 1>&6 5614 echo "configure:5 615: checking for lwpstatus_t in sys/procfs.h" >&55771 echo "configure:5772: checking for lwpstatus_t in sys/procfs.h" >&5 5615 5772 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_lwpstatus_t'+set}'`\" = set"; then 5616 5773 echo $ac_n "(cached) $ac_c" 1>&6 5617 5774 else 5618 5775 cat > conftest.$ac_ext <<EOF 5619 #line 5 620"configure"5776 #line 5777 "configure" 5620 5777 #include "confdefs.h" 5621 5778 … … 5626 5783 ; return 0; } 5627 5784 EOF 5628 if { (eval echo configure:5 629: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5785 if { (eval echo configure:5786: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5629 5786 rm -rf conftest* 5630 5787 bfd_cv_have_sys_procfs_type_lwpstatus_t=yes … … 5648 5805 5649 5806 echo $ac_n "checking for lwpxstatus_t in sys/procfs.h""... $ac_c" 1>&6 5650 echo "configure:5 651: checking for lwpxstatus_t in sys/procfs.h" >&55807 echo "configure:5808: checking for lwpxstatus_t in sys/procfs.h" >&5 5651 5808 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_lwpxstatus_t'+set}'`\" = set"; then 5652 5809 echo $ac_n "(cached) $ac_c" 1>&6 5653 5810 else 5654 5811 cat > conftest.$ac_ext <<EOF 5655 #line 5 656"configure"5812 #line 5813 "configure" 5656 5813 #include "confdefs.h" 5657 5814 … … 5662 5819 ; return 0; } 5663 5820 EOF 5664 if { (eval echo configure:5 665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5821 if { (eval echo configure:5822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5665 5822 rm -rf conftest* 5666 5823 bfd_cv_have_sys_procfs_type_lwpxstatus_t=yes … … 5684 5841 5685 5842 echo $ac_n "checking for lwpstatus_t.pr_context in sys/procfs.h""... $ac_c" 1>&6 5686 echo "configure:5 687: checking for lwpstatus_t.pr_context in sys/procfs.h" >&55843 echo "configure:5844: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5 5687 5844 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context'+set}'`\" = set"; then 5688 5845 echo $ac_n "(cached) $ac_c" 1>&6 5689 5846 else 5690 5847 cat > conftest.$ac_ext <<EOF 5691 #line 5 692"configure"5848 #line 5849 "configure" 5692 5849 #include "confdefs.h" 5693 5850 … … 5698 5855 ; return 0; } 5699 5856 EOF 5700 if { (eval echo configure:5 701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5857 if { (eval echo configure:5858: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5701 5858 rm -rf conftest* 5702 5859 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=yes … … 5720 5877 5721 5878 echo $ac_n "checking for lwpstatus_t.pr_reg in sys/procfs.h""... $ac_c" 1>&6 5722 echo "configure:5 723: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&55879 echo "configure:5880: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5 5723 5880 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg'+set}'`\" = set"; then 5724 5881 echo $ac_n "(cached) $ac_c" 1>&6 5725 5882 else 5726 5883 cat > conftest.$ac_ext <<EOF 5727 #line 5 728"configure"5884 #line 5885 "configure" 5728 5885 #include "confdefs.h" 5729 5886 … … 5734 5891 ; return 0; } 5735 5892 EOF 5736 if { (eval echo configure:5 737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5893 if { (eval echo configure:5894: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5737 5894 rm -rf conftest* 5738 5895 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=yes … … 5756 5913 5757 5914 echo $ac_n "checking for win32_pstatus_t in sys/procfs.h""... $ac_c" 1>&6 5758 echo "configure:5 759: checking for win32_pstatus_t in sys/procfs.h" >&55915 echo "configure:5916: checking for win32_pstatus_t in sys/procfs.h" >&5 5759 5916 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_win32_pstatus_t'+set}'`\" = set"; then 5760 5917 echo $ac_n "(cached) $ac_c" 1>&6 5761 5918 else 5762 5919 cat > conftest.$ac_ext <<EOF 5763 #line 5 764"configure"5920 #line 5921 "configure" 5764 5921 #include "confdefs.h" 5765 5922 … … 5770 5927 ; return 0; } 5771 5928 EOF 5772 if { (eval echo configure:5 773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5929 if { (eval echo configure:5930: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5773 5930 rm -rf conftest* 5774 5931 bfd_cv_have_sys_procfs_type_win32_pstatus_t=yes … … 5811 5968 WIN32LIBADD="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32" 5812 5969 fi 5970 ;; 5971 *-*-linux*) 5972 # We borrow WIN32LIBADD so that the shared libbfd won't depend on 5973 # libiberty.a. 5974 case "${host}" in 5975 mips*-*-linux*) 5976 # Linux/MIPS uses PIC by default. 5977 if test "$enable_shared" = "yes"; then 5978 WIN32LIBADD="-L../libiberty -liberty" 5979 fi 5980 ;; 5981 *) 5982 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'` 5983 if test -n "$x"; then 5984 WIN32LIBADD="-L../libiberty/pic -liberty" 5985 fi 5986 ;; 5987 esac 5813 5988 ;; 5814 5989 esac … … 5835 6010 defvec= 5836 6011 selvecs= 6012 assocvecs= 5837 6013 selarchs= 5838 6014 TDEFINES= … … 5841 6017 if test "x$targ" = "xall"; then 5842 6018 all_targets=true 6019 assocvecs="$assocvecs $targ_defvec $targ_selvecs" 5843 6020 else 5844 6021 . $srcdir/config.bfd … … 5871 6048 5872 6049 6050 # uniq the associated vectors in all the configured targets. 6051 f="" 6052 for i in $assocvecs ; do 6053 case " $f " in 6054 *" $i "*) ;; 6055 *) f="$f $i" ;; 6056 esac 6057 done 6058 assocvecs="$f" 6059 6060 5873 6061 # uniq the architectures in all the configured targets. 5874 6062 f="" … … 5884 6072 tb= 5885 6073 5886 elf="elf.lo elflink.lo dwarf1.lo"6074 elf="elf.lo elflink.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo" 5887 6075 5888 6076 for vec in $selvecs 5889 6077 do 6078 target_size=32 5890 6079 case "$vec" in 5891 6080 # This list is alphabetized to make it easy to compare 5892 # with the two vector lists in targets.c. 6081 # with the two vector lists in targets.c. For the same reason, 6082 # use one entry per line, even though this leads to long lines. 5893 6083 a29kcoff_big_vec) tb="$tb coff-a29k.lo cofflink.lo" ;; 5894 6084 a_out_adobe_vec) tb="$tb aout-adobe.lo aout32.lo" ;; 5895 armcoff_little_vec) tb="$tb coff-arm.lo cofflink.lo " ;; 5896 armcoff_big_vec) tb="$tb coff-arm.lo cofflink.lo " ;; 5897 armnetbsd_vec) tb="$tb armnetbsd.lo aout32.lo" ;; 5898 armpe_little_vec) tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;; 5899 armpe_big_vec) tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;; 5900 armpei_little_vec) tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;; 5901 armpei_big_vec) tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;; 5902 arm_epoc_pe_little_vec) tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;; 5903 arm_epoc_pe_big_vec) tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;; 5904 arm_epoc_pei_little_vec) tb="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;; 5905 arm_epoc_pei_big_vec) tb="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;; 6085 aix5coff64_vec) tb="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size=64 ;; 5906 6086 aout0_big_vec) tb="$tb aout0.lo aout32.lo" ;; 5907 6087 aout_arm_big_vec) tb="$tb aout-arm.lo aout32.lo" ;; … … 5910 6090 aout_mips_little_vec) tb="$tb mipsbsd.lo aout32.lo" ;; 5911 6091 apollocoff_vec) tb="$tb coff-apollo.lo" ;; 6092 arm_epoc_pe_big_vec) tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;; 6093 arm_epoc_pe_little_vec) tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;; 6094 arm_epoc_pei_big_vec) tb="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;; 6095 arm_epoc_pei_little_vec) tb="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;; 6096 armcoff_big_vec) tb="$tb coff-arm.lo cofflink.lo " ;; 6097 armcoff_little_vec) tb="$tb coff-arm.lo cofflink.lo " ;; 6098 armnetbsd_vec) tb="$tb armnetbsd.lo aout32.lo" ;; 6099 armpe_big_vec) tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;; 6100 armpe_little_vec) tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;; 6101 armpei_big_vec) tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;; 6102 armpei_little_vec) tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;; 5912 6103 b_out_vec_big_host) tb="$tb bout.lo aout32.lo" ;; 5913 6104 b_out_vec_little_host) tb="$tb bout.lo aout32.lo" ;; 5914 6105 bfd_efi_app_ia32_vec) tb="$tb efi-app-ia32.lo peigen.lo cofflink.lo" ;; 5915 bfd_efi_app_ia64_vec) tb="$tb efi-app-ia64.lo pepigen.lo cofflink.lo" 5916 target64=true ;; 5917 bfd_elf64_alpha_vec) tb="$tb elf64-alpha.lo elf64.lo $elf" 5918 target64=true ;; 5919 bfd_elf64_hppa_vec | bfd_elf64_hppa_linux_vec) 5920 tb="$tb elf64-hppa.lo elf64.lo $elf" 5921 target64=true ;; 5922 bfd_elf64_ia64_little_vec) tb="$tb elf64-ia64.lo elf64.lo $elf" 5923 target64=true ;; 5924 bfd_elf64_ia64_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf" 5925 target64=true ;; 5926 bfd_elf32_ia64_big_vec) tb="$tb elf32-ia64.lo elf32.lo $elf" ;; 6106 bfd_efi_app_ia64_vec) tb="$tb efi-app-ia64.lo pepigen.lo cofflink.lo"; target_size=64 ;; 5927 6107 bfd_elf32_avr_vec) tb="$tb elf32-avr.lo elf32.lo $elf" ;; 5928 bfd_elf32_littlearc_vec) tb="$tb elf32-arc.lo elf32.lo $elf" ;; 5929 bfd_elf32_littlearm_vec) tb="$tb elfarm-nabi.lo elf32.lo $elf" ;; 5930 bfd_elf32_littlearm_oabi_vec) tb="$tb elfarm-oabi.lo elf32.lo $elf" ;; 6108 bfd_elf32_big_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;; 5931 6109 bfd_elf32_bigarc_vec) tb="$tb elf32-arc.lo elf32.lo $elf" ;; 6110 bfd_elf32_bigarm_oabi_vec) tb="$tb elfarm-oabi.lo elf32.lo $elf" ;; 5932 6111 bfd_elf32_bigarm_vec) tb="$tb elfarm-nabi.lo elf32.lo $elf" ;; 5933 bfd_elf32_bigarm_oabi_vec) tb="$tb elfarm-oabi.lo elf32.lo $elf" ;; 5934 bfd_elf32_big_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;; 5935 bfd_elf32_bigmips_vec) tb="$tb elf32-mips.lo elf32.lo $elf ecofflink.lo" ;; 5936 bfd_elf64_bigmips_vec) tb="$tb elf64-mips.lo elf64.lo elf32-mips.lo elf32.lo $elf ecofflink.lo" 5937 target64=true ;; 6112 bfd_elf32_bigmips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;; 5938 6113 bfd_elf32_cris_vec) tb="$tb elf32-cris.lo elf32.lo $elf" ;; 5939 bfd_elf32_us_cris_vec) tb="$tb elf32-cris.lo elf32.lo $elf" ;;5940 6114 bfd_elf32_d10v_vec) tb="$tb elf32-d10v.lo elf32.lo $elf" ;; 5941 6115 bfd_elf32_d30v_vec) tb="$tb elf32-d30v.lo elf32.lo $elf" ;; 6116 bfd_elf32_dlx_big_vec) tb="$tb elf32-dlx.lo elf32.lo $elf" ;; 5942 6117 bfd_elf32_fr30_vec) tb="$tb elf32-fr30.lo elf32.lo $elf" ;; 5943 bfd_elf32_hppa_vec | bfd_elf32_hppa_linux_vec) 5944 tb="$tb elf32-hppa.lo elf32.lo $elf" ;; 6118 bfd_elf32_frv_vec) tb="$tb elf32-frv.lo elf32.lo $elf" ;; 6119 bfd_elf32_h8300_vec) tb="$tb elf32-h8300.lo elf32.lo $elf" ;; 6120 bfd_elf32_hppa_linux_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;; 6121 bfd_elf32_hppa_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;; 5945 6122 bfd_elf32_i370_vec) tb="$tb elf32-i370.lo elf32.lo $elf" ;; 6123 bfd_elf32_i386_freebsd_vec) tb="$tb elf32-i386.lo elf32.lo $elf" ;; 5946 6124 bfd_elf32_i386_vec) tb="$tb elf32-i386.lo elf32.lo $elf" ;; 5947 bfd_elf64_x86_64_vec) tb="$tb elf64-x86-64.lo elf64.lo $elf" 5948 target64=true ;; 6125 bfd_elf32_i860_little_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;; 5949 6126 bfd_elf32_i860_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;; 5950 bfd_elf32_i860_little_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;;5951 6127 bfd_elf32_i960_vec) tb="$tb elf32-i960.lo elf32.lo $elf" ;; 6128 bfd_elf32_ia64_big_vec) tb="$tb elf32-ia64.lo elf32.lo $elf" ;; 6129 bfd_elf32_ia64_hpux_big_vec) tb="$tb elf32-ia64.lo elf32.lo $elf";; 6130 bfd_elf32_ip2k_vec) tb="$tb elf32-ip2k.lo elf32.lo $elf" ;; 6131 bfd_elf32_iq2000_vec) tb="$tb elf32-iq2000.lo elf32.lo $elf" ;; 5952 6132 bfd_elf32_little_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;; 5953 bfd_elf32_littlemips_vec) tb="$tb elf32-mips.lo elf32.lo $elf ecofflink.lo" ;; 5954 bfd_elf64_littlemips_vec) tb="$tb elf64-mips.lo elf64.lo elf32-mips.lo elf32.lo $elf ecofflink.lo" 5955 target64=true ;; 6133 bfd_elf32_littlearc_vec) tb="$tb elf32-arc.lo elf32.lo $elf" ;; 6134 bfd_elf32_littlearm_oabi_vec) tb="$tb elfarm-oabi.lo elf32.lo $elf" ;; 6135 bfd_elf32_littlearm_vec) tb="$tb elfarm-nabi.lo elf32.lo $elf" ;; 6136 bfd_elf32_littlemips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;; 5956 6137 bfd_elf32_m32r_vec) tb="$tb elf32-m32r.lo elf32.lo $elf" ;; 5957 bfd_elf32_m68hc11_vec) tb="$tb elf32-m68hc11.lo elf32 .lo $elf" ;;5958 bfd_elf32_m68hc12_vec) tb="$tb elf32-m68hc12.lo elf32 .lo $elf" ;;6138 bfd_elf32_m68hc11_vec) tb="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;; 6139 bfd_elf32_m68hc12_vec) tb="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;; 5959 6140 bfd_elf32_m68k_vec) tb="$tb elf32-m68k.lo elf32.lo $elf" ;; 5960 6141 bfd_elf32_m88k_vec) tb="$tb elf32-m88k.lo elf32.lo $elf" ;; … … 5963 6144 bfd_elf32_mn10200_vec) tb="$tb elf-m10200.lo elf32.lo $elf" ;; 5964 6145 bfd_elf32_mn10300_vec) tb="$tb elf-m10300.lo elf32.lo $elf" ;; 6146 bfd_elf32_msp430_vec) tb="$tb elf32-msp430.lo elf32.lo $elf" ;; 6147 bfd_elf32_nbigmips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; 6148 bfd_elf32_nlittlemips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; 6149 bfd_elf32_ntradbigmips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; 6150 bfd_elf32_ntradlittlemips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; 6151 bfd_elf32_openrisc_vec) tb="$tb elf32-openrisc.lo elf32.lo $elf" ;; 6152 bfd_elf32_or32_big_vec) tb="$tb elf32-or32.lo elf32.lo $elf" ;; 5965 6153 bfd_elf32_pj_vec) tb="$tb elf32-pj.lo elf32.lo $elf";; 5966 6154 bfd_elf32_pjl_vec) tb="$tb elf32-pj.lo elf32.lo $elf";; 5967 6155 bfd_elf32_powerpc_vec) tb="$tb elf32-ppc.lo elf32.lo $elf" ;; 5968 6156 bfd_elf32_powerpcle_vec) tb="$tb elf32-ppc.lo elf32.lo $elf" ;; 6157 bfd_elf32_s390_vec) tb="$tb elf32-s390.lo elf32.lo $elf" ;; 6158 # FIXME: We include cofflink.lo not because it's needed for 6159 # bfd_elf32_sh64[l]_vec, but because we include bfd_elf32_sh[l]_vec 6160 # which needs it but does not list it. Should be fixed in right place. 6161 bfd_elf32_sh64_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size=64 ;; 6162 bfd_elf32_sh64l_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size=64 ;; 6163 bfd_elf32_sh64lin_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size=64 ;; 6164 bfd_elf32_sh64blin_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size=64 ;; 6165 bfd_elf32_sh64lnbsd_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" ;; 6166 bfd_elf32_sh64nbsd_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" ;; 5969 6167 bfd_elf32_sh_vec) tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo" ;; 6168 bfd_elf32_shblin_vec) tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;; 5970 6169 bfd_elf32_shl_vec) tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo" ;; 5971 bfd_elf32_shlin_vec) tb="$tb elf32-sh-lin.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;; 5972 bfd_elf32_shblin_vec) tb="$tb elf32-sh-lin.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;; 6170 bfd_elf32_shlin_vec) tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;; 6171 bfd_elf32_shlnbsd_vec) tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;; 6172 bfd_elf32_shnbsd_vec) tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;; 5973 6173 bfd_elf32_sparc_vec) tb="$tb elf32-sparc.lo elf32.lo $elf" ;; 5974 bfd_elf32_tradbigmips_vec) tb="$tb elf32-mips.lo elf32.lo $elf ecofflink.lo" ;; 5975 bfd_elf32_tradlittlemips_vec) tb="$tb elf32-mips.lo elf32.lo $elf ecofflink.lo" ;; 6174 bfd_elf32_tradbigmips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;; 6175 bfd_elf32_tradlittlemips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;; 6176 bfd_elf32_us_cris_vec) tb="$tb elf32-cris.lo elf32.lo $elf" ;; 5976 6177 bfd_elf32_v850_vec) tb="$tb elf32-v850.lo elf32.lo $elf" ;; 5977 bfd_elf64_big_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf" 5978 target64=true ;; 5979 bfd_elf64_little_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf" 5980 target64=true ;; 5981 bfd_elf64_sparc_vec) tb="$tb elf64-sparc.lo elf64.lo $elf" 5982 target64=true ;; 5983 bfd_elf64_tradbigmips_vec) tb="$tb elf64-mips.lo elf64.lo $elf ecofflink.lo" 5984 target64=true ;; 5985 bfd_elf64_tradlittlemips_vec) tb="$tb elf64-mips.lo elf64.lo $elf ecofflink.lo" 5986 target64=true ;; 5987 cisco_core_big_vec) tb="$tb cisco-core.lo" ;; 5988 cisco_core_little_vec) tb="$tb cisco-core.lo" ;; 6178 bfd_elf32_vax_vec) tb="$tb elf32-vax.lo elf32.lo $elf" ;; 6179 bfd_elf32_xstormy16_vec) tb="$tb elf32-xstormy16.lo elf32.lo $elf" ;; 6180 bfd_elf32_xtensa_le_vec) tb="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;; 6181 bfd_elf32_xtensa_be_vec) tb="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;; 6182 bfd_elf64_alpha_freebsd_vec) tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;; 6183 bfd_elf64_alpha_vec) tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;; 6184 bfd_elf64_big_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;; 6185 bfd_elf64_bigmips_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; 6186 bfd_elf64_hppa_linux_vec) tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;; 6187 bfd_elf64_hppa_vec) tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;; 6188 bfd_elf64_ia64_aix_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;; 6189 bfd_elf64_ia64_aix_little_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;; 6190 bfd_elf64_ia64_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;; 6191 bfd_elf64_ia64_hpux_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;; 6192 bfd_elf64_ia64_little_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;; 6193 bfd_elf64_little_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;; 6194 bfd_elf64_littlemips_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; 6195 bfd_elf64_mmix_vec) tb="$tb elf64-mmix.lo elf64.lo $elf" target_size=64 ;; 6196 bfd_elf64_powerpc_vec) tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size=64 ;; 6197 bfd_elf64_powerpcle_vec) tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;; 6198 bfd_elf64_s390_vec) tb="$tb elf64-s390.lo elf64.lo $elf"; target_size=64 ;; 6199 bfd_elf64_sh64_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;; 6200 bfd_elf64_sh64l_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;; 6201 bfd_elf64_sh64lin_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;; 6202 bfd_elf64_sh64blin_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;; 6203 bfd_elf64_sh64lnbsd_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;; 6204 bfd_elf64_sh64nbsd_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;; 6205 bfd_elf64_sparc_vec) tb="$tb elf64-sparc.lo elf64.lo $elf"; target_size=64 ;; 6206 bfd_elf64_tradbigmips_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; 6207 bfd_elf64_tradlittlemips_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; 6208 bfd_elf64_x86_64_vec) tb="$tb elf64-x86-64.lo elf64.lo $elf"; target_size=64 ;; 6209 bfd_mmo_vec) tb="$tb mmo.lo" target_size=64 ;; 6210 bfd_powerpc_pe_vec) tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;; 6211 bfd_powerpc_pei_vec) tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;; 6212 bfd_powerpcle_pe_vec) tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;; 6213 bfd_powerpcle_pei_vec) tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;; 5989 6214 cris_aout_vec) tb="$tb aout-cris.lo" ;; 5990 demo_64_vec) tb="$tb demo64.lo aout64.lo" 5991 target64=true ;; 6215 demo_64_vec) tb="$tb demo64.lo aout64.lo"; target_size=64 ;; 5992 6216 ecoff_big_vec) tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;; 6217 ecoff_biglittle_vec) tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;; 5993 6218 ecoff_little_vec) tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;; 5994 ecoff_biglittle_vec) tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;; 5995 ecoffalpha_little_vec) tb="$tb coff-alpha.lo ecoff.lo ecofflink.lo" 5996 target64=true ;; 6219 ecoffalpha_little_vec) tb="$tb coff-alpha.lo ecoff.lo ecofflink.lo"; target_size=64 ;; 5997 6220 go32coff_vec) tb="$tb coff-go32.lo cofflink.lo" ;; 5998 6221 go32stubbedcoff_vec) tb="$tb coff-stgo32.lo cofflink.lo" ;; … … 6007 6230 i386dynix_vec) tb="$tb i386dynix.lo aout32.lo" ;; 6008 6231 i386freebsd_vec) tb="$tb i386freebsd.lo aout32.lo" ;; 6009 i386msdos_vec) tb="$tb i386msdos.lo" ;;6010 i386pe_vec) tb="$tb pe-i386.lo peigen.lo cofflink.lo" ;;6011 i386pei_vec) tb="$tb pei-i386.lo peigen.lo cofflink.lo" ;;6012 6232 i386linux_vec) tb="$tb i386linux.lo aout32.lo" ;; 6013 6233 i386lynx_aout_vec) tb="$tb i386lynx.lo lynx-core.lo aout32.lo" ;; 6014 6234 i386lynx_coff_vec) tb="$tb cf-i386lynx.lo cofflink.lo lynx-core.lo" ;; 6015 6235 i386mach3_vec) tb="$tb i386mach3.lo aout32.lo" ;; 6236 i386msdos_vec) tb="$tb i386msdos.lo" ;; 6016 6237 i386netbsd_vec) tb="$tb i386netbsd.lo aout32.lo" ;; 6017 6238 i386os9k_vec) tb="$tb i386os9k.lo aout32.lo" ;; 6239 i386pe_vec) tb="$tb pe-i386.lo peigen.lo cofflink.lo" ;; 6240 i386pei_vec) tb="$tb pei-i386.lo peigen.lo cofflink.lo" ;; 6018 6241 i860coff_vec) tb="$tb coff-i860.lo cofflink.lo" ;; 6019 6242 icoff_big_vec) tb="$tb coff-i960.lo cofflink.lo" ;; 6020 6243 icoff_little_vec) tb="$tb coff-i960.lo cofflink.lo" ;; 6021 6244 ieee_vec) tb="$tb ieee.lo" ;; 6245 m68k4knetbsd_vec) tb="$tb m68k4knetbsd.lo aout32.lo" ;; 6246 m68kaux_coff_vec) tb="$tb coff-aux.lo coff-m68k.lo cofflink.lo" ;; 6022 6247 m68kcoff_vec) tb="$tb coff-m68k.lo cofflink.lo" ;; 6023 6248 m68kcoffun_vec) tb="$tb coff-u68k.lo coff-m68k.lo cofflink.lo" ;; … … 6026 6251 m68klynx_coff_vec) tb="$tb cf-m68klynx.lo coff-m68k.lo cofflink.lo lynx-core.lo" ;; 6027 6252 m68knetbsd_vec) tb="$tb m68knetbsd.lo aout32.lo" ;; 6028 m68k4knetbsd_vec) tb="$tb m68k4knetbsd.lo aout32.lo" ;;6029 m68kaux_coff_vec) tb="$tb coff-aux.lo coff-m68k.lo cofflink.lo" ;;6030 6253 m68ksysvcoff_vec) tb="$tb coff-svm68k.lo cofflink.lo" ;; 6031 6254 m88kbcs_vec) tb="$tb coff-m88k.lo" ;; 6032 mipslpe_vec) tb="$tb pe-mips.lo peigen.lo cofflink.lo" ;; 6033 mipslpei_vec) tb="$tb pei-mips.lo peigen.lo cofflink.lo" ;; 6255 m88kmach3_vec) tb="$tb m88kmach3.lo aout32.lo" ;; 6256 mach_o_be_vec) tb="$tb mach-o.lo" ;; 6257 mach_o_le_vec) tb="$tb mach-o.lo" ;; 6258 mach_o_fat_vec) tb="$tb mach-o.lo" ;; 6034 6259 mcore_pe_big_vec) tb="$tb pe-mcore.lo peigen.lo cofflink.lo" ;; 6035 6260 mcore_pe_little_vec) tb="$tb pe-mcore.lo peigen.lo cofflink.lo" ;; 6036 6261 mcore_pei_big_vec) tb="$tb pei-mcore.lo peigen.lo cofflink.lo" ;; 6037 6262 mcore_pei_little_vec) tb="$tb pei-mcore.lo peigen.lo cofflink.lo" ;; 6263 mipslpe_vec) tb="$tb pe-mips.lo peigen.lo cofflink.lo" ;; 6264 mipslpei_vec) tb="$tb pei-mips.lo peigen.lo cofflink.lo" ;; 6038 6265 newsos3_vec) tb="$tb newsos3.lo aout32.lo" ;; 6266 nlm32_alpha_vec) tb="$tb nlm32-alpha.lo nlm32.lo nlm.lo"; target_size=64 ;; 6039 6267 nlm32_i386_vec) tb="$tb nlm32-i386.lo nlm32.lo nlm.lo" ;; 6040 rs6000coff64_vec) tb="$tb coff64-rs6000.lo xcofflink.lo" 6041 target64=true ;; 6268 nlm32_powerpc_vec) tb="$tb nlm32-ppc.lo nlm32.lo nlm.lo" ;; 6042 6269 nlm32_sparc_vec) tb="$tb nlm32-sparc.lo nlm32.lo nlm.lo" ;; 6043 nlm32_alpha_vec) tb="$tb nlm32-alpha.lo nlm32.lo nlm.lo" 6044 target64=true ;; 6270 or32coff_big_vec) tb="$tb coff-or32.lo cofflink.lo" ;; 6271 pc532machaout_vec) tb="$tb pc532-mach.lo aout-ns32k.lo" ;; 6272 pc532netbsd_vec) tb="$tb ns32knetbsd.lo aout-ns32k.lo" ;; 6273 pef_vec) tb="$tb pef.lo" ;; 6274 pef_xlib_vec) tb="$tb pef.lo" ;; 6275 pdp11_aout_vec) tb="$tb pdp11.lo" ;; 6276 pmac_xcoff_vec) tb="$tb coff-rs6000.lo xcofflink.lo" ;; 6277 ppcboot_vec) tb="$tb ppcboot.lo" ;; 6045 6278 riscix_vec) tb="$tb aout32.lo riscix.lo" ;; 6046 nlm32_powerpc_vec) tb="$tb nlm32-ppc.lo nlm32.lo nlm.lo" ;; 6047 pc532netbsd_vec) tb="$tb ns32knetbsd.lo aout-ns32k.lo" ;; 6048 pc532machaout_vec) tb="$tb pc532-mach.lo aout-ns32k.lo" ;; 6049 pmac_xcoff_vec) tb="$tb coff-pmac.lo xcofflink.lo" ;; 6279 rs6000coff64_vec) tb="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size=64 ;; 6050 6280 rs6000coff_vec) tb="$tb coff-rs6000.lo xcofflink.lo" ;; 6051 bfd_powerpc_pe_vec) tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;; 6052 bfd_powerpcle_pe_vec) tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;; 6053 bfd_powerpc_pei_vec) tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;; 6054 bfd_powerpcle_pei_vec) tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;; 6055 ppcboot_vec) tb="$tb ppcboot.lo" ;; 6281 shcoff_small_vec) tb="$tb coff-sh.lo cofflink.lo" ;; 6056 6282 shcoff_vec) tb="$tb coff-sh.lo cofflink.lo" ;; 6283 shlcoff_small_vec) tb="$tb coff-sh.lo cofflink.lo" ;; 6057 6284 shlcoff_vec) tb="$tb coff-sh.lo cofflink.lo" ;; 6058 shcoff_small_vec) tb="$tb coff-sh.lo cofflink.lo" ;;6059 shlcoff_small_vec) tb="$tb coff-sh.lo cofflink.lo" ;;6060 6285 shlpe_vec) tb="$tb pe-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;; 6061 6286 shlpei_vec) tb="$tb pei-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;; 6062 6287 som_vec) tb="$tb som.lo" ;; 6288 sparccoff_vec) tb="$tb coff-sparc.lo" ;; 6063 6289 sparcle_aout_vec) tb="$tb aout-sparcle.lo aout32.lo" ;; 6064 6290 sparclinux_vec) tb="$tb sparclinux.lo aout32.lo" ;; … … 6066 6292 sparclynx_coff_vec) tb="$tb cf-sparclynx.lo lynx-core.lo" ;; 6067 6293 sparcnetbsd_vec) tb="$tb sparcnetbsd.lo aout32.lo" ;; 6068 sparccoff_vec) tb="$tb coff-sparc.lo" ;;6069 srec_vec) tb="$tb srec.lo" ;;6070 6294 sunos_big_vec) tb="$tb sunos.lo aout32.lo" ;; 6071 symbolsrec_vec) tb="$tb srec.lo" ;; 6072 tekhex_vec) tb="$tb tekhex.lo" ;; 6295 sym_vec) tb="$tb xsym.lo" ;; 6073 6296 tic30_aout_vec) tb="$tb aout-tic30.lo" ;; 6074 6297 tic30_coff_vec) tb="$tb coff-tic30.lo" ;; 6298 tic4x_coff0_vec) tb="$tb coff-tic4x.lo" ;; 6299 tic4x_coff0_beh_vec) tb="$tb coff-tic4x.lo" ;; 6300 tic4x_coff1_vec) tb="$tb coff-tic4x.lo" ;; 6301 tic4x_coff1_beh_vec) tb="$tb coff-tic4x.lo" ;; 6302 tic4x_coff2_vec) tb="$tb coff-tic4x.lo" ;; 6303 tic4x_coff2_beh_vec) tb="$tb coff-tic4x.lo" ;; 6304 tic54x_coff0_beh_vec) tb="$tb coff-tic54x.lo" ;; 6075 6305 tic54x_coff0_vec) tb="$tb coff-tic54x.lo" ;; 6076 tic54x_coff 0_beh_vec) tb="$tb coff-tic54x.lo" ;;6306 tic54x_coff1_beh_vec) tb="$tb coff-tic54x.lo" ;; 6077 6307 tic54x_coff1_vec) tb="$tb coff-tic54x.lo" ;; 6078 tic54x_coff 1_beh_vec) tb="$tb coff-tic54x.lo" ;;6308 tic54x_coff2_beh_vec) tb="$tb coff-tic54x.lo" ;; 6079 6309 tic54x_coff2_vec) tb="$tb coff-tic54x.lo" ;; 6080 tic54x_coff2_beh_vec) tb="$tb coff-tic54x.lo" ;;6081 6310 tic80coff_vec) tb="$tb coff-tic80.lo cofflink.lo" ;; 6311 vaxnetbsd_vec) tb="$tb vaxnetbsd.lo aout32.lo" ;; 6312 vax1knetbsd_vec) tb="$tb vax1knetbsd.lo aout32.lo" ;; 6313 vaxbsd_vec) tb="$tb vaxbsd.lo aout32.lo" ;; 6082 6314 versados_vec) tb="$tb versados.lo" ;; 6083 vms_alpha_vec) tb="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo" 6084 target64=true ;; 6315 vms_alpha_vec) tb="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo"; target_size=64 ;; 6085 6316 vms_vax_vec) tb="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo" ;; 6086 6317 w65_vec) tb="$tb coff-w65.lo reloc16.lo" ;; … … 6088 6319 z8kcoff_vec) tb="$tb coff-z8k.lo reloc16.lo" ;; 6089 6320 6321 # These appear out of order in targets.c 6322 srec_vec) tb="$tb srec.lo" ;; 6323 symbolsrec_vec) tb="$tb srec.lo" ;; 6324 tekhex_vec) tb="$tb tekhex.lo" ;; 6325 cisco_core_big_vec) tb="$tb cisco-core.lo" ;; 6326 cisco_core_little_vec) tb="$tb cisco-core.lo" ;; 6327 6090 6328 "") ;; 6091 6329 *) { echo "configure: error: *** unknown target vector $vec" 1>&2; exit 1; } ;; 6092 6330 esac 6331 6332 if test ${target_size} = 64; then 6333 target64=true 6334 fi 6335 if test x"${vec}" = x"${defvec}"; then 6336 bfd_default_target_size=${target_size} 6337 fi 6093 6338 done 6094 6339 … … 6126 6371 havevecs= 6127 6372 selarchs= 6373 test -n "$assocvecs" && 6374 assocvecs=`echo $assocvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'` 6128 6375 else # all_targets is true 6129 6376 # Only set these if they will be nonempty, for the clever echo. 6130 6377 havevecs= 6378 assocvecs= 6131 6379 test -n "$selvecs" && 6132 6380 havevecs=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'` … … 6140 6388 *true*) 6141 6389 wordsize=64 6390 bfd_libs='$(BFD64_LIBS) $(BFD32_LIBS)' 6142 6391 all_backends='$(BFD64_BACKENDS) $(BFD32_BACKENDS)' 6143 6392 if test -z "$GCC" && test "$BFD_HOST_64BIT_LONG" = "0" && test "$BFD_HOST_64_BIT_DEFINED" = "0"; then … … 6145 6394 echo "configure: warning: your compiler may not have a 64 bit integral type" 1>&2 6146 6395 fi 6396 if test -n "$GCC" ; then 6397 bad_64bit_gcc=no; 6398 echo $ac_n "checking for gcc version with buggy 64-bit support""... $ac_c" 1>&6 6399 echo "configure:6400: checking for gcc version with buggy 64-bit support" >&5 6400 # Add more tests for gcc versions with non-working 64-bit support here. 6401 cat > conftest.$ac_ext <<EOF 6402 #line 6403 "configure" 6403 #include "confdefs.h" 6404 :__GNUC__:__GNUC_MINOR__:__i386__: 6405 EOF 6406 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6407 egrep ": 2 : 91 : 1 :" >/dev/null 2>&1; then 6408 rm -rf conftest* 6409 bad_64bit_gcc=yes; 6410 echo "$ac_t""yes: egcs-1.1.2 on ix86 spotted" 1>&6 6411 else 6412 rm -rf conftest* 6413 echo "$ac_t""no" 1>&6 6414 fi 6415 rm -f conftest* 6416 6417 if test $bad_64bit_gcc = yes ; then 6418 { echo "configure: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" 1>&2; exit 1; } 6419 fi 6420 fi 6147 6421 ;; 6148 6422 false-false-false) 6149 6423 wordsize=32 6424 bfd_libs='$(BFD32_LIBS)' 6150 6425 all_backends='$(BFD32_BACKENDS)' 6151 6426 ;; … … 6157 6432 6158 6433 6434 6435 6159 6436 tdefaults="" 6160 6437 test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}" 6161 6438 test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'" 6439 test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'" 6162 6440 test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'" 6163 6441 test -n "${havevecs}" && tdefaults="${tdefaults} ${havevecs}" … … 6168 6446 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6169 6447 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6170 echo "configure:6 171: checking for $ac_hdr" >&56448 echo "configure:6449: checking for $ac_hdr" >&5 6171 6449 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6172 6450 echo $ac_n "(cached) $ac_c" 1>&6 6173 6451 else 6174 6452 cat > conftest.$ac_ext <<EOF 6175 #line 6 176"configure"6453 #line 6454 "configure" 6176 6454 #include "confdefs.h" 6177 6455 #include <$ac_hdr> 6178 6456 EOF 6179 6457 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6180 { (eval echo configure:6 181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }6458 { (eval echo configure:6459: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6181 6459 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6182 6460 if test -z "$ac_err"; then … … 6207 6485 do 6208 6486 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6209 echo "configure:6 210: checking for $ac_func" >&56487 echo "configure:6488: checking for $ac_func" >&5 6210 6488 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6211 6489 echo $ac_n "(cached) $ac_c" 1>&6 6212 6490 else 6213 6491 cat > conftest.$ac_ext <<EOF 6214 #line 6 215"configure"6492 #line 6493 "configure" 6215 6493 #include "confdefs.h" 6216 6494 /* System header to define __stub macros and hopefully few prototypes, … … 6235 6513 ; return 0; } 6236 6514 EOF 6237 if { (eval echo configure:6 238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6515 if { (eval echo configure:6516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6238 6516 rm -rf conftest* 6239 6517 eval "ac_cv_func_$ac_func=yes" … … 6260 6538 6261 6539 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 6262 echo "configure:6 263: checking for working mmap" >&56540 echo "configure:6541: checking for working mmap" >&5 6263 6541 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 6264 6542 echo $ac_n "(cached) $ac_c" 1>&6 … … 6268 6546 else 6269 6547 cat > conftest.$ac_ext <<EOF 6270 #line 6 271"configure"6548 #line 6549 "configure" 6271 6549 #include "confdefs.h" 6272 6550 … … 6408 6686 6409 6687 EOF 6410 if { (eval echo configure:6 411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null6688 if { (eval echo configure:6689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 6411 6689 then 6412 6690 ac_cv_func_mmap_fixed_mapped=yes … … 6433 6711 do 6434 6712 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6435 echo "configure:6 436: checking for $ac_func" >&56713 echo "configure:6714: checking for $ac_func" >&5 6436 6714 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6437 6715 echo $ac_n "(cached) $ac_c" 1>&6 6438 6716 else 6439 6717 cat > conftest.$ac_ext <<EOF 6440 #line 6 441"configure"6718 #line 6719 "configure" 6441 6719 #include "confdefs.h" 6442 6720 /* System header to define __stub macros and hopefully few prototypes, … … 6461 6739 ; return 0; } 6462 6740 EOF 6463 if { (eval echo configure:6 464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6741 if { (eval echo configure:6742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6464 6742 rm -rf conftest* 6465 6743 eval "ac_cv_func_$ac_func=yes" … … 6594 6872 ac_given_INSTALL="$INSTALL" 6595 6873 6596 trap 'rm -fr `echo "Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in config.h:config.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 156874 trap 'rm -fr `echo "Makefile doc/Makefile bfd-in3.h:bfd-in2.h bfdver.h:version.h po/Makefile.in:po/Make-in config.h:config.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 6597 6875 EOF 6598 6876 cat >> $CONFIG_STATUS <<EOF … … 6641 6919 s%@build_vendor@%$build_vendor%g 6642 6920 s%@build_os@%$build_os%g 6643 s%@CC@%$CC%g6644 6921 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g 6645 6922 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g … … 6653 6930 s%@MAKEINFO@%$MAKEINFO%g 6654 6931 s%@SET_MAKE@%$SET_MAKE%g 6932 s%@bfd_version@%$bfd_version%g 6933 s%@bfd_version_string@%$bfd_version_string%g 6655 6934 s%@AR@%$AR%g 6656 6935 s%@RANLIB@%$RANLIB%g 6936 s%@CC@%$CC%g 6657 6937 s%@LN_S@%$LN_S%g 6658 6938 s%@OBJEXT@%$OBJEXT%g … … 6664 6944 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g 6665 6945 s%@MAINT@%$MAINT%g 6946 s%@INSTALL_LIBBFD_TRUE@%$INSTALL_LIBBFD_TRUE%g 6947 s%@INSTALL_LIBBFD_FALSE@%$INSTALL_LIBBFD_FALSE%g 6948 s%@bfdlibdir@%$bfdlibdir%g 6949 s%@bfdincludedir@%$bfdincludedir%g 6666 6950 s%@CPP@%$CPP%g 6667 6951 s%@ALLOCA@%$ALLOCA%g … … 6699 6983 s%@TDEFINES@%$TDEFINES%g 6700 6984 s%@wordsize@%$wordsize%g 6985 s%@bfd_libs@%$bfd_libs%g 6701 6986 s%@all_backends@%$all_backends%g 6702 6987 s%@bfd_backends@%$bfd_backends%g 6703 6988 s%@bfd_machines@%$bfd_machines%g 6989 s%@bfd_default_target_size@%$bfd_default_target_size%g 6704 6990 s%@tdefaults@%$tdefaults%g 6705 6991 … … 6744 7030 cat >> $CONFIG_STATUS <<EOF 6745 7031 6746 CONFIG_FILES=\${CONFIG_FILES-"Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"}7032 CONFIG_FILES=\${CONFIG_FILES-"Makefile doc/Makefile bfd-in3.h:bfd-in2.h bfdver.h:version.h po/Makefile.in:po/Make-in"} 6747 7033 EOF 6748 7034 cat >> $CONFIG_STATUS <<\EOF -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.