Changeset 619 for trunk/src/binutils/bfd/configure
- Timestamp:
- Aug 16, 2003, 11:56:50 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/binutils/bfd/configure
-
Property cvs2svn:cvs-rev
changed from
1.5
to1.6
r618 r619 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" … … 551 553 552 554 echo $ac_n "checking for path separator""... $ac_c" 1>&6 553 echo "configure:55 4: checking for path separator" >&5555 echo "configure:556: checking for path separator" >&5 554 556 # Filter path to get backslahes into forwardslashes 555 557 case "`uname -s 2> /dev/null`" in … … 565 567 566 568 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 567 echo "configure:5 68: checking for Cygwin environment" >&5569 echo "configure:570: checking for Cygwin environment" >&5 568 570 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 569 571 echo $ac_n "(cached) $ac_c" 1>&6 570 572 else 571 573 cat > conftest.$ac_ext <<EOF 572 #line 57 3"configure"574 #line 575 "configure" 573 575 #include "confdefs.h" 574 576 … … 581 583 ; return 0; } 582 584 EOF 583 if { (eval echo configure:58 4: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then585 if { (eval echo configure:586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 584 586 rm -rf conftest* 585 587 ac_cv_cygwin=yes … … 598 600 test "$ac_cv_cygwin" = yes && CYGWIN=yes 599 601 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 600 echo "configure:60 1: checking for mingw32 environment" >&5602 echo "configure:603: checking for mingw32 environment" >&5 601 603 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 602 604 echo $ac_n "(cached) $ac_c" 1>&6 603 605 else 604 606 cat > conftest.$ac_ext <<EOF 605 #line 60 6"configure"607 #line 608 "configure" 606 608 #include "confdefs.h" 607 609 … … 610 612 ; return 0; } 611 613 EOF 612 if { (eval echo configure:61 3: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then614 if { (eval echo configure:615: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 613 615 rm -rf conftest* 614 616 ac_cv_mingw32=yes … … 627 629 test "$ac_cv_mingw32" = yes && MINGW32=yes 628 630 echo $ac_n "checking for EMX/OS2 environment""... $ac_c" 1>&6 629 echo "configure:63 0: checking for EMX/OS2 environment" >&5631 echo "configure:632: checking for EMX/OS2 environment" >&5 630 632 if eval "test \"`echo '$''{'ac_cv_emxos2'+set}'`\" = set"; then 631 633 echo $ac_n "(cached) $ac_c" 1>&6 … … 633 635 : ${CC=gcc.exe} 634 636 cat > conftest.$ac_ext <<EOF 635 #line 63 6"configure"637 #line 638 "configure" 636 638 #include "confdefs.h" 637 639 … … 640 642 ; return 0; } 641 643 EOF 642 if { (eval echo configure:64 3: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then644 if { (eval echo configure:645: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 643 645 rm -rf conftest* 644 646 ac_cv_emxos2=yes … … 671 673 672 674 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 673 echo "configure:67 4: checking for executable suffix" >&5675 echo "configure:676: checking for executable suffix" >&5 674 676 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 675 677 echo $ac_n "(cached) $ac_c" 1>&6 … … 681 683 echo 'int main () { return 0; }' > conftest.$ac_ext 682 684 ac_cv_exeext= 683 if { (eval echo configure:68 4: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then685 if { (eval echo configure:686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 684 686 for file in conftest.*; do 685 687 case $file in … … 750 752 751 753 echo $ac_n "checking host system type""... $ac_c" 1>&6 752 echo "configure:75 3: checking host system type" >&5754 echo "configure:755: checking host system type" >&5 753 755 754 756 host_alias=$host … … 771 773 772 774 echo $ac_n "checking target system type""... $ac_c" 1>&6 773 echo "configure:77 4: checking target system type" >&5775 echo "configure:776: checking target system type" >&5 774 776 775 777 target_alias=$target … … 789 791 790 792 echo $ac_n "checking build system type""... $ac_c" 1>&6 791 echo "configure:79 2: checking build system type" >&5793 echo "configure:794: checking build system type" >&5 792 794 793 795 build_alias=$build … … 811 813 program_prefix=${target_alias}- 812 814 815 816 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6 817 echo "configure:818: checking for strerror in -lcposix" >&5 818 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'` 819 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 820 echo $ac_n "(cached) $ac_c" 1>&6 821 else 822 ac_save_LIBS="$LIBS" 823 LIBS="-lcposix $LIBS" 824 cat > conftest.$ac_ext <<EOF 825 #line 826 "configure" 826 #include "confdefs.h" 827 /* Override any gcc2 internal prototype to avoid an error. */ 828 /* We use char because int might match the return type of a gcc2 829 builtin and then its argument prototype would still apply. */ 830 char strerror(); 831 832 int main() { 833 strerror() 834 ; return 0; } 835 EOF 836 if { (eval echo configure:837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 837 rm -rf conftest* 838 eval "ac_cv_lib_$ac_lib_var=yes" 839 else 840 echo "configure: failed program was:" >&5 841 cat conftest.$ac_ext >&5 842 rm -rf conftest* 843 eval "ac_cv_lib_$ac_lib_var=no" 844 fi 845 rm -f conftest* 846 LIBS="$ac_save_LIBS" 847 848 fi 849 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 850 echo "$ac_t""yes" 1>&6 851 LIBS="$LIBS -lcposix" 852 else 853 echo "$ac_t""no" 1>&6 854 fi 855 856 857 858 859 # Find a good install program. We prefer a C program (faster), 860 # so one script is as good as another. But avoid the broken or 861 # incompatible versions: 862 # SysV /etc/install, /usr/sbin/install 863 # SunOS /usr/etc/install 864 # IRIX /sbin/install 865 # AIX /bin/install 866 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 867 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 868 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 869 # ./install, which can be erroneously created by make from ./install.sh. 870 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 871 echo "configure:872: checking for a BSD compatible install" >&5 872 if test -z "$INSTALL"; then 873 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 874 echo $ac_n "(cached) $ac_c" 1>&6 875 else 876 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$PATH_IFS" 877 for ac_dir in $PATH; do 878 # Account for people who put trailing slashes in PATH elements. 879 case "$ac_dir/" in 880 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; 881 # We reject the install program from OS/2 or W3.1 882 */OS2|*/OS2/*|*/WINDOWS|*/WINDOWS/*) ;; 883 *) 884 # OSF1 and SCO ODT 3.0 have their own names for install. 885 # Don't use installbsd from OSF since it installs stuff as root 886 # by default. 887 for ac_prog in ginstall scoinst install; do 888 if test -f $ac_dir/$ac_prog$ac_exeext; then 889 if test $ac_prog = install && 890 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then 891 # AIX install. It has an incompatible calling convention. 892 : 893 else 894 ac_cv_path_install="$ac_dir/$ac_prog$ac_exeext -c" 895 break 2 896 fi 897 fi 898 done 899 ;; 900 esac 901 done 902 IFS="$ac_save_IFS" 903 904 fi 905 if test "${ac_cv_path_install+set}" = set; then 906 INSTALL="$ac_cv_path_install" 907 else 908 # As a last resort, use the slow shell script. We don't cache a 909 # path for INSTALL within a source directory, because that will 910 # break other packages using the cache if that directory is 911 # removed, or if the path is relative. 912 INSTALL="$ac_install_sh" 913 fi 914 fi 915 echo "$ac_t""$INSTALL" 1>&6 916 917 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 918 # It thinks the first close brace ends the variable substitution. 919 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 920 921 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' 922 923 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 924 925 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 926 echo "configure:927: checking whether build environment is sane" >&5 927 # Just in case 928 sleep 1 929 echo timestamp > conftestfile 930 # Do `set' in a subshell so we don't clobber the current shell's 931 # arguments. Must try -L first in case configure is actually a 932 # symlink; some systems play weird games with the mod time of symlinks 933 # (eg FreeBSD returns the mod time of the symlink's containing 934 # directory). 935 if ( 936 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` 937 if test "$*" = "X"; then 938 # -L didn't work. 939 set X `ls -t $srcdir/configure conftestfile` 940 fi 941 if test "$*" != "X $srcdir/configure conftestfile" \ 942 && test "$*" != "X conftestfile $srcdir/configure"; then 943 944 # If neither matched, then we have a broken ls. This can happen 945 # if, for instance, CONFIG_SHELL is bash and it inherits a 946 # broken ls alias from the environment. This has actually 947 # happened. Such a system could not be considered "sane". 948 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken 949 alias in your environment" 1>&2; exit 1; } 950 fi 951 952 test "$2" = conftestfile 953 ) 954 then 955 # Ok. 956 : 957 else 958 { echo "configure: error: newly created file is older than distributed files! 959 Check your system clock" 1>&2; exit 1; } 960 fi 961 rm -f conftest* 962 echo "$ac_t""yes" 1>&6 963 if test "$program_transform_name" = s,x,x,; then 964 program_transform_name= 965 else 966 # Double any \ or $. echo might interpret backslashes. 967 cat <<\EOF_SED > conftestsed 968 s,\\,\\\\,g; s,\$,$$,g 969 EOF_SED 970 program_transform_name="`echo $program_transform_name|sed -f conftestsed`" 971 rm -f conftestsed 972 fi 973 test "$program_prefix" != NONE && 974 program_transform_name="s,^,${program_prefix},; $program_transform_name" 975 # Use a double $ so make ignores it. 976 test "$program_suffix" != NONE && 977 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" 978 979 # sed with no file args requires a program. 980 test "$program_transform_name" = "" && program_transform_name="s,x,x," 981 982 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 983 echo "configure:984: checking whether ${MAKE-make} sets \${MAKE}" >&5 984 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 985 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 986 echo $ac_n "(cached) $ac_c" 1>&6 987 else 988 cat > conftestmake <<\EOF 989 all: 990 @echo 'ac_maketemp="${MAKE}"' 991 EOF 992 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 993 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` 994 if test -n "$ac_maketemp"; then 995 eval ac_cv_prog_make_${ac_make}_set=yes 996 else 997 eval ac_cv_prog_make_${ac_make}_set=no 998 fi 999 rm -f conftestmake 1000 fi 1001 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 1002 echo "$ac_t""yes" 1>&6 1003 SET_MAKE= 1004 else 1005 echo "$ac_t""no" 1>&6 1006 SET_MAKE="MAKE=${MAKE-make}" 1007 fi 1008 1009 1010 PACKAGE=bfd 1011 1012 VERSION=2.14 1013 1014 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then 1015 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } 1016 fi 1017 cat >> confdefs.h <<EOF 1018 #define PACKAGE "$PACKAGE" 1019 EOF 1020 1021 cat >> confdefs.h <<EOF 1022 #define VERSION "$VERSION" 1023 EOF 1024 1025 1026 1027 missing_dir=`cd $ac_aux_dir && pwd` 1028 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 1029 echo "configure:1030: checking for working aclocal" >&5 1030 # Run test in a subshell; some versions of sh will print an error if 1031 # an executable is not found, even if stderr is redirected. 1032 # Redirect stdin to placate older versions of autoconf. Sigh. 1033 if (aclocal --version) < /dev/null > /dev/null 2>&1; then 1034 ACLOCAL=aclocal 1035 echo "$ac_t""found" 1>&6 1036 else 1037 ACLOCAL="$missing_dir/missing aclocal" 1038 echo "$ac_t""missing" 1>&6 1039 fi 1040 1041 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 1042 echo "configure:1043: checking for working autoconf" >&5 1043 # Run test in a subshell; some versions of sh will print an error if 1044 # an executable is not found, even if stderr is redirected. 1045 # Redirect stdin to placate older versions of autoconf. Sigh. 1046 if (autoconf --version) < /dev/null > /dev/null 2>&1; then 1047 AUTOCONF=autoconf 1048 echo "$ac_t""found" 1>&6 1049 else 1050 AUTOCONF="$missing_dir/missing autoconf" 1051 echo "$ac_t""missing" 1>&6 1052 fi 1053 1054 echo $ac_n "checking for working automake""... $ac_c" 1>&6 1055 echo "configure:1056: checking for working automake" >&5 1056 # Run test in a subshell; some versions of sh will print an error if 1057 # an executable is not found, even if stderr is redirected. 1058 # Redirect stdin to placate older versions of autoconf. Sigh. 1059 if (automake --version) < /dev/null > /dev/null 2>&1; then 1060 AUTOMAKE=automake 1061 echo "$ac_t""found" 1>&6 1062 else 1063 AUTOMAKE="$missing_dir/missing automake" 1064 echo "$ac_t""missing" 1>&6 1065 fi 1066 1067 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 1068 echo "configure:1069: checking for working autoheader" >&5 1069 # Run test in a subshell; some versions of sh will print an error if 1070 # an executable is not found, even if stderr is redirected. 1071 # Redirect stdin to placate older versions of autoconf. Sigh. 1072 if (autoheader --version) < /dev/null > /dev/null 2>&1; then 1073 AUTOHEADER=autoheader 1074 echo "$ac_t""found" 1>&6 1075 else 1076 AUTOHEADER="$missing_dir/missing autoheader" 1077 echo "$ac_t""missing" 1>&6 1078 fi 1079 1080 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 1081 echo "configure:1082: checking for working makeinfo" >&5 1082 # Run test in a subshell; some versions of sh will print an error if 1083 # an executable is not found, even if stderr is redirected. 1084 # Redirect stdin to placate older versions of autoconf. Sigh. 1085 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then 1086 MAKEINFO=makeinfo 1087 echo "$ac_t""found" 1>&6 1088 else 1089 MAKEINFO="$missing_dir/missing makeinfo" 1090 echo "$ac_t""missing" 1>&6 1091 fi 1092 1093 1094 # Uncomment the next line to remove the date from the reported bfd version 1095 #is_release=y 1096 1097 bfd_version=`echo "${VERSION}" | sed -e 's/\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\).*/\1.00\2.00\3.00\4.00\5/' -e 's/\([^\.]*\)\..*\(..\)\..*\(..\)\..*\(..\)\..*\(..\)$/\1\2\3\4\5/'` 1098 1099 bfd_version_string="\"${VERSION}\"" 1100 if test x${is_release} = x; then 1101 bfd_version_date=`sed -n -e 's/.*DATE //p' < ${srcdir}/version.h` 1102 bfd_version_string="\"${VERSION} ${bfd_version_date}\"" 1103 fi 1104 1105 1106 1107 if test $host != $build; then 1108 ac_tool_prefix=${host_alias}- 1109 else 1110 ac_tool_prefix= 1111 fi 1112 1113 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 1114 set dummy ${ac_tool_prefix}ar; ac_word=$2 1115 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1116 echo "configure:1117: checking for $ac_word" >&5 1117 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then 1118 echo $ac_n "(cached) $ac_c" 1>&6 1119 else 1120 if test -n "$AR"; then 1121 ac_cv_prog_AR="$AR" # Let the user override the test. 1122 else 1123 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 1124 ac_dummy="$PATH" 1125 for ac_dir in $ac_dummy; do 1126 test -z "$ac_dir" && ac_dir=. 1127 if test -f $ac_dir/$ac_word -o \ 1128 -f $ac_dir/$ac_word$ac_exeext ; then 1129 ac_cv_prog_AR="${ac_tool_prefix}ar" 1130 break 1131 fi 1132 done 1133 IFS="$ac_save_ifs" 1134 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar" 1135 fi 1136 fi 1137 AR="$ac_cv_prog_AR" 1138 if test -n "$AR"; then 1139 echo "$ac_t""$AR" 1>&6 1140 else 1141 echo "$ac_t""no" 1>&6 1142 fi 1143 1144 1145 1146 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 1147 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1148 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1149 echo "configure:1150: checking for $ac_word" >&5 1150 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1151 echo $ac_n "(cached) $ac_c" 1>&6 1152 else 1153 if test -n "$RANLIB"; then 1154 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 1155 else 1156 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 1157 ac_dummy="$PATH" 1158 for ac_dir in $ac_dummy; do 1159 test -z "$ac_dir" && ac_dir=. 1160 if test -f $ac_dir/$ac_word -o \ 1161 -f $ac_dir/$ac_word$ac_exeext ; then 1162 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 1163 break 1164 fi 1165 done 1166 IFS="$ac_save_ifs" 1167 fi 1168 fi 1169 RANLIB="$ac_cv_prog_RANLIB" 1170 if test -n "$RANLIB"; then 1171 echo "$ac_t""$RANLIB" 1>&6 1172 else 1173 echo "$ac_t""no" 1>&6 1174 fi 1175 1176 1177 if test -z "$ac_cv_prog_RANLIB"; then 1178 if test -n "$ac_tool_prefix"; then 1179 # Extract the first word of "ranlib", so it can be a program name with args. 1180 set dummy ranlib; ac_word=$2 1181 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1182 echo "configure:1183: checking for $ac_word" >&5 1183 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1184 echo $ac_n "(cached) $ac_c" 1>&6 1185 else 1186 if test -n "$RANLIB"; then 1187 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 1188 else 1189 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 1190 ac_dummy="$PATH" 1191 for ac_dir in $ac_dummy; do 1192 test -z "$ac_dir" && ac_dir=. 1193 if test -f $ac_dir/$ac_word -o \ 1194 -f $ac_dir/$ac_word$ac_exeext ; then 1195 ac_cv_prog_RANLIB="ranlib" 1196 break 1197 fi 1198 done 1199 IFS="$ac_save_ifs" 1200 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" 1201 fi 1202 fi 1203 RANLIB="$ac_cv_prog_RANLIB" 1204 if test -n "$RANLIB"; then 1205 echo "$ac_t""$RANLIB" 1>&6 1206 else 1207 echo "$ac_t""no" 1>&6 1208 fi 1209 1210 else 1211 RANLIB=":" 1212 fi 1213 fi 1214 1215 1216 # Check whether --enable-shared or --disable-shared was given. 1217 if test "${enable_shared+set}" = set; then 1218 enableval="$enable_shared" 1219 p=${PACKAGE-default} 1220 case $enableval in 1221 yes) enable_shared=yes ;; 1222 no) enable_shared=no ;; 1223 *) 1224 enable_shared=no 1225 # Look at the argument we got. We use all the common list separators. 1226 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," 1227 for pkg in $enableval; do 1228 if test "X$pkg" = "X$p"; then 1229 enable_shared=yes 1230 fi 1231 done 1232 IFS="$ac_save_ifs" 1233 ;; 1234 esac 1235 else 1236 enable_shared=no 1237 fi 1238 1239 1240 # Check whether --enable-static or --disable-static was given. 1241 if test "${enable_static+set}" = set; then 1242 enableval="$enable_static" 1243 p=${PACKAGE-default} 1244 case $enableval in 1245 yes) enable_static=yes ;; 1246 no) enable_static=no ;; 1247 *) 1248 enable_static=no 1249 # Look at the argument we got. We use all the common list separators. 1250 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," 1251 for pkg in $enableval; do 1252 if test "X$pkg" = "X$p"; then 1253 enable_static=yes 1254 fi 1255 done 1256 IFS="$ac_save_ifs" 1257 ;; 1258 esac 1259 else 1260 enable_static=yes 1261 fi 1262 1263 # Check whether --enable-fast-install or --disable-fast-install was given. 1264 if test "${enable_fast_install+set}" = set; then 1265 enableval="$enable_fast_install" 1266 p=${PACKAGE-default} 1267 case $enableval in 1268 yes) enable_fast_install=yes ;; 1269 no) enable_fast_install=no ;; 1270 *) 1271 enable_fast_install=no 1272 # Look at the argument we got. We use all the common list separators. 1273 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," 1274 for pkg in $enableval; do 1275 if test "X$pkg" = "X$p"; then 1276 enable_fast_install=yes 1277 fi 1278 done 1279 IFS="$ac_save_ifs" 1280 ;; 1281 esac 1282 else 1283 enable_fast_install=yes 1284 fi 1285 813 1286 # Extract the first word of "gcc", so it can be a program name with args. 814 1287 set dummy gcc; ac_word=$2 815 1288 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 816 echo "configure: 817: checking for $ac_word" >&51289 echo "configure:1290: checking for $ac_word" >&5 817 1290 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 818 1291 echo $ac_n "(cached) $ac_c" 1>&6 … … 845 1318 set dummy cc; ac_word=$2 846 1319 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 847 echo "configure: 848: checking for $ac_word" >&51320 echo "configure:1321: checking for $ac_word" >&5 848 1321 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 849 1322 echo $ac_n "(cached) $ac_c" 1>&6 … … 898 1371 set dummy cl; ac_word=$2 899 1372 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 900 echo "configure: 901: checking for $ac_word" >&51373 echo "configure:1374: checking for $ac_word" >&5 901 1374 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 902 1375 echo $ac_n "(cached) $ac_c" 1>&6 … … 931 1404 932 1405 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 933 echo "configure: 934: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&51406 echo "configure:1407: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 934 1407 935 1408 ac_ext=c … … 942 1415 cat > conftest.$ac_ext << EOF 943 1416 944 #line 945"configure"1417 #line 1418 "configure" 945 1418 #include "confdefs.h" 946 1419 947 1420 main(){return(0);} 948 1421 EOF 949 if { (eval echo configure: 950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1422 if { (eval echo configure:1423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 950 1423 ac_cv_prog_cc_works=yes 951 1424 # If we can't run a trivial program, we are probably using a cross compiler. … … 973 1446 fi 974 1447 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 975 echo "configure: 976: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&51448 echo "configure:1449: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 976 1449 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 977 1450 cross_compiling=$ac_cv_prog_cc_cross 978 1451 979 1452 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 980 echo "configure: 981: checking whether we are using GNU C" >&51453 echo "configure:1454: checking whether we are using GNU C" >&5 981 1454 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 982 1455 echo $ac_n "(cached) $ac_c" 1>&6 … … 987 1460 #endif 988 1461 EOF 989 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure: 990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1462 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1463: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 990 1463 ac_cv_prog_gcc=yes 991 1464 else … … 1006 1479 CFLAGS= 1007 1480 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1008 echo "configure:1 009: checking whether ${CC-cc} accepts -g" >&51481 echo "configure:1482: checking whether ${CC-cc} accepts -g" >&5 1009 1482 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1010 1483 echo $ac_n "(cached) $ac_c" 1>&6 … … 1037 1510 fi 1038 1511 1039 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&61040 echo "configure:1041: checking for POSIXized ISC" >&51041 if test -d /etc/conf/kconfig.d &&1042 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&11043 then1044 echo "$ac_t""yes" 1>&61045 ISC=yes # If later tests want to check for ISC.1046 cat >> confdefs.h <<\EOF1047 #define _POSIX_SOURCE 11048 EOF1049 1050 if test "$GCC" = yes; then1051 CC="$CC -posix"1052 else1053 CC="$CC -Xp"1054 fi1055 else1056 echo "$ac_t""no" 1>&61057 ISC=1058 fi1059 1060 1061 # Find a good install program. We prefer a C program (faster),1062 # so one script is as good as another. But avoid the broken or1063 # incompatible versions:1064 # SysV /etc/install, /usr/sbin/install1065 # SunOS /usr/etc/install1066 # IRIX /sbin/install1067 # AIX /bin/install1068 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag1069 # AFS /usr/afsws/bin/install, which mishandles nonexistent args1070 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"1071 # ./install, which can be erroneously created by make from ./install.sh.1072 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&61073 echo "configure:1074: checking for a BSD compatible install" >&51074 if test -z "$INSTALL"; then1075 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then1076 echo $ac_n "(cached) $ac_c" 1>&61077 else1078 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$PATH_IFS"1079 for ac_dir in $PATH; do1080 # Account for people who put trailing slashes in PATH elements.1081 case "$ac_dir/" in1082 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;1083 # We reject the install program from OS/2 or W3.11084 */OS2|*/OS2/*|*/WINDOWS|*/WINDOWS/*) ;;1085 *)1086 # OSF1 and SCO ODT 3.0 have their own names for install.1087 # Don't use installbsd from OSF since it installs stuff as root1088 # by default.1089 for ac_prog in ginstall scoinst install; do1090 if test -f $ac_dir/$ac_prog$ac_exeext; then1091 if test $ac_prog = install &&1092 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then1093 # AIX install. It has an incompatible calling convention.1094 :1095 else1096 ac_cv_path_install="$ac_dir/$ac_prog$ac_exeext -c"1097 break 21098 fi1099 fi1100 done1101 ;;1102 esac1103 done1104 IFS="$ac_save_IFS"1105 1106 fi1107 if test "${ac_cv_path_install+set}" = set; then1108 INSTALL="$ac_cv_path_install"1109 else1110 # As a last resort, use the slow shell script. We don't cache a1111 # path for INSTALL within a source directory, because that will1112 # break other packages using the cache if that directory is1113 # removed, or if the path is relative.1114 INSTALL="$ac_install_sh"1115 fi1116 fi1117 echo "$ac_t""$INSTALL" 1>&61118 1119 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.1120 # It thinks the first close brace ends the variable substitution.1121 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'1122 1123 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'1124 1125 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'1126 1127 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&61128 echo "configure:1129: checking whether build environment is sane" >&51129 # Just in case1130 sleep 11131 echo timestamp > conftestfile1132 # Do `set' in a subshell so we don't clobber the current shell's1133 # arguments. Must try -L first in case configure is actually a1134 # symlink; some systems play weird games with the mod time of symlinks1135 # (eg FreeBSD returns the mod time of the symlink's containing1136 # directory).1137 if (1138 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`1139 if test "$*" = "X"; then1140 # -L didn't work.1141 set X `ls -t $srcdir/configure conftestfile`1142 fi1143 if test "$*" != "X $srcdir/configure conftestfile" \1144 && test "$*" != "X conftestfile $srcdir/configure"; then1145 1146 # If neither matched, then we have a broken ls. This can happen1147 # if, for instance, CONFIG_SHELL is bash and it inherits a1148 # broken ls alias from the environment. This has actually1149 # happened. Such a system could not be considered "sane".1150 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken1151 alias in your environment" 1>&2; exit 1; }1152 fi1153 1154 test "$2" = conftestfile1155 )1156 then1157 # Ok.1158 :1159 else1160 { echo "configure: error: newly created file is older than distributed files!1161 Check your system clock" 1>&2; exit 1; }1162 fi1163 rm -f conftest*1164 echo "$ac_t""yes" 1>&61165 if test "$program_transform_name" = s,x,x,; then1166 program_transform_name=1167 else1168 # Double any \ or $. echo might interpret backslashes.1169 cat <<\EOF_SED > conftestsed1170 s,\\,\\\\,g; s,\$,$$,g1171 EOF_SED1172 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"1173 rm -f conftestsed1174 fi1175 test "$program_prefix" != NONE &&1176 program_transform_name="s,^,${program_prefix},; $program_transform_name"1177 # Use a double $ so make ignores it.1178 test "$program_suffix" != NONE &&1179 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"1180 1181 # sed with no file args requires a program.1182 test "$program_transform_name" = "" && program_transform_name="s,x,x,"1183 1184 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&61185 echo "configure:1186: checking whether ${MAKE-make} sets \${MAKE}" >&51186 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`1187 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then1188 echo $ac_n "(cached) $ac_c" 1>&61189 else1190 cat > conftestmake <<\EOF1191 all:1192 @echo 'ac_maketemp="${MAKE}"'1193 EOF1194 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.1195 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`1196 if test -n "$ac_maketemp"; then1197 eval ac_cv_prog_make_${ac_make}_set=yes1198 else1199 eval ac_cv_prog_make_${ac_make}_set=no1200 fi1201 rm -f conftestmake1202 fi1203 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then1204 echo "$ac_t""yes" 1>&61205 SET_MAKE=1206 else1207 echo "$ac_t""no" 1>&61208 SET_MAKE="MAKE=${MAKE-make}"1209 fi1210 1211 1212 PACKAGE=bfd1213 1214 VERSION=2.11.21215 1216 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then1217 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }1218 fi1219 cat >> confdefs.h <<EOF1220 #define PACKAGE "$PACKAGE"1221 EOF1222 1223 cat >> confdefs.h <<EOF1224 #define VERSION "$VERSION"1225 EOF1226 1227 1228 1229 missing_dir=`cd $ac_aux_dir && pwd`1230 echo $ac_n "checking for working aclocal""... $ac_c" 1>&61231 echo "configure:1232: checking for working aclocal" >&51232 # Run test in a subshell; some versions of sh will print an error if1233 # an executable is not found, even if stderr is redirected.1234 # Redirect stdin to placate older versions of autoconf. Sigh.1235 if (aclocal --version) < /dev/null > /dev/null 2>&1; then1236 ACLOCAL=aclocal1237 echo "$ac_t""found" 1>&61238 else1239 ACLOCAL="$missing_dir/missing aclocal"1240 echo "$ac_t""missing" 1>&61241 fi1242 1243 echo $ac_n "checking for working autoconf""... $ac_c" 1>&61244 echo "configure:1245: checking for working autoconf" >&51245 # Run test in a subshell; some versions of sh will print an error if1246 # an executable is not found, even if stderr is redirected.1247 # Redirect stdin to placate older versions of autoconf. Sigh.1248 if (autoconf --version) < /dev/null > /dev/null 2>&1; then1249 AUTOCONF=autoconf1250 echo "$ac_t""found" 1>&61251 else1252 AUTOCONF="$missing_dir/missing autoconf"1253 echo "$ac_t""missing" 1>&61254 fi1255 1256 echo $ac_n "checking for working automake""... $ac_c" 1>&61257 echo "configure:1258: checking for working automake" >&51258 # Run test in a subshell; some versions of sh will print an error if1259 # an executable is not found, even if stderr is redirected.1260 # Redirect stdin to placate older versions of autoconf. Sigh.1261 if (automake --version) < /dev/null > /dev/null 2>&1; then1262 AUTOMAKE=automake1263 echo "$ac_t""found" 1>&61264 else1265 AUTOMAKE="$missing_dir/missing automake"1266 echo "$ac_t""missing" 1>&61267 fi1268 1269 echo $ac_n "checking for working autoheader""... $ac_c" 1>&61270 echo "configure:1271: checking for working autoheader" >&51271 # Run test in a subshell; some versions of sh will print an error if1272 # an executable is not found, even if stderr is redirected.1273 # Redirect stdin to placate older versions of autoconf. Sigh.1274 if (autoheader --version) < /dev/null > /dev/null 2>&1; then1275 AUTOHEADER=autoheader1276 echo "$ac_t""found" 1>&61277 else1278 AUTOHEADER="$missing_dir/missing autoheader"1279 echo "$ac_t""missing" 1>&61280 fi1281 1282 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&61283 echo "configure:1284: checking for working makeinfo" >&51284 # Run test in a subshell; some versions of sh will print an error if1285 # an executable is not found, even if stderr is redirected.1286 # Redirect stdin to placate older versions of autoconf. Sigh.1287 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then1288 MAKEINFO=makeinfo1289 echo "$ac_t""found" 1>&61290 else1291 MAKEINFO="$missing_dir/missing makeinfo"1292 echo "$ac_t""missing" 1>&61293 fi1294 1295 1296 1297 if test $host != $build; then1298 ac_tool_prefix=${host_alias}-1299 else1300 ac_tool_prefix=1301 fi1302 1303 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.1304 set dummy ${ac_tool_prefix}ar; ac_word=$21305 echo $ac_n "checking for $ac_word""... $ac_c" 1>&61306 echo "configure:1307: checking for $ac_word" >&51307 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then1308 echo $ac_n "(cached) $ac_c" 1>&61309 else1310 if test -n "$AR"; then1311 ac_cv_prog_AR="$AR" # Let the user override the test.1312 else1313 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"1314 ac_dummy="$PATH"1315 for ac_dir in $ac_dummy; do1316 test -z "$ac_dir" && ac_dir=.1317 if test -f $ac_dir/$ac_word -o \1318 -f $ac_dir/$ac_word$ac_exeext ; then1319 ac_cv_prog_AR="${ac_tool_prefix}ar"1320 break1321 fi1322 done1323 IFS="$ac_save_ifs"1324 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"1325 fi1326 fi1327 AR="$ac_cv_prog_AR"1328 if test -n "$AR"; then1329 echo "$ac_t""$AR" 1>&61330 else1331 echo "$ac_t""no" 1>&61332 fi1333 1334 1335 1336 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.1337 set dummy ${ac_tool_prefix}ranlib; ac_word=$21338 echo $ac_n "checking for $ac_word""... $ac_c" 1>&61339 echo "configure:1340: checking for $ac_word" >&51340 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then1341 echo $ac_n "(cached) $ac_c" 1>&61342 else1343 if test -n "$RANLIB"; then1344 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.1345 else1346 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"1347 ac_dummy="$PATH"1348 for ac_dir in $ac_dummy; do1349 test -z "$ac_dir" && ac_dir=.1350 if test -f $ac_dir/$ac_word -o \1351 -f $ac_dir/$ac_word$ac_exeext ; then1352 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"1353 break1354 fi1355 done1356 IFS="$ac_save_ifs"1357 fi1358 fi1359 RANLIB="$ac_cv_prog_RANLIB"1360 if test -n "$RANLIB"; then1361 echo "$ac_t""$RANLIB" 1>&61362 else1363 echo "$ac_t""no" 1>&61364 fi1365 1366 1367 if test -z "$ac_cv_prog_RANLIB"; then1368 if test -n "$ac_tool_prefix"; then1369 # Extract the first word of "ranlib", so it can be a program name with args.1370 set dummy ranlib; ac_word=$21371 echo $ac_n "checking for $ac_word""... $ac_c" 1>&61372 echo "configure:1373: checking for $ac_word" >&51373 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then1374 echo $ac_n "(cached) $ac_c" 1>&61375 else1376 if test -n "$RANLIB"; then1377 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.1378 else1379 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"1380 ac_dummy="$PATH"1381 for ac_dir in $ac_dummy; do1382 test -z "$ac_dir" && ac_dir=.1383 if test -f $ac_dir/$ac_word -o \1384 -f $ac_dir/$ac_word$ac_exeext ; then1385 ac_cv_prog_RANLIB="ranlib"1386 break1387 fi1388 done1389 IFS="$ac_save_ifs"1390 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"1391 fi1392 fi1393 RANLIB="$ac_cv_prog_RANLIB"1394 if test -n "$RANLIB"; then1395 echo "$ac_t""$RANLIB" 1>&61396 else1397 echo "$ac_t""no" 1>&61398 fi1399 1400 else1401 RANLIB=":"1402 fi1403 fi1404 1405 1406 # Check whether --enable-shared or --disable-shared was given.1407 if test "${enable_shared+set}" = set; then1408 enableval="$enable_shared"1409 p=${PACKAGE-default}1410 case "$enableval" in1411 yes) enable_shared=yes ;;1412 no) enable_shared=no ;;1413 *)1414 enable_shared=no1415 # Look at the argument we got. We use all the common list separators.1416 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"1417 for pkg in $enableval; do1418 if test "X$pkg" = "X$p"; then1419 enable_shared=yes1420 fi1421 done1422 IFS="$ac_save_ifs"1423 ;;1424 esac1425 else1426 enable_shared=no1427 fi1428 1429 1430 # Check whether --enable-static or --disable-static was given.1431 if test "${enable_static+set}" = set; then1432 enableval="$enable_static"1433 p=${PACKAGE-default}1434 case "$enableval" in1435 yes) enable_static=yes ;;1436 no) enable_static=no ;;1437 *)1438 enable_static=no1439 # Look at the argument we got. We use all the common list separators.1440 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"1441 for pkg in $enableval; do1442 if test "X$pkg" = "X$p"; then1443 enable_static=yes1444 fi1445 done1446 IFS="$ac_save_ifs"1447 ;;1448 esac1449 else1450 enable_static=yes1451 fi1452 1453 # Check whether --enable-fast-install or --disable-fast-install was given.1454 if test "${enable_fast_install+set}" = set; then1455 enableval="$enable_fast_install"1456 p=${PACKAGE-default}1457 case "$enableval" in1458 yes) enable_fast_install=yes ;;1459 no) enable_fast_install=no ;;1460 *)1461 enable_fast_install=no1462 # Look at the argument we got. We use all the common list separators.1463 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"1464 for pkg in $enableval; do1465 if test "X$pkg" = "X$p"; then1466 enable_fast_install=yes1467 fi1468 done1469 IFS="$ac_save_ifs"1470 ;;1471 esac1472 else1473 enable_fast_install=yes1474 fi1475 1476 1512 # Check whether --with-gnu-ld or --without-gnu-ld was given. 1477 1513 if test "${with_gnu_ld+set}" = set; then … … 1483 1519 1484 1520 ac_prog=ld 1485 if test "$ ac_cv_prog_gcc" = yes; then1521 if test "$GCC" = yes; then 1486 1522 # Check if gcc -print-prog-name=ld gives a path. 1487 1523 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 1488 echo "configure:1 489: checking for ld used by GCC" >&51524 echo "configure:1525: checking for ld used by GCC" >&5 1489 1525 case $host in 1490 1526 *-*-mingw*) … … 1494 1530 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 1495 1531 esac 1496 case "$ac_prog"in1532 case $ac_prog in 1497 1533 # Accept absolute paths. 1498 1534 [\\/]* | [A-Za-z]:[\\/]*) … … 1516 1552 elif test "$with_gnu_ld" = yes; then 1517 1553 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 1518 echo "configure:15 19: checking for GNU ld" >&51554 echo "configure:1555: checking for GNU ld" >&5 1519 1555 else 1520 1556 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 1521 echo "configure:15 22: checking for non-GNU ld" >&51522 fi 1523 if eval "test \"`echo '$''{' ac_cv_path_LD'+set}'`\" = set"; then1557 echo "configure:1558: checking for non-GNU ld" >&5 1558 fi 1559 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then 1524 1560 echo $ac_n "(cached) $ac_c" 1>&6 1525 1561 else … … 1529 1565 test -z "$ac_dir" && ac_dir=. 1530 1566 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 1531 ac_cv_path_LD="$ac_dir/$ac_prog"1567 lt_cv_path_LD="$ac_dir/$ac_prog" 1532 1568 # Check to see if the program is GNU ld. I'd rather use --version, 1533 1569 # but apparently some GNU ld's only accept -v. 1534 1570 # Break only if it was the GNU/non-GNU ld that we prefer. 1535 if "$ ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then1571 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then 1536 1572 test "$with_gnu_ld" != no && break 1537 1573 else … … 1542 1578 IFS="$ac_save_ifs" 1543 1579 else 1544 ac_cv_path_LD="$LD" # Let the user override the test with a path.1545 fi 1546 fi 1547 1548 LD="$ ac_cv_path_LD"1580 lt_cv_path_LD="$LD" # Let the user override the test with a path. 1581 fi 1582 fi 1583 1584 LD="$lt_cv_path_LD" 1549 1585 if test -n "$LD"; then 1550 1586 echo "$ac_t""$LD" 1>&6 … … 1554 1590 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } 1555 1591 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 1556 echo "configure:15 57: checking if the linker ($LD) is GNU ld" >&51557 if eval "test \"`echo '$''{' ac_cv_prog_gnu_ld'+set}'`\" = set"; then1592 echo "configure:1593: checking if the linker ($LD) is GNU ld" >&5 1593 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then 1558 1594 echo $ac_n "(cached) $ac_c" 1>&6 1559 1595 else 1560 1596 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 1561 1597 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 1562 ac_cv_prog_gnu_ld=yes1563 else 1564 ac_cv_prog_gnu_ld=no1565 fi 1566 fi 1567 1568 echo "$ac_t""$ ac_cv_prog_gnu_ld" 1>&61569 with_gnu_ld=$ ac_cv_prog_gnu_ld1598 lt_cv_prog_gnu_ld=yes 1599 else 1600 lt_cv_prog_gnu_ld=no 1601 fi 1602 fi 1603 1604 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6 1605 with_gnu_ld=$lt_cv_prog_gnu_ld 1570 1606 1571 1607 1572 1608 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6 1573 echo "configure:1 574: checking for $LD option to reload object files" >&51609 echo "configure:1610: checking for $LD option to reload object files" >&5 1574 1610 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then 1575 1611 echo $ac_n "(cached) $ac_c" 1>&6 … … 1583 1619 1584 1620 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 1585 echo "configure:1 586: checking for BSD-compatible nm" >&51586 if eval "test \"`echo '$''{' ac_cv_path_NM'+set}'`\" = set"; then1621 echo "configure:1622: checking for BSD-compatible nm" >&5 1622 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then 1587 1623 echo $ac_n "(cached) $ac_c" 1>&6 1588 1624 else 1589 1625 if test -n "$NM"; then 1590 1626 # Let the user override the test. 1591 ac_cv_path_NM="$NM"1627 lt_cv_path_NM="$NM" 1592 1628 else 1593 1629 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" … … 1601 1637 # Tru64's nm complains that /dev/null is an invalid object file 1602 1638 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then 1603 ac_cv_path_NM="$tmp_nm -B"1639 lt_cv_path_NM="$tmp_nm -B" 1604 1640 break 1605 1641 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then 1606 ac_cv_path_NM="$tmp_nm -p"1642 lt_cv_path_NM="$tmp_nm -p" 1607 1643 break 1608 1644 else 1609 ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but1645 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 1610 1646 continue # so that we can try to find one that supports BSD flags 1611 1647 fi … … 1613 1649 done 1614 1650 IFS="$ac_save_ifs" 1615 test -z "$ ac_cv_path_NM" && ac_cv_path_NM=nm1616 fi 1617 fi 1618 1619 NM="$ ac_cv_path_NM"1651 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm 1652 fi 1653 fi 1654 1655 NM="$lt_cv_path_NM" 1620 1656 echo "$ac_t""$NM" 1>&6 1621 1657 1622 1658 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1623 echo "configure:16 24: checking whether ln -s works" >&51659 echo "configure:1660: checking whether ln -s works" >&5 1624 1660 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1625 1661 echo $ac_n "(cached) $ac_c" 1>&6 … … 1648 1684 1649 1685 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6 1650 echo "configure:16 51: checking how to recognise dependant libraries" >&51686 echo "configure:1687: checking how to recognise dependant libraries" >&5 1651 1687 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then 1652 1688 echo $ac_n "(cached) $ac_c" 1>&6 … … 1666 1702 # whether `pass_all' will *always* work, you probably want this one. 1667 1703 1668 case "$host_os"in1669 aix 4*)1704 case $host_os in 1705 aix*) 1670 1706 lt_cv_deplibs_check_method=pass_all 1671 1707 ;; … … 1676 1712 1677 1713 bsdi4*) 1678 1679 1714 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 1715 lt_cv_file_magic_cmd='/usr/bin/file -L' 1680 1716 lt_cv_file_magic_test_file=/shlib/libc.so 1681 1717 ;; … … 1686 1722 ;; 1687 1723 1724 darwin* | rhapsody*) 1725 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' 1726 lt_cv_file_magic_cmd='/usr/bin/file -L' 1727 case "$host_os" in 1728 rhapsody* | darwin1.012) 1729 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System' 1730 ;; 1731 *) # Darwin 1.3 on 1732 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' 1733 ;; 1734 esac 1735 ;; 1736 1688 1737 freebsd* ) 1689 1738 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 1690 case "$host_cpu"in1739 case $host_cpu in 1691 1740 i*86 ) 1692 1741 # Not sure whether the presence of OpenBSD here was a mistake. 1693 1742 # Let's accept both of them until this is cleared up. 1694 1695 1743 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' 1744 lt_cv_file_magic_cmd=/usr/bin/file 1696 1745 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 1697 1746 ;; … … 1706 1755 ;; 1707 1756 1708 hpux10.20*) 1709 # TODO: Does this work for hpux-11 too? 1710 lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library' 1711 lt_cv_file_magic_cmd=/usr/bin/file 1712 lt_cv_file_magic_test_file=/usr/lib/libc.sl 1757 hpux10.20*|hpux11*) 1758 case $host_cpu in 1759 hppa*) 1760 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 1761 lt_cv_file_magic_cmd=/usr/bin/file 1762 lt_cv_file_magic_test_file=/usr/lib/libc.sl 1763 ;; 1764 ia64*) 1765 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 1766 lt_cv_file_magic_cmd=/usr/bin/file 1767 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 1768 ;; 1769 esac 1713 1770 ;; 1714 1771 1715 1772 irix5* | irix6*) 1716 case "$host_os"in1773 case $host_os in 1717 1774 irix5*) 1718 1775 # this will be overridden with pass_all, but let us keep it just in case … … 1720 1777 ;; 1721 1778 *) 1722 case "$LD"in1779 case $LD in 1723 1780 *-32|*"-32 ") libmagic=32-bit;; 1724 1781 *-n32|*"-n32 ") libmagic=N32;; … … 1727 1784 esac 1728 1785 # this will be overridden with pass_all, but let us keep it just in case 1729 1730 1786 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" 1787 ;; 1731 1788 esac 1732 1789 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` … … 1736 1793 # This must be Linux ELF. 1737 1794 linux-gnu*) 1738 case "$host_cpu"in1739 alpha* | i*86 | powerpc* | sparc* | ia64* )1795 case $host_cpu in 1796 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* ) 1740 1797 lt_cv_deplibs_check_method=pass_all ;; 1741 1798 *) 1742 1799 # glibc up to 2.1.1 does not perform some relocations on ARM 1743 1744 1800 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; 1801 esac 1745 1802 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` 1746 1803 ;; 1747 1804 1748 1805 netbsd*) 1749 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then : 1806 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 1807 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' 1750 1808 else 1751 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' 1752 lt_cv_file_magic_cmd='/usr/bin/file -L' 1753 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 1809 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' 1754 1810 fi 1755 1811 ;; … … 1757 1813 os2*) 1758 1814 lt_cv_deplibs_check_method=pass_all 1815 ;; 1816 1817 newsos6) 1818 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 1819 lt_cv_file_magic_cmd=/usr/bin/file 1820 lt_cv_file_magic_test_file=/usr/lib/libnls.so 1759 1821 ;; 1760 1822 … … 1775 1837 ;; 1776 1838 1839 sysv5uw[78]* | sysv4*uw2*) 1840 lt_cv_deplibs_check_method=pass_all 1841 ;; 1842 1777 1843 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 1778 case "$host_vendor"in1844 case $host_vendor in 1779 1845 ncr) 1780 1846 lt_cv_deplibs_check_method=pass_all 1781 1847 ;; 1782 1848 motorola) 1783 1784 1849 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]' 1850 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 1785 1851 ;; 1786 1852 esac … … 1795 1861 1796 1862 echo $ac_n "checking for object suffix""... $ac_c" 1>&6 1797 echo "configure:1 798: checking for object suffix" >&51863 echo "configure:1864: checking for object suffix" >&5 1798 1864 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then 1799 1865 echo $ac_n "(cached) $ac_c" 1>&6 … … 1801 1867 rm -f conftest* 1802 1868 echo 'int i = 1;' > conftest.$ac_ext 1803 if { (eval echo configure:18 04: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1869 if { (eval echo configure:1870: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1804 1870 for ac_file in conftest.*; do 1805 1871 case $ac_file in … … 1821 1887 1822 1888 # Only perform the check for file, if the check method requires it 1823 case "$deplibs_check_method"in1889 case $deplibs_check_method in 1824 1890 file_magic*) 1825 1891 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 1826 1892 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6 1827 echo "configure:18 28: checking for ${ac_tool_prefix}file" >&51893 echo "configure:1894: checking for ${ac_tool_prefix}file" >&5 1828 1894 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1829 1895 echo $ac_n "(cached) $ac_c" 1>&6 1830 1896 else 1831 case "$MAGIC_CMD"in1897 case $MAGIC_CMD in 1832 1898 /*) 1833 1899 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. … … 1845 1911 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 1846 1912 if test -n "$file_magic_test_file"; then 1847 case "$deplibs_check_method"in1913 case $deplibs_check_method in 1848 1914 "file_magic "*) 1849 1915 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" … … 1887 1953 if test -n "$ac_tool_prefix"; then 1888 1954 echo $ac_n "checking for file""... $ac_c" 1>&6 1889 echo "configure:1 890: checking for file" >&51955 echo "configure:1956: checking for file" >&5 1890 1956 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1891 1957 echo $ac_n "(cached) $ac_c" 1>&6 1892 1958 else 1893 case "$MAGIC_CMD"in1959 case $MAGIC_CMD in 1894 1960 /*) 1895 1961 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. … … 1907 1973 lt_cv_path_MAGIC_CMD="$ac_dir/file" 1908 1974 if test -n "$file_magic_test_file"; then 1909 case "$deplibs_check_method"in1975 case $deplibs_check_method in 1910 1976 "file_magic "*) 1911 1977 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" … … 1958 2024 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1959 2025 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1960 echo "configure: 1961: checking for $ac_word" >&52026 echo "configure:2027: checking for $ac_word" >&5 1961 2027 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1962 2028 echo $ac_n "(cached) $ac_c" 1>&6 … … 1991 2057 set dummy ranlib; ac_word=$2 1992 2058 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1993 echo "configure: 1994: checking for $ac_word" >&52059 echo "configure:2060: checking for $ac_word" >&5 1994 2060 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1995 2061 echo $ac_n "(cached) $ac_c" 1>&6 … … 2027 2093 set dummy ${ac_tool_prefix}strip; ac_word=$2 2028 2094 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2029 echo "configure:20 30: checking for $ac_word" >&52095 echo "configure:2096: checking for $ac_word" >&5 2030 2096 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 2031 2097 echo $ac_n "(cached) $ac_c" 1>&6 … … 2060 2126 set dummy strip; ac_word=$2 2061 2127 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2062 echo "configure:2 063: checking for $ac_word" >&52128 echo "configure:2129: checking for $ac_word" >&5 2063 2129 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 2064 2130 echo $ac_n "(cached) $ac_c" 1>&6 … … 2099 2165 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static" 2100 2166 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install" 2101 test "$ ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"2102 test "$ ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"2167 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc" 2168 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld" 2103 2169 2104 2170 … … 2125 2191 # Some flags need to be propagated to the compiler or linker for good 2126 2192 # libtool support. 2127 case "$host"in2193 case $host in 2128 2194 *-*-irix6*) 2129 2195 # Find out which ABI we are using. 2130 echo '#line 2131 "configure"' > conftest.$ac_ext 2131 if { (eval echo configure:2132: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2132 case "`/usr/bin/file conftest.o`" in 2196 echo '#line 2197 "configure"' > conftest.$ac_ext 2197 if { (eval echo configure:2198: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2198 if test "$lt_cv_prog_gnu_ld" = yes; then 2199 case `/usr/bin/file conftest.$ac_objext` in 2200 *32-bit*) 2201 LD="${LD-ld} -melf32bsmip" 2202 ;; 2203 *N32*) 2204 LD="${LD-ld} -melf32bmipn32" 2205 ;; 2206 *64-bit*) 2207 LD="${LD-ld} -melf64bmip" 2208 ;; 2209 esac 2210 else 2211 case `/usr/bin/file conftest.$ac_objext` in 2133 2212 *32-bit*) 2134 2213 LD="${LD-ld} -32" … … 2141 2220 ;; 2142 2221 esac 2222 fi 2223 fi 2224 rm -rf conftest* 2225 ;; 2226 2227 ia64-*-hpux*) 2228 # Find out which ABI we are using. 2229 echo 'int i;' > conftest.$ac_ext 2230 if { (eval echo configure:2231: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2231 case "`/usr/bin/file conftest.o`" in 2232 *ELF-32*) 2233 HPUX_IA64_MODE="32" 2234 ;; 2235 *ELF-64*) 2236 HPUX_IA64_MODE="64" 2237 ;; 2238 esac 2143 2239 fi 2144 2240 rm -rf conftest* … … 2150 2246 CFLAGS="$CFLAGS -belf" 2151 2247 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 2152 echo "configure:2 153: checking whether the C compiler needs -belf" >&52248 echo "configure:2249: checking whether the C compiler needs -belf" >&5 2153 2249 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then 2154 2250 echo $ac_n "(cached) $ac_c" 1>&6 … … 2163 2259 2164 2260 cat > conftest.$ac_ext <<EOF 2165 #line 2 166"configure"2261 #line 2262 "configure" 2166 2262 #include "confdefs.h" 2167 2263 … … 2170 2266 ; return 0; } 2171 2267 EOF 2172 if { (eval echo configure:2 173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2268 if { (eval echo configure:2269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2173 2269 rm -rf conftest* 2174 2270 lt_cv_cc_needs_belf=yes … … 2280 2376 exec 5>>./config.log 2281 2377 2282 2283 2378 2284 2379 … … 2329 2424 fi 2330 2425 2331 build_warnings="-W -Wall "2426 build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" 2332 2427 # Check whether --enable-build-warnings or --disable-build-warnings was given. 2333 2428 if test "${enable_build_warnings+set}" = set; then … … 2347 2442 fi 2348 2443 WARN_CFLAGS="" 2349 if test "x${build_warnings}" != x -a"x$GCC" = xyes ; then2444 if test "x${build_warnings}" != x && test "x$GCC" = xyes ; then 2350 2445 WARN_CFLAGS="${build_warnings}" 2351 2446 fi … … 2359 2454 { echo "configure: error: Unrecognized target system type; please check config.sub." 1>&2; exit 1; } 2360 2455 fi 2361 if test "$program_transform_name" = s,x,x,; then2362 program_transform_name=2363 else2364 # Double any \ or $. echo might interpret backslashes.2365 cat <<\EOF_SED > conftestsed2366 s,\\,\\\\,g; s,\$,$$,g2367 EOF_SED2368 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"2369 rm -f conftestsed2370 fi2371 test "$program_prefix" != NONE &&2372 program_transform_name="s,^,${program_prefix},; $program_transform_name"2373 # Use a double $ so make ignores it.2374 test "$program_suffix" != NONE &&2375 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"2376 2377 # sed with no file args requires a program.2378 test "$program_transform_name" = "" && program_transform_name="s,x,x,"2379 2380 2456 2381 2457 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 2382 echo "configure:2 383: checking whether to enable maintainer-specific portions of Makefiles" >&52458 echo "configure:2459: checking whether to enable maintainer-specific portions of Makefiles" >&5 2383 2459 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 2384 2460 if test "${enable_maintainer_mode+set}" = set; then … … 2402 2478 2403 2479 2480 echo $ac_n "checking whether to install libbfd""... $ac_c" 1>&6 2481 echo "configure:2482: checking whether to install libbfd" >&5 2482 # Check whether --enable-install-libbfd or --disable-install-libbfd was given. 2483 if test "${enable_install_libbfd+set}" = set; then 2484 enableval="$enable_install_libbfd" 2485 install_libbfd_p=$enableval 2486 else 2487 if test "${host}" = "${target}" || test "$enable_shared" = "yes"; then 2488 install_libbfd_p=yes 2489 else 2490 install_libbfd_p=no 2491 fi 2492 fi 2493 2494 echo "$ac_t""$install_libbfd_p" 1>&6 2495 2496 2497 if test $install_libbfd_p = yes; then 2498 INSTALL_LIBBFD_TRUE= 2499 INSTALL_LIBBFD_FALSE='#' 2500 else 2501 INSTALL_LIBBFD_TRUE='#' 2502 INSTALL_LIBBFD_FALSE= 2503 fi 2504 # libbfd.a is a host library containing target dependent code 2505 bfdlibdir='$(libdir)' 2506 bfdincludedir='$(includedir)' 2507 if test "${host}" != "${target}"; then 2508 bfdlibdir='$(exec_prefix)/$(host_alias)/$(target_alias)/lib' 2509 bfdincludedir='$(exec_prefix)/$(host_alias)/$(target_alias)/include' 2510 fi 2511 2512 2513 2514 2404 2515 2405 2516 2406 2517 2407 2518 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 2408 echo "configure:2 409: checking for executable suffix" >&52519 echo "configure:2520: checking for executable suffix" >&5 2409 2520 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 2410 2521 echo $ac_n "(cached) $ac_c" 1>&6 … … 2416 2527 echo 'int main () { return 0; }' > conftest.$ac_ext 2417 2528 ac_cv_exeext= 2418 if { (eval echo configure:2 419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2529 if { (eval echo configure:2530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 2419 2530 for file in conftest.*; do 2420 2531 case $file in … … 2439 2550 host64=false 2440 2551 target64=false 2552 bfd_default_target_size=32 2441 2553 2442 2554 # host stuff: … … 2445 2557 set dummy gcc; ac_word=$2 2446 2558 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2447 echo "configure:2 448: checking for $ac_word" >&52559 echo "configure:2560: checking for $ac_word" >&5 2448 2560 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2449 2561 echo $ac_n "(cached) $ac_c" 1>&6 … … 2476 2588 set dummy cc; ac_word=$2 2477 2589 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2478 echo "configure:2 479: checking for $ac_word" >&52590 echo "configure:2591: checking for $ac_word" >&5 2479 2591 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2480 2592 echo $ac_n "(cached) $ac_c" 1>&6 … … 2529 2641 set dummy cl; ac_word=$2 2530 2642 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2531 echo "configure:2 532: checking for $ac_word" >&52643 echo "configure:2644: checking for $ac_word" >&5 2532 2644 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2533 2645 echo $ac_n "(cached) $ac_c" 1>&6 … … 2562 2674 2563 2675 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 2564 echo "configure:2 565: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&52676 echo "configure:2677: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 2565 2677 2566 2678 ac_ext=c … … 2573 2685 cat > conftest.$ac_ext << EOF 2574 2686 2575 #line 2 576"configure"2687 #line 2688 "configure" 2576 2688 #include "confdefs.h" 2577 2689 2578 2690 main(){return(0);} 2579 2691 EOF 2580 if { (eval echo configure:2 581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2692 if { (eval echo configure:2693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2581 2693 ac_cv_prog_cc_works=yes 2582 2694 # If we can't run a trivial program, we are probably using a cross compiler. … … 2604 2716 fi 2605 2717 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 2606 echo "configure:2 607: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&52718 echo "configure:2719: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 2607 2719 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 2608 2720 cross_compiling=$ac_cv_prog_cc_cross 2609 2721 2610 2722 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 2611 echo "configure:2 612: checking whether we are using GNU C" >&52723 echo "configure:2724: checking whether we are using GNU C" >&5 2612 2724 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 2613 2725 echo $ac_n "(cached) $ac_c" 1>&6 … … 2618 2730 #endif 2619 2731 EOF 2620 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2 621: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then2732 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2733: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 2621 2733 ac_cv_prog_gcc=yes 2622 2734 else … … 2637 2749 CFLAGS= 2638 2750 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 2639 echo "configure:2 640: checking whether ${CC-cc} accepts -g" >&52751 echo "configure:2752: checking whether ${CC-cc} accepts -g" >&5 2640 2752 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 2641 2753 echo $ac_n "(cached) $ac_c" 1>&6 … … 2669 2781 2670 2782 2671 ALL_LINGUAS= 2783 ALL_LINGUAS="fr tr ja es sv da zh_CN" 2672 2784 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 2673 echo "configure:2 674: checking how to run the C preprocessor" >&52785 echo "configure:2786: checking how to run the C preprocessor" >&5 2674 2786 # On Suns, sometimes $CPP names a directory. 2675 2787 if test -n "$CPP" && test -d "$CPP"; then … … 2687 2799 cat > conftest.$ac_ext <<EOF 2688 2800 #include <sys/types.h> 2689 #line 2 690"configure"2801 #line 2802 "configure" 2690 2802 #include "confdefs.h" 2691 2803 #include <assert.h> … … 2693 2805 EOF 2694 2806 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2695 { (eval echo configure:2 696: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2807 { (eval echo configure:2808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2696 2808 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2697 2809 if test -z "$ac_err"; then … … 2705 2817 cat > conftest.$ac_ext <<EOF 2706 2818 #include <sys/types.h> 2707 #line 2 708"configure"2819 #line 2820 "configure" 2708 2820 #include "confdefs.h" 2709 2821 #include <assert.h> … … 2711 2823 EOF 2712 2824 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2713 { (eval echo configure:2 714: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2825 { (eval echo configure:2826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2714 2826 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2715 2827 if test -z "$ac_err"; then … … 2723 2835 cat > conftest.$ac_ext <<EOF 2724 2836 #include <sys/types.h> 2725 #line 2 726"configure"2837 #line 2838 "configure" 2726 2838 #include "confdefs.h" 2727 2839 #include <assert.h> … … 2729 2841 EOF 2730 2842 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2731 { (eval echo configure:2 732: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2843 { (eval echo configure:2844: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2732 2844 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2733 2845 if test -z "$ac_err"; then … … 2756 2868 set dummy ranlib; ac_word=$2 2757 2869 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2758 echo "configure:2 759: checking for $ac_word" >&52870 echo "configure:2871: checking for $ac_word" >&5 2759 2871 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 2760 2872 echo $ac_n "(cached) $ac_c" 1>&6 … … 2785 2897 2786 2898 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2787 echo "configure:2 788: checking for ANSI C header files" >&52899 echo "configure:2900: checking for ANSI C header files" >&5 2788 2900 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2789 2901 echo $ac_n "(cached) $ac_c" 1>&6 … … 2791 2903 cat > conftest.$ac_ext <<EOF 2792 2904 #include <sys/types.h> 2793 #line 2 794"configure"2905 #line 2906 "configure" 2794 2906 #include "confdefs.h" 2795 2907 #include <stdlib.h> … … 2799 2911 EOF 2800 2912 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2801 { (eval echo configure:2 802: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2913 { (eval echo configure:2914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2802 2914 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2803 2915 if test -z "$ac_err"; then … … 2816 2928 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2817 2929 cat > conftest.$ac_ext <<EOF 2818 #line 2 819"configure"2930 #line 2931 "configure" 2819 2931 #include "confdefs.h" 2820 2932 #include <string.h> … … 2834 2946 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2835 2947 cat > conftest.$ac_ext <<EOF 2836 #line 2 837"configure"2948 #line 2949 "configure" 2837 2949 #include "confdefs.h" 2838 2950 #include <stdlib.h> … … 2855 2967 else 2856 2968 cat > conftest.$ac_ext <<EOF 2857 #line 2 858"configure"2969 #line 2970 "configure" 2858 2970 #include "confdefs.h" 2859 2971 #include <ctype.h> … … 2866 2978 2867 2979 EOF 2868 if { (eval echo configure:2 869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2980 if { (eval echo configure:2981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2869 2981 then 2870 2982 : … … 2890 3002 2891 3003 echo $ac_n "checking for working const""... $ac_c" 1>&6 2892 echo "configure: 2893: checking for working const" >&53004 echo "configure:3005: checking for working const" >&5 2893 3005 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 2894 3006 echo $ac_n "(cached) $ac_c" 1>&6 2895 3007 else 2896 3008 cat > conftest.$ac_ext <<EOF 2897 #line 2898"configure"3009 #line 3010 "configure" 2898 3010 #include "confdefs.h" 2899 3011 … … 2944 3056 ; return 0; } 2945 3057 EOF 2946 if { (eval echo configure: 2947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3058 if { (eval echo configure:3059: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2947 3059 rm -rf conftest* 2948 3060 ac_cv_c_const=yes … … 2965 3077 2966 3078 echo $ac_n "checking for inline""... $ac_c" 1>&6 2967 echo "configure: 2968: checking for inline" >&53079 echo "configure:3080: checking for inline" >&5 2968 3080 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 2969 3081 echo $ac_n "(cached) $ac_c" 1>&6 … … 2972 3084 for ac_kw in inline __inline__ __inline; do 2973 3085 cat > conftest.$ac_ext <<EOF 2974 #line 2975"configure"3086 #line 3087 "configure" 2975 3087 #include "confdefs.h" 2976 3088 … … 2979 3091 ; return 0; } 2980 3092 EOF 2981 if { (eval echo configure: 2982: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3093 if { (eval echo configure:3094: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2982 3094 rm -rf conftest* 2983 3095 ac_cv_c_inline=$ac_kw; break … … 3005 3117 3006 3118 echo $ac_n "checking for off_t""... $ac_c" 1>&6 3007 echo "configure:3 008: checking for off_t" >&53119 echo "configure:3120: checking for off_t" >&5 3008 3120 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then 3009 3121 echo $ac_n "(cached) $ac_c" 1>&6 3010 3122 else 3011 3123 cat > conftest.$ac_ext <<EOF 3012 #line 3 013"configure"3124 #line 3125 "configure" 3013 3125 #include "confdefs.h" 3014 3126 #include <sys/types.h> … … 3038 3150 3039 3151 echo $ac_n "checking for size_t""... $ac_c" 1>&6 3040 echo "configure:3 041: checking for size_t" >&53152 echo "configure:3153: checking for size_t" >&5 3041 3153 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 3042 3154 echo $ac_n "(cached) $ac_c" 1>&6 3043 3155 else 3044 3156 cat > conftest.$ac_ext <<EOF 3045 #line 3 046"configure"3157 #line 3158 "configure" 3046 3158 #include "confdefs.h" 3047 3159 #include <sys/types.h> … … 3073 3185 # for constant arguments. Useless! 3074 3186 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 3075 echo "configure:3 076: checking for working alloca.h" >&53187 echo "configure:3188: checking for working alloca.h" >&5 3076 3188 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 3077 3189 echo $ac_n "(cached) $ac_c" 1>&6 3078 3190 else 3079 3191 cat > conftest.$ac_ext <<EOF 3080 #line 3 081"configure"3192 #line 3193 "configure" 3081 3193 #include "confdefs.h" 3082 3194 #include <alloca.h> … … 3085 3197 ; return 0; } 3086 3198 EOF 3087 if { (eval echo configure:3 088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3199 if { (eval echo configure:3200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3088 3200 rm -rf conftest* 3089 3201 ac_cv_header_alloca_h=yes … … 3106 3218 3107 3219 echo $ac_n "checking for alloca""... $ac_c" 1>&6 3108 echo "configure:3 109: checking for alloca" >&53220 echo "configure:3221: checking for alloca" >&5 3109 3221 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 3110 3222 echo $ac_n "(cached) $ac_c" 1>&6 3111 3223 else 3112 3224 cat > conftest.$ac_ext <<EOF 3113 #line 3 114"configure"3225 #line 3226 "configure" 3114 3226 #include "confdefs.h" 3115 3227 … … 3139 3251 ; return 0; } 3140 3252 EOF 3141 if { (eval echo configure:3 142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3253 if { (eval echo configure:3254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3142 3254 rm -rf conftest* 3143 3255 ac_cv_func_alloca_works=yes … … 3171 3283 3172 3284 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 3173 echo "configure:3 174: checking whether alloca needs Cray hooks" >&53285 echo "configure:3286: checking whether alloca needs Cray hooks" >&5 3174 3286 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 3175 3287 echo $ac_n "(cached) $ac_c" 1>&6 3176 3288 else 3177 3289 cat > conftest.$ac_ext <<EOF 3178 #line 3 179"configure"3290 #line 3291 "configure" 3179 3291 #include "confdefs.h" 3180 3292 #if defined(CRAY) && ! defined(CRAY2) … … 3201 3313 for ac_func in _getb67 GETB67 getb67; do 3202 3314 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3203 echo "configure:3 204: checking for $ac_func" >&53315 echo "configure:3316: checking for $ac_func" >&5 3204 3316 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3205 3317 echo $ac_n "(cached) $ac_c" 1>&6 3206 3318 else 3207 3319 cat > conftest.$ac_ext <<EOF 3208 #line 3 209"configure"3320 #line 3321 "configure" 3209 3321 #include "confdefs.h" 3210 3322 /* System header to define __stub macros and hopefully few prototypes, … … 3229 3341 ; return 0; } 3230 3342 EOF 3231 if { (eval echo configure:3 232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3343 if { (eval echo configure:3344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3232 3344 rm -rf conftest* 3233 3345 eval "ac_cv_func_$ac_func=yes" … … 3256 3368 3257 3369 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 3258 echo "configure:3 259: checking stack direction for C alloca" >&53370 echo "configure:3371: checking stack direction for C alloca" >&5 3259 3371 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 3260 3372 echo $ac_n "(cached) $ac_c" 1>&6 … … 3264 3376 else 3265 3377 cat > conftest.$ac_ext <<EOF 3266 #line 3 267"configure"3378 #line 3379 "configure" 3267 3379 #include "confdefs.h" 3268 3380 find_stack_direction () … … 3283 3395 } 3284 3396 EOF 3285 if { (eval echo configure:3 286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3397 if { (eval echo configure:3398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3286 3398 then 3287 3399 ac_cv_c_stack_direction=1 … … 3308 3420 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3309 3421 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3310 echo "configure:3 311: checking for $ac_hdr" >&53422 echo "configure:3423: checking for $ac_hdr" >&5 3311 3423 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3312 3424 echo $ac_n "(cached) $ac_c" 1>&6 … … 3314 3426 cat > conftest.$ac_ext <<EOF 3315 3427 #include <sys/types.h> 3316 #line 3 317"configure"3428 #line 3429 "configure" 3317 3429 #include "confdefs.h" 3318 3430 #include <$ac_hdr> 3319 3431 EOF 3320 3432 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3321 { (eval echo configure:3 322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3433 { (eval echo configure:3434: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3322 3434 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3323 3435 if test -z "$ac_err"; then … … 3348 3460 do 3349 3461 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3350 echo "configure:3 351: checking for $ac_func" >&53462 echo "configure:3463: checking for $ac_func" >&5 3351 3463 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3352 3464 echo $ac_n "(cached) $ac_c" 1>&6 3353 3465 else 3354 3466 cat > conftest.$ac_ext <<EOF 3355 #line 3 356"configure"3467 #line 3468 "configure" 3356 3468 #include "confdefs.h" 3357 3469 /* System header to define __stub macros and hopefully few prototypes, … … 3376 3488 ; return 0; } 3377 3489 EOF 3378 if { (eval echo configure:3 379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3490 if { (eval echo configure:3491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3379 3491 rm -rf conftest* 3380 3492 eval "ac_cv_func_$ac_func=yes" … … 3401 3513 3402 3514 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 3403 echo "configure:3 404: checking for working mmap" >&53515 echo "configure:3516: checking for working mmap" >&5 3404 3516 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 3405 3517 echo $ac_n "(cached) $ac_c" 1>&6 … … 3409 3521 else 3410 3522 cat > conftest.$ac_ext <<EOF 3411 #line 3 412"configure"3523 #line 3524 "configure" 3412 3524 #include "confdefs.h" 3413 3525 … … 3549 3661 3550 3662 EOF 3551 if { (eval echo configure:3 552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3663 if { (eval echo configure:3664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3552 3664 then 3553 3665 ac_cv_func_mmap_fixed_mapped=yes … … 3577 3689 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3578 3690 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3579 echo "configure:3 580: checking for $ac_hdr" >&53691 echo "configure:3692: checking for $ac_hdr" >&5 3580 3692 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3581 3693 echo $ac_n "(cached) $ac_c" 1>&6 … … 3583 3695 cat > conftest.$ac_ext <<EOF 3584 3696 #include <sys/types.h> 3585 #line 3 586"configure"3697 #line 3698 "configure" 3586 3698 #include "confdefs.h" 3587 3699 #include <$ac_hdr> 3588 3700 EOF 3589 3701 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3590 { (eval echo configure:3 591: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3702 { (eval echo configure:3703: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3591 3703 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3592 3704 if test -z "$ac_err"; then … … 3618 3730 do 3619 3731 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3620 echo "configure:3 621: checking for $ac_func" >&53732 echo "configure:3733: checking for $ac_func" >&5 3621 3733 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3622 3734 echo $ac_n "(cached) $ac_c" 1>&6 3623 3735 else 3624 3736 cat > conftest.$ac_ext <<EOF 3625 #line 3 626"configure"3737 #line 3738 "configure" 3626 3738 #include "confdefs.h" 3627 3739 /* System header to define __stub macros and hopefully few prototypes, … … 3646 3758 ; return 0; } 3647 3759 EOF 3648 if { (eval echo configure:3 649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3760 if { (eval echo configure:3761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3649 3761 rm -rf conftest* 3650 3762 eval "ac_cv_func_$ac_func=yes" … … 3675 3787 do 3676 3788 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3677 echo "configure:3 678: checking for $ac_func" >&53789 echo "configure:3790: checking for $ac_func" >&5 3678 3790 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3679 3791 echo $ac_n "(cached) $ac_c" 1>&6 3680 3792 else 3681 3793 cat > conftest.$ac_ext <<EOF 3682 #line 3 683"configure"3794 #line 3795 "configure" 3683 3795 #include "confdefs.h" 3684 3796 /* System header to define __stub macros and hopefully few prototypes, … … 3703 3815 ; return 0; } 3704 3816 EOF 3705 if { (eval echo configure:3 706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3817 if { (eval echo configure:3818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3706 3818 rm -rf conftest* 3707 3819 eval "ac_cv_func_$ac_func=yes" … … 3737 3849 if test $ac_cv_header_locale_h = yes; then 3738 3850 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 3739 echo "configure:3 740: checking for LC_MESSAGES" >&53851 echo "configure:3852: checking for LC_MESSAGES" >&5 3740 3852 if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then 3741 3853 echo $ac_n "(cached) $ac_c" 1>&6 3742 3854 else 3743 3855 cat > conftest.$ac_ext <<EOF 3744 #line 3 745"configure"3856 #line 3857 "configure" 3745 3857 #include "confdefs.h" 3746 3858 #include <locale.h> … … 3749 3861 ; return 0; } 3750 3862 EOF 3751 if { (eval echo configure:3 752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3863 if { (eval echo configure:3864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3752 3864 rm -rf conftest* 3753 3865 am_cv_val_LC_MESSAGES=yes … … 3770 3882 fi 3771 3883 echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 3772 echo "configure:3 773: checking whether NLS is requested" >&53884 echo "configure:3885: checking whether NLS is requested" >&5 3773 3885 # Check whether --enable-nls or --disable-nls was given. 3774 3886 if test "${enable_nls+set}" = set; then … … 3790 3902 3791 3903 echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6 3792 echo "configure:3 793: checking whether included gettext is requested" >&53904 echo "configure:3905: checking whether included gettext is requested" >&5 3793 3905 # Check whether --with-included-gettext or --without-included-gettext was given. 3794 3906 if test "${with_included_gettext+set}" = set; then … … 3809 3921 ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'` 3810 3922 echo $ac_n "checking for libintl.h""... $ac_c" 1>&6 3811 echo "configure:3 812: checking for libintl.h" >&53923 echo "configure:3924: checking for libintl.h" >&5 3812 3924 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3813 3925 echo $ac_n "(cached) $ac_c" 1>&6 … … 3815 3927 cat > conftest.$ac_ext <<EOF 3816 3928 #include <sys/types.h> 3817 #line 3 818"configure"3929 #line 3930 "configure" 3818 3930 #include "confdefs.h" 3819 3931 #include <libintl.h> 3820 3932 EOF 3821 3933 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3822 { (eval echo configure:3 823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3934 { (eval echo configure:3935: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3823 3935 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3824 3936 if test -z "$ac_err"; then … … 3837 3949 echo "$ac_t""yes" 1>&6 3838 3950 echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6 3839 echo "configure:3 840: checking for gettext in libc" >&53951 echo "configure:3952: checking for gettext in libc" >&5 3840 3952 if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then 3841 3953 echo $ac_n "(cached) $ac_c" 1>&6 3842 3954 else 3843 3955 cat > conftest.$ac_ext <<EOF 3844 #line 3 845"configure"3956 #line 3957 "configure" 3845 3957 #include "confdefs.h" 3846 3958 #include <libintl.h> … … 3849 3961 ; return 0; } 3850 3962 EOF 3851 if { (eval echo configure:3 852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3963 if { (eval echo configure:3964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3852 3964 rm -rf conftest* 3853 3965 gt_cv_func_gettext_libc=yes … … 3865 3977 if test "$gt_cv_func_gettext_libc" != "yes"; then 3866 3978 echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6 3867 echo "configure:3 868: checking for bindtextdomain in -lintl" >&53979 echo "configure:3980: checking for bindtextdomain in -lintl" >&5 3868 3980 ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'` 3869 3981 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3873 3985 LIBS="-lintl $LIBS" 3874 3986 cat > conftest.$ac_ext <<EOF 3875 #line 3 876"configure"3987 #line 3988 "configure" 3876 3988 #include "confdefs.h" 3877 3989 /* Override any gcc2 internal prototype to avoid an error. */ … … 3884 3996 ; return 0; } 3885 3997 EOF 3886 if { (eval echo configure:3 887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3998 if { (eval echo configure:3999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3887 3999 rm -rf conftest* 3888 4000 eval "ac_cv_lib_$ac_lib_var=yes" … … 3900 4012 echo "$ac_t""yes" 1>&6 3901 4013 echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6 3902 echo "configure: 3903: checking for gettext in libintl" >&54014 echo "configure:4015: checking for gettext in libintl" >&5 3903 4015 if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then 3904 4016 echo $ac_n "(cached) $ac_c" 1>&6 3905 4017 else 3906 4018 cat > conftest.$ac_ext <<EOF 3907 #line 3908"configure"4019 #line 4020 "configure" 3908 4020 #include "confdefs.h" 3909 4021 … … 3912 4024 ; return 0; } 3913 4025 EOF 3914 if { (eval echo configure: 3915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4026 if { (eval echo configure:4027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3915 4027 rm -rf conftest* 3916 4028 gt_cv_func_gettext_libintl=yes … … 3940 4052 set dummy msgfmt; ac_word=$2 3941 4053 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3942 echo "configure: 3943: checking for $ac_word" >&54054 echo "configure:4055: checking for $ac_word" >&5 3943 4055 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then 3944 4056 echo $ac_n "(cached) $ac_c" 1>&6 … … 3974 4086 do 3975 4087 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3976 echo "configure: 3977: checking for $ac_func" >&54088 echo "configure:4089: checking for $ac_func" >&5 3977 4089 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3978 4090 echo $ac_n "(cached) $ac_c" 1>&6 3979 4091 else 3980 4092 cat > conftest.$ac_ext <<EOF 3981 #line 3982"configure"4093 #line 4094 "configure" 3982 4094 #include "confdefs.h" 3983 4095 /* System header to define __stub macros and hopefully few prototypes, … … 4002 4114 ; return 0; } 4003 4115 EOF 4004 if { (eval echo configure:4 005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4116 if { (eval echo configure:4117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4005 4117 rm -rf conftest* 4006 4118 eval "ac_cv_func_$ac_func=yes" … … 4029 4141 set dummy gmsgfmt; ac_word=$2 4030 4142 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4031 echo "configure:4 032: checking for $ac_word" >&54143 echo "configure:4144: checking for $ac_word" >&5 4032 4144 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then 4033 4145 echo $ac_n "(cached) $ac_c" 1>&6 … … 4069 4181 set dummy xgettext; ac_word=$2 4070 4182 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4071 echo "configure:4 072: checking for $ac_word" >&54183 echo "configure:4184: checking for $ac_word" >&5 4072 4184 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then 4073 4185 echo $ac_n "(cached) $ac_c" 1>&6 … … 4101 4213 4102 4214 cat > conftest.$ac_ext <<EOF 4103 #line 4 104"configure"4215 #line 4216 "configure" 4104 4216 #include "confdefs.h" 4105 4217 … … 4109 4221 ; return 0; } 4110 4222 EOF 4111 if { (eval echo configure:4 112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4223 if { (eval echo configure:4224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4112 4224 rm -rf conftest* 4113 4225 CATOBJEXT=.gmo … … 4141 4253 set dummy msgfmt; ac_word=$2 4142 4254 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4143 echo "configure:4 144: checking for $ac_word" >&54255 echo "configure:4256: checking for $ac_word" >&5 4144 4256 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then 4145 4257 echo $ac_n "(cached) $ac_c" 1>&6 … … 4175 4287 set dummy gmsgfmt; ac_word=$2 4176 4288 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4177 echo "configure:4 178: checking for $ac_word" >&54289 echo "configure:4290: checking for $ac_word" >&5 4178 4290 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then 4179 4291 echo $ac_n "(cached) $ac_c" 1>&6 … … 4215 4327 set dummy xgettext; ac_word=$2 4216 4328 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4217 echo "configure:4 218: checking for $ac_word" >&54329 echo "configure:4330: checking for $ac_word" >&5 4218 4330 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then 4219 4331 echo $ac_n "(cached) $ac_c" 1>&6 … … 4305 4417 else 4306 4418 echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 4307 echo "configure:4 308: checking for catalogs to be installed" >&54419 echo "configure:4420: checking for catalogs to be installed" >&5 4308 4420 NEW_LINGUAS= 4309 4421 for lang in ${LINGUAS=$ALL_LINGUAS}; do … … 4333 4445 ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'` 4334 4446 echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6 4335 echo "configure:4 336: checking for linux/version.h" >&54447 echo "configure:4448: checking for linux/version.h" >&5 4336 4448 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4337 4449 echo $ac_n "(cached) $ac_c" 1>&6 … … 4339 4451 cat > conftest.$ac_ext <<EOF 4340 4452 #include <sys/types.h> 4341 #line 4 342"configure"4453 #line 4454 "configure" 4342 4454 #include "confdefs.h" 4343 4455 #include <linux/version.h> 4344 4456 EOF 4345 4457 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4346 { (eval echo configure:4 347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4458 { (eval echo configure:4459: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4347 4459 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4348 4460 if test -z "$ac_err"; then … … 4389 4501 4390 4502 4391 if test - d $srcdir/po; then4503 if test -f $srcdir/po/POTFILES.in; then 4392 4504 test -d po || mkdir po 4393 4505 if test "x$srcdir" != "x."; then 4394 if test "x`echo $srcdir | sed -e 's@.\:/.*@@' -e 's@/.*@@' `" = "x"; then4506 if test "x`echo $srcdir | sed -e 's@.\:/.*@@' -e 's@/.*@@' `" = "x"; then 4395 4507 posrcprefix="$srcdir/" 4396 4508 else … … 4422 4534 # ./install, which can be erroneously created by make from ./install.sh. 4423 4535 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 4424 echo "configure:4 425: checking for a BSD compatible install" >&54536 echo "configure:4537: checking for a BSD compatible install" >&5 4425 4537 if test -z "$INSTALL"; then 4426 4538 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 4507 4619 else 4508 4620 echo $ac_n "checking for build system executable suffix""... $ac_c" 1>&6 4509 echo "configure:4 510: checking for build system executable suffix" >&54621 echo "configure:4622: checking for build system executable suffix" >&5 4510 4622 if eval "test \"`echo '$''{'bfd_cv_build_exeext'+set}'`\" = set"; then 4511 4623 echo $ac_n "(cached) $ac_c" 1>&6 … … 4535 4647 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4536 4648 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4537 echo "configure:4 538: checking for $ac_hdr" >&54649 echo "configure:4650: checking for $ac_hdr" >&5 4538 4650 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4539 4651 echo $ac_n "(cached) $ac_c" 1>&6 … … 4541 4653 cat > conftest.$ac_ext <<EOF 4542 4654 #include <sys/types.h> 4543 #line 4 544"configure"4655 #line 4656 "configure" 4544 4656 #include "confdefs.h" 4545 4657 #include <$ac_hdr> 4546 4658 EOF 4547 4659 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4548 { (eval echo configure:4 549: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4660 { (eval echo configure:4661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4549 4661 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4550 4662 if test -z "$ac_err"; then … … 4576 4688 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4577 4689 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4578 echo "configure:4 579: checking for $ac_hdr" >&54690 echo "configure:4691: checking for $ac_hdr" >&5 4579 4691 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4580 4692 echo $ac_n "(cached) $ac_c" 1>&6 … … 4582 4694 cat > conftest.$ac_ext <<EOF 4583 4695 #include <sys/types.h> 4584 #line 4 585"configure"4696 #line 4697 "configure" 4585 4697 #include "confdefs.h" 4586 4698 #include <$ac_hdr> 4587 4699 EOF 4588 4700 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4589 { (eval echo configure:4 590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4701 { (eval echo configure:4702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4590 4702 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4591 4703 if test -z "$ac_err"; then … … 4614 4726 4615 4727 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 4616 echo "configure:4 617: checking whether time.h and sys/time.h may both be included" >&54728 echo "configure:4729: checking whether time.h and sys/time.h may both be included" >&5 4617 4729 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 4618 4730 echo $ac_n "(cached) $ac_c" 1>&6 4619 4731 else 4620 4732 cat > conftest.$ac_ext <<EOF 4621 #line 4 622"configure"4733 #line 4734 "configure" 4622 4734 #include "confdefs.h" 4623 4735 #include <sys/types.h> … … 4628 4740 ; return 0; } 4629 4741 EOF 4630 if { (eval echo configure:4 631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4742 if { (eval echo configure:4743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4631 4743 rm -rf conftest* 4632 4744 ac_cv_header_time=yes … … 4653 4765 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4654 4766 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 4655 echo "configure:4 656: checking for $ac_hdr that defines DIR" >&54767 echo "configure:4768: checking for $ac_hdr that defines DIR" >&5 4656 4768 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then 4657 4769 echo $ac_n "(cached) $ac_c" 1>&6 4658 4770 else 4659 4771 cat > conftest.$ac_ext <<EOF 4660 #line 4 661"configure"4772 #line 4773 "configure" 4661 4773 #include "confdefs.h" 4662 4774 #include <sys/types.h> … … 4666 4778 ; return 0; } 4667 4779 EOF 4668 if { (eval echo configure:4 669: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4780 if { (eval echo configure:4781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4669 4781 rm -rf conftest* 4670 4782 eval "ac_cv_header_dirent_$ac_safe=yes" … … 4691 4803 if test $ac_header_dirent = dirent.h; then 4692 4804 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 4693 echo "configure:4 694: checking for opendir in -ldir" >&54805 echo "configure:4806: checking for opendir in -ldir" >&5 4694 4806 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` 4695 4807 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4699 4811 LIBS="-ldir $LIBS" 4700 4812 cat > conftest.$ac_ext <<EOF 4701 #line 4 702"configure"4813 #line 4814 "configure" 4702 4814 #include "confdefs.h" 4703 4815 /* Override any gcc2 internal prototype to avoid an error. */ … … 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_lib_$ac_lib_var=yes" … … 4732 4844 else 4733 4845 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 4734 echo "configure:4 735: checking for opendir in -lx" >&54846 echo "configure:4847: checking for opendir in -lx" >&5 4735 4847 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` 4736 4848 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4740 4852 LIBS="-lx $LIBS" 4741 4853 cat > conftest.$ac_ext <<EOF 4742 #line 4 743"configure"4854 #line 4855 "configure" 4743 4855 #include "confdefs.h" 4744 4856 /* Override any gcc2 internal prototype to avoid an error. */ … … 4751 4863 ; return 0; } 4752 4864 EOF 4753 if { (eval echo configure:4 754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4865 if { (eval echo configure:4866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4754 4866 rm -rf conftest* 4755 4867 eval "ac_cv_lib_$ac_lib_var=yes" … … 4776 4888 do 4777 4889 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4778 echo "configure:4 779: checking for $ac_func" >&54890 echo "configure:4891: checking for $ac_func" >&5 4779 4891 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4780 4892 echo $ac_n "(cached) $ac_c" 1>&6 4781 4893 else 4782 4894 cat > conftest.$ac_ext <<EOF 4783 #line 4 784"configure"4895 #line 4896 "configure" 4784 4896 #include "confdefs.h" 4785 4897 /* System header to define __stub macros and hopefully few prototypes, … … 4804 4916 ; return 0; } 4805 4917 EOF 4806 if { (eval echo configure:4 807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4918 if { (eval echo configure:4919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4807 4919 rm -rf conftest* 4808 4920 eval "ac_cv_func_$ac_func=yes" … … 4839 4951 4840 4952 echo $ac_n "checking whether strstr must be declared""... $ac_c" 1>&6 4841 echo "configure:4 842: checking whether strstr must be declared" >&54953 echo "configure:4954: checking whether strstr must be declared" >&5 4842 4954 if eval "test \"`echo '$''{'bfd_cv_decl_needed_strstr'+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_strstr=no … … 4886 4998 4887 4999 echo $ac_n "checking whether malloc must be declared""... $ac_c" 1>&6 4888 echo "configure: 4889: checking whether malloc must be declared" >&55000 echo "configure:5001: checking whether malloc must be declared" >&5 4889 5001 if eval "test \"`echo '$''{'bfd_cv_decl_needed_malloc'+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_malloc=no … … 4933 5045 4934 5046 echo $ac_n "checking whether realloc must be declared""... $ac_c" 1>&6 4935 echo "configure: 4936: checking whether realloc must be declared" >&55047 echo "configure:5048: checking whether realloc must be declared" >&5 4936 5048 if eval "test \"`echo '$''{'bfd_cv_decl_needed_realloc'+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_realloc=no … … 4980 5092 4981 5093 echo $ac_n "checking whether free must be declared""... $ac_c" 1>&6 4982 echo "configure: 4983: checking whether free must be declared" >&55094 echo "configure:5095: checking whether free must be declared" >&5 4983 5095 if eval "test \"`echo '$''{'bfd_cv_decl_needed_free'+set}'`\" = set"; then 4984 5096 echo $ac_n "(cached) $ac_c" 1>&6 4985 5097 else 4986 5098 cat > conftest.$ac_ext <<EOF 4987 #line 4988"configure"5099 #line 5100 "configure" 4988 5100 #include "confdefs.h" 4989 5101 … … 5006 5118 ; return 0; } 5007 5119 EOF 5008 if { (eval echo configure:5 009: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5120 if { (eval echo configure:5121: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5009 5121 rm -rf conftest* 5010 5122 bfd_cv_decl_needed_free=no … … 5027 5139 5028 5140 echo $ac_n "checking whether getenv must be declared""... $ac_c" 1>&6 5029 echo "configure:5 030: checking whether getenv must be declared" >&55141 echo "configure:5142: checking whether getenv must be declared" >&5 5030 5142 if eval "test \"`echo '$''{'bfd_cv_decl_needed_getenv'+set}'`\" = set"; then 5031 5143 echo $ac_n "(cached) $ac_c" 1>&6 5032 5144 else 5033 5145 cat > conftest.$ac_ext <<EOF 5034 #line 5 035"configure"5146 #line 5147 "configure" 5035 5147 #include "confdefs.h" 5036 5148 … … 5053 5165 ; return 0; } 5054 5166 EOF 5055 if { (eval echo configure:5 056: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5167 if { (eval echo configure:5168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5056 5168 rm -rf conftest* 5057 5169 bfd_cv_decl_needed_getenv=no … … 5087 5199 TRAD_HEADER='"hosts/alphalinux.h"' 5088 5200 ;; 5089 alpha*-*-netbsd*) COREFILE=netbsd-core.lo ;; 5201 alpha*-*-netbsd* | alpha*-*-openbsd*) 5202 COREFILE=netbsd-core.lo 5203 ;; 5090 5204 alpha*-*-*) COREFILE=osf-core.lo ;; 5091 5205 arm-*-freebsd*) COREFILE='' ;; 5206 arm-*-netbsd*) COREFILE=netbsd-core.lo ;; 5092 5207 arm-*-riscix) COREFILE=trad-core.lo ;; 5093 5208 hppa*-*-hpux*) COREFILE=hpux-core.lo ;; … … 5096 5211 hppa*-*-bsd*) COREFILE="hpux-core.lo hppabsd-core.lo" 5097 5212 COREFLAG="-DHPUX_CORE -DHPPABSD_CORE" ;; 5098 i370-*-*) 5213 i370-*-*) 5099 5214 COREFILE=trad-core.lo 5100 5215 TRAD_HEADER='"hosts/i370linux.h"' … … 5110 5225 TRAD_HEADER='"hosts/symmetry.h"' 5111 5226 ;; 5112 i[3456]86-*-bsd* | i[34567]86-*-freebsd[1234] | i[34567]86-*-freebsd[1234]\.* | i[34567]86-*-freebsd*aout*) 5227 i[3456]86-*-bsdi) 5228 COREFILE= 5229 ;; 5230 i[3456]86-*-bsd* | i[34567]86-*-freebsd[123] | i[34567]86-*-freebsd[123]\.* | i[34567]86-*-freebsd4\.[01234]* | i[34567]86-*-freebsd*aout*) 5113 5231 COREFILE=trad-core.lo 5114 5232 TRAD_HEADER='"hosts/i386bsd.h"' … … 5212 5330 TRAD_HEADER='"hosts/m68kaux.h"' 5213 5331 ;; 5214 m88*-*-sysv4*) ;; 5215 m88*-motorola-sysv*) COREFILE=ptrace-core.lo ;; 5332 m88*-*-sysv4*) 5333 ;; 5334 m88*-motorola-sysv*) 5335 COREFILE=ptrace-core.lo 5336 ;; 5216 5337 m88*-*-mach3*) 5217 5338 COREFILE=trad-core.lo … … 5225 5346 COREFILE=netbsd-core.lo 5226 5347 ;; 5227 rs6000-*-lynx*) COREFILE=lynx-core.lo ;; 5348 rs6000-*-lynx*) 5349 COREFILE=lynx-core.lo 5350 ;; 5351 rs6000-*-aix5.* | powerpc-*-aix5.*) 5352 COREFILE=rs6000-core.lo 5353 COREFLAG="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE" 5354 ;; 5228 5355 rs6000-*-aix4.[3-9]* | powerpc-*-aix4.[3-9]*) 5229 5356 COREFILE=rs6000-core.lo 5230 5357 COREFLAG="$COREFLAG -DAIX_CORE_DUMPX_CORE" 5358 # Not all versions of AIX with -DAIX_CORE_DUMPX_CORE 5359 # have c_impl as a member of struct core_dumpx 5360 echo $ac_n "checking for c_impl in struct core_dumpx""... $ac_c" 1>&6 5361 echo "configure:5362: checking for c_impl in struct core_dumpx" >&5 5362 cat > conftest.$ac_ext <<EOF 5363 #line 5364 "configure" 5364 #include "confdefs.h" 5365 #include <core.h> 5366 int main() { 5367 struct core_dumpx c; c.c_impl = 0; 5368 ; return 0; } 5369 EOF 5370 if { (eval echo configure:5371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5371 rm -rf conftest* 5372 cat >> confdefs.h <<\EOF 5373 #define HAVE_ST_C_IMPL 1 5374 EOF 5375 5376 echo "$ac_t""yes" 1>&6 5377 else 5378 echo "configure: failed program was:" >&5 5379 cat conftest.$ac_ext >&5 5380 rm -rf conftest* 5381 echo "$ac_t""no" 1>&6 5382 fi 5383 rm -f conftest* 5231 5384 ;; 5232 5385 rs6000-*-aix4*) COREFILE=rs6000-core.lo ;; … … 5238 5391 powerpc-*-netbsd*) COREFILE=netbsd-core.lo ;; 5239 5392 powerpc-*-*bsd*) COREFILE=netbsd-core.lo ;; 5240 sparc-*-netbsd* | sparc-*-openbsd*) 5393 s390*-*-*) COREFILE=trad-core.lo ;; 5394 sh*-*-netbsd*) COREFILE=netbsd-core.lo ;; 5395 sparc-*-netbsd* | sparc*-*-openbsd*) 5241 5396 COREFILE=netbsd-core.lo 5242 5397 ;; … … 5245 5400 TRAD_HEADER='"hosts/tahoe.h"' 5246 5401 ;; 5402 vax-*-netbsd*) COREFILE=netbsd-core.lo ;; 5247 5403 vax-*-ultrix2*) 5248 5404 COREFILE=trad-core.lo … … 5257 5413 TRAD_HEADER='"hosts/vaxbsd.h"' 5258 5414 ;; 5415 x86_64-*-netbsd*) COREFILE=netbsd-core.lo ;; 5259 5416 esac 5260 5417 … … 5279 5436 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5280 5437 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5281 echo "configure:5 282: checking for $ac_hdr" >&55438 echo "configure:5439: checking for $ac_hdr" >&5 5282 5439 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5283 5440 echo $ac_n "(cached) $ac_c" 1>&6 … … 5285 5442 cat > conftest.$ac_ext <<EOF 5286 5443 #include <sys/types.h> 5287 #line 5 288"configure"5444 #line 5445 "configure" 5288 5445 #include "confdefs.h" 5289 5446 #include <$ac_hdr> 5290 5447 EOF 5291 5448 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5292 { (eval echo configure:5 293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }5449 { (eval echo configure:5450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5293 5450 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5294 5451 if test -z "$ac_err"; then … … 5318 5475 if test "$ac_cv_header_sys_procfs_h" = yes; then 5319 5476 echo $ac_n "checking for prstatus_t in sys/procfs.h""... $ac_c" 1>&6 5320 echo "configure:5 321: checking for prstatus_t in sys/procfs.h" >&55477 echo "configure:5478: checking for prstatus_t in sys/procfs.h" >&5 5321 5478 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prstatus_t'+set}'`\" = set"; then 5322 5479 echo $ac_n "(cached) $ac_c" 1>&6 5323 5480 else 5324 5481 cat > conftest.$ac_ext <<EOF 5325 #line 5 326"configure"5482 #line 5483 "configure" 5326 5483 #include "confdefs.h" 5327 5484 … … 5332 5489 ; return 0; } 5333 5490 EOF 5334 if { (eval echo configure:5 335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5491 if { (eval echo configure:5492: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5335 5492 rm -rf conftest* 5336 5493 bfd_cv_have_sys_procfs_type_prstatus_t=yes … … 5354 5511 5355 5512 echo $ac_n "checking for prstatus32_t in sys/procfs.h""... $ac_c" 1>&6 5356 echo "configure:5 357: checking for prstatus32_t in sys/procfs.h" >&55513 echo "configure:5514: checking for prstatus32_t in sys/procfs.h" >&5 5357 5514 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prstatus32_t'+set}'`\" = set"; then 5358 5515 echo $ac_n "(cached) $ac_c" 1>&6 5359 5516 else 5360 5517 cat > conftest.$ac_ext <<EOF 5361 #line 5 362"configure"5518 #line 5519 "configure" 5362 5519 #include "confdefs.h" 5363 5520 … … 5368 5525 ; return 0; } 5369 5526 EOF 5370 if { (eval echo configure:5 371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5527 if { (eval echo configure:5528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5371 5528 rm -rf conftest* 5372 5529 bfd_cv_have_sys_procfs_type_prstatus32_t=yes … … 5390 5547 5391 5548 echo $ac_n "checking for prstatus_t.pr_who in sys/procfs.h""... $ac_c" 1>&6 5392 echo "configure:5 393: checking for prstatus_t.pr_who in sys/procfs.h" >&55549 echo "configure:5550: checking for prstatus_t.pr_who in sys/procfs.h" >&5 5393 5550 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who'+set}'`\" = set"; then 5394 5551 echo $ac_n "(cached) $ac_c" 1>&6 5395 5552 else 5396 5553 cat > conftest.$ac_ext <<EOF 5397 #line 5 398"configure"5554 #line 5555 "configure" 5398 5555 #include "confdefs.h" 5399 5556 … … 5404 5561 ; return 0; } 5405 5562 EOF 5406 if { (eval echo configure:5 407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5563 if { (eval echo configure:5564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5407 5564 rm -rf conftest* 5408 5565 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=yes … … 5426 5583 5427 5584 echo $ac_n "checking for prstatus32_t.pr_who in sys/procfs.h""... $ac_c" 1>&6 5428 echo "configure:5 429: checking for prstatus32_t.pr_who in sys/procfs.h" >&55585 echo "configure:5586: checking for prstatus32_t.pr_who in sys/procfs.h" >&5 5429 5586 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who'+set}'`\" = set"; then 5430 5587 echo $ac_n "(cached) $ac_c" 1>&6 5431 5588 else 5432 5589 cat > conftest.$ac_ext <<EOF 5433 #line 5 434"configure"5590 #line 5591 "configure" 5434 5591 #include "confdefs.h" 5435 5592 … … 5440 5597 ; return 0; } 5441 5598 EOF 5442 if { (eval echo configure:5 443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5599 if { (eval echo configure:5600: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5443 5600 rm -rf conftest* 5444 5601 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=yes … … 5462 5619 5463 5620 echo $ac_n "checking for pstatus_t in sys/procfs.h""... $ac_c" 1>&6 5464 echo "configure:5 465: checking for pstatus_t in sys/procfs.h" >&55621 echo "configure:5622: checking for pstatus_t in sys/procfs.h" >&5 5465 5622 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pstatus_t'+set}'`\" = set"; then 5466 5623 echo $ac_n "(cached) $ac_c" 1>&6 5467 5624 else 5468 5625 cat > conftest.$ac_ext <<EOF 5469 #line 5 470"configure"5626 #line 5627 "configure" 5470 5627 #include "confdefs.h" 5471 5628 … … 5476 5633 ; return 0; } 5477 5634 EOF 5478 if { (eval echo configure:5 479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5635 if { (eval echo configure:5636: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5479 5636 rm -rf conftest* 5480 5637 bfd_cv_have_sys_procfs_type_pstatus_t=yes … … 5498 5655 5499 5656 echo $ac_n "checking for pxstatus_t in sys/procfs.h""... $ac_c" 1>&6 5500 echo "configure:5 501: checking for pxstatus_t in sys/procfs.h" >&55657 echo "configure:5658: checking for pxstatus_t in sys/procfs.h" >&5 5501 5658 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pxstatus_t'+set}'`\" = set"; then 5502 5659 echo $ac_n "(cached) $ac_c" 1>&6 5503 5660 else 5504 5661 cat > conftest.$ac_ext <<EOF 5505 #line 5 506"configure"5662 #line 5663 "configure" 5506 5663 #include "confdefs.h" 5507 5664 … … 5512 5669 ; return 0; } 5513 5670 EOF 5514 if { (eval echo configure:5 515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5671 if { (eval echo configure:5672: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5515 5672 rm -rf conftest* 5516 5673 bfd_cv_have_sys_procfs_type_pxstatus_t=yes … … 5534 5691 5535 5692 echo $ac_n "checking for pstatus32_t in sys/procfs.h""... $ac_c" 1>&6 5536 echo "configure:5 537: checking for pstatus32_t in sys/procfs.h" >&55693 echo "configure:5694: checking for pstatus32_t in sys/procfs.h" >&5 5537 5694 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pstatus32_t'+set}'`\" = set"; then 5538 5695 echo $ac_n "(cached) $ac_c" 1>&6 5539 5696 else 5540 5697 cat > conftest.$ac_ext <<EOF 5541 #line 5 542"configure"5698 #line 5699 "configure" 5542 5699 #include "confdefs.h" 5543 5700 … … 5548 5705 ; return 0; } 5549 5706 EOF 5550 if { (eval echo configure:5 551: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5707 if { (eval echo configure:5708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5551 5708 rm -rf conftest* 5552 5709 bfd_cv_have_sys_procfs_type_pstatus32_t=yes … … 5570 5727 5571 5728 echo $ac_n "checking for prpsinfo_t in sys/procfs.h""... $ac_c" 1>&6 5572 echo "configure:5 573: checking for prpsinfo_t in sys/procfs.h" >&55729 echo "configure:5730: checking for prpsinfo_t in sys/procfs.h" >&5 5573 5730 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prpsinfo_t'+set}'`\" = set"; then 5574 5731 echo $ac_n "(cached) $ac_c" 1>&6 5575 5732 else 5576 5733 cat > conftest.$ac_ext <<EOF 5577 #line 5 578"configure"5734 #line 5735 "configure" 5578 5735 #include "confdefs.h" 5579 5736 … … 5584 5741 ; return 0; } 5585 5742 EOF 5586 if { (eval echo configure:5 587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5743 if { (eval echo configure:5744: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5587 5744 rm -rf conftest* 5588 5745 bfd_cv_have_sys_procfs_type_prpsinfo_t=yes … … 5606 5763 5607 5764 echo $ac_n "checking for prpsinfo32_t in sys/procfs.h""... $ac_c" 1>&6 5608 echo "configure:5 609: checking for prpsinfo32_t in sys/procfs.h" >&55765 echo "configure:5766: checking for prpsinfo32_t in sys/procfs.h" >&5 5609 5766 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prpsinfo32_t'+set}'`\" = set"; then 5610 5767 echo $ac_n "(cached) $ac_c" 1>&6 5611 5768 else 5612 5769 cat > conftest.$ac_ext <<EOF 5613 #line 5 614"configure"5770 #line 5771 "configure" 5614 5771 #include "confdefs.h" 5615 5772 … … 5620 5777 ; return 0; } 5621 5778 EOF 5622 if { (eval echo configure:5 623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5779 if { (eval echo configure:5780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5623 5780 rm -rf conftest* 5624 5781 bfd_cv_have_sys_procfs_type_prpsinfo32_t=yes … … 5642 5799 5643 5800 echo $ac_n "checking for psinfo_t in sys/procfs.h""... $ac_c" 1>&6 5644 echo "configure:5 645: checking for psinfo_t in sys/procfs.h" >&55801 echo "configure:5802: checking for psinfo_t in sys/procfs.h" >&5 5645 5802 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_psinfo_t'+set}'`\" = set"; then 5646 5803 echo $ac_n "(cached) $ac_c" 1>&6 5647 5804 else 5648 5805 cat > conftest.$ac_ext <<EOF 5649 #line 5 650"configure"5806 #line 5807 "configure" 5650 5807 #include "confdefs.h" 5651 5808 … … 5656 5813 ; return 0; } 5657 5814 EOF 5658 if { (eval echo configure:5 659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5815 if { (eval echo configure:5816: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5659 5816 rm -rf conftest* 5660 5817 bfd_cv_have_sys_procfs_type_psinfo_t=yes … … 5678 5835 5679 5836 echo $ac_n "checking for psinfo32_t in sys/procfs.h""... $ac_c" 1>&6 5680 echo "configure:5 681: checking for psinfo32_t in sys/procfs.h" >&55837 echo "configure:5838: checking for psinfo32_t in sys/procfs.h" >&5 5681 5838 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_psinfo32_t'+set}'`\" = set"; then 5682 5839 echo $ac_n "(cached) $ac_c" 1>&6 5683 5840 else 5684 5841 cat > conftest.$ac_ext <<EOF 5685 #line 5 686"configure"5842 #line 5843 "configure" 5686 5843 #include "confdefs.h" 5687 5844 … … 5692 5849 ; return 0; } 5693 5850 EOF 5694 if { (eval echo configure:5 695: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5851 if { (eval echo configure:5852: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5695 5852 rm -rf conftest* 5696 5853 bfd_cv_have_sys_procfs_type_psinfo32_t=yes … … 5714 5871 5715 5872 echo $ac_n "checking for lwpstatus_t in sys/procfs.h""... $ac_c" 1>&6 5716 echo "configure:5 717: checking for lwpstatus_t in sys/procfs.h" >&55873 echo "configure:5874: checking for lwpstatus_t in sys/procfs.h" >&5 5717 5874 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_lwpstatus_t'+set}'`\" = set"; then 5718 5875 echo $ac_n "(cached) $ac_c" 1>&6 5719 5876 else 5720 5877 cat > conftest.$ac_ext <<EOF 5721 #line 5 722"configure"5878 #line 5879 "configure" 5722 5879 #include "confdefs.h" 5723 5880 … … 5728 5885 ; return 0; } 5729 5886 EOF 5730 if { (eval echo configure:5 731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5887 if { (eval echo configure:5888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5731 5888 rm -rf conftest* 5732 5889 bfd_cv_have_sys_procfs_type_lwpstatus_t=yes … … 5750 5907 5751 5908 echo $ac_n "checking for lwpxstatus_t in sys/procfs.h""... $ac_c" 1>&6 5752 echo "configure:5 753: checking for lwpxstatus_t in sys/procfs.h" >&55909 echo "configure:5910: checking for lwpxstatus_t in sys/procfs.h" >&5 5753 5910 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_lwpxstatus_t'+set}'`\" = set"; then 5754 5911 echo $ac_n "(cached) $ac_c" 1>&6 5755 5912 else 5756 5913 cat > conftest.$ac_ext <<EOF 5757 #line 5 758"configure"5914 #line 5915 "configure" 5758 5915 #include "confdefs.h" 5759 5916 … … 5764 5921 ; return 0; } 5765 5922 EOF 5766 if { (eval echo configure:5 767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5923 if { (eval echo configure:5924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5767 5924 rm -rf conftest* 5768 5925 bfd_cv_have_sys_procfs_type_lwpxstatus_t=yes … … 5786 5943 5787 5944 echo $ac_n "checking for lwpstatus_t.pr_context in sys/procfs.h""... $ac_c" 1>&6 5788 echo "configure:5 789: checking for lwpstatus_t.pr_context in sys/procfs.h" >&55945 echo "configure:5946: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5 5789 5946 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context'+set}'`\" = set"; then 5790 5947 echo $ac_n "(cached) $ac_c" 1>&6 5791 5948 else 5792 5949 cat > conftest.$ac_ext <<EOF 5793 #line 5 794"configure"5950 #line 5951 "configure" 5794 5951 #include "confdefs.h" 5795 5952 … … 5800 5957 ; return 0; } 5801 5958 EOF 5802 if { (eval echo configure:5 803: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5959 if { (eval echo configure:5960: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5803 5960 rm -rf conftest* 5804 5961 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=yes … … 5822 5979 5823 5980 echo $ac_n "checking for lwpstatus_t.pr_reg in sys/procfs.h""... $ac_c" 1>&6 5824 echo "configure:5 825: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&55981 echo "configure:5982: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5 5825 5982 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg'+set}'`\" = set"; then 5826 5983 echo $ac_n "(cached) $ac_c" 1>&6 5827 5984 else 5828 5985 cat > conftest.$ac_ext <<EOF 5829 #line 5 830"configure"5986 #line 5987 "configure" 5830 5987 #include "confdefs.h" 5831 5988 … … 5836 5993 ; return 0; } 5837 5994 EOF 5838 if { (eval echo configure:5 839: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5995 if { (eval echo configure:5996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5839 5996 rm -rf conftest* 5840 5997 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=yes … … 5858 6015 5859 6016 echo $ac_n "checking for win32_pstatus_t in sys/procfs.h""... $ac_c" 1>&6 5860 echo "configure: 5861: checking for win32_pstatus_t in sys/procfs.h" >&56017 echo "configure:6018: checking for win32_pstatus_t in sys/procfs.h" >&5 5861 6018 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_win32_pstatus_t'+set}'`\" = set"; then 5862 6019 echo $ac_n "(cached) $ac_c" 1>&6 5863 6020 else 5864 6021 cat > conftest.$ac_ext <<EOF 5865 #line 5866"configure"6022 #line 6023 "configure" 5866 6023 #include "confdefs.h" 5867 6024 … … 5872 6029 ; return 0; } 5873 6030 EOF 5874 if { (eval echo configure: 5875: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then6031 if { (eval echo configure:6032: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5875 6032 rm -rf conftest* 5876 6033 bfd_cv_have_sys_procfs_type_win32_pstatus_t=yes … … 5920 6077 fi 5921 6078 ;; 6079 *-*-linux*) 6080 # We borrow WIN32LIBADD so that the shared libbfd won't depend on 6081 # libiberty.a. 6082 case "${host}" in 6083 mips*-*-linux*) 6084 # Linux/MIPS uses PIC by default. 6085 if test "$enable_shared" = "yes"; then 6086 WIN32LIBADD="-L../libiberty -liberty" 6087 fi 6088 ;; 6089 *) 6090 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'` 6091 if test -n "$x"; then 6092 WIN32LIBADD="-L../libiberty/pic -liberty" 6093 fi 6094 ;; 6095 esac 6096 ;; 5922 6097 esac 5923 6098 … … 5943 6118 defvec= 5944 6119 selvecs= 6120 assocvecs= 5945 6121 selarchs= 5946 6122 TDEFINES= … … 5949 6125 if test "x$targ" = "xall"; then 5950 6126 all_targets=true 6127 assocvecs="$assocvecs $targ_defvec $targ_selvecs" 5951 6128 else 5952 6129 . $srcdir/config.bfd … … 5979 6156 5980 6157 6158 # uniq the associated vectors in all the configured targets. 6159 f="" 6160 for i in $assocvecs ; do 6161 case " $f " in 6162 *" $i "*) ;; 6163 *) f="$f $i" ;; 6164 esac 6165 done 6166 assocvecs="$f" 6167 6168 5981 6169 # uniq the architectures in all the configured targets. 5982 6170 f="" … … 5992 6180 tb= 5993 6181 5994 elf="elf.lo elflink.lo dwarf1.lo"6182 elf="elf.lo elflink.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo" 5995 6183 5996 6184 for vec in $selvecs 5997 6185 do 6186 target_size=32 5998 6187 case "$vec" in 5999 6188 # This list is alphabetized to make it easy to compare 6000 # with the two vector lists in targets.c. 6189 # with the two vector lists in targets.c. For the same reason, 6190 # use one entry per line, even though this leads to long lines. 6001 6191 a29kcoff_big_vec) tb="$tb coff-a29k.lo cofflink.lo" ;; 6002 6192 a_out_adobe_vec) tb="$tb aout-adobe.lo aout32.lo" ;; 6003 armcoff_little_vec) tb="$tb coff-arm.lo cofflink.lo " ;; 6004 armcoff_big_vec) tb="$tb coff-arm.lo cofflink.lo " ;; 6005 armnetbsd_vec) tb="$tb armnetbsd.lo aout32.lo" ;; 6006 armpe_little_vec) tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;; 6007 armpe_big_vec) tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;; 6008 armpei_little_vec) tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;; 6009 armpei_big_vec) tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;; 6010 arm_epoc_pe_little_vec) tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;; 6011 arm_epoc_pe_big_vec) tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;; 6012 arm_epoc_pei_little_vec) tb="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;; 6013 arm_epoc_pei_big_vec) tb="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;; 6193 aix5coff64_vec) tb="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size=64 ;; 6014 6194 aout0_big_vec) tb="$tb aout0.lo aout32.lo" ;; 6015 6195 aout_arm_big_vec) tb="$tb aout-arm.lo aout32.lo" ;; … … 6018 6198 aout_mips_little_vec) tb="$tb mipsbsd.lo aout32.lo" ;; 6019 6199 apollocoff_vec) tb="$tb coff-apollo.lo" ;; 6200 arm_epoc_pe_big_vec) tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;; 6201 arm_epoc_pe_little_vec) tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;; 6202 arm_epoc_pei_big_vec) tb="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;; 6203 arm_epoc_pei_little_vec) tb="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;; 6204 armcoff_big_vec) tb="$tb coff-arm.lo cofflink.lo " ;; 6205 armcoff_little_vec) tb="$tb coff-arm.lo cofflink.lo " ;; 6206 armnetbsd_vec) tb="$tb armnetbsd.lo aout32.lo" ;; 6207 armpe_big_vec) tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;; 6208 armpe_little_vec) tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;; 6209 armpei_big_vec) tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;; 6210 armpei_little_vec) tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;; 6020 6211 b_out_vec_big_host) tb="$tb bout.lo aout32.lo" ;; 6021 6212 b_out_vec_little_host) tb="$tb bout.lo aout32.lo" ;; 6022 6213 bfd_efi_app_ia32_vec) tb="$tb efi-app-ia32.lo peigen.lo cofflink.lo" ;; 6023 bfd_efi_app_ia64_vec) tb="$tb efi-app-ia64.lo pepigen.lo cofflink.lo" 6024 target64=true ;; 6025 bfd_elf64_alpha_vec) tb="$tb elf64-alpha.lo elf64.lo $elf" 6026 target64=true ;; 6027 bfd_elf64_hppa_vec | bfd_elf64_hppa_linux_vec) 6028 tb="$tb elf64-hppa.lo elf64.lo $elf" 6029 target64=true ;; 6030 bfd_elf64_ia64_little_vec) tb="$tb elf64-ia64.lo elf64.lo $elf" 6031 target64=true ;; 6032 bfd_elf64_ia64_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf" 6033 target64=true ;; 6034 bfd_elf32_ia64_big_vec) tb="$tb elf32-ia64.lo elf32.lo $elf" ;; 6214 bfd_efi_app_ia64_vec) tb="$tb efi-app-ia64.lo pepigen.lo cofflink.lo"; target_size=64 ;; 6035 6215 bfd_elf32_avr_vec) tb="$tb elf32-avr.lo elf32.lo $elf" ;; 6036 bfd_elf32_littlearc_vec) tb="$tb elf32-arc.lo elf32.lo $elf" ;; 6037 bfd_elf32_littlearm_vec) tb="$tb elfarm-nabi.lo elf32.lo $elf" ;; 6038 bfd_elf32_littlearm_oabi_vec) tb="$tb elfarm-oabi.lo elf32.lo $elf" ;; 6216 bfd_elf32_big_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;; 6039 6217 bfd_elf32_bigarc_vec) tb="$tb elf32-arc.lo elf32.lo $elf" ;; 6218 bfd_elf32_bigarm_oabi_vec) tb="$tb elfarm-oabi.lo elf32.lo $elf" ;; 6040 6219 bfd_elf32_bigarm_vec) tb="$tb elfarm-nabi.lo elf32.lo $elf" ;; 6041 bfd_elf32_bigarm_oabi_vec) tb="$tb elfarm-oabi.lo elf32.lo $elf" ;; 6042 bfd_elf32_big_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;; 6043 bfd_elf32_bigmips_vec) tb="$tb elf32-mips.lo elf32.lo $elf ecofflink.lo" ;; 6044 bfd_elf64_bigmips_vec) tb="$tb elf64-mips.lo elf64.lo elf32-mips.lo elf32.lo $elf ecofflink.lo" 6045 target64=true ;; 6220 bfd_elf32_bigmips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;; 6046 6221 bfd_elf32_cris_vec) tb="$tb elf32-cris.lo elf32.lo $elf" ;; 6047 bfd_elf32_us_cris_vec) tb="$tb elf32-cris.lo elf32.lo $elf" ;;6048 6222 bfd_elf32_d10v_vec) tb="$tb elf32-d10v.lo elf32.lo $elf" ;; 6049 6223 bfd_elf32_d30v_vec) tb="$tb elf32-d30v.lo elf32.lo $elf" ;; 6224 bfd_elf32_dlx_big_vec) tb="$tb elf32-dlx.lo elf32.lo $elf" ;; 6050 6225 bfd_elf32_fr30_vec) tb="$tb elf32-fr30.lo elf32.lo $elf" ;; 6051 bfd_elf32_hppa_vec | bfd_elf32_hppa_linux_vec) 6052 tb="$tb elf32-hppa.lo elf32.lo $elf" ;; 6226 bfd_elf32_frv_vec) tb="$tb elf32-frv.lo elf32.lo $elf" ;; 6227 bfd_elf32_h8300_vec) tb="$tb elf32-h8300.lo elf32.lo $elf" ;; 6228 bfd_elf32_hppa_linux_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;; 6229 bfd_elf32_hppa_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;; 6053 6230 bfd_elf32_i370_vec) tb="$tb elf32-i370.lo elf32.lo $elf" ;; 6231 bfd_elf32_i386_freebsd_vec) tb="$tb elf32-i386.lo elf32.lo $elf" ;; 6054 6232 bfd_elf32_i386_vec) tb="$tb elf32-i386.lo elf32.lo $elf" ;; 6055 bfd_elf64_x86_64_vec) tb="$tb elf64-x86-64.lo elf64.lo $elf" 6056 target64=true ;; 6233 bfd_elf32_i860_little_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;; 6057 6234 bfd_elf32_i860_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;; 6058 bfd_elf32_i860_little_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;;6059 6235 bfd_elf32_i960_vec) tb="$tb elf32-i960.lo elf32.lo $elf" ;; 6236 bfd_elf32_ia64_big_vec) tb="$tb elf32-ia64.lo elf32.lo $elf" ;; 6237 bfd_elf32_ia64_hpux_big_vec) tb="$tb elf32-ia64.lo elf32.lo $elf";; 6238 bfd_elf32_ip2k_vec) tb="$tb elf32-ip2k.lo elf32.lo $elf" ;; 6239 bfd_elf32_iq2000_vec) tb="$tb elf32-iq2000.lo elf32.lo $elf" ;; 6060 6240 bfd_elf32_little_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;; 6061 bfd_elf32_littlemips_vec) tb="$tb elf32-mips.lo elf32.lo $elf ecofflink.lo" ;; 6062 bfd_elf64_littlemips_vec) tb="$tb elf64-mips.lo elf64.lo elf32-mips.lo elf32.lo $elf ecofflink.lo" 6063 target64=true ;; 6241 bfd_elf32_littlearc_vec) tb="$tb elf32-arc.lo elf32.lo $elf" ;; 6242 bfd_elf32_littlearm_oabi_vec) tb="$tb elfarm-oabi.lo elf32.lo $elf" ;; 6243 bfd_elf32_littlearm_vec) tb="$tb elfarm-nabi.lo elf32.lo $elf" ;; 6244 bfd_elf32_littlemips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;; 6064 6245 bfd_elf32_m32r_vec) tb="$tb elf32-m32r.lo elf32.lo $elf" ;; 6065 bfd_elf32_m68hc11_vec) tb="$tb elf32-m68hc11.lo elf32 .lo $elf" ;;6066 bfd_elf32_m68hc12_vec) tb="$tb elf32-m68hc12.lo elf32 .lo $elf" ;;6246 bfd_elf32_m68hc11_vec) tb="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;; 6247 bfd_elf32_m68hc12_vec) tb="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;; 6067 6248 bfd_elf32_m68k_vec) tb="$tb elf32-m68k.lo elf32.lo $elf" ;; 6068 6249 bfd_elf32_m88k_vec) tb="$tb elf32-m88k.lo elf32.lo $elf" ;; … … 6071 6252 bfd_elf32_mn10200_vec) tb="$tb elf-m10200.lo elf32.lo $elf" ;; 6072 6253 bfd_elf32_mn10300_vec) tb="$tb elf-m10300.lo elf32.lo $elf" ;; 6254 bfd_elf32_msp430_vec) tb="$tb elf32-msp430.lo elf32.lo $elf" ;; 6255 bfd_elf32_nbigmips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; 6256 bfd_elf32_nlittlemips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; 6257 bfd_elf32_ntradbigmips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; 6258 bfd_elf32_ntradlittlemips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; 6259 bfd_elf32_openrisc_vec) tb="$tb elf32-openrisc.lo elf32.lo $elf" ;; 6260 bfd_elf32_or32_big_vec) tb="$tb elf32-or32.lo elf32.lo $elf" ;; 6073 6261 bfd_elf32_pj_vec) tb="$tb elf32-pj.lo elf32.lo $elf";; 6074 6262 bfd_elf32_pjl_vec) tb="$tb elf32-pj.lo elf32.lo $elf";; 6075 6263 bfd_elf32_powerpc_vec) tb="$tb elf32-ppc.lo elf32.lo $elf" ;; 6076 6264 bfd_elf32_powerpcle_vec) tb="$tb elf32-ppc.lo elf32.lo $elf" ;; 6265 bfd_elf32_s390_vec) tb="$tb elf32-s390.lo elf32.lo $elf" ;; 6266 # FIXME: We include cofflink.lo not because it's needed for 6267 # bfd_elf32_sh64[l]_vec, but because we include bfd_elf32_sh[l]_vec 6268 # which needs it but does not list it. Should be fixed in right place. 6269 bfd_elf32_sh64_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size=64 ;; 6270 bfd_elf32_sh64l_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size=64 ;; 6271 bfd_elf32_sh64lin_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size=64 ;; 6272 bfd_elf32_sh64blin_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size=64 ;; 6273 bfd_elf32_sh64lnbsd_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" ;; 6274 bfd_elf32_sh64nbsd_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" ;; 6077 6275 bfd_elf32_sh_vec) tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo" ;; 6276 bfd_elf32_shblin_vec) tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;; 6078 6277 bfd_elf32_shl_vec) tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo" ;; 6079 bfd_elf32_shlin_vec) tb="$tb elf32-sh-lin.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;; 6080 bfd_elf32_shblin_vec) tb="$tb elf32-sh-lin.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;; 6278 bfd_elf32_shlin_vec) tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;; 6279 bfd_elf32_shlnbsd_vec) tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;; 6280 bfd_elf32_shnbsd_vec) tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;; 6081 6281 bfd_elf32_sparc_vec) tb="$tb elf32-sparc.lo elf32.lo $elf" ;; 6082 bfd_elf32_tradbigmips_vec) tb="$tb elf32-mips.lo elf32.lo $elf ecofflink.lo" ;; 6083 bfd_elf32_tradlittlemips_vec) tb="$tb elf32-mips.lo elf32.lo $elf ecofflink.lo" ;; 6282 bfd_elf32_tradbigmips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;; 6283 bfd_elf32_tradlittlemips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;; 6284 bfd_elf32_us_cris_vec) tb="$tb elf32-cris.lo elf32.lo $elf" ;; 6084 6285 bfd_elf32_v850_vec) tb="$tb elf32-v850.lo elf32.lo $elf" ;; 6085 bfd_elf64_big_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf" 6086 target64=true ;; 6087 bfd_elf64_little_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf" 6088 target64=true ;; 6089 bfd_elf64_sparc_vec) tb="$tb elf64-sparc.lo elf64.lo $elf" 6090 target64=true ;; 6091 bfd_elf64_tradbigmips_vec) tb="$tb elf64-mips.lo elf64.lo $elf ecofflink.lo" 6092 target64=true ;; 6093 bfd_elf64_tradlittlemips_vec) tb="$tb elf64-mips.lo elf64.lo $elf ecofflink.lo" 6094 target64=true ;; 6095 cisco_core_big_vec) tb="$tb cisco-core.lo" ;; 6096 cisco_core_little_vec) tb="$tb cisco-core.lo" ;; 6286 bfd_elf32_vax_vec) tb="$tb elf32-vax.lo elf32.lo $elf" ;; 6287 bfd_elf32_xstormy16_vec) tb="$tb elf32-xstormy16.lo elf32.lo $elf" ;; 6288 bfd_elf32_xtensa_le_vec) tb="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;; 6289 bfd_elf32_xtensa_be_vec) tb="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;; 6290 bfd_elf64_alpha_freebsd_vec) tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;; 6291 bfd_elf64_alpha_vec) tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;; 6292 bfd_elf64_big_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;; 6293 bfd_elf64_bigmips_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; 6294 bfd_elf64_hppa_linux_vec) tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;; 6295 bfd_elf64_hppa_vec) tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;; 6296 bfd_elf64_ia64_aix_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;; 6297 bfd_elf64_ia64_aix_little_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;; 6298 bfd_elf64_ia64_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;; 6299 bfd_elf64_ia64_hpux_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;; 6300 bfd_elf64_ia64_little_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;; 6301 bfd_elf64_little_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;; 6302 bfd_elf64_littlemips_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; 6303 bfd_elf64_mmix_vec) tb="$tb elf64-mmix.lo elf64.lo $elf" target_size=64 ;; 6304 bfd_elf64_powerpc_vec) tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size=64 ;; 6305 bfd_elf64_powerpcle_vec) tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;; 6306 bfd_elf64_s390_vec) tb="$tb elf64-s390.lo elf64.lo $elf"; target_size=64 ;; 6307 bfd_elf64_sh64_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;; 6308 bfd_elf64_sh64l_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;; 6309 bfd_elf64_sh64lin_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;; 6310 bfd_elf64_sh64blin_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;; 6311 bfd_elf64_sh64lnbsd_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;; 6312 bfd_elf64_sh64nbsd_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;; 6313 bfd_elf64_sparc_vec) tb="$tb elf64-sparc.lo elf64.lo $elf"; target_size=64 ;; 6314 bfd_elf64_tradbigmips_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; 6315 bfd_elf64_tradlittlemips_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; 6316 bfd_elf64_x86_64_vec) tb="$tb elf64-x86-64.lo elf64.lo $elf"; target_size=64 ;; 6317 bfd_mmo_vec) tb="$tb mmo.lo" target_size=64 ;; 6318 bfd_powerpc_pe_vec) tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;; 6319 bfd_powerpc_pei_vec) tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;; 6320 bfd_powerpcle_pe_vec) tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;; 6321 bfd_powerpcle_pei_vec) tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;; 6097 6322 cris_aout_vec) tb="$tb aout-cris.lo" ;; 6098 demo_64_vec) tb="$tb demo64.lo aout64.lo" 6099 target64=true ;; 6323 demo_64_vec) tb="$tb demo64.lo aout64.lo"; target_size=64 ;; 6100 6324 ecoff_big_vec) tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;; 6325 ecoff_biglittle_vec) tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;; 6101 6326 ecoff_little_vec) tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;; 6102 ecoff_biglittle_vec) tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;; 6103 ecoffalpha_little_vec) tb="$tb coff-alpha.lo ecoff.lo ecofflink.lo" 6104 target64=true ;; 6327 ecoffalpha_little_vec) tb="$tb coff-alpha.lo ecoff.lo ecofflink.lo"; target_size=64 ;; 6105 6328 go32coff_vec) tb="$tb coff-go32.lo cofflink.lo" ;; 6106 6329 go32stubbedcoff_vec) tb="$tb coff-stgo32.lo cofflink.lo" ;; … … 6115 6338 i386dynix_vec) tb="$tb i386dynix.lo aout32.lo" ;; 6116 6339 i386freebsd_vec) tb="$tb i386freebsd.lo aout32.lo" ;; 6117 i386msdos_vec) tb="$tb i386msdos.lo" ;;6118 i386pe_vec) tb="$tb pe-i386.lo peigen.lo cofflink.lo" ;;6119 i386pei_vec) tb="$tb pei-i386.lo peigen.lo cofflink.lo" ;;6120 6340 i386linux_vec) tb="$tb i386linux.lo aout32.lo" ;; 6121 6341 i386lynx_aout_vec) tb="$tb i386lynx.lo lynx-core.lo aout32.lo" ;; 6122 6342 i386lynx_coff_vec) tb="$tb cf-i386lynx.lo cofflink.lo lynx-core.lo" ;; 6123 6343 i386mach3_vec) tb="$tb i386mach3.lo aout32.lo" ;; 6344 i386msdos_vec) tb="$tb i386msdos.lo" ;; 6124 6345 i386netbsd_vec) tb="$tb i386netbsd.lo aout32.lo" ;; 6125 6346 i386os9k_vec) tb="$tb i386os9k.lo aout32.lo" ;; 6126 i386aout_emx_vec) tb="$tb i386aoutemx.lo aout32.lo " ;; 6347 i386aout_emx_vec) tb="$tb i386aoutemx.lo aout32.lo" ;; 6348 i386pe_vec) tb="$tb pe-i386.lo peigen.lo cofflink.lo" ;; 6349 i386pei_vec) tb="$tb pei-i386.lo peigen.lo cofflink.lo" ;; 6127 6350 i860coff_vec) tb="$tb coff-i860.lo cofflink.lo" ;; 6128 6351 icoff_big_vec) tb="$tb coff-i960.lo cofflink.lo" ;; 6129 6352 icoff_little_vec) tb="$tb coff-i960.lo cofflink.lo" ;; 6130 6353 ieee_vec) tb="$tb ieee.lo" ;; 6354 m68k4knetbsd_vec) tb="$tb m68k4knetbsd.lo aout32.lo" ;; 6355 m68kaux_coff_vec) tb="$tb coff-aux.lo coff-m68k.lo cofflink.lo" ;; 6131 6356 m68kcoff_vec) tb="$tb coff-m68k.lo cofflink.lo" ;; 6132 6357 m68kcoffun_vec) tb="$tb coff-u68k.lo coff-m68k.lo cofflink.lo" ;; … … 6135 6360 m68klynx_coff_vec) tb="$tb cf-m68klynx.lo coff-m68k.lo cofflink.lo lynx-core.lo" ;; 6136 6361 m68knetbsd_vec) tb="$tb m68knetbsd.lo aout32.lo" ;; 6137 m68k4knetbsd_vec) tb="$tb m68k4knetbsd.lo aout32.lo" ;;6138 m68kaux_coff_vec) tb="$tb coff-aux.lo coff-m68k.lo cofflink.lo" ;;6139 6362 m68ksysvcoff_vec) tb="$tb coff-svm68k.lo cofflink.lo" ;; 6140 6363 m88kbcs_vec) tb="$tb coff-m88k.lo" ;; 6141 mipslpe_vec) tb="$tb pe-mips.lo peigen.lo cofflink.lo" ;; 6142 mipslpei_vec) tb="$tb pei-mips.lo peigen.lo cofflink.lo" ;; 6364 m88kmach3_vec) tb="$tb m88kmach3.lo aout32.lo" ;; 6365 mach_o_be_vec) tb="$tb mach-o.lo" ;; 6366 mach_o_le_vec) tb="$tb mach-o.lo" ;; 6367 mach_o_fat_vec) tb="$tb mach-o.lo" ;; 6143 6368 mcore_pe_big_vec) tb="$tb pe-mcore.lo peigen.lo cofflink.lo" ;; 6144 6369 mcore_pe_little_vec) tb="$tb pe-mcore.lo peigen.lo cofflink.lo" ;; 6145 6370 mcore_pei_big_vec) tb="$tb pei-mcore.lo peigen.lo cofflink.lo" ;; 6146 6371 mcore_pei_little_vec) tb="$tb pei-mcore.lo peigen.lo cofflink.lo" ;; 6372 mipslpe_vec) tb="$tb pe-mips.lo peigen.lo cofflink.lo" ;; 6373 mipslpei_vec) tb="$tb pei-mips.lo peigen.lo cofflink.lo" ;; 6147 6374 newsos3_vec) tb="$tb newsos3.lo aout32.lo" ;; 6375 nlm32_alpha_vec) tb="$tb nlm32-alpha.lo nlm32.lo nlm.lo"; target_size=64 ;; 6148 6376 nlm32_i386_vec) tb="$tb nlm32-i386.lo nlm32.lo nlm.lo" ;; 6149 rs6000coff64_vec) tb="$tb coff64-rs6000.lo xcofflink.lo" 6150 target64=true ;; 6377 nlm32_powerpc_vec) tb="$tb nlm32-ppc.lo nlm32.lo nlm.lo" ;; 6151 6378 nlm32_sparc_vec) tb="$tb nlm32-sparc.lo nlm32.lo nlm.lo" ;; 6152 nlm32_alpha_vec) tb="$tb nlm32-alpha.lo nlm32.lo nlm.lo" 6153 target64=true ;; 6379 or32coff_big_vec) tb="$tb coff-or32.lo cofflink.lo" ;; 6380 pc532machaout_vec) tb="$tb pc532-mach.lo aout-ns32k.lo" ;; 6381 pc532netbsd_vec) tb="$tb ns32knetbsd.lo aout-ns32k.lo" ;; 6382 pef_vec) tb="$tb pef.lo" ;; 6383 pef_xlib_vec) tb="$tb pef.lo" ;; 6384 pdp11_aout_vec) tb="$tb pdp11.lo" ;; 6385 pmac_xcoff_vec) tb="$tb coff-rs6000.lo xcofflink.lo" ;; 6386 ppcboot_vec) tb="$tb ppcboot.lo" ;; 6154 6387 riscix_vec) tb="$tb aout32.lo riscix.lo" ;; 6155 nlm32_powerpc_vec) tb="$tb nlm32-ppc.lo nlm32.lo nlm.lo" ;; 6156 pc532netbsd_vec) tb="$tb ns32knetbsd.lo aout-ns32k.lo" ;; 6157 pc532machaout_vec) tb="$tb pc532-mach.lo aout-ns32k.lo" ;; 6158 pmac_xcoff_vec) tb="$tb coff-pmac.lo xcofflink.lo" ;; 6388 rs6000coff64_vec) tb="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size=64 ;; 6159 6389 rs6000coff_vec) tb="$tb coff-rs6000.lo xcofflink.lo" ;; 6160 bfd_powerpc_pe_vec) tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;; 6161 bfd_powerpcle_pe_vec) tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;; 6162 bfd_powerpc_pei_vec) tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;; 6163 bfd_powerpcle_pei_vec) tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;; 6164 ppcboot_vec) tb="$tb ppcboot.lo" ;; 6390 shcoff_small_vec) tb="$tb coff-sh.lo cofflink.lo" ;; 6165 6391 shcoff_vec) tb="$tb coff-sh.lo cofflink.lo" ;; 6392 shlcoff_small_vec) tb="$tb coff-sh.lo cofflink.lo" ;; 6166 6393 shlcoff_vec) tb="$tb coff-sh.lo cofflink.lo" ;; 6167 shcoff_small_vec) tb="$tb coff-sh.lo cofflink.lo" ;;6168 shlcoff_small_vec) tb="$tb coff-sh.lo cofflink.lo" ;;6169 6394 shlpe_vec) tb="$tb pe-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;; 6170 6395 shlpei_vec) tb="$tb pei-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;; 6171 6396 som_vec) tb="$tb som.lo" ;; 6397 sparccoff_vec) tb="$tb coff-sparc.lo" ;; 6172 6398 sparcle_aout_vec) tb="$tb aout-sparcle.lo aout32.lo" ;; 6173 6399 sparclinux_vec) tb="$tb sparclinux.lo aout32.lo" ;; … … 6175 6401 sparclynx_coff_vec) tb="$tb cf-sparclynx.lo lynx-core.lo" ;; 6176 6402 sparcnetbsd_vec) tb="$tb sparcnetbsd.lo aout32.lo" ;; 6177 sparccoff_vec) tb="$tb coff-sparc.lo" ;;6178 srec_vec) tb="$tb srec.lo" ;;6179 6403 sunos_big_vec) tb="$tb sunos.lo aout32.lo" ;; 6180 symbolsrec_vec) tb="$tb srec.lo" ;; 6181 tekhex_vec) tb="$tb tekhex.lo" ;; 6404 sym_vec) tb="$tb xsym.lo" ;; 6182 6405 tic30_aout_vec) tb="$tb aout-tic30.lo" ;; 6183 6406 tic30_coff_vec) tb="$tb coff-tic30.lo" ;; 6407 tic4x_coff0_vec) tb="$tb coff-tic4x.lo" ;; 6408 tic4x_coff0_beh_vec) tb="$tb coff-tic4x.lo" ;; 6409 tic4x_coff1_vec) tb="$tb coff-tic4x.lo" ;; 6410 tic4x_coff1_beh_vec) tb="$tb coff-tic4x.lo" ;; 6411 tic4x_coff2_vec) tb="$tb coff-tic4x.lo" ;; 6412 tic4x_coff2_beh_vec) tb="$tb coff-tic4x.lo" ;; 6413 tic54x_coff0_beh_vec) tb="$tb coff-tic54x.lo" ;; 6184 6414 tic54x_coff0_vec) tb="$tb coff-tic54x.lo" ;; 6185 tic54x_coff 0_beh_vec) tb="$tb coff-tic54x.lo" ;;6415 tic54x_coff1_beh_vec) tb="$tb coff-tic54x.lo" ;; 6186 6416 tic54x_coff1_vec) tb="$tb coff-tic54x.lo" ;; 6187 tic54x_coff 1_beh_vec) tb="$tb coff-tic54x.lo" ;;6417 tic54x_coff2_beh_vec) tb="$tb coff-tic54x.lo" ;; 6188 6418 tic54x_coff2_vec) tb="$tb coff-tic54x.lo" ;; 6189 tic54x_coff2_beh_vec) tb="$tb coff-tic54x.lo" ;;6190 6419 tic80coff_vec) tb="$tb coff-tic80.lo cofflink.lo" ;; 6420 vaxnetbsd_vec) tb="$tb vaxnetbsd.lo aout32.lo" ;; 6421 vax1knetbsd_vec) tb="$tb vax1knetbsd.lo aout32.lo" ;; 6422 vaxbsd_vec) tb="$tb vaxbsd.lo aout32.lo" ;; 6191 6423 versados_vec) tb="$tb versados.lo" ;; 6192 vms_alpha_vec) tb="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo" 6193 target64=true ;; 6424 vms_alpha_vec) tb="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo"; target_size=64 ;; 6194 6425 vms_vax_vec) tb="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo" ;; 6195 6426 w65_vec) tb="$tb coff-w65.lo reloc16.lo" ;; … … 6197 6428 z8kcoff_vec) tb="$tb coff-z8k.lo reloc16.lo" ;; 6198 6429 6430 # These appear out of order in targets.c 6431 srec_vec) tb="$tb srec.lo" ;; 6432 symbolsrec_vec) tb="$tb srec.lo" ;; 6433 tekhex_vec) tb="$tb tekhex.lo" ;; 6434 cisco_core_big_vec) tb="$tb cisco-core.lo" ;; 6435 cisco_core_little_vec) tb="$tb cisco-core.lo" ;; 6436 6199 6437 "") ;; 6200 6438 *) { echo "configure: error: *** unknown target vector $vec" 1>&2; exit 1; } ;; 6201 6439 esac 6440 6441 if test ${target_size} = 64; then 6442 target64=true 6443 fi 6444 if test x"${vec}" = x"${defvec}"; then 6445 bfd_default_target_size=${target_size} 6446 fi 6202 6447 done 6203 6448 … … 6235 6480 havevecs= 6236 6481 selarchs= 6482 test -n "$assocvecs" && 6483 assocvecs=`echo $assocvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'` 6237 6484 else # all_targets is true 6238 6485 # Only set these if they will be nonempty, for the clever echo. 6239 6486 havevecs= 6487 assocvecs= 6240 6488 test -n "$selvecs" && 6241 6489 havevecs=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'` … … 6249 6497 *true*) 6250 6498 wordsize=64 6499 bfd_libs='$(BFD64_LIBS) $(BFD32_LIBS)' 6251 6500 all_backends='$(BFD64_BACKENDS) $(BFD32_BACKENDS)' 6252 6501 if test -z "$GCC" && test "$BFD_HOST_64BIT_LONG" = "0" && test "$BFD_HOST_64_BIT_DEFINED" = "0"; then … … 6254 6503 echo "configure: warning: your compiler may not have a 64 bit integral type" 1>&2 6255 6504 fi 6505 if test -n "$GCC" ; then 6506 bad_64bit_gcc=no; 6507 echo $ac_n "checking for gcc version with buggy 64-bit support""... $ac_c" 1>&6 6508 echo "configure:6509: checking for gcc version with buggy 64-bit support" >&5 6509 # Add more tests for gcc versions with non-working 64-bit support here. 6510 cat > conftest.$ac_ext <<EOF 6511 #line 6512 "configure" 6512 #include "confdefs.h" 6513 :__GNUC__:__GNUC_MINOR__:__i386__: 6514 EOF 6515 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6516 egrep ": 2 : 91 : 1 :" >/dev/null 2>&1; then 6517 rm -rf conftest* 6518 bad_64bit_gcc=yes; 6519 echo "$ac_t""yes: egcs-1.1.2 on ix86 spotted" 1>&6 6520 else 6521 rm -rf conftest* 6522 echo "$ac_t""no" 1>&6 6523 fi 6524 rm -f conftest* 6525 6526 if test $bad_64bit_gcc = yes ; then 6527 { echo "configure: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" 1>&2; exit 1; } 6528 fi 6529 fi 6256 6530 ;; 6257 6531 false-false-false) 6258 6532 wordsize=32 6533 bfd_libs='$(BFD32_LIBS)' 6259 6534 all_backends='$(BFD32_BACKENDS)' 6260 6535 ;; … … 6266 6541 6267 6542 6543 6544 6268 6545 tdefaults="" 6269 6546 test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}" 6270 6547 test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'" 6548 test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'" 6271 6549 test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'" 6272 6550 test -n "${havevecs}" && tdefaults="${tdefaults} ${havevecs}" … … 6277 6555 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6278 6556 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6279 echo "configure:6 280: checking for $ac_hdr" >&56557 echo "configure:6558: checking for $ac_hdr" >&5 6280 6558 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6281 6559 echo $ac_n "(cached) $ac_c" 1>&6 … … 6283 6561 cat > conftest.$ac_ext <<EOF 6284 6562 #include <sys/types.h> 6285 #line 6 286"configure"6563 #line 6564 "configure" 6286 6564 #include "confdefs.h" 6287 6565 #include <$ac_hdr> 6288 6566 EOF 6289 6567 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6290 { (eval echo configure:6 291: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }6568 { (eval echo configure:6569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6291 6569 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6292 6570 if test -z "$ac_err"; then … … 6317 6595 do 6318 6596 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6319 echo "configure:6 320: checking for $ac_func" >&56597 echo "configure:6598: checking for $ac_func" >&5 6320 6598 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6321 6599 echo $ac_n "(cached) $ac_c" 1>&6 6322 6600 else 6323 6601 cat > conftest.$ac_ext <<EOF 6324 #line 6 325"configure"6602 #line 6603 "configure" 6325 6603 #include "confdefs.h" 6326 6604 /* System header to define __stub macros and hopefully few prototypes, … … 6345 6623 ; return 0; } 6346 6624 EOF 6347 if { (eval echo configure:6 348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6625 if { (eval echo configure:6626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6348 6626 rm -rf conftest* 6349 6627 eval "ac_cv_func_$ac_func=yes" … … 6370 6648 6371 6649 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 6372 echo "configure:6 373: checking for working mmap" >&56650 echo "configure:6651: checking for working mmap" >&5 6373 6651 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 6374 6652 echo $ac_n "(cached) $ac_c" 1>&6 … … 6378 6656 else 6379 6657 cat > conftest.$ac_ext <<EOF 6380 #line 6 381"configure"6658 #line 6659 "configure" 6381 6659 #include "confdefs.h" 6382 6660 … … 6518 6796 6519 6797 EOF 6520 if { (eval echo configure:6 521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null6798 if { (eval echo configure:6799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 6521 6799 then 6522 6800 ac_cv_func_mmap_fixed_mapped=yes … … 6543 6821 do 6544 6822 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6545 echo "configure:6 546: checking for $ac_func" >&56823 echo "configure:6824: checking for $ac_func" >&5 6546 6824 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6547 6825 echo $ac_n "(cached) $ac_c" 1>&6 6548 6826 else 6549 6827 cat > conftest.$ac_ext <<EOF 6550 #line 6 551"configure"6828 #line 6829 "configure" 6551 6829 #include "confdefs.h" 6552 6830 /* System header to define __stub macros and hopefully few prototypes, … … 6571 6849 ; return 0; } 6572 6850 EOF 6573 if { (eval echo configure:6 574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6851 if { (eval echo configure:6852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6574 6852 rm -rf conftest* 6575 6853 eval "ac_cv_func_$ac_func=yes" … … 6708 6986 PATHIFS="$PATH_IFS" 6709 6987 6710 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 156988 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 6711 6989 EOF 6712 6990 cat >> $CONFIG_STATUS <<EOF … … 6758 7036 s%@build_vendor@%$build_vendor%g 6759 7037 s%@build_os@%$build_os%g 6760 s%@CC@%$CC%g6761 7038 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g 6762 7039 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g … … 6770 7047 s%@MAKEINFO@%$MAKEINFO%g 6771 7048 s%@SET_MAKE@%$SET_MAKE%g 7049 s%@bfd_version@%$bfd_version%g 7050 s%@bfd_version_string@%$bfd_version_string%g 6772 7051 s%@AR@%$AR%g 6773 7052 s%@RANLIB@%$RANLIB%g 7053 s%@CC@%$CC%g 6774 7054 s%@LN_S@%$LN_S%g 6775 7055 s%@OBJEXT@%$OBJEXT%g … … 6780 7060 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g 6781 7061 s%@MAINT@%$MAINT%g 7062 s%@INSTALL_LIBBFD_TRUE@%$INSTALL_LIBBFD_TRUE%g 7063 s%@INSTALL_LIBBFD_FALSE@%$INSTALL_LIBBFD_FALSE%g 7064 s%@bfdlibdir@%$bfdlibdir%g 7065 s%@bfdincludedir@%$bfdincludedir%g 6782 7066 s%@CPP@%$CPP%g 6783 7067 s%@ALLOCA@%$ALLOCA%g … … 6815 7099 s%@TDEFINES@%$TDEFINES%g 6816 7100 s%@wordsize@%$wordsize%g 7101 s%@bfd_libs@%$bfd_libs%g 6817 7102 s%@all_backends@%$all_backends%g 6818 7103 s%@bfd_backends@%$bfd_backends%g 6819 7104 s%@bfd_machines@%$bfd_machines%g 7105 s%@bfd_default_target_size@%$bfd_default_target_size%g 6820 7106 s%@tdefaults@%$tdefaults%g 6821 7107 … … 6860 7146 cat >> $CONFIG_STATUS <<EOF 6861 7147 6862 CONFIG_FILES=\${CONFIG_FILES-"Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"}7148 CONFIG_FILES=\${CONFIG_FILES-"Makefile doc/Makefile bfd-in3.h:bfd-in2.h bfdver.h:version.h po/Makefile.in:po/Make-in"} 6863 7149 EOF 6864 7150 cat >> $CONFIG_STATUS <<\EOF -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.