Changeset 619
- Timestamp:
- Aug 16, 2003, 11:56:50 PM (22 years ago)
- Location:
- trunk/src/binutils
- Files:
-
- 8 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
-
trunk/src/binutils/binutils/configure
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
r618 r619 807 807 program_prefix=${target_alias}- 808 808 809 810 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6 811 echo "configure:812: checking for strerror in -lcposix" >&5 812 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'` 813 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 814 echo $ac_n "(cached) $ac_c" 1>&6 815 else 816 ac_save_LIBS="$LIBS" 817 LIBS="-lcposix $LIBS" 818 cat > conftest.$ac_ext <<EOF 819 #line 820 "configure" 820 #include "confdefs.h" 821 /* Override any gcc2 internal prototype to avoid an error. */ 822 /* We use char because int might match the return type of a gcc2 823 builtin and then its argument prototype would still apply. */ 824 char strerror(); 825 826 int main() { 827 strerror() 828 ; return 0; } 829 EOF 830 if { (eval echo configure:831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 831 rm -rf conftest* 832 eval "ac_cv_lib_$ac_lib_var=yes" 833 else 834 echo "configure: failed program was:" >&5 835 cat conftest.$ac_ext >&5 836 rm -rf conftest* 837 eval "ac_cv_lib_$ac_lib_var=no" 838 fi 839 rm -f conftest* 840 LIBS="$ac_save_LIBS" 841 842 fi 843 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 844 echo "$ac_t""yes" 1>&6 845 LIBS="$LIBS -lcposix" 846 else 847 echo "$ac_t""no" 1>&6 848 fi 849 850 851 852 853 BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in` 854 # Find a good install program. We prefer a C program (faster), 855 # so one script is as good as another. But avoid the broken or 856 # incompatible versions: 857 # SysV /etc/install, /usr/sbin/install 858 # SunOS /usr/etc/install 859 # IRIX /sbin/install 860 # AIX /bin/install 861 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 862 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 863 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 864 # ./install, which can be erroneously created by make from ./install.sh. 865 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 866 echo "configure:867: checking for a BSD compatible install" >&5 867 if test -z "$INSTALL"; then 868 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 869 echo $ac_n "(cached) $ac_c" 1>&6 870 else 871 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$PATH_IFS" 872 for ac_dir in $PATH; do 873 # Account for people who put trailing slashes in PATH elements. 874 case "$ac_dir/" in 875 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; 876 # We reject the install program from OS/2 or W3.1 877 */OS2|*/OS2/*|*/WINDOWS|*/WINDOWS/*) ;; 878 *) 879 # OSF1 and SCO ODT 3.0 have their own names for install. 880 # Don't use installbsd from OSF since it installs stuff as root 881 # by default. 882 for ac_prog in ginstall scoinst install; do 883 if test -f $ac_dir/$ac_prog$ac_exeext; then 884 if test $ac_prog = install && 885 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then 886 # AIX install. It has an incompatible calling convention. 887 : 888 else 889 ac_cv_path_install="$ac_dir/$ac_prog$ac_exeext -c" 890 break 2 891 fi 892 fi 893 done 894 ;; 895 esac 896 done 897 IFS="$ac_save_IFS" 898 899 fi 900 if test "${ac_cv_path_install+set}" = set; then 901 INSTALL="$ac_cv_path_install" 902 else 903 # As a last resort, use the slow shell script. We don't cache a 904 # path for INSTALL within a source directory, because that will 905 # break other packages using the cache if that directory is 906 # removed, or if the path is relative. 907 INSTALL="$ac_install_sh" 908 fi 909 fi 910 echo "$ac_t""$INSTALL" 1>&6 911 912 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 913 # It thinks the first close brace ends the variable substitution. 914 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 915 916 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' 917 918 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 919 920 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 921 echo "configure:922: checking whether build environment is sane" >&5 922 # Just in case 923 sleep 1 924 echo timestamp > conftestfile 925 # Do `set' in a subshell so we don't clobber the current shell's 926 # arguments. Must try -L first in case configure is actually a 927 # symlink; some systems play weird games with the mod time of symlinks 928 # (eg FreeBSD returns the mod time of the symlink's containing 929 # directory). 930 if ( 931 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` 932 if test "$*" = "X"; then 933 # -L didn't work. 934 set X `ls -t $srcdir/configure conftestfile` 935 fi 936 if test "$*" != "X $srcdir/configure conftestfile" \ 937 && test "$*" != "X conftestfile $srcdir/configure"; then 938 939 # If neither matched, then we have a broken ls. This can happen 940 # if, for instance, CONFIG_SHELL is bash and it inherits a 941 # broken ls alias from the environment. This has actually 942 # happened. Such a system could not be considered "sane". 943 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken 944 alias in your environment" 1>&2; exit 1; } 945 fi 946 947 test "$2" = conftestfile 948 ) 949 then 950 # Ok. 951 : 952 else 953 { echo "configure: error: newly created file is older than distributed files! 954 Check your system clock" 1>&2; exit 1; } 955 fi 956 rm -f conftest* 957 echo "$ac_t""yes" 1>&6 958 if test "$program_transform_name" = s,x,x,; then 959 program_transform_name= 960 else 961 # Double any \ or $. echo might interpret backslashes. 962 cat <<\EOF_SED > conftestsed 963 s,\\,\\\\,g; s,\$,$$,g 964 EOF_SED 965 program_transform_name="`echo $program_transform_name|sed -f conftestsed`" 966 rm -f conftestsed 967 fi 968 test "$program_prefix" != NONE && 969 program_transform_name="s,^,${program_prefix},; $program_transform_name" 970 # Use a double $ so make ignores it. 971 test "$program_suffix" != NONE && 972 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" 973 974 # sed with no file args requires a program. 975 test "$program_transform_name" = "" && program_transform_name="s,x,x," 976 977 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 978 echo "configure:979: checking whether ${MAKE-make} sets \${MAKE}" >&5 979 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 980 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 981 echo $ac_n "(cached) $ac_c" 1>&6 982 else 983 cat > conftestmake <<\EOF 984 all: 985 @echo 'ac_maketemp="${MAKE}"' 986 EOF 987 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 988 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` 989 if test -n "$ac_maketemp"; then 990 eval ac_cv_prog_make_${ac_make}_set=yes 991 else 992 eval ac_cv_prog_make_${ac_make}_set=no 993 fi 994 rm -f conftestmake 995 fi 996 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 997 echo "$ac_t""yes" 1>&6 998 SET_MAKE= 999 else 1000 echo "$ac_t""no" 1>&6 1001 SET_MAKE="MAKE=${MAKE-make}" 1002 fi 1003 1004 1005 PACKAGE=binutils 1006 1007 VERSION=${BFD_VERSION} 1008 1009 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then 1010 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } 1011 fi 1012 cat >> confdefs.h <<EOF 1013 #define PACKAGE "$PACKAGE" 1014 EOF 1015 1016 cat >> confdefs.h <<EOF 1017 #define VERSION "$VERSION" 1018 EOF 1019 1020 1021 1022 missing_dir=`cd $ac_aux_dir && pwd` 1023 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 1024 echo "configure:1025: checking for working aclocal" >&5 1025 # Run test in a subshell; some versions of sh will print an error if 1026 # an executable is not found, even if stderr is redirected. 1027 # Redirect stdin to placate older versions of autoconf. Sigh. 1028 if (aclocal --version) < /dev/null > /dev/null 2>&1; then 1029 ACLOCAL=aclocal 1030 echo "$ac_t""found" 1>&6 1031 else 1032 ACLOCAL="$missing_dir/missing aclocal" 1033 echo "$ac_t""missing" 1>&6 1034 fi 1035 1036 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 1037 echo "configure:1038: checking for working autoconf" >&5 1038 # Run test in a subshell; some versions of sh will print an error if 1039 # an executable is not found, even if stderr is redirected. 1040 # Redirect stdin to placate older versions of autoconf. Sigh. 1041 if (autoconf --version) < /dev/null > /dev/null 2>&1; then 1042 AUTOCONF=autoconf 1043 echo "$ac_t""found" 1>&6 1044 else 1045 AUTOCONF="$missing_dir/missing autoconf" 1046 echo "$ac_t""missing" 1>&6 1047 fi 1048 1049 echo $ac_n "checking for working automake""... $ac_c" 1>&6 1050 echo "configure:1051: checking for working automake" >&5 1051 # Run test in a subshell; some versions of sh will print an error if 1052 # an executable is not found, even if stderr is redirected. 1053 # Redirect stdin to placate older versions of autoconf. Sigh. 1054 if (automake --version) < /dev/null > /dev/null 2>&1; then 1055 AUTOMAKE=automake 1056 echo "$ac_t""found" 1>&6 1057 else 1058 AUTOMAKE="$missing_dir/missing automake" 1059 echo "$ac_t""missing" 1>&6 1060 fi 1061 1062 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 1063 echo "configure:1064: checking for working autoheader" >&5 1064 # Run test in a subshell; some versions of sh will print an error if 1065 # an executable is not found, even if stderr is redirected. 1066 # Redirect stdin to placate older versions of autoconf. Sigh. 1067 if (autoheader --version) < /dev/null > /dev/null 2>&1; then 1068 AUTOHEADER=autoheader 1069 echo "$ac_t""found" 1>&6 1070 else 1071 AUTOHEADER="$missing_dir/missing autoheader" 1072 echo "$ac_t""missing" 1>&6 1073 fi 1074 1075 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 1076 echo "configure:1077: checking for working makeinfo" >&5 1077 # Run test in a subshell; some versions of sh will print an error if 1078 # an executable is not found, even if stderr is redirected. 1079 # Redirect stdin to placate older versions of autoconf. Sigh. 1080 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then 1081 MAKEINFO=makeinfo 1082 echo "$ac_t""found" 1>&6 1083 else 1084 MAKEINFO="$missing_dir/missing makeinfo" 1085 echo "$ac_t""missing" 1>&6 1086 fi 1087 1088 1089 1090 # Check whether --enable-shared or --disable-shared was given. 1091 if test "${enable_shared+set}" = set; then 1092 enableval="$enable_shared" 1093 p=${PACKAGE-default} 1094 case $enableval in 1095 yes) enable_shared=yes ;; 1096 no) enable_shared=no ;; 1097 *) 1098 enable_shared=no 1099 # Look at the argument we got. We use all the common list separators. 1100 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," 1101 for pkg in $enableval; do 1102 if test "X$pkg" = "X$p"; then 1103 enable_shared=yes 1104 fi 1105 done 1106 IFS="$ac_save_ifs" 1107 ;; 1108 esac 1109 else 1110 enable_shared=yes 1111 fi 1112 1113 # Check whether --enable-static or --disable-static was given. 1114 if test "${enable_static+set}" = set; then 1115 enableval="$enable_static" 1116 p=${PACKAGE-default} 1117 case $enableval in 1118 yes) enable_static=yes ;; 1119 no) enable_static=no ;; 1120 *) 1121 enable_static=no 1122 # Look at the argument we got. We use all the common list separators. 1123 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," 1124 for pkg in $enableval; do 1125 if test "X$pkg" = "X$p"; then 1126 enable_static=yes 1127 fi 1128 done 1129 IFS="$ac_save_ifs" 1130 ;; 1131 esac 1132 else 1133 enable_static=yes 1134 fi 1135 1136 # Check whether --enable-fast-install or --disable-fast-install was given. 1137 if test "${enable_fast_install+set}" = set; then 1138 enableval="$enable_fast_install" 1139 p=${PACKAGE-default} 1140 case $enableval in 1141 yes) enable_fast_install=yes ;; 1142 no) enable_fast_install=no ;; 1143 *) 1144 enable_fast_install=no 1145 # Look at the argument we got. We use all the common list separators. 1146 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," 1147 for pkg in $enableval; do 1148 if test "X$pkg" = "X$p"; then 1149 enable_fast_install=yes 1150 fi 1151 done 1152 IFS="$ac_save_ifs" 1153 ;; 1154 esac 1155 else 1156 enable_fast_install=yes 1157 fi 1158 809 1159 # Extract the first word of "gcc", so it can be a program name with args. 810 1160 set dummy gcc; ac_word=$2 811 1161 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 812 echo "configure: 813: checking for $ac_word" >&51162 echo "configure:1163: checking for $ac_word" >&5 813 1163 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 814 1164 echo $ac_n "(cached) $ac_c" 1>&6 … … 841 1191 set dummy cc; ac_word=$2 842 1192 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 843 echo "configure: 844: checking for $ac_word" >&51193 echo "configure:1194: checking for $ac_word" >&5 844 1194 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 845 1195 echo $ac_n "(cached) $ac_c" 1>&6 … … 894 1244 set dummy cl; ac_word=$2 895 1245 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 896 echo "configure: 897: checking for $ac_word" >&51246 echo "configure:1247: checking for $ac_word" >&5 897 1247 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 898 1248 echo $ac_n "(cached) $ac_c" 1>&6 … … 927 1277 928 1278 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 929 echo "configure: 930: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&51279 echo "configure:1280: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 930 1280 931 1281 ac_ext=c … … 938 1288 cat > conftest.$ac_ext << EOF 939 1289 940 #line 941 "configure"1290 #line 1291 "configure" 941 1291 #include "confdefs.h" 942 1292 943 1293 main(){return(0);} 944 1294 EOF 945 if { (eval echo configure: 946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1295 if { (eval echo configure:1296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 946 1296 ac_cv_prog_cc_works=yes 947 1297 # If we can't run a trivial program, we are probably using a cross compiler. … … 969 1319 fi 970 1320 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 971 echo "configure: 972: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&51321 echo "configure:1322: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 972 1322 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 973 1323 cross_compiling=$ac_cv_prog_cc_cross 974 1324 975 1325 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 976 echo "configure: 977: checking whether we are using GNU C" >&51326 echo "configure:1327: checking whether we are using GNU C" >&5 977 1327 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 978 1328 echo $ac_n "(cached) $ac_c" 1>&6 … … 983 1333 #endif 984 1334 EOF 985 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure: 986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1335 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 986 1336 ac_cv_prog_gcc=yes 987 1337 else … … 1002 1352 CFLAGS= 1003 1353 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1004 echo "configure:1 005: checking whether ${CC-cc} accepts -g" >&51354 echo "configure:1355: checking whether ${CC-cc} accepts -g" >&5 1005 1355 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1006 1356 echo $ac_n "(cached) $ac_c" 1>&6 … … 1033 1383 fi 1034 1384 1035 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&61036 echo "configure:1037: checking for POSIXized ISC" >&51037 if test -d /etc/conf/kconfig.d &&1038 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&11039 then1040 echo "$ac_t""yes" 1>&61041 ISC=yes # If later tests want to check for ISC.1042 cat >> confdefs.h <<\EOF1043 #define _POSIX_SOURCE 11044 EOF1045 1046 if test "$GCC" = yes; then1047 CC="$CC -posix"1048 else1049 CC="$CC -Xp"1050 fi1051 else1052 echo "$ac_t""no" 1>&61053 ISC=1054 fi1055 1056 1057 BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`1058 # Find a good install program. We prefer a C program (faster),1059 # so one script is as good as another. But avoid the broken or1060 # incompatible versions:1061 # SysV /etc/install, /usr/sbin/install1062 # SunOS /usr/etc/install1063 # IRIX /sbin/install1064 # AIX /bin/install1065 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag1066 # AFS /usr/afsws/bin/install, which mishandles nonexistent args1067 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"1068 # ./install, which can be erroneously created by make from ./install.sh.1069 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&61070 echo "configure:1071: checking for a BSD compatible install" >&51071 if test -z "$INSTALL"; then1072 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then1073 echo $ac_n "(cached) $ac_c" 1>&61074 else1075 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$PATH_IFS"1076 for ac_dir in $PATH; do1077 # Account for people who put trailing slashes in PATH elements.1078 case "$ac_dir/" in1079 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;1080 # We reject the install program from OS/2 or W3.11081 */OS2|*/OS2/*|*/WINDOWS|*/WINDOWS/*) ;;1082 *)1083 # OSF1 and SCO ODT 3.0 have their own names for install.1084 # Don't use installbsd from OSF since it installs stuff as root1085 # by default.1086 for ac_prog in ginstall scoinst install; do1087 if test -f $ac_dir/$ac_prog$ac_exeext; then1088 if test $ac_prog = install &&1089 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then1090 # AIX install. It has an incompatible calling convention.1091 :1092 else1093 ac_cv_path_install="$ac_dir/$ac_prog$ac_exeext -c"1094 break 21095 fi1096 fi1097 done1098 ;;1099 esac1100 done1101 IFS="$ac_save_IFS"1102 1103 fi1104 if test "${ac_cv_path_install+set}" = set; then1105 INSTALL="$ac_cv_path_install"1106 else1107 # As a last resort, use the slow shell script. We don't cache a1108 # path for INSTALL within a source directory, because that will1109 # break other packages using the cache if that directory is1110 # removed, or if the path is relative.1111 INSTALL="$ac_install_sh"1112 fi1113 fi1114 echo "$ac_t""$INSTALL" 1>&61115 1116 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.1117 # It thinks the first close brace ends the variable substitution.1118 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'1119 1120 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'1121 1122 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'1123 1124 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&61125 echo "configure:1126: checking whether build environment is sane" >&51126 # Just in case1127 sleep 11128 echo timestamp > conftestfile1129 # Do `set' in a subshell so we don't clobber the current shell's1130 # arguments. Must try -L first in case configure is actually a1131 # symlink; some systems play weird games with the mod time of symlinks1132 # (eg FreeBSD returns the mod time of the symlink's containing1133 # directory).1134 if (1135 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`1136 if test "$*" = "X"; then1137 # -L didn't work.1138 set X `ls -t $srcdir/configure conftestfile`1139 fi1140 if test "$*" != "X $srcdir/configure conftestfile" \1141 && test "$*" != "X conftestfile $srcdir/configure"; then1142 1143 # If neither matched, then we have a broken ls. This can happen1144 # if, for instance, CONFIG_SHELL is bash and it inherits a1145 # broken ls alias from the environment. This has actually1146 # happened. Such a system could not be considered "sane".1147 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken1148 alias in your environment" 1>&2; exit 1; }1149 fi1150 1151 test "$2" = conftestfile1152 )1153 then1154 # Ok.1155 :1156 else1157 { echo "configure: error: newly created file is older than distributed files!1158 Check your system clock" 1>&2; exit 1; }1159 fi1160 rm -f conftest*1161 echo "$ac_t""yes" 1>&61162 if test "$program_transform_name" = s,x,x,; then1163 program_transform_name=1164 else1165 # Double any \ or $. echo might interpret backslashes.1166 cat <<\EOF_SED > conftestsed1167 s,\\,\\\\,g; s,\$,$$,g1168 EOF_SED1169 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"1170 rm -f conftestsed1171 fi1172 test "$program_prefix" != NONE &&1173 program_transform_name="s,^,${program_prefix},; $program_transform_name"1174 # Use a double $ so make ignores it.1175 test "$program_suffix" != NONE &&1176 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"1177 1178 # sed with no file args requires a program.1179 test "$program_transform_name" = "" && program_transform_name="s,x,x,"1180 1181 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&61182 echo "configure:1183: checking whether ${MAKE-make} sets \${MAKE}" >&51183 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`1184 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then1185 echo $ac_n "(cached) $ac_c" 1>&61186 else1187 cat > conftestmake <<\EOF1188 all:1189 @echo 'ac_maketemp="${MAKE}"'1190 EOF1191 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.1192 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`1193 if test -n "$ac_maketemp"; then1194 eval ac_cv_prog_make_${ac_make}_set=yes1195 else1196 eval ac_cv_prog_make_${ac_make}_set=no1197 fi1198 rm -f conftestmake1199 fi1200 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then1201 echo "$ac_t""yes" 1>&61202 SET_MAKE=1203 else1204 echo "$ac_t""no" 1>&61205 SET_MAKE="MAKE=${MAKE-make}"1206 fi1207 1208 1209 PACKAGE=binutils1210 1211 VERSION=${BFD_VERSION}1212 1213 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then1214 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }1215 fi1216 cat >> confdefs.h <<EOF1217 #define PACKAGE "$PACKAGE"1218 EOF1219 1220 cat >> confdefs.h <<EOF1221 #define VERSION "$VERSION"1222 EOF1223 1224 1225 1226 missing_dir=`cd $ac_aux_dir && pwd`1227 echo $ac_n "checking for working aclocal""... $ac_c" 1>&61228 echo "configure:1229: checking for working aclocal" >&51229 # Run test in a subshell; some versions of sh will print an error if1230 # an executable is not found, even if stderr is redirected.1231 # Redirect stdin to placate older versions of autoconf. Sigh.1232 if (aclocal --version) < /dev/null > /dev/null 2>&1; then1233 ACLOCAL=aclocal1234 echo "$ac_t""found" 1>&61235 else1236 ACLOCAL="$missing_dir/missing aclocal"1237 echo "$ac_t""missing" 1>&61238 fi1239 1240 echo $ac_n "checking for working autoconf""... $ac_c" 1>&61241 echo "configure:1242: checking for working autoconf" >&51242 # Run test in a subshell; some versions of sh will print an error if1243 # an executable is not found, even if stderr is redirected.1244 # Redirect stdin to placate older versions of autoconf. Sigh.1245 if (autoconf --version) < /dev/null > /dev/null 2>&1; then1246 AUTOCONF=autoconf1247 echo "$ac_t""found" 1>&61248 else1249 AUTOCONF="$missing_dir/missing autoconf"1250 echo "$ac_t""missing" 1>&61251 fi1252 1253 echo $ac_n "checking for working automake""... $ac_c" 1>&61254 echo "configure:1255: checking for working automake" >&51255 # Run test in a subshell; some versions of sh will print an error if1256 # an executable is not found, even if stderr is redirected.1257 # Redirect stdin to placate older versions of autoconf. Sigh.1258 if (automake --version) < /dev/null > /dev/null 2>&1; then1259 AUTOMAKE=automake1260 echo "$ac_t""found" 1>&61261 else1262 AUTOMAKE="$missing_dir/missing automake"1263 echo "$ac_t""missing" 1>&61264 fi1265 1266 echo $ac_n "checking for working autoheader""... $ac_c" 1>&61267 echo "configure:1268: checking for working autoheader" >&51268 # Run test in a subshell; some versions of sh will print an error if1269 # an executable is not found, even if stderr is redirected.1270 # Redirect stdin to placate older versions of autoconf. Sigh.1271 if (autoheader --version) < /dev/null > /dev/null 2>&1; then1272 AUTOHEADER=autoheader1273 echo "$ac_t""found" 1>&61274 else1275 AUTOHEADER="$missing_dir/missing autoheader"1276 echo "$ac_t""missing" 1>&61277 fi1278 1279 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&61280 echo "configure:1281: checking for working makeinfo" >&51281 # Run test in a subshell; some versions of sh will print an error if1282 # an executable is not found, even if stderr is redirected.1283 # Redirect stdin to placate older versions of autoconf. Sigh.1284 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then1285 MAKEINFO=makeinfo1286 echo "$ac_t""found" 1>&61287 else1288 MAKEINFO="$missing_dir/missing makeinfo"1289 echo "$ac_t""missing" 1>&61290 fi1291 1292 1293 1294 # Check whether --enable-shared or --disable-shared was given.1295 if test "${enable_shared+set}" = set; then1296 enableval="$enable_shared"1297 p=${PACKAGE-default}1298 case "$enableval" in1299 yes) enable_shared=yes ;;1300 no) enable_shared=no ;;1301 *)1302 enable_shared=no1303 # Look at the argument we got. We use all the common list separators.1304 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"1305 for pkg in $enableval; do1306 if test "X$pkg" = "X$p"; then1307 enable_shared=yes1308 fi1309 done1310 IFS="$ac_save_ifs"1311 ;;1312 esac1313 else1314 enable_shared=yes1315 fi1316 1317 # Check whether --enable-static or --disable-static was given.1318 if test "${enable_static+set}" = set; then1319 enableval="$enable_static"1320 p=${PACKAGE-default}1321 case "$enableval" in1322 yes) enable_static=yes ;;1323 no) enable_static=no ;;1324 *)1325 enable_static=no1326 # Look at the argument we got. We use all the common list separators.1327 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"1328 for pkg in $enableval; do1329 if test "X$pkg" = "X$p"; then1330 enable_static=yes1331 fi1332 done1333 IFS="$ac_save_ifs"1334 ;;1335 esac1336 else1337 enable_static=yes1338 fi1339 1340 # Check whether --enable-fast-install or --disable-fast-install was given.1341 if test "${enable_fast_install+set}" = set; then1342 enableval="$enable_fast_install"1343 p=${PACKAGE-default}1344 case "$enableval" in1345 yes) enable_fast_install=yes ;;1346 no) enable_fast_install=no ;;1347 *)1348 enable_fast_install=no1349 # Look at the argument we got. We use all the common list separators.1350 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"1351 for pkg in $enableval; do1352 if test "X$pkg" = "X$p"; then1353 enable_fast_install=yes1354 fi1355 done1356 IFS="$ac_save_ifs"1357 ;;1358 esac1359 else1360 enable_fast_install=yes1361 fi1362 1363 1385 # Check whether --with-gnu-ld or --without-gnu-ld was given. 1364 1386 if test "${with_gnu_ld+set}" = set; then … … 1370 1392 1371 1393 ac_prog=ld 1372 if test "$ ac_cv_prog_gcc" = yes; then1394 if test "$GCC" = yes; then 1373 1395 # Check if gcc -print-prog-name=ld gives a path. 1374 1396 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 1375 echo "configure:13 76: checking for ld used by GCC" >&51397 echo "configure:1398: checking for ld used by GCC" >&5 1376 1398 case $host in 1377 1399 *-*-mingw*) … … 1381 1403 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 1382 1404 esac 1383 case "$ac_prog"in1405 case $ac_prog in 1384 1406 # Accept absolute paths. 1385 1407 [\\/]* | [A-Za-z]:[\\/]*) … … 1403 1425 elif test "$with_gnu_ld" = yes; then 1404 1426 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 1405 echo "configure:14 06: checking for GNU ld" >&51427 echo "configure:1428: checking for GNU ld" >&5 1406 1428 else 1407 1429 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 1408 echo "configure:14 09: checking for non-GNU ld" >&51409 fi 1410 if eval "test \"`echo '$''{' ac_cv_path_LD'+set}'`\" = set"; then1430 echo "configure:1431: checking for non-GNU ld" >&5 1431 fi 1432 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then 1411 1433 echo $ac_n "(cached) $ac_c" 1>&6 1412 1434 else … … 1416 1438 test -z "$ac_dir" && ac_dir=. 1417 1439 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 1418 ac_cv_path_LD="$ac_dir/$ac_prog"1440 lt_cv_path_LD="$ac_dir/$ac_prog" 1419 1441 # Check to see if the program is GNU ld. I'd rather use --version, 1420 1442 # but apparently some GNU ld's only accept -v. 1421 1443 # Break only if it was the GNU/non-GNU ld that we prefer. 1422 if "$ ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then1444 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then 1423 1445 test "$with_gnu_ld" != no && break 1424 1446 else … … 1429 1451 IFS="$ac_save_ifs" 1430 1452 else 1431 ac_cv_path_LD="$LD" # Let the user override the test with a path.1432 fi 1433 fi 1434 1435 LD="$ ac_cv_path_LD"1453 lt_cv_path_LD="$LD" # Let the user override the test with a path. 1454 fi 1455 fi 1456 1457 LD="$lt_cv_path_LD" 1436 1458 if test -n "$LD"; then 1437 1459 echo "$ac_t""$LD" 1>&6 … … 1441 1463 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } 1442 1464 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 1443 echo "configure:14 44: checking if the linker ($LD) is GNU ld" >&51444 if eval "test \"`echo '$''{' ac_cv_prog_gnu_ld'+set}'`\" = set"; then1465 echo "configure:1466: checking if the linker ($LD) is GNU ld" >&5 1466 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then 1445 1467 echo $ac_n "(cached) $ac_c" 1>&6 1446 1468 else 1447 1469 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 1448 1470 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 1449 ac_cv_prog_gnu_ld=yes1450 else 1451 ac_cv_prog_gnu_ld=no1452 fi 1453 fi 1454 1455 echo "$ac_t""$ ac_cv_prog_gnu_ld" 1>&61456 with_gnu_ld=$ ac_cv_prog_gnu_ld1471 lt_cv_prog_gnu_ld=yes 1472 else 1473 lt_cv_prog_gnu_ld=no 1474 fi 1475 fi 1476 1477 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6 1478 with_gnu_ld=$lt_cv_prog_gnu_ld 1457 1479 1458 1480 1459 1481 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6 1460 echo "configure:14 61: checking for $LD option to reload object files" >&51482 echo "configure:1483: checking for $LD option to reload object files" >&5 1461 1483 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then 1462 1484 echo $ac_n "(cached) $ac_c" 1>&6 … … 1470 1492 1471 1493 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 1472 echo "configure:14 73: checking for BSD-compatible nm" >&51473 if eval "test \"`echo '$''{' ac_cv_path_NM'+set}'`\" = set"; then1494 echo "configure:1495: checking for BSD-compatible nm" >&5 1495 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then 1474 1496 echo $ac_n "(cached) $ac_c" 1>&6 1475 1497 else 1476 1498 if test -n "$NM"; then 1477 1499 # Let the user override the test. 1478 ac_cv_path_NM="$NM"1500 lt_cv_path_NM="$NM" 1479 1501 else 1480 1502 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" … … 1488 1510 # Tru64's nm complains that /dev/null is an invalid object file 1489 1511 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then 1490 ac_cv_path_NM="$tmp_nm -B"1512 lt_cv_path_NM="$tmp_nm -B" 1491 1513 break 1492 1514 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then 1493 ac_cv_path_NM="$tmp_nm -p"1515 lt_cv_path_NM="$tmp_nm -p" 1494 1516 break 1495 1517 else 1496 ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but1518 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 1497 1519 continue # so that we can try to find one that supports BSD flags 1498 1520 fi … … 1500 1522 done 1501 1523 IFS="$ac_save_ifs" 1502 test -z "$ ac_cv_path_NM" && ac_cv_path_NM=nm1503 fi 1504 fi 1505 1506 NM="$ ac_cv_path_NM"1524 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm 1525 fi 1526 fi 1527 1528 NM="$lt_cv_path_NM" 1507 1529 echo "$ac_t""$NM" 1>&6 1508 1530 1509 1531 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1510 echo "configure:15 11: checking whether ln -s works" >&51532 echo "configure:1533: checking whether ln -s works" >&5 1511 1533 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1512 1534 echo $ac_n "(cached) $ac_c" 1>&6 … … 1535 1557 1536 1558 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6 1537 echo "configure:15 38: checking how to recognise dependant libraries" >&51559 echo "configure:1560: checking how to recognise dependant libraries" >&5 1538 1560 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then 1539 1561 echo $ac_n "(cached) $ac_c" 1>&6 … … 1553 1575 # whether `pass_all' will *always* work, you probably want this one. 1554 1576 1555 case "$host_os"in1556 aix 4*)1577 case $host_os in 1578 aix*) 1557 1579 lt_cv_deplibs_check_method=pass_all 1558 1580 ;; … … 1563 1585 1564 1586 bsdi4*) 1565 1566 1587 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 1588 lt_cv_file_magic_cmd='/usr/bin/file -L' 1567 1589 lt_cv_file_magic_test_file=/shlib/libc.so 1568 1590 ;; … … 1573 1595 ;; 1574 1596 1597 darwin* | rhapsody*) 1598 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' 1599 lt_cv_file_magic_cmd='/usr/bin/file -L' 1600 case "$host_os" in 1601 rhapsody* | darwin1.012) 1602 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System' 1603 ;; 1604 *) # Darwin 1.3 on 1605 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' 1606 ;; 1607 esac 1608 ;; 1609 1575 1610 freebsd* ) 1576 1611 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 1577 case "$host_cpu"in1612 case $host_cpu in 1578 1613 i*86 ) 1579 1614 # Not sure whether the presence of OpenBSD here was a mistake. 1580 1615 # Let's accept both of them until this is cleared up. 1581 1582 1616 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' 1617 lt_cv_file_magic_cmd=/usr/bin/file 1583 1618 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 1584 1619 ;; … … 1593 1628 ;; 1594 1629 1595 hpux10.20*) 1596 # TODO: Does this work for hpux-11 too? 1597 lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library' 1598 lt_cv_file_magic_cmd=/usr/bin/file 1599 lt_cv_file_magic_test_file=/usr/lib/libc.sl 1630 hpux10.20*|hpux11*) 1631 case $host_cpu in 1632 hppa*) 1633 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 1634 lt_cv_file_magic_cmd=/usr/bin/file 1635 lt_cv_file_magic_test_file=/usr/lib/libc.sl 1636 ;; 1637 ia64*) 1638 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 1639 lt_cv_file_magic_cmd=/usr/bin/file 1640 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 1641 ;; 1642 esac 1600 1643 ;; 1601 1644 1602 1645 irix5* | irix6*) 1603 case "$host_os"in1646 case $host_os in 1604 1647 irix5*) 1605 1648 # this will be overridden with pass_all, but let us keep it just in case … … 1607 1650 ;; 1608 1651 *) 1609 case "$LD"in1652 case $LD in 1610 1653 *-32|*"-32 ") libmagic=32-bit;; 1611 1654 *-n32|*"-n32 ") libmagic=N32;; … … 1614 1657 esac 1615 1658 # this will be overridden with pass_all, but let us keep it just in case 1616 1617 1659 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" 1660 ;; 1618 1661 esac 1619 1662 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` … … 1623 1666 # This must be Linux ELF. 1624 1667 linux-gnu*) 1625 case "$host_cpu"in1626 alpha* | i*86 | powerpc* | sparc* | ia64* )1668 case $host_cpu in 1669 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* ) 1627 1670 lt_cv_deplibs_check_method=pass_all ;; 1628 1671 *) 1629 1672 # glibc up to 2.1.1 does not perform some relocations on ARM 1630 1631 1673 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; 1674 esac 1632 1675 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` 1633 1676 ;; 1634 1677 1635 1678 netbsd*) 1636 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then : 1679 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 1680 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' 1637 1681 else 1638 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' 1639 lt_cv_file_magic_cmd='/usr/bin/file -L' 1640 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 1682 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' 1641 1683 fi 1642 1684 ;; … … 1644 1686 os2*) 1645 1687 lt_cv_deplibs_check_method=pass_all 1688 ;; 1689 1690 newsos6) 1691 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 1692 lt_cv_file_magic_cmd=/usr/bin/file 1693 lt_cv_file_magic_test_file=/usr/lib/libnls.so 1646 1694 ;; 1647 1695 … … 1662 1710 ;; 1663 1711 1712 sysv5uw[78]* | sysv4*uw2*) 1713 lt_cv_deplibs_check_method=pass_all 1714 ;; 1715 1664 1716 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 1665 case "$host_vendor"in1717 case $host_vendor in 1666 1718 ncr) 1667 1719 lt_cv_deplibs_check_method=pass_all 1668 1720 ;; 1669 1721 motorola) 1670 1671 1722 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]' 1723 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 1672 1724 ;; 1673 1725 esac … … 1682 1734 1683 1735 echo $ac_n "checking for object suffix""... $ac_c" 1>&6 1684 echo "configure:1 685: checking for object suffix" >&51736 echo "configure:1737: checking for object suffix" >&5 1685 1737 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then 1686 1738 echo $ac_n "(cached) $ac_c" 1>&6 … … 1688 1740 rm -f conftest* 1689 1741 echo 'int i = 1;' > conftest.$ac_ext 1690 if { (eval echo configure:1 691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1742 if { (eval echo configure:1743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1691 1743 for ac_file in conftest.*; do 1692 1744 case $ac_file in … … 1714 1766 1715 1767 # Only perform the check for file, if the check method requires it 1716 case "$deplibs_check_method"in1768 case $deplibs_check_method in 1717 1769 file_magic*) 1718 1770 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 1719 1771 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6 1720 echo "configure:17 21: checking for ${ac_tool_prefix}file" >&51772 echo "configure:1773: checking for ${ac_tool_prefix}file" >&5 1721 1773 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1722 1774 echo $ac_n "(cached) $ac_c" 1>&6 1723 1775 else 1724 case "$MAGIC_CMD"in1776 case $MAGIC_CMD in 1725 1777 /*) 1726 1778 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. … … 1738 1790 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 1739 1791 if test -n "$file_magic_test_file"; then 1740 case "$deplibs_check_method"in1792 case $deplibs_check_method in 1741 1793 "file_magic "*) 1742 1794 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" … … 1780 1832 if test -n "$ac_tool_prefix"; then 1781 1833 echo $ac_n "checking for file""... $ac_c" 1>&6 1782 echo "configure:1 783: checking for file" >&51834 echo "configure:1835: checking for file" >&5 1783 1835 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1784 1836 echo $ac_n "(cached) $ac_c" 1>&6 1785 1837 else 1786 case "$MAGIC_CMD"in1838 case $MAGIC_CMD in 1787 1839 /*) 1788 1840 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. … … 1800 1852 lt_cv_path_MAGIC_CMD="$ac_dir/file" 1801 1853 if test -n "$file_magic_test_file"; then 1802 case "$deplibs_check_method"in1854 case $deplibs_check_method in 1803 1855 "file_magic "*) 1804 1856 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" … … 1851 1903 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1852 1904 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1853 echo "configure:1 854: checking for $ac_word" >&51905 echo "configure:1906: checking for $ac_word" >&5 1854 1906 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1855 1907 echo $ac_n "(cached) $ac_c" 1>&6 … … 1884 1936 set dummy ranlib; ac_word=$2 1885 1937 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1886 echo "configure:1 887: checking for $ac_word" >&51938 echo "configure:1939: checking for $ac_word" >&5 1887 1939 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1888 1940 echo $ac_n "(cached) $ac_c" 1>&6 … … 1920 1972 set dummy ${ac_tool_prefix}strip; ac_word=$2 1921 1973 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1922 echo "configure:19 23: checking for $ac_word" >&51974 echo "configure:1975: checking for $ac_word" >&5 1923 1975 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 1924 1976 echo $ac_n "(cached) $ac_c" 1>&6 … … 1953 2005 set dummy strip; ac_word=$2 1954 2006 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1955 echo "configure: 1956: checking for $ac_word" >&52007 echo "configure:2008: checking for $ac_word" >&5 1956 2008 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 1957 2009 echo $ac_n "(cached) $ac_c" 1>&6 … … 1992 2044 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static" 1993 2045 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install" 1994 test "$ ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"1995 test "$ ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"2046 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc" 2047 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld" 1996 2048 1997 2049 … … 2018 2070 # Some flags need to be propagated to the compiler or linker for good 2019 2071 # libtool support. 2020 case "$host"in2072 case $host in 2021 2073 *-*-irix6*) 2022 2074 # Find out which ABI we are using. 2023 echo '#line 2024 "configure"' > conftest.$ac_ext 2024 if { (eval echo configure:2025: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2025 case "`/usr/bin/file conftest.o`" in 2075 echo '#line 2076 "configure"' > conftest.$ac_ext 2076 if { (eval echo configure:2077: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2077 if test "$lt_cv_prog_gnu_ld" = yes; then 2078 case `/usr/bin/file conftest.$ac_objext` in 2079 *32-bit*) 2080 LD="${LD-ld} -melf32bsmip" 2081 ;; 2082 *N32*) 2083 LD="${LD-ld} -melf32bmipn32" 2084 ;; 2085 *64-bit*) 2086 LD="${LD-ld} -melf64bmip" 2087 ;; 2088 esac 2089 else 2090 case `/usr/bin/file conftest.$ac_objext` in 2026 2091 *32-bit*) 2027 2092 LD="${LD-ld} -32" … … 2034 2099 ;; 2035 2100 esac 2101 fi 2102 fi 2103 rm -rf conftest* 2104 ;; 2105 2106 ia64-*-hpux*) 2107 # Find out which ABI we are using. 2108 echo 'int i;' > conftest.$ac_ext 2109 if { (eval echo configure:2110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2110 case "`/usr/bin/file conftest.o`" in 2111 *ELF-32*) 2112 HPUX_IA64_MODE="32" 2113 ;; 2114 *ELF-64*) 2115 HPUX_IA64_MODE="64" 2116 ;; 2117 esac 2036 2118 fi 2037 2119 rm -rf conftest* … … 2043 2125 CFLAGS="$CFLAGS -belf" 2044 2126 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 2045 echo "configure:2 046: checking whether the C compiler needs -belf" >&52127 echo "configure:2128: checking whether the C compiler needs -belf" >&5 2046 2128 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then 2047 2129 echo $ac_n "(cached) $ac_c" 1>&6 … … 2056 2138 2057 2139 cat > conftest.$ac_ext <<EOF 2058 #line 2 059"configure"2140 #line 2141 "configure" 2059 2141 #include "confdefs.h" 2060 2142 … … 2063 2145 ; return 0; } 2064 2146 EOF 2065 if { (eval echo configure:2 066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2147 if { (eval echo configure:2148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2066 2148 rm -rf conftest* 2067 2149 lt_cv_cc_needs_belf=yes … … 2173 2255 exec 5>>./config.log 2174 2256 2175 2176 2257 2177 2258 … … 2200 2281 fi 2201 2282 2202 build_warnings="-W -Wall "2283 build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" 2203 2284 # Check whether --enable-build-warnings or --disable-build-warnings was given. 2204 2285 if test "${enable_build_warnings+set}" = set; then … … 2237 2318 set dummy gcc; ac_word=$2 2238 2319 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2239 echo "configure:2 240: checking for $ac_word" >&52320 echo "configure:2321: checking for $ac_word" >&5 2240 2321 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2241 2322 echo $ac_n "(cached) $ac_c" 1>&6 … … 2268 2349 set dummy cc; ac_word=$2 2269 2350 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2270 echo "configure:2 271: checking for $ac_word" >&52351 echo "configure:2352: checking for $ac_word" >&5 2271 2352 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2272 2353 echo $ac_n "(cached) $ac_c" 1>&6 … … 2321 2402 set dummy cl; ac_word=$2 2322 2403 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2323 echo "configure:2 324: checking for $ac_word" >&52404 echo "configure:2405: checking for $ac_word" >&5 2324 2405 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2325 2406 echo $ac_n "(cached) $ac_c" 1>&6 … … 2354 2435 2355 2436 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 2356 echo "configure:2 357: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&52437 echo "configure:2438: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 2357 2438 2358 2439 ac_ext=c … … 2365 2446 cat > conftest.$ac_ext << EOF 2366 2447 2367 #line 2 368"configure"2448 #line 2449 "configure" 2368 2449 #include "confdefs.h" 2369 2450 2370 2451 main(){return(0);} 2371 2452 EOF 2372 if { (eval echo configure:2 373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2453 if { (eval echo configure:2454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2373 2454 ac_cv_prog_cc_works=yes 2374 2455 # If we can't run a trivial program, we are probably using a cross compiler. … … 2396 2477 fi 2397 2478 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 2398 echo "configure:2 399: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&52479 echo "configure:2480: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 2399 2480 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 2400 2481 cross_compiling=$ac_cv_prog_cc_cross 2401 2482 2402 2483 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 2403 echo "configure:24 04: checking whether we are using GNU C" >&52484 echo "configure:2485: checking whether we are using GNU C" >&5 2404 2485 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 2405 2486 echo $ac_n "(cached) $ac_c" 1>&6 … … 2410 2491 #endif 2411 2492 EOF 2412 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:24 13: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then2493 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 2413 2494 ac_cv_prog_gcc=yes 2414 2495 else … … 2429 2510 CFLAGS= 2430 2511 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 2431 echo "configure:2 432: checking whether ${CC-cc} accepts -g" >&52512 echo "configure:2513: checking whether ${CC-cc} accepts -g" >&5 2432 2513 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 2433 2514 echo $ac_n "(cached) $ac_c" 1>&6 … … 2466 2547 set dummy $ac_prog; ac_word=$2 2467 2548 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2468 echo "configure:2 469: checking for $ac_word" >&52549 echo "configure:2550: checking for $ac_word" >&5 2469 2550 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then 2470 2551 echo $ac_n "(cached) $ac_c" 1>&6 … … 2498 2579 2499 2580 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 2500 echo "configure:25 01: checking how to run the C preprocessor" >&52581 echo "configure:2582: checking how to run the C preprocessor" >&5 2501 2582 # On Suns, sometimes $CPP names a directory. 2502 2583 if test -n "$CPP" && test -d "$CPP"; then … … 2514 2595 cat > conftest.$ac_ext <<EOF 2515 2596 #include <sys/types.h> 2516 #line 25 17"configure"2597 #line 2598 "configure" 2517 2598 #include "confdefs.h" 2518 2599 #include <assert.h> … … 2520 2601 EOF 2521 2602 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2522 { (eval echo configure:2 523: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2603 { (eval echo configure:2604: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2523 2604 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2524 2605 if test -z "$ac_err"; then … … 2532 2613 cat > conftest.$ac_ext <<EOF 2533 2614 #include <sys/types.h> 2534 #line 2 535"configure"2615 #line 2616 "configure" 2535 2616 #include "confdefs.h" 2536 2617 #include <assert.h> … … 2538 2619 EOF 2539 2620 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2540 { (eval echo configure:2 541: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2621 { (eval echo configure:2622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2541 2622 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2542 2623 if test -z "$ac_err"; then … … 2550 2631 cat > conftest.$ac_ext <<EOF 2551 2632 #include <sys/types.h> 2552 #line 2 553"configure"2633 #line 2634 "configure" 2553 2634 #include "confdefs.h" 2554 2635 #include <assert.h> … … 2556 2637 EOF 2557 2638 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2558 { (eval echo configure:2 559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2639 { (eval echo configure:2640: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2559 2640 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2560 2641 if test -z "$ac_err"; then … … 2586 2667 set dummy $ac_prog; ac_word=$2 2587 2668 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2588 echo "configure:2 589: checking for $ac_word" >&52669 echo "configure:2670: checking for $ac_word" >&5 2589 2670 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then 2590 2671 echo $ac_n "(cached) $ac_c" 1>&6 … … 2620 2701 set dummy flex; ac_word=$2 2621 2702 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2622 echo "configure:2 623: checking for $ac_word" >&52703 echo "configure:2704: checking for $ac_word" >&5 2623 2704 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then 2624 2705 echo $ac_n "(cached) $ac_c" 1>&6 … … 2655 2736 esac 2656 2737 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 2657 echo "configure:2 658: checking for yywrap in -l$ac_lib" >&52738 echo "configure:2739: checking for yywrap in -l$ac_lib" >&5 2658 2739 ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'` 2659 2740 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 2663 2744 LIBS="-l$ac_lib $LIBS" 2664 2745 cat > conftest.$ac_ext <<EOF 2665 #line 2 666"configure"2746 #line 2747 "configure" 2666 2747 #include "confdefs.h" 2667 2748 /* Override any gcc2 internal prototype to avoid an error. */ … … 2674 2755 ; return 0; } 2675 2756 EOF 2676 if { (eval echo configure:2 677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2757 if { (eval echo configure:2758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2677 2758 rm -rf conftest* 2678 2759 eval "ac_cv_lib_$ac_lib_var=yes" … … 2697 2778 2698 2779 echo $ac_n "checking lex output file root""... $ac_c" 1>&6 2699 echo "configure:27 00: checking lex output file root" >&52780 echo "configure:2781: checking lex output file root" >&5 2700 2781 if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then 2701 2782 echo $ac_n "(cached) $ac_c" 1>&6 … … 2718 2799 2719 2800 echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6 2720 echo "configure:2 721: checking whether yytext is a pointer" >&52801 echo "configure:2802: checking whether yytext is a pointer" >&5 2721 2802 if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then 2722 2803 echo $ac_n "(cached) $ac_c" 1>&6 … … 2730 2811 LIBS="$LIBS $LEXLIB" 2731 2812 cat > conftest.$ac_ext <<EOF 2732 #line 2 733"configure"2813 #line 2814 "configure" 2733 2814 #include "confdefs.h" 2734 2815 `cat $LEX_OUTPUT_ROOT.c` … … 2737 2818 ; return 0; } 2738 2819 EOF 2739 if { (eval echo configure:2 740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2820 if { (eval echo configure:2821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2740 2821 rm -rf conftest* 2741 2822 ac_cv_prog_lex_yytext_pointer=yes … … 2759 2840 2760 2841 2761 ALL_LINGUAS= 2842 ALL_LINGUAS="fr tr ja es sv da zh_CN" 2762 2843 # Extract the first word of "ranlib", so it can be a program name with args. 2763 2844 set dummy ranlib; ac_word=$2 2764 2845 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2765 echo "configure:2 766: checking for $ac_word" >&52846 echo "configure:2847: checking for $ac_word" >&5 2766 2847 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 2767 2848 echo $ac_n "(cached) $ac_c" 1>&6 … … 2792 2873 2793 2874 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2794 echo "configure:2 795: checking for ANSI C header files" >&52875 echo "configure:2876: checking for ANSI C header files" >&5 2795 2876 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2796 2877 echo $ac_n "(cached) $ac_c" 1>&6 … … 2798 2879 cat > conftest.$ac_ext <<EOF 2799 2880 #include <sys/types.h> 2800 #line 28 01"configure"2881 #line 2882 "configure" 2801 2882 #include "confdefs.h" 2802 2883 #include <stdlib.h> … … 2806 2887 EOF 2807 2888 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2808 { (eval echo configure:28 09: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2889 { (eval echo configure:2890: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2809 2890 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2810 2891 if test -z "$ac_err"; then … … 2823 2904 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2824 2905 cat > conftest.$ac_ext <<EOF 2825 #line 2 826"configure"2906 #line 2907 "configure" 2826 2907 #include "confdefs.h" 2827 2908 #include <string.h> … … 2841 2922 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2842 2923 cat > conftest.$ac_ext <<EOF 2843 #line 2 844"configure"2924 #line 2925 "configure" 2844 2925 #include "confdefs.h" 2845 2926 #include <stdlib.h> … … 2862 2943 else 2863 2944 cat > conftest.$ac_ext <<EOF 2864 #line 2 865"configure"2945 #line 2946 "configure" 2865 2946 #include "confdefs.h" 2866 2947 #include <ctype.h> … … 2873 2954 2874 2955 EOF 2875 if { (eval echo configure:2 876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2956 if { (eval echo configure:2957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2876 2957 then 2877 2958 : … … 2897 2978 2898 2979 echo $ac_n "checking for working const""... $ac_c" 1>&6 2899 echo "configure:29 00: checking for working const" >&52980 echo "configure:2981: checking for working const" >&5 2900 2981 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 2901 2982 echo $ac_n "(cached) $ac_c" 1>&6 2902 2983 else 2903 2984 cat > conftest.$ac_ext <<EOF 2904 #line 29 05"configure"2985 #line 2986 "configure" 2905 2986 #include "confdefs.h" 2906 2987 … … 2951 3032 ; return 0; } 2952 3033 EOF 2953 if { (eval echo configure: 2954: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3034 if { (eval echo configure:3035: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2954 3035 rm -rf conftest* 2955 3036 ac_cv_c_const=yes … … 2972 3053 2973 3054 echo $ac_n "checking for inline""... $ac_c" 1>&6 2974 echo "configure: 2975: checking for inline" >&53055 echo "configure:3056: checking for inline" >&5 2975 3056 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 2976 3057 echo $ac_n "(cached) $ac_c" 1>&6 … … 2979 3060 for ac_kw in inline __inline__ __inline; do 2980 3061 cat > conftest.$ac_ext <<EOF 2981 #line 2982"configure"3062 #line 3063 "configure" 2982 3063 #include "confdefs.h" 2983 3064 … … 2986 3067 ; return 0; } 2987 3068 EOF 2988 if { (eval echo configure: 2989: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3069 if { (eval echo configure:3070: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2989 3070 rm -rf conftest* 2990 3071 ac_cv_c_inline=$ac_kw; break … … 3012 3093 3013 3094 echo $ac_n "checking for off_t""... $ac_c" 1>&6 3014 echo "configure:30 15: checking for off_t" >&53095 echo "configure:3096: checking for off_t" >&5 3015 3096 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then 3016 3097 echo $ac_n "(cached) $ac_c" 1>&6 3017 3098 else 3018 3099 cat > conftest.$ac_ext <<EOF 3019 #line 3 020"configure"3100 #line 3101 "configure" 3020 3101 #include "confdefs.h" 3021 3102 #include <sys/types.h> … … 3045 3126 3046 3127 echo $ac_n "checking for size_t""... $ac_c" 1>&6 3047 echo "configure:3 048: checking for size_t" >&53128 echo "configure:3129: checking for size_t" >&5 3048 3129 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 3049 3130 echo $ac_n "(cached) $ac_c" 1>&6 3050 3131 else 3051 3132 cat > conftest.$ac_ext <<EOF 3052 #line 3 053"configure"3133 #line 3134 "configure" 3053 3134 #include "confdefs.h" 3054 3135 #include <sys/types.h> … … 3080 3161 # for constant arguments. Useless! 3081 3162 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 3082 echo "configure:3 083: checking for working alloca.h" >&53163 echo "configure:3164: checking for working alloca.h" >&5 3083 3164 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 3084 3165 echo $ac_n "(cached) $ac_c" 1>&6 3085 3166 else 3086 3167 cat > conftest.$ac_ext <<EOF 3087 #line 3 088"configure"3168 #line 3169 "configure" 3088 3169 #include "confdefs.h" 3089 3170 #include <alloca.h> … … 3092 3173 ; return 0; } 3093 3174 EOF 3094 if { (eval echo configure:3 095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3175 if { (eval echo configure:3176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3095 3176 rm -rf conftest* 3096 3177 ac_cv_header_alloca_h=yes … … 3113 3194 3114 3195 echo $ac_n "checking for alloca""... $ac_c" 1>&6 3115 echo "configure:31 16: checking for alloca" >&53196 echo "configure:3197: checking for alloca" >&5 3116 3197 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 3117 3198 echo $ac_n "(cached) $ac_c" 1>&6 3118 3199 else 3119 3200 cat > conftest.$ac_ext <<EOF 3120 #line 3 121"configure"3201 #line 3202 "configure" 3121 3202 #include "confdefs.h" 3122 3203 … … 3146 3227 ; return 0; } 3147 3228 EOF 3148 if { (eval echo configure:3 149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3229 if { (eval echo configure:3230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3149 3230 rm -rf conftest* 3150 3231 ac_cv_func_alloca_works=yes … … 3178 3259 3179 3260 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 3180 echo "configure:3 181: checking whether alloca needs Cray hooks" >&53261 echo "configure:3262: checking whether alloca needs Cray hooks" >&5 3181 3262 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 3182 3263 echo $ac_n "(cached) $ac_c" 1>&6 3183 3264 else 3184 3265 cat > conftest.$ac_ext <<EOF 3185 #line 3 186"configure"3266 #line 3267 "configure" 3186 3267 #include "confdefs.h" 3187 3268 #if defined(CRAY) && ! defined(CRAY2) … … 3208 3289 for ac_func in _getb67 GETB67 getb67; do 3209 3290 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3210 echo "configure:32 11: checking for $ac_func" >&53291 echo "configure:3292: checking for $ac_func" >&5 3211 3292 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3212 3293 echo $ac_n "(cached) $ac_c" 1>&6 3213 3294 else 3214 3295 cat > conftest.$ac_ext <<EOF 3215 #line 32 16"configure"3296 #line 3297 "configure" 3216 3297 #include "confdefs.h" 3217 3298 /* System header to define __stub macros and hopefully few prototypes, … … 3236 3317 ; return 0; } 3237 3318 EOF 3238 if { (eval echo configure:3 239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3319 if { (eval echo configure:3320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3239 3320 rm -rf conftest* 3240 3321 eval "ac_cv_func_$ac_func=yes" … … 3263 3344 3264 3345 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 3265 echo "configure:3 266: checking stack direction for C alloca" >&53346 echo "configure:3347: checking stack direction for C alloca" >&5 3266 3347 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 3267 3348 echo $ac_n "(cached) $ac_c" 1>&6 … … 3271 3352 else 3272 3353 cat > conftest.$ac_ext <<EOF 3273 #line 3 274"configure"3354 #line 3355 "configure" 3274 3355 #include "confdefs.h" 3275 3356 find_stack_direction () … … 3290 3371 } 3291 3372 EOF 3292 if { (eval echo configure:3 293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3373 if { (eval echo configure:3374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3293 3374 then 3294 3375 ac_cv_c_stack_direction=1 … … 3315 3396 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3316 3397 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3317 echo "configure:33 18: checking for $ac_hdr" >&53398 echo "configure:3399: checking for $ac_hdr" >&5 3318 3399 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3319 3400 echo $ac_n "(cached) $ac_c" 1>&6 … … 3321 3402 cat > conftest.$ac_ext <<EOF 3322 3403 #include <sys/types.h> 3323 #line 3 324"configure"3404 #line 3405 "configure" 3324 3405 #include "confdefs.h" 3325 3406 #include <$ac_hdr> 3326 3407 EOF 3327 3408 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3328 { (eval echo configure:3 329: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3409 { (eval echo configure:3410: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3329 3410 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3330 3411 if test -z "$ac_err"; then … … 3355 3436 do 3356 3437 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3357 echo "configure:3 358: checking for $ac_func" >&53438 echo "configure:3439: checking for $ac_func" >&5 3358 3439 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3359 3440 echo $ac_n "(cached) $ac_c" 1>&6 3360 3441 else 3361 3442 cat > conftest.$ac_ext <<EOF 3362 #line 3 363"configure"3443 #line 3444 "configure" 3363 3444 #include "confdefs.h" 3364 3445 /* System header to define __stub macros and hopefully few prototypes, … … 3383 3464 ; return 0; } 3384 3465 EOF 3385 if { (eval echo configure:3 386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3466 if { (eval echo configure:3467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3386 3467 rm -rf conftest* 3387 3468 eval "ac_cv_func_$ac_func=yes" … … 3408 3489 3409 3490 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 3410 echo "configure:34 11: checking for working mmap" >&53491 echo "configure:3492: checking for working mmap" >&5 3411 3492 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 3412 3493 echo $ac_n "(cached) $ac_c" 1>&6 … … 3416 3497 else 3417 3498 cat > conftest.$ac_ext <<EOF 3418 #line 3 419"configure"3499 #line 3500 "configure" 3419 3500 #include "confdefs.h" 3420 3501 … … 3556 3637 3557 3638 EOF 3558 if { (eval echo configure:3 559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3639 if { (eval echo configure:3640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3559 3640 then 3560 3641 ac_cv_func_mmap_fixed_mapped=yes … … 3584 3665 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3585 3666 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3586 echo "configure:3 587: checking for $ac_hdr" >&53667 echo "configure:3668: checking for $ac_hdr" >&5 3587 3668 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3588 3669 echo $ac_n "(cached) $ac_c" 1>&6 … … 3590 3671 cat > conftest.$ac_ext <<EOF 3591 3672 #include <sys/types.h> 3592 #line 3 593"configure"3673 #line 3674 "configure" 3593 3674 #include "confdefs.h" 3594 3675 #include <$ac_hdr> 3595 3676 EOF 3596 3677 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3597 { (eval echo configure:3 598: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3678 { (eval echo configure:3679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3598 3679 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3599 3680 if test -z "$ac_err"; then … … 3625 3706 do 3626 3707 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3627 echo "configure:3 628: checking for $ac_func" >&53708 echo "configure:3709: checking for $ac_func" >&5 3628 3709 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3629 3710 echo $ac_n "(cached) $ac_c" 1>&6 3630 3711 else 3631 3712 cat > conftest.$ac_ext <<EOF 3632 #line 3 633"configure"3713 #line 3714 "configure" 3633 3714 #include "confdefs.h" 3634 3715 /* System header to define __stub macros and hopefully few prototypes, … … 3653 3734 ; return 0; } 3654 3735 EOF 3655 if { (eval echo configure:3 656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3736 if { (eval echo configure:3737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3656 3737 rm -rf conftest* 3657 3738 eval "ac_cv_func_$ac_func=yes" … … 3682 3763 do 3683 3764 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3684 echo "configure:3 685: checking for $ac_func" >&53765 echo "configure:3766: checking for $ac_func" >&5 3685 3766 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3686 3767 echo $ac_n "(cached) $ac_c" 1>&6 3687 3768 else 3688 3769 cat > conftest.$ac_ext <<EOF 3689 #line 3 690"configure"3770 #line 3771 "configure" 3690 3771 #include "confdefs.h" 3691 3772 /* System header to define __stub macros and hopefully few prototypes, … … 3710 3791 ; return 0; } 3711 3792 EOF 3712 if { (eval echo configure:37 13: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3793 if { (eval echo configure:3794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3713 3794 rm -rf conftest* 3714 3795 eval "ac_cv_func_$ac_func=yes" … … 3744 3825 if test $ac_cv_header_locale_h = yes; then 3745 3826 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 3746 echo "configure:3 747: checking for LC_MESSAGES" >&53827 echo "configure:3828: checking for LC_MESSAGES" >&5 3747 3828 if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then 3748 3829 echo $ac_n "(cached) $ac_c" 1>&6 3749 3830 else 3750 3831 cat > conftest.$ac_ext <<EOF 3751 #line 3 752"configure"3832 #line 3833 "configure" 3752 3833 #include "confdefs.h" 3753 3834 #include <locale.h> … … 3756 3837 ; return 0; } 3757 3838 EOF 3758 if { (eval echo configure:3 759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3839 if { (eval echo configure:3840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3759 3840 rm -rf conftest* 3760 3841 am_cv_val_LC_MESSAGES=yes … … 3777 3858 fi 3778 3859 echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 3779 echo "configure:3 780: checking whether NLS is requested" >&53860 echo "configure:3861: checking whether NLS is requested" >&5 3780 3861 # Check whether --enable-nls or --disable-nls was given. 3781 3862 if test "${enable_nls+set}" = set; then … … 3797 3878 3798 3879 echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6 3799 echo "configure:38 00: checking whether included gettext is requested" >&53880 echo "configure:3881: checking whether included gettext is requested" >&5 3800 3881 # Check whether --with-included-gettext or --without-included-gettext was given. 3801 3882 if test "${with_included_gettext+set}" = set; then … … 3816 3897 ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'` 3817 3898 echo $ac_n "checking for libintl.h""... $ac_c" 1>&6 3818 echo "configure:3 819: checking for libintl.h" >&53899 echo "configure:3900: checking for libintl.h" >&5 3819 3900 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3820 3901 echo $ac_n "(cached) $ac_c" 1>&6 … … 3822 3903 cat > conftest.$ac_ext <<EOF 3823 3904 #include <sys/types.h> 3824 #line 3 825"configure"3905 #line 3906 "configure" 3825 3906 #include "confdefs.h" 3826 3907 #include <libintl.h> 3827 3908 EOF 3828 3909 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3829 { (eval echo configure:3 830: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3910 { (eval echo configure:3911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3830 3911 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3831 3912 if test -z "$ac_err"; then … … 3844 3925 echo "$ac_t""yes" 1>&6 3845 3926 echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6 3846 echo "configure:3 847: checking for gettext in libc" >&53927 echo "configure:3928: checking for gettext in libc" >&5 3847 3928 if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then 3848 3929 echo $ac_n "(cached) $ac_c" 1>&6 3849 3930 else 3850 3931 cat > conftest.$ac_ext <<EOF 3851 #line 3 852"configure"3932 #line 3933 "configure" 3852 3933 #include "confdefs.h" 3853 3934 #include <libintl.h> … … 3856 3937 ; return 0; } 3857 3938 EOF 3858 if { (eval echo configure:3 859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3939 if { (eval echo configure:3940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3859 3940 rm -rf conftest* 3860 3941 gt_cv_func_gettext_libc=yes … … 3872 3953 if test "$gt_cv_func_gettext_libc" != "yes"; then 3873 3954 echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6 3874 echo "configure:3 875: checking for bindtextdomain in -lintl" >&53955 echo "configure:3956: checking for bindtextdomain in -lintl" >&5 3875 3956 ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'` 3876 3957 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3880 3961 LIBS="-lintl $LIBS" 3881 3962 cat > conftest.$ac_ext <<EOF 3882 #line 3 883"configure"3963 #line 3964 "configure" 3883 3964 #include "confdefs.h" 3884 3965 /* Override any gcc2 internal prototype to avoid an error. */ … … 3891 3972 ; return 0; } 3892 3973 EOF 3893 if { (eval echo configure:3 894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3974 if { (eval echo configure:3975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3894 3975 rm -rf conftest* 3895 3976 eval "ac_cv_lib_$ac_lib_var=yes" … … 3907 3988 echo "$ac_t""yes" 1>&6 3908 3989 echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6 3909 echo "configure:39 10: checking for gettext in libintl" >&53990 echo "configure:3991: checking for gettext in libintl" >&5 3910 3991 if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then 3911 3992 echo $ac_n "(cached) $ac_c" 1>&6 3912 3993 else 3913 3994 cat > conftest.$ac_ext <<EOF 3914 #line 39 15"configure"3995 #line 3996 "configure" 3915 3996 #include "confdefs.h" 3916 3997 … … 3919 4000 ; return 0; } 3920 4001 EOF 3921 if { (eval echo configure: 3922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4002 if { (eval echo configure:4003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3922 4003 rm -rf conftest* 3923 4004 gt_cv_func_gettext_libintl=yes … … 3947 4028 set dummy msgfmt; ac_word=$2 3948 4029 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3949 echo "configure: 3950: checking for $ac_word" >&54030 echo "configure:4031: checking for $ac_word" >&5 3950 4031 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then 3951 4032 echo $ac_n "(cached) $ac_c" 1>&6 … … 3981 4062 do 3982 4063 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3983 echo "configure: 3984: checking for $ac_func" >&54064 echo "configure:4065: checking for $ac_func" >&5 3984 4065 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3985 4066 echo $ac_n "(cached) $ac_c" 1>&6 3986 4067 else 3987 4068 cat > conftest.$ac_ext <<EOF 3988 #line 3989"configure"4069 #line 4070 "configure" 3989 4070 #include "confdefs.h" 3990 4071 /* System header to define __stub macros and hopefully few prototypes, … … 4009 4090 ; return 0; } 4010 4091 EOF 4011 if { (eval echo configure:40 12: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4092 if { (eval echo configure:4093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4012 4093 rm -rf conftest* 4013 4094 eval "ac_cv_func_$ac_func=yes" … … 4036 4117 set dummy gmsgfmt; ac_word=$2 4037 4118 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4038 echo "configure:4 039: checking for $ac_word" >&54119 echo "configure:4120: checking for $ac_word" >&5 4039 4120 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then 4040 4121 echo $ac_n "(cached) $ac_c" 1>&6 … … 4076 4157 set dummy xgettext; ac_word=$2 4077 4158 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4078 echo "configure:4 079: checking for $ac_word" >&54159 echo "configure:4160: checking for $ac_word" >&5 4079 4160 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then 4080 4161 echo $ac_n "(cached) $ac_c" 1>&6 … … 4108 4189 4109 4190 cat > conftest.$ac_ext <<EOF 4110 #line 41 11"configure"4191 #line 4192 "configure" 4111 4192 #include "confdefs.h" 4112 4193 … … 4116 4197 ; return 0; } 4117 4198 EOF 4118 if { (eval echo configure:4 119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4199 if { (eval echo configure:4200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4119 4200 rm -rf conftest* 4120 4201 CATOBJEXT=.gmo … … 4148 4229 set dummy msgfmt; ac_word=$2 4149 4230 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4150 echo "configure:4 151: checking for $ac_word" >&54231 echo "configure:4232: checking for $ac_word" >&5 4151 4232 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then 4152 4233 echo $ac_n "(cached) $ac_c" 1>&6 … … 4182 4263 set dummy gmsgfmt; ac_word=$2 4183 4264 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4184 echo "configure:4 185: checking for $ac_word" >&54265 echo "configure:4266: checking for $ac_word" >&5 4185 4266 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then 4186 4267 echo $ac_n "(cached) $ac_c" 1>&6 … … 4222 4303 set dummy xgettext; ac_word=$2 4223 4304 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4224 echo "configure:4 225: checking for $ac_word" >&54305 echo "configure:4306: checking for $ac_word" >&5 4225 4306 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then 4226 4307 echo $ac_n "(cached) $ac_c" 1>&6 … … 4312 4393 else 4313 4394 echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 4314 echo "configure:43 15: checking for catalogs to be installed" >&54395 echo "configure:4396: checking for catalogs to be installed" >&5 4315 4396 NEW_LINGUAS= 4316 4397 for lang in ${LINGUAS=$ALL_LINGUAS}; do … … 4340 4421 ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'` 4341 4422 echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6 4342 echo "configure:4 343: checking for linux/version.h" >&54423 echo "configure:4424: checking for linux/version.h" >&5 4343 4424 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4344 4425 echo $ac_n "(cached) $ac_c" 1>&6 … … 4346 4427 cat > conftest.$ac_ext <<EOF 4347 4428 #include <sys/types.h> 4348 #line 4 349"configure"4429 #line 4430 "configure" 4349 4430 #include "confdefs.h" 4350 4431 #include <linux/version.h> 4351 4432 EOF 4352 4433 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4353 { (eval echo configure:4 354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4434 { (eval echo configure:4435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4354 4435 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4355 4436 if test -z "$ac_err"; then … … 4396 4477 4397 4478 4398 if test - d $srcdir/po; then4479 if test -f $srcdir/po/POTFILES.in; then 4399 4480 test -d po || mkdir po 4400 4481 if test "x$srcdir" != "x."; then 4401 if test "x`echo $srcdir | sed -e 's@.\:/.*@@' -e 's@/.*@@' `" = "x"; then4482 if test "x`echo $srcdir | sed -e 's@.\:/.*@@' -e 's@/.*@@' `" = "x"; then 4402 4483 posrcprefix="$srcdir/" 4403 4484 else … … 4414 4495 4415 4496 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 4416 echo "configure:44 17: checking whether to enable maintainer-specific portions of Makefiles" >&54497 echo "configure:4498: checking whether to enable maintainer-specific portions of Makefiles" >&5 4417 4498 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 4418 4499 if test "${enable_maintainer_mode+set}" = set; then … … 4440 4521 4441 4522 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 4442 echo "configure:4 443: checking for executable suffix" >&54523 echo "configure:4524: checking for executable suffix" >&5 4443 4524 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 4444 4525 echo $ac_n "(cached) $ac_c" 1>&6 … … 4450 4531 echo 'int main () { return 0; }' > conftest.$ac_ext 4451 4532 ac_cv_exeext= 4452 if { (eval echo configure:4 453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then4533 if { (eval echo configure:4534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 4453 4534 for file in conftest.*; do 4454 4535 case $file in … … 4493 4574 set dummy ranlib; ac_word=$2 4494 4575 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4495 echo "configure:4 496: checking for $ac_word" >&54576 echo "configure:4577: checking for $ac_word" >&5 4496 4577 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 4497 4578 echo $ac_n "(cached) $ac_c" 1>&6 … … 4533 4614 # ./install, which can be erroneously created by make from ./install.sh. 4534 4615 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 4535 echo "configure:4 536: checking for a BSD compatible install" >&54616 echo "configure:4617: checking for a BSD compatible install" >&5 4536 4617 if test -z "$INSTALL"; then 4537 4618 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 4602 4683 else 4603 4684 echo $ac_n "checking for build system executable suffix""... $ac_c" 1>&6 4604 echo "configure:46 05: checking for build system executable suffix" >&54685 echo "configure:4686: checking for build system executable suffix" >&5 4605 4686 if eval "test \"`echo '$''{'bfd_cv_build_exeext'+set}'`\" = set"; then 4606 4687 echo $ac_n "(cached) $ac_c" 1>&6 … … 4637 4718 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4638 4719 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4639 echo "configure:4 640: checking for $ac_hdr" >&54720 echo "configure:4721: checking for $ac_hdr" >&5 4640 4721 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4641 4722 echo $ac_n "(cached) $ac_c" 1>&6 … … 4643 4724 cat > conftest.$ac_ext <<EOF 4644 4725 #include <sys/types.h> 4645 #line 4 646"configure"4726 #line 4727 "configure" 4646 4727 #include "confdefs.h" 4647 4728 #include <$ac_hdr> 4648 4729 EOF 4649 4730 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4650 { (eval echo configure:4 651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4731 { (eval echo configure:4732: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4651 4732 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4652 4733 if test -z "$ac_err"; then … … 4675 4756 4676 4757 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 4677 echo "configure:4 678: checking for sys/wait.h that is POSIX.1 compatible" >&54758 echo "configure:4759: checking for sys/wait.h that is POSIX.1 compatible" >&5 4678 4759 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then 4679 4760 echo $ac_n "(cached) $ac_c" 1>&6 4680 4761 else 4681 4762 cat > conftest.$ac_ext <<EOF 4682 #line 4 683"configure"4763 #line 4764 "configure" 4683 4764 #include "confdefs.h" 4684 4765 #include <sys/types.h> … … 4696 4777 ; return 0; } 4697 4778 EOF 4698 if { (eval echo configure:4 699: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4779 if { (eval echo configure:4780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4699 4780 rm -rf conftest* 4700 4781 ac_cv_header_sys_wait_h=yes … … 4719 4800 # for constant arguments. Useless! 4720 4801 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 4721 echo "configure:4 722: checking for working alloca.h" >&54802 echo "configure:4803: checking for working alloca.h" >&5 4722 4803 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 4723 4804 echo $ac_n "(cached) $ac_c" 1>&6 4724 4805 else 4725 4806 cat > conftest.$ac_ext <<EOF 4726 #line 4 727"configure"4807 #line 4808 "configure" 4727 4808 #include "confdefs.h" 4728 4809 #include <alloca.h> … … 4731 4812 ; return 0; } 4732 4813 EOF 4733 if { (eval echo configure:4 734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4814 if { (eval echo configure:4815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4734 4815 rm -rf conftest* 4735 4816 ac_cv_header_alloca_h=yes … … 4752 4833 4753 4834 echo $ac_n "checking for alloca""... $ac_c" 1>&6 4754 echo "configure:4 755: checking for alloca" >&54835 echo "configure:4836: checking for alloca" >&5 4755 4836 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 4756 4837 echo $ac_n "(cached) $ac_c" 1>&6 4757 4838 else 4758 4839 cat > conftest.$ac_ext <<EOF 4759 #line 4 760"configure"4840 #line 4841 "configure" 4760 4841 #include "confdefs.h" 4761 4842 … … 4785 4866 ; return 0; } 4786 4867 EOF 4787 if { (eval echo configure:4 788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4868 if { (eval echo configure:4869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4788 4869 rm -rf conftest* 4789 4870 ac_cv_func_alloca_works=yes … … 4817 4898 4818 4899 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 4819 echo "configure:4 820: checking whether alloca needs Cray hooks" >&54900 echo "configure:4901: checking whether alloca needs Cray hooks" >&5 4820 4901 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 4821 4902 echo $ac_n "(cached) $ac_c" 1>&6 4822 4903 else 4823 4904 cat > conftest.$ac_ext <<EOF 4824 #line 4 825"configure"4905 #line 4906 "configure" 4825 4906 #include "confdefs.h" 4826 4907 #if defined(CRAY) && ! defined(CRAY2) … … 4847 4928 for ac_func in _getb67 GETB67 getb67; do 4848 4929 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4849 echo "configure:4 850: checking for $ac_func" >&54930 echo "configure:4931: checking for $ac_func" >&5 4850 4931 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4851 4932 echo $ac_n "(cached) $ac_c" 1>&6 4852 4933 else 4853 4934 cat > conftest.$ac_ext <<EOF 4854 #line 4 855"configure"4935 #line 4936 "configure" 4855 4936 #include "confdefs.h" 4856 4937 /* System header to define __stub macros and hopefully few prototypes, … … 4875 4956 ; return 0; } 4876 4957 EOF 4877 if { (eval echo configure:4 878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4958 if { (eval echo configure:4959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4878 4959 rm -rf conftest* 4879 4960 eval "ac_cv_func_$ac_func=yes" … … 4902 4983 4903 4984 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 4904 echo "configure:49 05: checking stack direction for C alloca" >&54985 echo "configure:4986: checking stack direction for C alloca" >&5 4905 4986 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 4906 4987 echo $ac_n "(cached) $ac_c" 1>&6 … … 4910 4991 else 4911 4992 cat > conftest.$ac_ext <<EOF 4912 #line 49 13"configure"4993 #line 4994 "configure" 4913 4994 #include "confdefs.h" 4914 4995 find_stack_direction () … … 4929 5010 } 4930 5011 EOF 4931 if { (eval echo configure: 4932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null5012 if { (eval echo configure:5013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 4932 5013 then 4933 5014 ac_cv_c_stack_direction=1 … … 4950 5031 fi 4951 5032 4952 for ac_func in sbrk utimes setmode 5033 for ac_func in sbrk utimes setmode getc_unlocked strcoll 4953 5034 do 4954 5035 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4955 echo "configure: 4956: checking for $ac_func" >&55036 echo "configure:5037: checking for $ac_func" >&5 4956 5037 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4957 5038 echo $ac_n "(cached) $ac_c" 1>&6 4958 5039 else 4959 5040 cat > conftest.$ac_ext <<EOF 4960 #line 4961"configure"5041 #line 5042 "configure" 4961 5042 #include "confdefs.h" 4962 5043 /* System header to define __stub macros and hopefully few prototypes, … … 4981 5062 ; return 0; } 4982 5063 EOF 4983 if { (eval echo configure: 4984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5064 if { (eval echo configure:5065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4984 5065 rm -rf conftest* 4985 5066 eval "ac_cv_func_$ac_func=yes" … … 5006 5087 5007 5088 5089 # Check whether fopen64 is available and whether _LARGEFILE64_SOURCE 5090 # needs to be defined for it 5091 echo $ac_n "checking for fopen64""... $ac_c" 1>&6 5092 echo "configure:5093: checking for fopen64" >&5 5093 if eval "test \"`echo '$''{'bu_cv_have_fopen64'+set}'`\" = set"; then 5094 echo $ac_n "(cached) $ac_c" 1>&6 5095 else 5096 cat > conftest.$ac_ext <<EOF 5097 #line 5098 "configure" 5098 #include "confdefs.h" 5099 #include <stdio.h> 5100 int main() { 5101 FILE *f = fopen64 ("/tmp/foo","r"); 5102 ; return 0; } 5103 EOF 5104 if { (eval echo configure:5105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5105 rm -rf conftest* 5106 bu_cv_have_fopen64=yes 5107 else 5108 echo "configure: failed program was:" >&5 5109 cat conftest.$ac_ext >&5 5110 rm -rf conftest* 5111 saved_CPPFLAGS=$CPPFLAGS 5112 CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE" 5113 cat > conftest.$ac_ext <<EOF 5114 #line 5115 "configure" 5115 #include "confdefs.h" 5116 #include <stdio.h> 5117 int main() { 5118 FILE *f = fopen64 ("/tmp/foo","r"); 5119 ; return 0; } 5120 EOF 5121 if { (eval echo configure:5122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5122 rm -rf conftest* 5123 bu_cv_have_fopen64="need -D_LARGEFILE64_SOURCE" 5124 else 5125 echo "configure: failed program was:" >&5 5126 cat conftest.$ac_ext >&5 5127 rm -rf conftest* 5128 bu_cv_have_fopen64=no 5129 fi 5130 rm -f conftest* 5131 CPPFLAGS=$saved_CPPFLAGS 5132 fi 5133 rm -f conftest* 5134 fi 5135 5136 echo "$ac_t""$bu_cv_have_fopen64" 1>&6 5137 if test "$bu_cv_have_fopen64" != no; then 5138 cat >> confdefs.h <<\EOF 5139 #define HAVE_FOPEN64 1 5140 EOF 5141 5142 if test "$bu_cv_have_fopen64" = "need -D_LARGEFILE64_SOURCE"; then 5143 cat >> confdefs.h <<\EOF 5144 #define _LARGEFILE64_SOURCE 1 5145 EOF 5146 5147 fi 5148 fi 5149 5008 5150 # Some systems have frexp only in -lm, not in -lc. 5009 5151 5010 5152 echo $ac_n "checking for library containing frexp""... $ac_c" 1>&6 5011 echo "configure:5 012: checking for library containing frexp" >&55153 echo "configure:5154: checking for library containing frexp" >&5 5012 5154 if eval "test \"`echo '$''{'ac_cv_search_frexp'+set}'`\" = set"; then 5013 5155 echo $ac_n "(cached) $ac_c" 1>&6 … … 5016 5158 ac_cv_search_frexp="no" 5017 5159 cat > conftest.$ac_ext <<EOF 5018 #line 5 019"configure"5160 #line 5161 "configure" 5019 5161 #include "confdefs.h" 5020 5162 /* Override any gcc2 internal prototype to avoid an error. */ … … 5027 5169 ; return 0; } 5028 5170 EOF 5029 if { (eval echo configure:5 030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5171 if { (eval echo configure:5172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5030 5172 rm -rf conftest* 5031 5173 ac_cv_search_frexp="none required" … … 5038 5180 LIBS="-l$i $ac_func_search_save_LIBS" 5039 5181 cat > conftest.$ac_ext <<EOF 5040 #line 5 041"configure"5182 #line 5183 "configure" 5041 5183 #include "confdefs.h" 5042 5184 /* Override any gcc2 internal prototype to avoid an error. */ … … 5049 5191 ; return 0; } 5050 5192 EOF 5051 if { (eval echo configure:5 052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5193 if { (eval echo configure:5194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5052 5194 rm -rf conftest* 5053 5195 ac_cv_search_frexp="-l$i" … … 5071 5213 5072 5214 echo $ac_n "checking for time_t in time.h""... $ac_c" 1>&6 5073 echo "configure:5 074: checking for time_t in time.h" >&55215 echo "configure:5216: checking for time_t in time.h" >&5 5074 5216 if eval "test \"`echo '$''{'bu_cv_decl_time_t_time_h'+set}'`\" = set"; then 5075 5217 echo $ac_n "(cached) $ac_c" 1>&6 5076 5218 else 5077 5219 cat > conftest.$ac_ext <<EOF 5078 #line 5 079"configure"5220 #line 5221 "configure" 5079 5221 #include "confdefs.h" 5080 5222 #include <time.h> … … 5083 5225 ; return 0; } 5084 5226 EOF 5085 if { (eval echo configure:5 086: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5227 if { (eval echo configure:5228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5086 5228 rm -rf conftest* 5087 5229 bu_cv_decl_time_t_time_h=yes … … 5104 5246 5105 5247 echo $ac_n "checking for time_t in sys/types.h""... $ac_c" 1>&6 5106 echo "configure:5 107: checking for time_t in sys/types.h" >&55248 echo "configure:5249: checking for time_t in sys/types.h" >&5 5107 5249 if eval "test \"`echo '$''{'bu_cv_decl_time_t_types_h'+set}'`\" = set"; then 5108 5250 echo $ac_n "(cached) $ac_c" 1>&6 5109 5251 else 5110 5252 cat > conftest.$ac_ext <<EOF 5111 #line 5 112"configure"5253 #line 5254 "configure" 5112 5254 #include "confdefs.h" 5113 5255 #include <sys/types.h> … … 5116 5258 ; return 0; } 5117 5259 EOF 5118 if { (eval echo configure:5 119: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5260 if { (eval echo configure:5261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5119 5261 rm -rf conftest* 5120 5262 bu_cv_decl_time_t_types_h=yes … … 5139 5281 # by default. 5140 5282 echo $ac_n "checking for utime.h""... $ac_c" 1>&6 5141 echo "configure:5 142: checking for utime.h" >&55283 echo "configure:5284: checking for utime.h" >&5 5142 5284 if eval "test \"`echo '$''{'bu_cv_header_utime_h'+set}'`\" = set"; then 5143 5285 echo $ac_n "(cached) $ac_c" 1>&6 5144 5286 else 5145 5287 cat > conftest.$ac_ext <<EOF 5146 #line 5 147"configure"5288 #line 5289 "configure" 5147 5289 #include "confdefs.h" 5148 5290 #include <sys/types.h> … … 5155 5297 ; return 0; } 5156 5298 EOF 5157 if { (eval echo configure:5 158: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5299 if { (eval echo configure:5300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5158 5300 rm -rf conftest* 5159 5301 bu_cv_header_utime_h=yes … … 5176 5318 5177 5319 echo $ac_n "checking whether fprintf must be declared""... $ac_c" 1>&6 5178 echo "configure:5 179: checking whether fprintf must be declared" >&55320 echo "configure:5321: checking whether fprintf must be declared" >&5 5179 5321 if eval "test \"`echo '$''{'bfd_cv_decl_needed_fprintf'+set}'`\" = set"; then 5180 5322 echo $ac_n "(cached) $ac_c" 1>&6 5181 5323 else 5182 5324 cat > conftest.$ac_ext <<EOF 5183 #line 5 184"configure"5325 #line 5326 "configure" 5184 5326 #include "confdefs.h" 5185 5327 … … 5202 5344 ; return 0; } 5203 5345 EOF 5204 if { (eval echo configure:5 205: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5346 if { (eval echo configure:5347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5205 5347 rm -rf conftest* 5206 5348 bfd_cv_decl_needed_fprintf=no … … 5223 5365 5224 5366 echo $ac_n "checking whether strstr must be declared""... $ac_c" 1>&6 5225 echo "configure:5 226: checking whether strstr must be declared" >&55367 echo "configure:5368: checking whether strstr must be declared" >&5 5226 5368 if eval "test \"`echo '$''{'bfd_cv_decl_needed_strstr'+set}'`\" = set"; then 5227 5369 echo $ac_n "(cached) $ac_c" 1>&6 5228 5370 else 5229 5371 cat > conftest.$ac_ext <<EOF 5230 #line 5 231"configure"5372 #line 5373 "configure" 5231 5373 #include "confdefs.h" 5232 5374 … … 5249 5391 ; return 0; } 5250 5392 EOF 5251 if { (eval echo configure:5 252: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5393 if { (eval echo configure:5394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5252 5394 rm -rf conftest* 5253 5395 bfd_cv_decl_needed_strstr=no … … 5270 5412 5271 5413 echo $ac_n "checking whether sbrk must be declared""... $ac_c" 1>&6 5272 echo "configure:5 273: checking whether sbrk must be declared" >&55414 echo "configure:5415: checking whether sbrk must be declared" >&5 5273 5415 if eval "test \"`echo '$''{'bfd_cv_decl_needed_sbrk'+set}'`\" = set"; then 5274 5416 echo $ac_n "(cached) $ac_c" 1>&6 5275 5417 else 5276 5418 cat > conftest.$ac_ext <<EOF 5277 #line 5 278"configure"5419 #line 5420 "configure" 5278 5420 #include "confdefs.h" 5279 5421 … … 5296 5438 ; return 0; } 5297 5439 EOF 5298 if { (eval echo configure:5 299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5440 if { (eval echo configure:5441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5299 5441 rm -rf conftest* 5300 5442 bfd_cv_decl_needed_sbrk=no … … 5317 5459 5318 5460 echo $ac_n "checking whether getenv must be declared""... $ac_c" 1>&6 5319 echo "configure:5 320: checking whether getenv must be declared" >&55461 echo "configure:5462: checking whether getenv must be declared" >&5 5320 5462 if eval "test \"`echo '$''{'bfd_cv_decl_needed_getenv'+set}'`\" = set"; then 5321 5463 echo $ac_n "(cached) $ac_c" 1>&6 5322 5464 else 5323 5465 cat > conftest.$ac_ext <<EOF 5324 #line 5 325"configure"5466 #line 5467 "configure" 5325 5467 #include "confdefs.h" 5326 5468 … … 5343 5485 ; return 0; } 5344 5486 EOF 5345 if { (eval echo configure:5 346: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5487 if { (eval echo configure:5488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5346 5488 rm -rf conftest* 5347 5489 bfd_cv_decl_needed_getenv=no … … 5364 5506 5365 5507 echo $ac_n "checking whether environ must be declared""... $ac_c" 1>&6 5366 echo "configure:5 367: checking whether environ must be declared" >&55508 echo "configure:5509: checking whether environ must be declared" >&5 5367 5509 if eval "test \"`echo '$''{'bfd_cv_decl_needed_environ'+set}'`\" = set"; then 5368 5510 echo $ac_n "(cached) $ac_c" 1>&6 5369 5511 else 5370 5512 cat > conftest.$ac_ext <<EOF 5371 #line 5 372"configure"5513 #line 5514 "configure" 5372 5514 #include "confdefs.h" 5373 5515 … … 5390 5532 ; return 0; } 5391 5533 EOF 5392 if { (eval echo configure:5 393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5534 if { (eval echo configure:5535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5393 5535 rm -rf conftest* 5394 5536 bfd_cv_decl_needed_environ=no … … 5456 5598 else 5457 5599 case $targ in 5458 i[3456]86*-*-netware*) 5600 i[3456]86*-*-netware*) 5459 5601 BUILD_NLMCONV='$(NLMCONV_PROG)$(EXEEXT)' 5460 5602 NLMCONV_DEFS="$NLMCONV_DEFS -DNLMCONV_I386" … … 5482 5624 BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)' 5483 5625 ;; 5484 arm-* pe* | arm-*-wince)5626 arm-*-pe* | arm-*-wince) 5485 5627 BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)' 5486 5628 DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_ARM" 5487 5629 BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)' 5488 5630 ;; 5489 thumb-* pe*)5631 thumb-*-pe*) 5490 5632 BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)' 5491 5633 DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_ARM" … … 5495 5637 OBJDUMP_DEFS="-DDISASSEMBLER_NEEDS_RELOCS" 5496 5638 ;; 5497 i[3-6]86-* pe* | i[3-6]86-*-cygwin* | i[3-6]86-*-mingw32*)5639 i[3-6]86-*-pe* | i[3-6]86-*-cygwin* | i[3-6]86-*-mingw32** | i[3-6]86-*-netbsdpe*) 5498 5640 BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)' 5499 5641 DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_I386" … … 5505 5647 DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_I386" 5506 5648 ;; 5507 powerpc*-*- *pe* | powerpc*-*-cygwin*)5649 powerpc*-*-pe* | powerpc*-*-cygwin*) 5508 5650 BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)' 5509 5651 DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_PPC" 5510 5652 BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)' 5511 5653 ;; 5512 sh*-*- *pe)5654 sh*-*-pe) 5513 5655 BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)' 5514 5656 DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_SH" 5515 5657 BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)' 5516 5658 ;; 5517 mips*-*- *pe)5659 mips*-*-pe) 5518 5660 BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)' 5519 5661 DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MIPS" 5520 5662 BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)' 5521 5663 ;; 5522 mcore-* pe)5664 mcore-*-pe) 5523 5665 BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)' 5524 5666 DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MCORE" 5525 5667 BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)' 5526 5668 ;; 5527 mcore-* elf)5669 mcore-*-elf) 5528 5670 BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)' 5529 5671 DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MCORE_ELF" 5530 5672 ;; 5531 i345686-*-os2*) 5673 c4x-*-* | tic4x-*-*) 5674 OBJDUMP_DEFS="$OBJDUMP_DEFS -DSKIP_ZEROES=32" 5675 ;; 5676 ia64-*-*) 5677 OBJDUMP_DEFS="$OBJDUMP_DEFS -DSKIP_ZEROES=16" 5678 ;; 5679 i345686-*-os2*) 5532 5680 BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)' 5533 5681 ;; … … 5536 5684 done 5537 5685 5686 if test "${with_windres+set}" = set; then 5687 BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)' 5688 fi 5689 5538 5690 5539 5691 … … 5558 5710 UNDERSCORE=0 5559 5711 fi 5712 cat >> confdefs.h <<EOF 5713 #define TARGET_PREPENDS_UNDERSCORE $UNDERSCORE 5714 EOF 5715 5716 5717 # Emulation 5718 for targ_alias in `echo $target_alias $enable_targets | sed 's/,/ /g'` 5719 do 5720 # Canonicalize the secondary target names. 5721 result=`$ac_config_sub $targ_alias 2>/dev/null` 5722 if test -n "$result"; then 5723 targ=$result 5724 else 5725 targ=$targ_alias 5726 fi 5727 5728 . ${srcdir}/configure.tgt 5729 5730 EMULATION=$targ_emul 5731 EMULATION_VECTOR=$targ_emul_vector 5732 done 5733 5734 5560 5735 5561 5736 … … 5665 5840 PATHIFS="$PATH_IFS" 5666 5841 5667 trap 'rm -fr `echo "Makefile po/Makefile.in:po/Make-in config.h:config.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 155842 trap 'rm -fr `echo "Makefile doc/Makefile po/Makefile.in:po/Make-in config.h:config.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 5668 5843 EOF 5669 5844 cat >> $CONFIG_STATUS <<EOF … … 5715 5890 s%@build_vendor@%$build_vendor%g 5716 5891 s%@build_os@%$build_os%g 5717 s%@CC@%$CC%g5718 5892 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g 5719 5893 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g … … 5727 5901 s%@MAKEINFO@%$MAKEINFO%g 5728 5902 s%@SET_MAKE@%$SET_MAKE%g 5903 s%@CC@%$CC%g 5729 5904 s%@LN_S@%$LN_S%g 5730 5905 s%@OBJEXT@%$OBJEXT%g … … 5776 5951 s%@BUILD_MISC@%$BUILD_MISC%g 5777 5952 s%@OBJDUMP_DEFS@%$OBJDUMP_DEFS%g 5778 s%@UNDERSCORE@%$UNDERSCORE%g 5953 s%@EMULATION@%$EMULATION%g 5954 s%@EMULATION_VECTOR@%$EMULATION_VECTOR%g 5779 5955 5780 5956 CEOF … … 5818 5994 cat >> $CONFIG_STATUS <<EOF 5819 5995 5820 CONFIG_FILES=\${CONFIG_FILES-"Makefile po/Makefile.in:po/Make-in"}5996 CONFIG_FILES=\${CONFIG_FILES-"Makefile doc/Makefile po/Makefile.in:po/Make-in"} 5821 5997 EOF 5822 5998 cat >> $CONFIG_STATUS <<\EOF -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/binutils/configure
-
Property cvs2svn:cvs-rev
changed from
1.1.1.2
to1.2
r618 r619 529 529 fi 530 530 531 echo $ac_n "checking for path separator""... $ac_c" 1>&6 532 echo "configure:533: checking for path separator" >&5 533 # Filter path to get backslahes into forwardslashes 534 case "`uname -s 2> /dev/null`" in 535 OS/2) 536 PATH=`echo -E "$PATH" | sed 's+\\\\+/+g'` 537 PATH_IFS=';' 538 ;; 539 *) 540 PATH_IFS=':' 541 ;; 542 esac 543 echo "$ac_t""${PATH_IFS}" 1>&6 544 545 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 546 echo "configure:547: checking for Cygwin environment" >&5 547 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 548 echo $ac_n "(cached) $ac_c" 1>&6 549 else 550 cat > conftest.$ac_ext <<EOF 551 #line 552 "configure" 552 #include "confdefs.h" 553 554 int main() { 555 556 #ifndef __CYGWIN__ 557 #define __CYGWIN__ __CYGWIN32__ 558 #endif 559 return __CYGWIN__; 560 ; return 0; } 561 EOF 562 if { (eval echo configure:563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 563 rm -rf conftest* 564 ac_cv_cygwin=yes 565 else 566 echo "configure: failed program was:" >&5 567 cat conftest.$ac_ext >&5 568 rm -rf conftest* 569 ac_cv_cygwin=no 570 fi 571 rm -f conftest* 572 rm -f conftest* 573 fi 574 575 echo "$ac_t""$ac_cv_cygwin" 1>&6 576 CYGWIN= 577 test "$ac_cv_cygwin" = yes && CYGWIN=yes 578 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 579 echo "configure:580: checking for mingw32 environment" >&5 580 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 581 echo $ac_n "(cached) $ac_c" 1>&6 582 else 583 cat > conftest.$ac_ext <<EOF 584 #line 585 "configure" 585 #include "confdefs.h" 586 587 int main() { 588 return __MINGW32__; 589 ; return 0; } 590 EOF 591 if { (eval echo configure:592: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 592 rm -rf conftest* 593 ac_cv_mingw32=yes 594 else 595 echo "configure: failed program was:" >&5 596 cat conftest.$ac_ext >&5 597 rm -rf conftest* 598 ac_cv_mingw32=no 599 fi 600 rm -f conftest* 601 rm -f conftest* 602 fi 603 604 echo "$ac_t""$ac_cv_mingw32" 1>&6 605 MINGW32= 606 test "$ac_cv_mingw32" = yes && MINGW32=yes 607 echo $ac_n "checking for EMX/OS2 environment""... $ac_c" 1>&6 608 echo "configure:609: checking for EMX/OS2 environment" >&5 609 if eval "test \"`echo '$''{'ac_cv_emxos2'+set}'`\" = set"; then 610 echo $ac_n "(cached) $ac_c" 1>&6 611 else 612 : ${CC=gcc.exe} 613 cat > conftest.$ac_ext <<EOF 614 #line 615 "configure" 615 #include "confdefs.h" 616 617 int main() { 618 return __EMX__; 619 ; return 0; } 620 EOF 621 if { (eval echo configure:622: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 622 rm -rf conftest* 623 ac_cv_emxos2=yes 624 else 625 echo "configure: failed program was:" >&5 626 cat conftest.$ac_ext >&5 627 rm -rf conftest* 628 ac_cv_emxos2=no 629 fi 630 rm -f conftest* 631 rm -f conftest* 632 fi 633 634 echo "$ac_t""$ac_cv_emxos2" 1>&6 635 if eval "test \"`echo '$''{'ac_cv_libpre'+set}'`\" = set"; then 636 echo $ac_n "(cached) $ac_c" 1>&6 637 else 638 if test "$ac_cv_emxos2" = yes ; then 639 ac_cv_libpre= 640 else 641 ac_cv_libpre=lib 642 fi 643 644 fi 645 646 EMXOS2= 647 test "$ac_cv_emxos2" = yes && EMXOS2=yes 648 649 650 651 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 652 echo "configure:653: checking for executable suffix" >&5 653 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 654 echo $ac_n "(cached) $ac_c" 1>&6 655 else 656 if test "$CYGWIN" = yes || test "$MINGW32" = yes || test "$EMXOS2" = yes; then 657 ac_cv_exeext=.exe 658 else 659 rm -f conftest* 660 echo 'int main () { return 0; }' > conftest.$ac_ext 661 ac_cv_exeext= 662 if { (eval echo configure:663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 663 for file in conftest.*; do 664 case $file in 665 *.c | *.o | *.obj) ;; 666 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; 667 esac 668 done 669 else 670 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } 671 fi 672 rm -f conftest* 673 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no 674 fi 675 fi 676 677 EXEEXT="" 678 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} 679 echo "$ac_t""${ac_cv_exeext}" 1>&6 680 ac_exeext=$EXEEXT 681 531 682 532 683 … … 578 729 579 730 echo $ac_n "checking host system type""... $ac_c" 1>&6 580 echo "configure: 581: checking host system type" >&5731 echo "configure:732: checking host system type" >&5 581 732 582 733 host_alias=$host … … 599 750 600 751 echo $ac_n "checking target system type""... $ac_c" 1>&6 601 echo "configure: 602: checking target system type" >&5752 echo "configure:753: checking target system type" >&5 602 753 603 754 target_alias=$target … … 617 768 618 769 echo $ac_n "checking build system type""... $ac_c" 1>&6 619 echo "configure: 620: checking build system type" >&5770 echo "configure:771: checking build system type" >&5 620 771 621 772 build_alias=$build … … 700 851 else 701 852 for prog in sh sh.exe bash bash.exe; do 702 IFS="${IFS= }"; save_ifs="$IFS"; IFS="${ IFS}:"853 IFS="${IFS= }"; save_ifs="$IFS"; IFS="${PATH_IFS}" 703 854 for dir in $PATH; do 704 855 test -z "$dir" && dir=. … … 766 917 ### (library or tools, host or target), doing a dependency sort. 767 918 768 # Subdirs will be configured in the order listed in build_configdirs, 919 # Subdirs will be configured in the order listed in build_configdirs, 769 920 # configdirs, or target_configdirs; see the serialization section below. 770 921 771 # Dependency sorting is only needed when *configuration* must be done in 772 # a particular order. In all cases a dependency should be specified in 922 # Dependency sorting is only needed when *configuration* must be done in 923 # a particular order. In all cases a dependency should be specified in 773 924 # the Makefile, whether or not it's implicitly specified here. 774 925 … … 785 936 # binutils, gas and ld appear in that order because it makes sense to run 786 937 # "make check" in that particular order. 787 host_tools=" texinfobyacc flex bison binutils gas ld gcc sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar"938 host_tools="byacc flex bison binutils gas ld gcc sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar" 788 939 789 940 # libgcj represents the runtime libraries only used by gcj. … … 884 1035 fi 885 1036 886 # some tools are so dependent upon X11 that if we're not building with X, 1037 # some tools are so dependent upon X11 that if we're not building with X, 887 1038 # it's not even worth trying to configure, much less build, that tool. 888 1039 … … 892 1043 skipdirs="${skipdirs} tk tix itcl libgui" 893 1044 # We won't be able to build gdbtk without X. 894 enable_gdbtk=no 1045 enable_gdbtk=no 895 1046 ;; 896 1047 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;; … … 898 1049 899 1050 # Some tools are only suitable for building in a "native" situation. 900 # Remove these if host!=target. 1051 # Remove these if host!=target. 901 1052 native_only="autoconf automake libtool fileutils find gawk gettext gzip hello indent m4 rcs recode sed shellutils tar textutils uudecode wdiff gprof target-groff guile perl time ash bash bzip2 prms gnuserv target-gperf" 902 1053 … … 931 1082 esac 932 1083 933 # Remove more programs from consideration, based on the host or 1084 # Remove more programs from consideration, based on the host or 934 1085 # target this usually means that a port of the program doesn't 935 1086 # exist yet. … … 1053 1204 sh-*-linux*) 1054 1205 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss" 1055 ;; 1206 ;; 1056 1207 sh*-*-pe|mips*-*-pe|*arm-wince-pe) 1057 1208 noconfigdirs="$noconfigdirs ${libgcj}" … … 1191 1342 ;; 1192 1343 esac 1193 ;; 1344 ;; 1194 1345 *-*-cygwin*) 1195 1346 target_configdirs="$target_configdirs target-libtermcap target-winsup" … … 1204 1355 ;; 1205 1356 esac 1206 ;; 1357 ;; 1207 1358 i[3456]86-*-pe) 1208 1359 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}" … … 1366 1517 *-*-lynxos*) 1367 1518 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}" 1368 ;; 1519 ;; 1369 1520 *-*-*) 1370 1521 noconfigdirs="$noconfigdirs ${libgcj}" … … 1521 1672 target_configdirs= 1522 1673 for i in ${target_configdirs_all} ; do 1523 j=`echo $i | sed -e s/target-//g` 1674 j=`echo $i | sed -e s/target-//g` 1524 1675 if test -f ${srcdir}/$j/configure ; then 1525 1676 target_configdirs="${target_configdirs} $i" … … 1746 1897 host_makefile_frag="config/mh-djgpp" 1747 1898 ;; 1899 i345686-*-os2*) 1900 host_makefile_frag="config/mh-emx" 1901 ;; 1748 1902 *-cygwin*) 1749 1903 host_makefile_frag="config/mh-cygwin" … … 1803 1957 ;; 1804 1958 *-*-aix4.[3456789]* | *-*-aix[56789].*) 1805 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm 1959 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm 1806 1960 # commands to handle both 32-bit and 64-bit objects. These flags are 1807 1961 # harmless if we're using GNU nm or ar. … … 1853 2007 # is available, and by checking whether or not specific configurations 1854 2008 # have requested that this magic not happen. 1855 # 1856 # The command line options always override the explicit settings in 2009 # 2010 # The command line options always override the explicit settings in 1857 2011 # configure.in, and the settings in configure.in override this magic. 1858 2012 # 1859 # If the default for a toolchain is to use GNU as and ld, and you don't 2013 # If the default for a toolchain is to use GNU as and ld, and you don't 1860 2014 # want to do that, then you should use the --without-gnu-as and 1861 2015 # --without-gnu-ld options for the configure script. … … 1910 2064 # Actually, use the 'pre-extracted' version above. 1911 2065 if test -z "${CC}" && test "${build}" = "${host}" ; then 1912 IFS="${IFS= }"; save_ifs="$IFS"; IFS="${ IFS}:"2066 IFS="${IFS= }"; save_ifs="$IFS"; IFS="${PATH_IFS}" 1913 2067 found= 1914 2068 for dir in $PATH; do … … 1936 2090 do 1937 2091 set dummy $prog; tmp=$2 1938 IFS="${IFS= }"; save_ifs="$IFS"; IFS="${ IFS}:"2092 IFS="${IFS= }"; save_ifs="$IFS"; IFS="${PATH_IFS}" 1939 2093 for dir in $PATH; do 1940 2094 test -z "$dir" && dir=. … … 1955 2109 do 1956 2110 set dummy $prog; tmp=$2 1957 IFS="${IFS= }"; save_ifs="$IFS"; IFS="${ IFS}:"2111 IFS="${IFS= }"; save_ifs="$IFS"; IFS="${PATH_IFS}" 1958 2112 for dir in $PATH; do 1959 2113 test -z "$dir" && dir=. … … 1974 2128 do 1975 2129 set dummy $prog; tmp=$2 1976 IFS="${IFS= }"; save_ifs="$IFS"; IFS="${ IFS}:"2130 IFS="${IFS= }"; save_ifs="$IFS"; IFS="${PATH_IFS}" 1977 2131 for dir in $PATH; do 1978 2132 test -z "$dir" && dir=. … … 2006 2160 2007 2161 if test -z "${YACC}" ; then 2008 IFS="${IFS= }"; save_ifs="$IFS"; IFS="${ IFS}:"2162 IFS="${IFS= }"; save_ifs="$IFS"; IFS="${PATH_IFS}" 2009 2163 for dir in $PATH; do 2010 2164 test -z "$dir" && dir=. … … 2029 2183 2030 2184 if test -z "${LEX}" ; then 2031 IFS="${IFS= }"; save_ifs="$IFS"; IFS="${ IFS}:"2185 IFS="${IFS= }"; save_ifs="$IFS"; IFS="${PATH_IFS}" 2032 2186 for dir in $PATH; do 2033 2187 test -z "$dir" && dir=. … … 2066 2220 cc_prog_is_gcc= 2067 2221 if test -z "${CC}" ; then 2068 IFS="${IFS= }"; save_ifs="$IFS"; IFS="${ IFS}:"2222 IFS="${IFS= }"; save_ifs="$IFS"; IFS="${PATH_IFS}" 2069 2223 for dir in $PATH; do 2070 2224 test -z "$dir" && dir=. … … 2169 2323 true 2170 2324 else 2171 # We need to re-remove the file because Lynx leaves a 2325 # We need to re-remove the file because Lynx leaves a 2172 2326 # very strange directory there when it fails an NFS symlink. 2173 2327 ${remove} -r -f ${link} … … 2209 2363 we_are_ok=yes 2210 2364 fi 2211 fi 2365 fi 2212 2366 case $we_are_ok in 2213 2367 no) … … 2680 2834 set dummy ${ncn_tool_prefix}ar; ac_word=$2 2681 2835 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2682 echo "configure:2 683: checking for $ac_word" >&52836 echo "configure:2837: checking for $ac_word" >&5 2683 2837 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then 2684 2838 echo $ac_n "(cached) $ac_c" 1>&6 … … 2687 2841 ac_cv_prog_AR="$AR" # Let the user override the test. 2688 2842 else 2689 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"2843 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 2690 2844 ac_dummy="$PATH" 2691 2845 for ac_dir in $ac_dummy; do 2692 2846 test -z "$ac_dir" && ac_dir=. 2693 if test -f $ac_dir/$ac_word; then 2847 if test -f $ac_dir/$ac_word -o \ 2848 -f $ac_dir/$ac_word$ac_exeext ; then 2694 2849 ac_cv_prog_AR="${ncn_tool_prefix}ar" 2695 2850 break … … 2713 2868 set dummy ar; ac_word=$2 2714 2869 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2715 echo "configure:2 716: checking for $ac_word" >&52870 echo "configure:2871: checking for $ac_word" >&5 2716 2871 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_AR'+set}'`\" = set"; then 2717 2872 echo $ac_n "(cached) $ac_c" 1>&6 … … 2720 2875 ac_cv_prog_ncn_cv_AR="$ncn_cv_AR" # Let the user override the test. 2721 2876 else 2722 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"2877 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 2723 2878 ac_dummy="$PATH" 2724 2879 for ac_dir in $ac_dummy; do 2725 2880 test -z "$ac_dir" && ac_dir=. 2726 if test -f $ac_dir/$ac_word; then 2881 if test -f $ac_dir/$ac_word -o \ 2882 -f $ac_dir/$ac_word$ac_exeext ; then 2727 2883 ac_cv_prog_ncn_cv_AR="ar" 2728 2884 break … … 2752 2908 set dummy ${ncn_tool_prefix}as; ac_word=$2 2753 2909 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2754 echo "configure:2 755: checking for $ac_word" >&52910 echo "configure:2911: checking for $ac_word" >&5 2755 2911 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then 2756 2912 echo $ac_n "(cached) $ac_c" 1>&6 … … 2759 2915 ac_cv_prog_AS="$AS" # Let the user override the test. 2760 2916 else 2761 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"2917 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 2762 2918 ac_dummy="$PATH" 2763 2919 for ac_dir in $ac_dummy; do 2764 2920 test -z "$ac_dir" && ac_dir=. 2765 if test -f $ac_dir/$ac_word; then 2921 if test -f $ac_dir/$ac_word -o \ 2922 -f $ac_dir/$ac_word$ac_exeext ; then 2766 2923 ac_cv_prog_AS="${ncn_tool_prefix}as" 2767 2924 break … … 2785 2942 set dummy as; ac_word=$2 2786 2943 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2787 echo "configure:2 788: checking for $ac_word" >&52944 echo "configure:2945: checking for $ac_word" >&5 2788 2945 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_AS'+set}'`\" = set"; then 2789 2946 echo $ac_n "(cached) $ac_c" 1>&6 … … 2792 2949 ac_cv_prog_ncn_cv_AS="$ncn_cv_AS" # Let the user override the test. 2793 2950 else 2794 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"2951 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 2795 2952 ac_dummy="$PATH" 2796 2953 for ac_dir in $ac_dummy; do 2797 2954 test -z "$ac_dir" && ac_dir=. 2798 if test -f $ac_dir/$ac_word; then 2955 if test -f $ac_dir/$ac_word -o \ 2956 -f $ac_dir/$ac_word$ac_exeext ; then 2799 2957 ac_cv_prog_ncn_cv_AS="as" 2800 2958 break … … 2824 2982 set dummy ${ncn_tool_prefix}dlltool; ac_word=$2 2825 2983 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2826 echo "configure:2 827: checking for $ac_word" >&52984 echo "configure:2985: checking for $ac_word" >&5 2827 2985 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then 2828 2986 echo $ac_n "(cached) $ac_c" 1>&6 … … 2831 2989 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 2832 2990 else 2833 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"2991 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 2834 2992 ac_dummy="$PATH" 2835 2993 for ac_dir in $ac_dummy; do 2836 2994 test -z "$ac_dir" && ac_dir=. 2837 if test -f $ac_dir/$ac_word; then 2995 if test -f $ac_dir/$ac_word -o \ 2996 -f $ac_dir/$ac_word$ac_exeext ; then 2838 2997 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}dlltool" 2839 2998 break … … 2857 3016 set dummy dlltool; ac_word=$2 2858 3017 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2859 echo "configure: 2860: checking for $ac_word" >&53018 echo "configure:3019: checking for $ac_word" >&5 2860 3019 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_DLLTOOL'+set}'`\" = set"; then 2861 3020 echo $ac_n "(cached) $ac_c" 1>&6 … … 2864 3023 ac_cv_prog_ncn_cv_DLLTOOL="$ncn_cv_DLLTOOL" # Let the user override the test. 2865 3024 else 2866 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"3025 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 2867 3026 ac_dummy="$PATH" 2868 3027 for ac_dir in $ac_dummy; do 2869 3028 test -z "$ac_dir" && ac_dir=. 2870 if test -f $ac_dir/$ac_word; then 3029 if test -f $ac_dir/$ac_word -o \ 3030 -f $ac_dir/$ac_word$ac_exeext ; then 2871 3031 ac_cv_prog_ncn_cv_DLLTOOL="dlltool" 2872 3032 break … … 2896 3056 set dummy ${ncn_tool_prefix}ld; ac_word=$2 2897 3057 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2898 echo "configure: 2899: checking for $ac_word" >&53058 echo "configure:3059: checking for $ac_word" >&5 2899 3059 if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then 2900 3060 echo $ac_n "(cached) $ac_c" 1>&6 … … 2903 3063 ac_cv_prog_LD="$LD" # Let the user override the test. 2904 3064 else 2905 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"3065 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 2906 3066 ac_dummy="$PATH" 2907 3067 for ac_dir in $ac_dummy; do 2908 3068 test -z "$ac_dir" && ac_dir=. 2909 if test -f $ac_dir/$ac_word; then 3069 if test -f $ac_dir/$ac_word -o \ 3070 -f $ac_dir/$ac_word$ac_exeext ; then 2910 3071 ac_cv_prog_LD="${ncn_tool_prefix}ld" 2911 3072 break … … 2929 3090 set dummy ld; ac_word=$2 2930 3091 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2931 echo "configure: 2932: checking for $ac_word" >&53092 echo "configure:3093: checking for $ac_word" >&5 2932 3093 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_LD'+set}'`\" = set"; then 2933 3094 echo $ac_n "(cached) $ac_c" 1>&6 … … 2936 3097 ac_cv_prog_ncn_cv_LD="$ncn_cv_LD" # Let the user override the test. 2937 3098 else 2938 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"3099 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 2939 3100 ac_dummy="$PATH" 2940 3101 for ac_dir in $ac_dummy; do 2941 3102 test -z "$ac_dir" && ac_dir=. 2942 if test -f $ac_dir/$ac_word; then 3103 if test -f $ac_dir/$ac_word -o \ 3104 -f $ac_dir/$ac_word$ac_exeext ; then 2943 3105 ac_cv_prog_ncn_cv_LD="ld" 2944 3106 break … … 2968 3130 set dummy ${ncn_tool_prefix}nm; ac_word=$2 2969 3131 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2970 echo "configure: 2971: checking for $ac_word" >&53132 echo "configure:3133: checking for $ac_word" >&5 2971 3133 if eval "test \"`echo '$''{'ac_cv_prog_NM'+set}'`\" = set"; then 2972 3134 echo $ac_n "(cached) $ac_c" 1>&6 … … 2975 3137 ac_cv_prog_NM="$NM" # Let the user override the test. 2976 3138 else 2977 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"3139 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 2978 3140 ac_dummy="$PATH" 2979 3141 for ac_dir in $ac_dummy; do 2980 3142 test -z "$ac_dir" && ac_dir=. 2981 if test -f $ac_dir/$ac_word; then 3143 if test -f $ac_dir/$ac_word -o \ 3144 -f $ac_dir/$ac_word$ac_exeext ; then 2982 3145 ac_cv_prog_NM="${ncn_tool_prefix}nm" 2983 3146 break … … 3001 3164 set dummy nm; ac_word=$2 3002 3165 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3003 echo "configure:3 004: checking for $ac_word" >&53166 echo "configure:3167: checking for $ac_word" >&5 3004 3167 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_NM'+set}'`\" = set"; then 3005 3168 echo $ac_n "(cached) $ac_c" 1>&6 … … 3008 3171 ac_cv_prog_ncn_cv_NM="$ncn_cv_NM" # Let the user override the test. 3009 3172 else 3010 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"3173 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 3011 3174 ac_dummy="$PATH" 3012 3175 for ac_dir in $ac_dummy; do 3013 3176 test -z "$ac_dir" && ac_dir=. 3014 if test -f $ac_dir/$ac_word; then 3177 if test -f $ac_dir/$ac_word -o \ 3178 -f $ac_dir/$ac_word$ac_exeext ; then 3015 3179 ac_cv_prog_ncn_cv_NM="nm" 3016 3180 break … … 3040 3204 set dummy ${ncn_tool_prefix}ranlib; ac_word=$2 3041 3205 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3042 echo "configure:3 043: checking for $ac_word" >&53206 echo "configure:3207: checking for $ac_word" >&5 3043 3207 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 3044 3208 echo $ac_n "(cached) $ac_c" 1>&6 … … 3047 3211 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 3048 3212 else 3049 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"3213 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 3050 3214 ac_dummy="$PATH" 3051 3215 for ac_dir in $ac_dummy; do 3052 3216 test -z "$ac_dir" && ac_dir=. 3053 if test -f $ac_dir/$ac_word; then 3217 if test -f $ac_dir/$ac_word -o \ 3218 -f $ac_dir/$ac_word$ac_exeext ; then 3054 3219 ac_cv_prog_RANLIB="${ncn_tool_prefix}ranlib" 3055 3220 break … … 3073 3238 set dummy ranlib; ac_word=$2 3074 3239 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3075 echo "configure:3 076: checking for $ac_word" >&53240 echo "configure:3241: checking for $ac_word" >&5 3076 3241 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_RANLIB'+set}'`\" = set"; then 3077 3242 echo $ac_n "(cached) $ac_c" 1>&6 … … 3080 3245 ac_cv_prog_ncn_cv_RANLIB="$ncn_cv_RANLIB" # Let the user override the test. 3081 3246 else 3082 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"3247 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 3083 3248 ac_dummy="$PATH" 3084 3249 for ac_dir in $ac_dummy; do 3085 3250 test -z "$ac_dir" && ac_dir=. 3086 if test -f $ac_dir/$ac_word; then 3251 if test -f $ac_dir/$ac_word -o \ 3252 -f $ac_dir/$ac_word$ac_exeext ; then 3087 3253 ac_cv_prog_ncn_cv_RANLIB="ranlib" 3088 3254 break … … 3112 3278 set dummy ${ncn_tool_prefix}windres; ac_word=$2 3113 3279 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3114 echo "configure:3 115: checking for $ac_word" >&53280 echo "configure:3281: checking for $ac_word" >&5 3115 3281 if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then 3116 3282 echo $ac_n "(cached) $ac_c" 1>&6 … … 3119 3285 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test. 3120 3286 else 3121 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"3287 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 3122 3288 ac_dummy="$PATH" 3123 3289 for ac_dir in $ac_dummy; do 3124 3290 test -z "$ac_dir" && ac_dir=. 3125 if test -f $ac_dir/$ac_word; then 3291 if test -f $ac_dir/$ac_word -o \ 3292 -f $ac_dir/$ac_word$ac_exeext ; then 3126 3293 ac_cv_prog_WINDRES="${ncn_tool_prefix}windres" 3127 3294 break … … 3145 3312 set dummy windres; ac_word=$2 3146 3313 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3147 echo "configure:3 148: checking for $ac_word" >&53314 echo "configure:3315: checking for $ac_word" >&5 3148 3315 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_WINDRES'+set}'`\" = set"; then 3149 3316 echo $ac_n "(cached) $ac_c" 1>&6 … … 3152 3319 ac_cv_prog_ncn_cv_WINDRES="$ncn_cv_WINDRES" # Let the user override the test. 3153 3320 else 3154 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"3321 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 3155 3322 ac_dummy="$PATH" 3156 3323 for ac_dir in $ac_dummy; do 3157 3324 test -z "$ac_dir" && ac_dir=. 3158 if test -f $ac_dir/$ac_word; then 3325 if test -f $ac_dir/$ac_word -o \ 3326 -f $ac_dir/$ac_word$ac_exeext ; then 3159 3327 ac_cv_prog_ncn_cv_WINDRES="windres" 3160 3328 break … … 3184 3352 set dummy ${ncn_tool_prefix}objcopy; ac_word=$2 3185 3353 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3186 echo "configure:3 187: checking for $ac_word" >&53354 echo "configure:3355: checking for $ac_word" >&5 3187 3355 if eval "test \"`echo '$''{'ac_cv_prog_OBJCOPY'+set}'`\" = set"; then 3188 3356 echo $ac_n "(cached) $ac_c" 1>&6 … … 3191 3359 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test. 3192 3360 else 3193 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"3361 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 3194 3362 ac_dummy="$PATH" 3195 3363 for ac_dir in $ac_dummy; do 3196 3364 test -z "$ac_dir" && ac_dir=. 3197 if test -f $ac_dir/$ac_word; then 3365 if test -f $ac_dir/$ac_word -o \ 3366 -f $ac_dir/$ac_word$ac_exeext ; then 3198 3367 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}objcopy" 3199 3368 break … … 3217 3386 set dummy objcopy; ac_word=$2 3218 3387 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3219 echo "configure:3 220: checking for $ac_word" >&53388 echo "configure:3389: checking for $ac_word" >&5 3220 3389 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_OBJCOPY'+set}'`\" = set"; then 3221 3390 echo $ac_n "(cached) $ac_c" 1>&6 … … 3224 3393 ac_cv_prog_ncn_cv_OBJCOPY="$ncn_cv_OBJCOPY" # Let the user override the test. 3225 3394 else 3226 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"3395 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 3227 3396 ac_dummy="$PATH" 3228 3397 for ac_dir in $ac_dummy; do 3229 3398 test -z "$ac_dir" && ac_dir=. 3230 if test -f $ac_dir/$ac_word; then 3399 if test -f $ac_dir/$ac_word -o \ 3400 -f $ac_dir/$ac_word$ac_exeext ; then 3231 3401 ac_cv_prog_ncn_cv_OBJCOPY="objcopy" 3232 3402 break … … 3256 3426 set dummy ${ncn_tool_prefix}objdump; ac_word=$2 3257 3427 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3258 echo "configure:3 259: checking for $ac_word" >&53428 echo "configure:3429: checking for $ac_word" >&5 3259 3429 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then 3260 3430 echo $ac_n "(cached) $ac_c" 1>&6 … … 3263 3433 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 3264 3434 else 3265 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"3435 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 3266 3436 ac_dummy="$PATH" 3267 3437 for ac_dir in $ac_dummy; do 3268 3438 test -z "$ac_dir" && ac_dir=. 3269 if test -f $ac_dir/$ac_word; then 3439 if test -f $ac_dir/$ac_word -o \ 3440 -f $ac_dir/$ac_word$ac_exeext ; then 3270 3441 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}objdump" 3271 3442 break … … 3289 3460 set dummy objdump; ac_word=$2 3290 3461 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3291 echo "configure:3 292: checking for $ac_word" >&53462 echo "configure:3463: checking for $ac_word" >&5 3292 3463 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_OBJDUMP'+set}'`\" = set"; then 3293 3464 echo $ac_n "(cached) $ac_c" 1>&6 … … 3296 3467 ac_cv_prog_ncn_cv_OBJDUMP="$ncn_cv_OBJDUMP" # Let the user override the test. 3297 3468 else 3298 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"3469 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 3299 3470 ac_dummy="$PATH" 3300 3471 for ac_dir in $ac_dummy; do 3301 3472 test -z "$ac_dir" && ac_dir=. 3302 if test -f $ac_dir/$ac_word; then 3473 if test -f $ac_dir/$ac_word -o \ 3474 -f $ac_dir/$ac_word$ac_exeext ; then 3303 3475 ac_cv_prog_ncn_cv_OBJDUMP="objdump" 3304 3476 break … … 3337 3509 set dummy ${ncn_target_tool_prefix}ar; ac_word=$2 3338 3510 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3339 echo "configure:3 340: checking for $ac_word" >&53511 echo "configure:3512: checking for $ac_word" >&5 3340 3512 if eval "test \"`echo '$''{'ac_cv_prog_AR_FOR_TARGET'+set}'`\" = set"; then 3341 3513 echo $ac_n "(cached) $ac_c" 1>&6 … … 3344 3516 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test. 3345 3517 else 3346 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"3518 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 3347 3519 ac_dummy="$PATH" 3348 3520 for ac_dir in $ac_dummy; do 3349 3521 test -z "$ac_dir" && ac_dir=. 3350 if test -f $ac_dir/$ac_word; then 3522 if test -f $ac_dir/$ac_word -o \ 3523 -f $ac_dir/$ac_word$ac_exeext ; then 3351 3524 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}ar" 3352 3525 break … … 3370 3543 set dummy ar; ac_word=$2 3371 3544 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3372 echo "configure:3 373: checking for $ac_word" >&53545 echo "configure:3546: checking for $ac_word" >&5 3373 3546 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_AR_FOR_TARGET'+set}'`\" = set"; then 3374 3547 echo $ac_n "(cached) $ac_c" 1>&6 … … 3377 3550 ac_cv_prog_ncn_cv_AR_FOR_TARGET="$ncn_cv_AR_FOR_TARGET" # Let the user override the test. 3378 3551 else 3379 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"3552 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 3380 3553 ac_dummy="$PATH" 3381 3554 for ac_dir in $ac_dummy; do 3382 3555 test -z "$ac_dir" && ac_dir=. 3383 if test -f $ac_dir/$ac_word; then 3556 if test -f $ac_dir/$ac_word -o \ 3557 -f $ac_dir/$ac_word$ac_exeext ; then 3384 3558 ac_cv_prog_ncn_cv_AR_FOR_TARGET="ar" 3385 3559 break … … 3409 3583 set dummy ${ncn_target_tool_prefix}as; ac_word=$2 3410 3584 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3411 echo "configure:3 412: checking for $ac_word" >&53585 echo "configure:3586: checking for $ac_word" >&5 3412 3586 if eval "test \"`echo '$''{'ac_cv_prog_AS_FOR_TARGET'+set}'`\" = set"; then 3413 3587 echo $ac_n "(cached) $ac_c" 1>&6 … … 3416 3590 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test. 3417 3591 else 3418 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"3592 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 3419 3593 ac_dummy="$PATH" 3420 3594 for ac_dir in $ac_dummy; do 3421 3595 test -z "$ac_dir" && ac_dir=. 3422 if test -f $ac_dir/$ac_word; then 3596 if test -f $ac_dir/$ac_word -o \ 3597 -f $ac_dir/$ac_word$ac_exeext ; then 3423 3598 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}as" 3424 3599 break … … 3442 3617 set dummy as; ac_word=$2 3443 3618 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3444 echo "configure:3 445: checking for $ac_word" >&53619 echo "configure:3620: checking for $ac_word" >&5 3445 3620 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_AS_FOR_TARGET'+set}'`\" = set"; then 3446 3621 echo $ac_n "(cached) $ac_c" 1>&6 … … 3449 3624 ac_cv_prog_ncn_cv_AS_FOR_TARGET="$ncn_cv_AS_FOR_TARGET" # Let the user override the test. 3450 3625 else 3451 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"3626 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 3452 3627 ac_dummy="$PATH" 3453 3628 for ac_dir in $ac_dummy; do 3454 3629 test -z "$ac_dir" && ac_dir=. 3455 if test -f $ac_dir/$ac_word; then 3630 if test -f $ac_dir/$ac_word -o \ 3631 -f $ac_dir/$ac_word$ac_exeext ; then 3456 3632 ac_cv_prog_ncn_cv_AS_FOR_TARGET="as" 3457 3633 break … … 3481 3657 set dummy ${ncn_target_tool_prefix}dlltool; ac_word=$2 3482 3658 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3483 echo "configure:3 484: checking for $ac_word" >&53659 echo "configure:3660: checking for $ac_word" >&5 3484 3660 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL_FOR_TARGET'+set}'`\" = set"; then 3485 3661 echo $ac_n "(cached) $ac_c" 1>&6 … … 3488 3664 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test. 3489 3665 else 3490 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"3666 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 3491 3667 ac_dummy="$PATH" 3492 3668 for ac_dir in $ac_dummy; do 3493 3669 test -z "$ac_dir" && ac_dir=. 3494 if test -f $ac_dir/$ac_word; then 3670 if test -f $ac_dir/$ac_word -o \ 3671 -f $ac_dir/$ac_word$ac_exeext ; then 3495 3672 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}dlltool" 3496 3673 break … … 3514 3691 set dummy dlltool; ac_word=$2 3515 3692 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3516 echo "configure:3 517: checking for $ac_word" >&53693 echo "configure:3694: checking for $ac_word" >&5 3517 3694 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_DLLTOOL_FOR_TARGET'+set}'`\" = set"; then 3518 3695 echo $ac_n "(cached) $ac_c" 1>&6 … … 3521 3698 ac_cv_prog_ncn_cv_DLLTOOL_FOR_TARGET="$ncn_cv_DLLTOOL_FOR_TARGET" # Let the user override the test. 3522 3699 else 3523 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"3700 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 3524 3701 ac_dummy="$PATH" 3525 3702 for ac_dir in $ac_dummy; do 3526 3703 test -z "$ac_dir" && ac_dir=. 3527 if test -f $ac_dir/$ac_word; then 3704 if test -f $ac_dir/$ac_word -o \ 3705 -f $ac_dir/$ac_word$ac_exeext ; then 3528 3706 ac_cv_prog_ncn_cv_DLLTOOL_FOR_TARGET="dlltool" 3529 3707 break … … 3553 3731 set dummy ${ncn_target_tool_prefix}ld; ac_word=$2 3554 3732 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3555 echo "configure:3 556: checking for $ac_word" >&53733 echo "configure:3734: checking for $ac_word" >&5 3556 3734 if eval "test \"`echo '$''{'ac_cv_prog_LD_FOR_TARGET'+set}'`\" = set"; then 3557 3735 echo $ac_n "(cached) $ac_c" 1>&6 … … 3560 3738 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test. 3561 3739 else 3562 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"3740 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 3563 3741 ac_dummy="$PATH" 3564 3742 for ac_dir in $ac_dummy; do 3565 3743 test -z "$ac_dir" && ac_dir=. 3566 if test -f $ac_dir/$ac_word; then 3744 if test -f $ac_dir/$ac_word -o \ 3745 -f $ac_dir/$ac_word$ac_exeext ; then 3567 3746 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}ld" 3568 3747 break … … 3586 3765 set dummy ld; ac_word=$2 3587 3766 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3588 echo "configure:3 589: checking for $ac_word" >&53767 echo "configure:3768: checking for $ac_word" >&5 3589 3768 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_LD_FOR_TARGET'+set}'`\" = set"; then 3590 3769 echo $ac_n "(cached) $ac_c" 1>&6 … … 3593 3772 ac_cv_prog_ncn_cv_LD_FOR_TARGET="$ncn_cv_LD_FOR_TARGET" # Let the user override the test. 3594 3773 else 3595 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"3774 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 3596 3775 ac_dummy="$PATH" 3597 3776 for ac_dir in $ac_dummy; do 3598 3777 test -z "$ac_dir" && ac_dir=. 3599 if test -f $ac_dir/$ac_word; then 3778 if test -f $ac_dir/$ac_word -o \ 3779 -f $ac_dir/$ac_word$ac_exeext ; then 3600 3780 ac_cv_prog_ncn_cv_LD_FOR_TARGET="ld" 3601 3781 break … … 3625 3805 set dummy ${ncn_target_tool_prefix}nm; ac_word=$2 3626 3806 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3627 echo "configure:3 628: checking for $ac_word" >&53807 echo "configure:3808: checking for $ac_word" >&5 3628 3808 if eval "test \"`echo '$''{'ac_cv_prog_NM_FOR_TARGET'+set}'`\" = set"; then 3629 3809 echo $ac_n "(cached) $ac_c" 1>&6 … … 3632 3812 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test. 3633 3813 else 3634 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"3814 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 3635 3815 ac_dummy="$PATH" 3636 3816 for ac_dir in $ac_dummy; do 3637 3817 test -z "$ac_dir" && ac_dir=. 3638 if test -f $ac_dir/$ac_word; then 3818 if test -f $ac_dir/$ac_word -o \ 3819 -f $ac_dir/$ac_word$ac_exeext ; then 3639 3820 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}nm" 3640 3821 break … … 3658 3839 set dummy nm; ac_word=$2 3659 3840 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3660 echo "configure:3 661: checking for $ac_word" >&53841 echo "configure:3842: checking for $ac_word" >&5 3661 3842 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_NM_FOR_TARGET'+set}'`\" = set"; then 3662 3843 echo $ac_n "(cached) $ac_c" 1>&6 … … 3665 3846 ac_cv_prog_ncn_cv_NM_FOR_TARGET="$ncn_cv_NM_FOR_TARGET" # Let the user override the test. 3666 3847 else 3667 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"3848 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 3668 3849 ac_dummy="$PATH" 3669 3850 for ac_dir in $ac_dummy; do 3670 3851 test -z "$ac_dir" && ac_dir=. 3671 if test -f $ac_dir/$ac_word; then 3852 if test -f $ac_dir/$ac_word -o \ 3853 -f $ac_dir/$ac_word$ac_exeext ; then 3672 3854 ac_cv_prog_ncn_cv_NM_FOR_TARGET="nm" 3673 3855 break … … 3697 3879 set dummy ${ncn_target_tool_prefix}ranlib; ac_word=$2 3698 3880 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3699 echo "configure:3 700: checking for $ac_word" >&53881 echo "configure:3882: checking for $ac_word" >&5 3700 3882 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB_FOR_TARGET'+set}'`\" = set"; then 3701 3883 echo $ac_n "(cached) $ac_c" 1>&6 … … 3704 3886 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test. 3705 3887 else 3706 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"3888 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 3707 3889 ac_dummy="$PATH" 3708 3890 for ac_dir in $ac_dummy; do 3709 3891 test -z "$ac_dir" && ac_dir=. 3710 if test -f $ac_dir/$ac_word; then 3892 if test -f $ac_dir/$ac_word -o \ 3893 -f $ac_dir/$ac_word$ac_exeext ; then 3711 3894 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}ranlib" 3712 3895 break … … 3730 3913 set dummy ranlib; ac_word=$2 3731 3914 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3732 echo "configure:3 733: checking for $ac_word" >&53915 echo "configure:3916: checking for $ac_word" >&5 3733 3916 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_RANLIB_FOR_TARGET'+set}'`\" = set"; then 3734 3917 echo $ac_n "(cached) $ac_c" 1>&6 … … 3737 3920 ac_cv_prog_ncn_cv_RANLIB_FOR_TARGET="$ncn_cv_RANLIB_FOR_TARGET" # Let the user override the test. 3738 3921 else 3739 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"3922 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 3740 3923 ac_dummy="$PATH" 3741 3924 for ac_dir in $ac_dummy; do 3742 3925 test -z "$ac_dir" && ac_dir=. 3743 if test -f $ac_dir/$ac_word; then 3926 if test -f $ac_dir/$ac_word -o \ 3927 -f $ac_dir/$ac_word$ac_exeext ; then 3744 3928 ac_cv_prog_ncn_cv_RANLIB_FOR_TARGET="ranlib" 3745 3929 break … … 3769 3953 set dummy ${ncn_target_tool_prefix}windres; ac_word=$2 3770 3954 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3771 echo "configure:3 772: checking for $ac_word" >&53955 echo "configure:3956: checking for $ac_word" >&5 3772 3956 if eval "test \"`echo '$''{'ac_cv_prog_WINDRES_FOR_TARGET'+set}'`\" = set"; then 3773 3957 echo $ac_n "(cached) $ac_c" 1>&6 … … 3776 3960 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test. 3777 3961 else 3778 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"3962 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 3779 3963 ac_dummy="$PATH" 3780 3964 for ac_dir in $ac_dummy; do 3781 3965 test -z "$ac_dir" && ac_dir=. 3782 if test -f $ac_dir/$ac_word; then 3966 if test -f $ac_dir/$ac_word -o \ 3967 -f $ac_dir/$ac_word$ac_exeext ; then 3783 3968 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}windres" 3784 3969 break … … 3802 3987 set dummy windres; ac_word=$2 3803 3988 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3804 echo "configure:3 805: checking for $ac_word" >&53989 echo "configure:3990: checking for $ac_word" >&5 3805 3990 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_WINDRES_FOR_TARGET'+set}'`\" = set"; then 3806 3991 echo $ac_n "(cached) $ac_c" 1>&6 … … 3809 3994 ac_cv_prog_ncn_cv_WINDRES_FOR_TARGET="$ncn_cv_WINDRES_FOR_TARGET" # Let the user override the test. 3810 3995 else 3811 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"3996 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 3812 3997 ac_dummy="$PATH" 3813 3998 for ac_dir in $ac_dummy; do 3814 3999 test -z "$ac_dir" && ac_dir=. 3815 if test -f $ac_dir/$ac_word; then 4000 if test -f $ac_dir/$ac_word -o \ 4001 -f $ac_dir/$ac_word$ac_exeext ; then 3816 4002 ac_cv_prog_ncn_cv_WINDRES_FOR_TARGET="windres" 3817 4003 break … … 3869 4055 3870 4056 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 3871 echo "configure: 3872: checking whether to enable maintainer-specific portions of Makefiles" >&54057 echo "configure:4058: checking whether to enable maintainer-specific portions of Makefiles" >&5 3872 4058 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 3873 4059 if test "${enable_maintainer_mode+set}" = set; then … … 3963 4149 s%\$%$$%g 3964 4150 EOF 3965 DEFS=`sed -f conftest.defs confdefs.h | tr '\012 ' ''`4151 DEFS=`sed -f conftest.defs confdefs.h | tr '\012\015' ' '` 3966 4152 rm -f conftest.defs 3967 4153 … … 3977 4163 # Run this file to recreate the current configuration. 3978 4164 # This directory was configured as follows, 4165 EOF 4166 echo ': ${CONFIG_SHELL='"${CONFIG_SHELL-/bin/sh}"'}' >> $CONFIG_STATUS 4167 cat >> $CONFIG_STATUS <<EOF 3979 4168 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 3980 4169 # … … 4001 4190 4002 4191 ac_given_srcdir=$srcdir 4192 PATHIFS="$PATH_IFS" 4003 4193 4004 4194 trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 … … 4011 4201 $ac_vpsub 4012 4202 $extrasub 4203 s,\([^a-zA-Z0-9:]\)/bin/sh\(.exe\),\1${CONFIG_SHELL-/bin/sh}\2,g 4013 4204 s%@SHELL@%$SHELL%g 4014 4205 s%@CFLAGS@%$CFLAGS%g … … 4034 4225 s%@infodir@%$infodir%g 4035 4226 s%@mandir@%$mandir%g 4227 s%@PATH_IFS@%$PATH_IFS%g 4228 s%@EXEEXT@%$EXEEXT%g 4036 4229 s%@host@%$host%g 4037 4230 s%@host_alias@%$host_alias%g … … 4216 4409 if test -z "$ac_dots"; then top_srcdir=. 4217 4410 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; 4218 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; 4411 /* | [A-Za-z]:*) 4412 srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; 4219 4413 *) # Relative path. 4220 4414 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" … … 4232 4426 esac 4233 4427 4234 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s% :% $ac_given_srcdir/%g"`4428 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%$PATHIFS% $ac_given_srcdir/%g"` 4235 4429 sed -e "$ac_comsub 4236 4430 s%@configure_input@%$configure_input%g -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/binutils/gas/configure
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r618 r619 1298 1298 enableval="$enable_shared" 1299 1299 p=${PACKAGE-default} 1300 case "$enableval"in1300 case $enableval in 1301 1301 yes) enable_shared=yes ;; 1302 1302 no) enable_shared=no ;; … … 1321 1321 enableval="$enable_static" 1322 1322 p=${PACKAGE-default} 1323 case "$enableval"in1323 case $enableval in 1324 1324 yes) enable_static=yes ;; 1325 1325 no) enable_static=no ;; … … 1344 1344 enableval="$enable_fast_install" 1345 1345 p=${PACKAGE-default} 1346 case "$enableval"in1346 case $enableval in 1347 1347 yes) enable_fast_install=yes ;; 1348 1348 no) enable_fast_install=no ;; … … 1372 1372 1373 1373 ac_prog=ld 1374 if test "$ ac_cv_prog_gcc" = yes; then1374 if test "$GCC" = yes; then 1375 1375 # Check if gcc -print-prog-name=ld gives a path. 1376 1376 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 … … 1383 1383 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 1384 1384 esac 1385 case "$ac_prog"in1385 case $ac_prog in 1386 1386 # Accept absolute paths. 1387 1387 [\\/]* | [A-Za-z]:[\\/]*) … … 1410 1410 echo "configure:1411: checking for non-GNU ld" >&5 1411 1411 fi 1412 if eval "test \"`echo '$''{' ac_cv_path_LD'+set}'`\" = set"; then1412 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then 1413 1413 echo $ac_n "(cached) $ac_c" 1>&6 1414 1414 else … … 1418 1418 test -z "$ac_dir" && ac_dir=. 1419 1419 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 1420 ac_cv_path_LD="$ac_dir/$ac_prog"1420 lt_cv_path_LD="$ac_dir/$ac_prog" 1421 1421 # Check to see if the program is GNU ld. I'd rather use --version, 1422 1422 # but apparently some GNU ld's only accept -v. 1423 1423 # Break only if it was the GNU/non-GNU ld that we prefer. 1424 if "$ ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then1424 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then 1425 1425 test "$with_gnu_ld" != no && break 1426 1426 else … … 1431 1431 IFS="$ac_save_ifs" 1432 1432 else 1433 ac_cv_path_LD="$LD" # Let the user override the test with a path.1434 fi 1435 fi 1436 1437 LD="$ ac_cv_path_LD"1433 lt_cv_path_LD="$LD" # Let the user override the test with a path. 1434 fi 1435 fi 1436 1437 LD="$lt_cv_path_LD" 1438 1438 if test -n "$LD"; then 1439 1439 echo "$ac_t""$LD" 1>&6 … … 1444 1444 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 1445 1445 echo "configure:1446: checking if the linker ($LD) is GNU ld" >&5 1446 if eval "test \"`echo '$''{' ac_cv_prog_gnu_ld'+set}'`\" = set"; then1446 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then 1447 1447 echo $ac_n "(cached) $ac_c" 1>&6 1448 1448 else 1449 1449 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 1450 1450 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 1451 ac_cv_prog_gnu_ld=yes1452 else 1453 ac_cv_prog_gnu_ld=no1454 fi 1455 fi 1456 1457 echo "$ac_t""$ ac_cv_prog_gnu_ld" 1>&61458 with_gnu_ld=$ ac_cv_prog_gnu_ld1451 lt_cv_prog_gnu_ld=yes 1452 else 1453 lt_cv_prog_gnu_ld=no 1454 fi 1455 fi 1456 1457 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6 1458 with_gnu_ld=$lt_cv_prog_gnu_ld 1459 1459 1460 1460 … … 1473 1473 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 1474 1474 echo "configure:1475: checking for BSD-compatible nm" >&5 1475 if eval "test \"`echo '$''{' ac_cv_path_NM'+set}'`\" = set"; then1475 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then 1476 1476 echo $ac_n "(cached) $ac_c" 1>&6 1477 1477 else 1478 1478 if test -n "$NM"; then 1479 1479 # Let the user override the test. 1480 ac_cv_path_NM="$NM"1480 lt_cv_path_NM="$NM" 1481 1481 else 1482 1482 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" … … 1490 1490 # Tru64's nm complains that /dev/null is an invalid object file 1491 1491 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then 1492 ac_cv_path_NM="$tmp_nm -B"1492 lt_cv_path_NM="$tmp_nm -B" 1493 1493 break 1494 1494 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then 1495 ac_cv_path_NM="$tmp_nm -p"1495 lt_cv_path_NM="$tmp_nm -p" 1496 1496 break 1497 1497 else 1498 ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but1498 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 1499 1499 continue # so that we can try to find one that supports BSD flags 1500 1500 fi … … 1502 1502 done 1503 1503 IFS="$ac_save_ifs" 1504 test -z "$ ac_cv_path_NM" && ac_cv_path_NM=nm1505 fi 1506 fi 1507 1508 NM="$ ac_cv_path_NM"1504 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm 1505 fi 1506 fi 1507 1508 NM="$lt_cv_path_NM" 1509 1509 echo "$ac_t""$NM" 1>&6 1510 1510 … … 1555 1555 # whether `pass_all' will *always* work, you probably want this one. 1556 1556 1557 case "$host_os"in1558 aix 4*)1557 case $host_os in 1558 aix*) 1559 1559 lt_cv_deplibs_check_method=pass_all 1560 1560 ;; … … 1565 1565 1566 1566 bsdi4*) 1567 1568 1567 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 1568 lt_cv_file_magic_cmd='/usr/bin/file -L' 1569 1569 lt_cv_file_magic_test_file=/shlib/libc.so 1570 1570 ;; … … 1575 1575 ;; 1576 1576 1577 darwin* | rhapsody*) 1578 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' 1579 lt_cv_file_magic_cmd='/usr/bin/file -L' 1580 case "$host_os" in 1581 rhapsody* | darwin1.012) 1582 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System' 1583 ;; 1584 *) # Darwin 1.3 on 1585 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' 1586 ;; 1587 esac 1588 ;; 1589 1577 1590 freebsd* ) 1578 1591 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 1579 case "$host_cpu"in1592 case $host_cpu in 1580 1593 i*86 ) 1581 1594 # Not sure whether the presence of OpenBSD here was a mistake. 1582 1595 # Let's accept both of them until this is cleared up. 1583 1584 1596 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' 1597 lt_cv_file_magic_cmd=/usr/bin/file 1585 1598 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 1586 1599 ;; … … 1595 1608 ;; 1596 1609 1597 hpux10.20*) 1598 # TODO: Does this work for hpux-11 too? 1599 lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library' 1600 lt_cv_file_magic_cmd=/usr/bin/file 1601 lt_cv_file_magic_test_file=/usr/lib/libc.sl 1610 hpux10.20*|hpux11*) 1611 case $host_cpu in 1612 hppa*) 1613 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 1614 lt_cv_file_magic_cmd=/usr/bin/file 1615 lt_cv_file_magic_test_file=/usr/lib/libc.sl 1616 ;; 1617 ia64*) 1618 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 1619 lt_cv_file_magic_cmd=/usr/bin/file 1620 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 1621 ;; 1622 esac 1602 1623 ;; 1603 1624 1604 1625 irix5* | irix6*) 1605 case "$host_os"in1626 case $host_os in 1606 1627 irix5*) 1607 1628 # this will be overridden with pass_all, but let us keep it just in case … … 1609 1630 ;; 1610 1631 *) 1611 case "$LD"in1632 case $LD in 1612 1633 *-32|*"-32 ") libmagic=32-bit;; 1613 1634 *-n32|*"-n32 ") libmagic=N32;; … … 1616 1637 esac 1617 1638 # this will be overridden with pass_all, but let us keep it just in case 1618 1619 1639 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" 1640 ;; 1620 1641 esac 1621 1642 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` … … 1625 1646 # This must be Linux ELF. 1626 1647 linux-gnu*) 1627 case "$host_cpu"in1628 alpha* | i*86 | powerpc* | sparc* | ia64* )1648 case $host_cpu in 1649 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* ) 1629 1650 lt_cv_deplibs_check_method=pass_all ;; 1630 1651 *) 1631 1652 # glibc up to 2.1.1 does not perform some relocations on ARM 1632 1633 1653 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; 1654 esac 1634 1655 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` 1635 1656 ;; 1636 1657 1637 1658 netbsd*) 1638 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then : 1659 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 1660 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' 1639 1661 else 1640 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' 1641 lt_cv_file_magic_cmd='/usr/bin/file -L' 1642 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 1662 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' 1643 1663 fi 1664 ;; 1665 1666 os2*) 1667 lt_cv_deplibs_check_method=pass_all 1668 ;; 1669 1670 newsos6) 1671 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 1672 lt_cv_file_magic_cmd=/usr/bin/file 1673 lt_cv_file_magic_test_file=/usr/lib/libnls.so 1644 1674 ;; 1645 1675 … … 1660 1690 ;; 1661 1691 1692 sysv5uw[78]* | sysv4*uw2*) 1693 lt_cv_deplibs_check_method=pass_all 1694 ;; 1695 1662 1696 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 1663 case "$host_vendor"in1697 case $host_vendor in 1664 1698 ncr) 1665 1699 lt_cv_deplibs_check_method=pass_all 1666 1700 ;; 1667 1701 motorola) 1668 1669 1702 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]' 1703 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 1670 1704 ;; 1671 1705 esac … … 1680 1714 1681 1715 echo $ac_n "checking for object suffix""... $ac_c" 1>&6 1682 echo "configure:1 683: checking for object suffix" >&51716 echo "configure:1717: checking for object suffix" >&5 1683 1717 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then 1684 1718 echo $ac_n "(cached) $ac_c" 1>&6 … … 1686 1720 rm -f conftest* 1687 1721 echo 'int i = 1;' > conftest.$ac_ext 1688 if { (eval echo configure:1 689: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1722 if { (eval echo configure:1723: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1689 1723 for ac_file in conftest.*; do 1690 1724 case $ac_file in … … 1712 1746 1713 1747 # Only perform the check for file, if the check method requires it 1714 case "$deplibs_check_method"in1748 case $deplibs_check_method in 1715 1749 file_magic*) 1716 1750 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 1717 1751 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6 1718 echo "configure:17 19: checking for ${ac_tool_prefix}file" >&51752 echo "configure:1753: checking for ${ac_tool_prefix}file" >&5 1719 1753 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1720 1754 echo $ac_n "(cached) $ac_c" 1>&6 1721 1755 else 1722 case "$MAGIC_CMD"in1756 case $MAGIC_CMD in 1723 1757 /*) 1724 1758 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. … … 1736 1770 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 1737 1771 if test -n "$file_magic_test_file"; then 1738 case "$deplibs_check_method"in1772 case $deplibs_check_method in 1739 1773 "file_magic "*) 1740 1774 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" … … 1778 1812 if test -n "$ac_tool_prefix"; then 1779 1813 echo $ac_n "checking for file""... $ac_c" 1>&6 1780 echo "configure:1 781: checking for file" >&51814 echo "configure:1815: checking for file" >&5 1781 1815 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1782 1816 echo $ac_n "(cached) $ac_c" 1>&6 1783 1817 else 1784 case "$MAGIC_CMD"in1818 case $MAGIC_CMD in 1785 1819 /*) 1786 1820 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. … … 1798 1832 lt_cv_path_MAGIC_CMD="$ac_dir/file" 1799 1833 if test -n "$file_magic_test_file"; then 1800 case "$deplibs_check_method"in1834 case $deplibs_check_method in 1801 1835 "file_magic "*) 1802 1836 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" … … 1849 1883 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1850 1884 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1851 echo "configure:18 52: checking for $ac_word" >&51885 echo "configure:1886: checking for $ac_word" >&5 1852 1886 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1853 1887 echo $ac_n "(cached) $ac_c" 1>&6 … … 1882 1916 set dummy ranlib; ac_word=$2 1883 1917 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1884 echo "configure:1 885: checking for $ac_word" >&51918 echo "configure:1919: checking for $ac_word" >&5 1885 1919 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1886 1920 echo $ac_n "(cached) $ac_c" 1>&6 … … 1918 1952 set dummy ${ac_tool_prefix}strip; ac_word=$2 1919 1953 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1920 echo "configure:19 21: checking for $ac_word" >&51954 echo "configure:1955: checking for $ac_word" >&5 1921 1955 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 1922 1956 echo $ac_n "(cached) $ac_c" 1>&6 … … 1951 1985 set dummy strip; ac_word=$2 1952 1986 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1953 echo "configure:19 54: checking for $ac_word" >&51987 echo "configure:1988: checking for $ac_word" >&5 1954 1988 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 1955 1989 echo $ac_n "(cached) $ac_c" 1>&6 … … 1990 2024 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static" 1991 2025 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install" 1992 test "$ ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"1993 test "$ ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"2026 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc" 2027 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld" 1994 2028 1995 2029 … … 2016 2050 # Some flags need to be propagated to the compiler or linker for good 2017 2051 # libtool support. 2018 case "$host"in2052 case $host in 2019 2053 *-*-irix6*) 2020 2054 # Find out which ABI we are using. 2021 echo '#line 2022 "configure"' > conftest.$ac_ext 2022 if { (eval echo configure:2023: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2023 case "`/usr/bin/file conftest.o`" in 2055 echo '#line 2056 "configure"' > conftest.$ac_ext 2056 if { (eval echo configure:2057: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2057 if test "$lt_cv_prog_gnu_ld" = yes; then 2058 case `/usr/bin/file conftest.$ac_objext` in 2059 *32-bit*) 2060 LD="${LD-ld} -melf32bsmip" 2061 ;; 2062 *N32*) 2063 LD="${LD-ld} -melf32bmipn32" 2064 ;; 2065 *64-bit*) 2066 LD="${LD-ld} -melf64bmip" 2067 ;; 2068 esac 2069 else 2070 case `/usr/bin/file conftest.$ac_objext` in 2024 2071 *32-bit*) 2025 2072 LD="${LD-ld} -32" … … 2032 2079 ;; 2033 2080 esac 2081 fi 2082 fi 2083 rm -rf conftest* 2084 ;; 2085 2086 ia64-*-hpux*) 2087 # Find out which ABI we are using. 2088 echo 'int i;' > conftest.$ac_ext 2089 if { (eval echo configure:2090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2090 case "`/usr/bin/file conftest.o`" in 2091 *ELF-32*) 2092 HPUX_IA64_MODE="32" 2093 ;; 2094 *ELF-64*) 2095 HPUX_IA64_MODE="64" 2096 ;; 2097 esac 2034 2098 fi 2035 2099 rm -rf conftest* … … 2041 2105 CFLAGS="$CFLAGS -belf" 2042 2106 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 2043 echo "configure:2 044: checking whether the C compiler needs -belf" >&52107 echo "configure:2108: checking whether the C compiler needs -belf" >&5 2044 2108 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then 2045 2109 echo $ac_n "(cached) $ac_c" 1>&6 … … 2054 2118 2055 2119 cat > conftest.$ac_ext <<EOF 2056 #line 2 057"configure"2120 #line 2121 "configure" 2057 2121 #include "confdefs.h" 2058 2122 … … 2061 2125 ; return 0; } 2062 2126 EOF 2063 if { (eval echo configure:2 064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2127 if { (eval echo configure:2128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2064 2128 rm -rf conftest* 2065 2129 lt_cv_cc_needs_belf=yes … … 2171 2235 exec 5>>./config.log 2172 2236 2173 2174 2237 2175 2238 … … 2210 2273 using_cgen=no 2211 2274 2212 build_warnings="-W -Wall "2275 build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" 2213 2276 # Check whether --enable-build-warnings or --disable-build-warnings was given. 2214 2277 if test "${enable_build_warnings+set}" = set; then … … 2242 2305 GDBINIT=".gdbinit" 2243 2306 case "${host}" in 2244 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*- cygwin* | *-*-windows*)2307 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-windows*) 2245 2308 GDBINIT="gdb.ini" 2246 2309 ;; … … 2295 2358 case ${cpu} in 2296 2359 alpha*) cpu_type=alpha ;; 2297 armeb) cpu_type=arm endian=big ;; 2298 arm*) cpu_type=arm endian=little ;; 2299 armb*) cpu_type=arm endian=little ;; 2300 armv*l) cpu_type=arm endian=little ;; 2301 armv*b) cpu_type=arm endian=big ;; 2302 xscale*) cpu_type=arm endian=little ;; 2303 strongarm*) cpu_type=arm endian=little ;; 2304 thumb*) cpu_type=arm endian=little ;; 2360 arm*b|xscale*b|strongarm*b) cpu_type=arm endian=big ;; 2361 arm*|xscale*|strongarm*) cpu_type=arm endian=little ;; 2305 2362 hppa*) cpu_type=hppa ;; 2306 2363 i[3456]86) cpu_type=i386 arch=i386;; 2307 2364 x86_64) cpu_type=i386 arch=x86_64;; 2308 2365 ia64) cpu_type=ia64 ;; 2366 ip2k) cpu_type=ip2k endian=big ;; 2367 iq2000) cpu_type=iq2000 endian=big ;; 2309 2368 m6811|m6812|m68hc12) cpu_type=m68hc11 ;; 2310 2369 m680[012346]0) cpu_type=m68k ;; … … 2315 2374 mips*el) cpu_type=mips endian=little ;; 2316 2375 mips*) cpu_type=mips endian=big ;; 2376 or32*) cpu_type=or32 endian=big ;; 2317 2377 pjl*) cpu_type=pj endian=little ;; 2318 2378 pj*) cpu_type=pj endian=big ;; 2319 powerpc le*) cpu_type=ppc endian=little ;;2379 powerpc*le*) cpu_type=ppc endian=little ;; 2320 2380 powerpc*) cpu_type=ppc endian=big ;; 2321 2381 rs6000*) cpu_type=ppc ;; 2382 s390x*) cpu_type=s390 arch=s390x ;; 2383 s390*) cpu_type=s390 arch=s390 ;; 2384 sh5*) cpu_type=sh64 endian=big ;; 2385 sh5le*) cpu_type=sh64 endian=little ;; 2386 sh64*) cpu_type=sh64 endian=big ;; 2387 sh64le*) cpu_type=sh64 endian=little ;; 2388 sh*le) cpu_type=sh endian=little ;; 2389 sh*) cpu_type=sh endian=big ;; 2322 2390 sparclite*) cpu_type=sparc arch=sparclite ;; 2323 2391 sparclet*) cpu_type=sparc arch=sparclet ;; … … 2326 2394 sparc*) cpu_type=sparc arch=sparclite ;; # ??? See tc-sparc.c. 2327 2395 v850*) cpu_type=v850 ;; 2396 xtensa*) cpu_type=xtensa arch=xtensa ;; 2328 2397 *) cpu_type=${cpu} ;; 2329 2398 esac … … 2342 2411 # assign object format 2343 2412 case ${generic_target} in 2344 a29k-*-coff) fmt=coff ;; 2345 a29k-amd-udi) fmt=coff ;; 2346 a29k-amd-ebmon) fmt=coff ;; 2347 a29k-nyu-sym1) fmt=coff ;; 2348 a29k-*-rtems*) fmt=coff ;; 2349 a29k-*-vxworks*) fmt=coff ;; 2350 2351 alpha*-*-*vms*) fmt=evax ;; 2352 alpha*-*-netware*) fmt=ecoff ;; 2353 alpha*-*-openbsd*) fmt=ecoff ;; 2354 alpha*-*-osf*) fmt=ecoff ;; 2355 alpha*-*-linuxecoff*) fmt=ecoff ;; 2356 alpha*-*-linux-gnu*) fmt=elf em=linux ;; 2357 alpha*-*-netbsd*) fmt=elf em=nbsd ;; 2358 2359 arc-*-elf*) fmt=elf bfd_gas=yes ;; 2360 2361 arm-*-aout) fmt=aout ;; 2362 arm-*-coff | thumb-*-coff) fmt=coff ;; 2363 arm-*-rtems | thumb-*-rtems) fmt=elf ;; 2364 arm-*-elf | thumb-*-elf) fmt=elf ;; 2413 a29k-*-coff) fmt=coff ;; 2414 a29k-amd-udi) fmt=coff ;; 2415 a29k-amd-ebmon) fmt=coff ;; 2416 a29k-nyu-sym1) fmt=coff ;; 2417 a29k-*-rtems*) fmt=coff ;; 2418 a29k-*-vxworks*) fmt=coff ;; 2419 2420 alpha*-*-*vms*) fmt=evax ;; 2421 alpha*-*-netware*) fmt=ecoff ;; 2422 alpha*-*-osf*) fmt=ecoff ;; 2423 alpha*-*-linuxecoff*) fmt=ecoff ;; 2424 alpha*-*-linux-gnu*) fmt=elf em=linux ;; 2425 alpha*-*-netbsd*) fmt=elf em=nbsd ;; 2426 alpha*-*-openbsd*) fmt=elf em=obsd ;; 2427 2428 arc-*-elf*) fmt=elf ;; 2429 2430 arm-*-aout) fmt=aout ;; 2431 arm-*-coff | thumb-*-coff) fmt=coff ;; 2432 arm-*-rtems | thumb-*-rtems) fmt=elf ;; 2433 arm-*-elf | thumb-*-elf) fmt=elf ;; 2434 arm-*-kaos*) fmt=elf ;; 2365 2435 arm*-*-conix*) fmt=elf ;; 2366 arm-*-linux*aout*) fmt=aout em=linux ;; 2367 arm*-*-linux-gnu* | arm*-*-uclinux*) 2368 fmt=elf em=linux ;; 2369 arm-*-netbsd*) fmt=aout em=nbsd ;; 2370 arm-*-oabi | thumb-*-oabi) fmt=elf ;; 2371 arm-epoc-pe | thumb-epoc-pe) fmt=coff em=epoc-pe ;; 2436 arm-*-linux*aout*) fmt=aout em=linux ;; 2437 arm*-*-linux-gnu*) fmt=elf em=linux ;; 2438 arm*-*-uclinux*) fmt=elf em=linux ;; 2439 arm-*-netbsdelf*) fmt=elf em=nbsd ;; 2440 arm-*-*n*bsd*) fmt=aout em=nbsd ;; 2441 arm-**-nto*) fmt=elf ;; 2442 arm-*-oabi | thumb-*-oabi) fmt=elf ;; 2443 arm-epoc-pe | thumb-epoc-pe) fmt=coff em=epoc-pe ;; 2372 2444 arm-*-wince) fmt=coff em=wince-pe ;; 2373 arm-*-pe | thumb-*-pe) fmt=coff em=pe ;; 2374 arm-*-riscix*) fmt=aout em=riscix ;; 2375 arm-*-vxworks) fmt=coff ;; 2376 2377 avr-*-*) fmt=elf bfd_gas=yes ;; 2378 2379 cris-*-*) fmt=multi bfd_gas=yes ;; 2380 2381 d10v-*-*) fmt=elf bfd_gas=yes ;; 2382 d30v-*-*) fmt=elf bfd_gas=yes ;; 2383 2384 2385 fr30-*-*) fmt=elf bfd_gas=yes ;; 2386 2387 hppa-*-linux-gnu*) case ${cpu} in 2388 hppa*64*) 2389 fmt=elf em=hppalinux64;; 2390 hppa*) 2391 fmt=elf em=linux;; 2392 esac ;; 2393 hppa-*-*elf*) fmt=elf em=hppa ;; 2394 hppa-*-lites*) fmt=elf em=hppa ;; 2395 hppa-*-osf*) fmt=som em=hppa ;; 2396 hppa-*-rtems*) fmt=elf em=hppa ;; 2397 hppa-*-hpux11*) case ${cpu} in 2398 hppa*64*) 2399 fmt=elf em=hppa64 ;; 2400 hppa*) 2401 fmt=som em=hppa ;; 2402 esac ;; 2403 hppa-*-hpux*) fmt=som em=hppa ;; 2404 hppa-*-mpeix*) fmt=som em=hppa ;; 2405 hppa-*-bsd*) fmt=som em=hppa ;; 2406 hppa-*-hiux*) fmt=som em=hppa ;; 2407 2408 h8300-*-rtems*) fmt=coff ;; 2409 h8300-*-coff) fmt=coff ;; 2410 h8500-*-rtems*) fmt=coff ;; 2411 h8500-*-coff) fmt=coff ;; 2412 2413 i370-*-elf* | i370-*-linux*) fmt=elf ;; 2414 i386-ibm-aix*) fmt=coff em=i386aix ;; 2415 i386-sequent-bsd*) fmt=aout em=dynix bfd_gas=yes ;; 2416 i386-*-beospe*) fmt=coff em=pe bfd_gas=yes ;; 2417 i386-*-beoself* | i386-*-beos*) fmt=elf bfd_gas=yes ;; 2418 i386-*-bsd*) fmt=aout em=386bsd ;; 2419 i386-*-netbsd0.8) fmt=aout em=386bsd ;; 2420 i386-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes;; 2421 i386-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes;; 2422 i386-*-linux*aout* | i386-*-linux*oldld) fmt=aout em=linux ;; 2423 i386-*-linux*coff*) fmt=coff em=linux ;; 2424 i386-*-linux-gnu*) fmt=elf em=linux bfd_gas=yes ;; 2425 x86_64-*-linux-gnu*) fmt=elf em=linux bfd_gas=yes ;; 2426 i386-*-lynxos*) fmt=coff em=lynx ;; 2427 i386-*-sysv[45]* | i386-*-solaris* | i386-*-elf) 2428 fmt=elf bfd_gas=yes ;; 2429 i386-*-freebsdaout* | i386-*-freebsd[12].* | i386-*-freebsd[12]) 2430 fmt=aout em=386bsd ;; 2431 i386-*-coff | i386-*-sysv* | i386-*-sco3.2v5*coff | i386-*-isc*) 2432 fmt=coff ;; 2433 i386-*-sco3.2v5*) fmt=elf 2434 if test ${this_target} = $target; then 2435 cat >> confdefs.h <<\EOF 2445 arm-*-pe | thumb-*-pe) fmt=coff em=pe ;; 2446 arm-*-riscix*) fmt=aout em=riscix ;; 2447 arm-*-vxworks) fmt=coff ;; 2448 2449 avr-*-*) fmt=elf ;; 2450 2451 cris-*-*) fmt=multi bfd_gas=yes ;; 2452 2453 d10v-*-*) fmt=elf ;; 2454 d30v-*-*) fmt=elf ;; 2455 dlx-*-*) fmt=elf ;; 2456 2457 fr30-*-*) fmt=elf ;; 2458 frv-*-*) fmt=elf ;; 2459 2460 hppa-*-linux*) case ${cpu} in 2461 hppa*64*) fmt=elf em=hppalinux64;; 2462 hppa*) fmt=elf em=linux;; 2463 esac ;; 2464 hppa-*-*elf*) fmt=elf em=hppa ;; 2465 hppa-*-lites*) fmt=elf em=hppa ;; 2466 hppa-*-netbsd*) fmt=elf em=nbsd ;; 2467 hppa-*-openbsd*) fmt=elf em=hppa ;; 2468 hppa-*-osf*) fmt=som em=hppa ;; 2469 hppa-*-rtems*) fmt=elf em=hppa ;; 2470 hppa-*-hpux11*) case ${cpu} in 2471 hppa*64*) fmt=elf em=hppa64 ;; 2472 hppa*) fmt=som em=hppa ;; 2473 esac ;; 2474 hppa-*-hpux*) fmt=som em=hppa ;; 2475 hppa-*-mpeix*) fmt=som em=hppa ;; 2476 hppa-*-bsd*) fmt=som em=hppa ;; 2477 hppa-*-hiux*) fmt=som em=hppa ;; 2478 2479 h8300-*-rtems*) fmt=coff ;; 2480 h8300-*-coff) fmt=coff ;; 2481 h8300-*-elf) fmt=elf ;; 2482 h8500-*-rtems*) fmt=coff ;; 2483 h8500-*-coff) fmt=coff ;; 2484 2485 i370-*-elf* | i370-*-linux*) fmt=elf ;; 2486 i386-ibm-aix*) fmt=coff em=i386aix ;; 2487 i386-sequent-bsd*) fmt=aout em=dynix ;; 2488 i386-*-beospe*) fmt=coff em=pe ;; 2489 i386-*-beos*) fmt=elf ;; 2490 i386-*-coff) fmt=coff ;; 2491 i386-*-elf) fmt=elf ;; 2492 i386-*-kaos*) fmt=elf ;; 2493 i386-*-bsd*) fmt=aout em=386bsd ;; 2494 i386-*-netbsd0.8) fmt=aout em=386bsd ;; 2495 i386-*-netbsdpe*) fmt=coff em=pe ;; 2496 i386-*-netbsdelf*) fmt=elf em=nbsd ;; 2497 i386-*-*n*bsd*) case ${cpu} in 2498 x86_64) fmt=elf em=nbsd ;; 2499 *) fmt=aout em=nbsd ;; 2500 esac ;; 2501 i386-*-linux*aout*) fmt=aout em=linux ;; 2502 i386-*-linux*oldld) fmt=aout em=linux ;; 2503 i386-*-linux*coff*) fmt=coff em=linux ;; 2504 i386-*-linux-gnu*) fmt=elf em=linux ;; 2505 x86_64-*-linux-gnu*) fmt=elf em=linux ;; 2506 i386-*-lynxos*) fmt=coff em=lynx ;; 2507 i386-*-sysv[45]*) fmt=elf ;; 2508 i386-*-solaris*) fmt=elf ;; 2509 i386-*-freebsdaout*) fmt=aout em=386bsd ;; 2510 i386-*-freebsd[12].*) fmt=aout em=386bsd ;; 2511 i386-*-freebsd[12]) fmt=aout em=386bsd ;; 2512 i386-*-sysv*) fmt=coff ;; 2513 i386-*-sco3.2v5*coff) fmt=coff ;; 2514 i386-*-isc*) fmt=coff ;; 2515 i386-*-sco3.2v5*) fmt=elf 2516 if test ${this_target} = $target; then 2517 cat >> confdefs.h <<\EOF 2436 2518 #define SCO_ELF 1 2437 2519 EOF 2438 2520 2439 fi2440 2441 i386-*- sco3.2*) fmt=coff;;2442 i386-*- vsta) fmt=aout ;;2443 i386-*-msdosdjgpp* | i386-*-go32* | i386-go32-rtems*)2444 fmt=coff em=go32 bfd_gas=yes 2445 2521 fi ;; 2522 i386-*-sco3.2*) fmt=coff ;; 2523 i386-*-vsta) fmt=aout ;; 2524 i386-*-msdosdjgpp* \ 2525 | i386-*-go32* \ 2526 | i386-go32-rtems*) fmt=coff em=go32 2527 cat >> confdefs.h <<\EOF 2446 2528 #define STRICTCOFF 1 2447 2529 EOF 2448 2449 2450 i386-*-rtems elf*) fmt=elf ;;2451 i386-*-rtems*) fmt=coff ;;2452 i386-*-gnu*) 2453 i386-*-mach*) 2454 fmt=aout em=mach bfd_gas=yes;;2455 i386-*-m sdos*) fmt=aout;;2456 i386-*- moss*) fmt=elf;;2457 i386-*- pe) fmt=coff em=pe bfd_gas=yes;;2458 i386-*- cygwin*) fmt=coff em=pe bfd_gas=yes;;2459 i386-*- interix*) fmt=coff em=interix bfd_gas=yes;;2460 i386-*- mingw32*) fmt=coff em=pe bfd_gas=yes;;2461 i386-*-*nt*) fmt=coff em=pe bfd_gas=yes;;2530 ;; 2531 i386-*-rtemself*) fmt=elf ;; 2532 i386-*-rtemscoff*) fmt=coff ;; 2533 i386-*-rtems*) fmt=elf ;; 2534 i386-*-gnu*) fmt=elf ;; 2535 i386-*-mach*) fmt=aout em=mach ;; 2536 i386-*-msdos*) fmt=aout ;; 2537 i386-*-moss*) fmt=elf ;; 2538 i386-*-pe) fmt=coff em=pe ;; 2539 i386-*-cygwin*) fmt=coff em=pe ;; 2540 i386-*-interix*) fmt=coff em=interix ;; 2541 i386-*-mingw32*) fmt=coff em=pe ;; 2542 i386-*-nto-qnx*) fmt=elf ;; 2543 i386-*-*nt*) fmt=coff em=pe ;; 2462 2544 i386-*-os2*) fmt=aout em=emx bfd_gas=yes ;; 2463 i386-*-vxworks*) fmt=aout ;; 2464 i386-*-chaos) fmt=elf ;; 2465 i860-stardent-sysv4* | i860-stardent-elf*) 2466 fmt=elf bfd_gas=yes endian=little 2467 echo "configure: warning: GAS support for ${generic_target} is preliminary and a work in progress" 1>&2 ;; 2468 i960-*-bout) fmt=bout ;; 2469 i960-*-coff) fmt=coff em=ic960 ;; 2470 i960-*-rtems*) fmt=coff em=ic960 ;; 2471 i960-*-nindy*) fmt=bout ;; 2472 i960-*-vxworks4*) fmt=bout ;; 2473 i960-*-vxworks5.0) fmt=bout ;; 2474 i960-*-vxworks5.*) fmt=coff em=ic960 ;; 2475 i960-*-vxworks*) fmt=bout ;; 2476 i960-*-elf*) fmt=elf ;; 2477 2478 ia64-*-elf*) fmt=elf ;; 2479 ia64-*-linux-gnu*) fmt=elf em=linux ;; 2480 ia64-*-hpux*) fmt=elf em=hpux ;; 2481 2482 m32r-*-*) fmt=elf bfd_gas=yes ;; 2483 2484 m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)fmt=elf bfd_gas=yes ;; 2485 2486 m68k-*-vxworks* | m68k-ericsson-ose | m68k-*-sunos*) 2487 fmt=aout em=sun3 ;; 2488 m68k-motorola-sysv*) fmt=coff em=delta ;; 2489 m68k-bull-sysv3*) fmt=coff em=dpx2 ;; 2490 m68k-apollo-*) fmt=coff em=apollo ;; 2491 m68k-*-sysv4*) # must be before -sysv* 2492 fmt=elf em=svr4 ;; 2493 m68k-*-elf*) fmt=elf ;; 2494 m68k-*-coff | m68k-*-sysv* | m68k-*-rtems*) 2495 fmt=coff ;; 2496 m68k-*-hpux*) fmt=hp300 em=hp300 ;; 2497 m68k-*-linux*aout*) fmt=aout em=linux ;; 2498 m68k-*-linux-gnu*) fmt=elf em=linux ;; 2499 m68k-*-gnu*) fmt=elf ;; 2500 m68k-*-lynxos*) fmt=coff em=lynx ;; 2501 m68k-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes ;; 2502 m68k-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes ;; 2503 m68k-apple-aux*) fmt=coff em=aux ;; 2504 m68k-*-psos*) fmt=elf em=psos;; 2505 2506 m88k-motorola-sysv3*) fmt=coff em=delt88 ;; 2507 m88k-*-coff*) fmt=coff ;; 2508 2509 mcore-*-elf) fmt=elf bfd_gas=yes ;; 2510 mcore-*-pe) fmt=coff em=pe bfd_gas=yes ;; 2545 i386-*-vxworks*) fmt=aout ;; 2546 i386-*-chaos) fmt=elf ;; 2547 2548 i860-*-*) fmt=elf endian=little 2549 echo "configure: warning: GAS support for ${generic_target} is preliminary and a work in progress" 1>&2 ;; 2550 i960-*-bout) fmt=bout ;; 2551 i960-*-coff) fmt=coff em=ic960 ;; 2552 i960-*-rtems*) fmt=coff em=ic960 ;; 2553 i960-*-nindy*) fmt=bout ;; 2554 i960-*-vxworks5.0) fmt=bout ;; 2555 i960-*-vxworks5.*) fmt=coff em=ic960 ;; 2556 i960-*-vxworks*) fmt=bout ;; 2557 i960-*-elf*) fmt=elf ;; 2558 2559 ia64-*-elf*) fmt=elf ;; 2560 ia64-*-aix*) fmt=elf em=ia64aix ;; 2561 ia64-*-linux-gnu*) fmt=elf em=linux ;; 2562 ia64-*-hpux*) fmt=elf em=hpux ;; 2563 ia64-*-netbsd*) fmt=elf em=nbsd ;; 2564 2565 ip2k-*-*) fmt=elf ;; 2566 2567 iq2000-*-elf) fmt=elf bfd_gas=yes ;; 2568 2569 m32r-*-*) fmt=elf ;; 2570 2571 m68hc11-*-* | m6811-*-*) fmt=elf ;; 2572 m68hc12-*-* | m6812-*-*) fmt=elf ;; 2573 2574 m68k-*-vxworks*) fmt=aout em=sun3 ;; 2575 m68k-ericsson-ose) fmt=aout em=sun3 ;; 2576 m68k-*-sunos*) fmt=aout em=sun3 ;; 2577 m68k-motorola-sysv*) fmt=coff em=delta ;; 2578 m68k-bull-sysv3*) fmt=coff em=dpx2 ;; 2579 m68k-apollo-*) fmt=coff em=apollo ;; 2580 m68k-*-elf*) fmt=elf ;; 2581 m68k-*-sysv4*) fmt=elf em=svr4 ;; 2582 m68k-*-sysv*) fmt=coff ;; 2583 m68k-*-coff | m68k-*-rtemscoff*) fmt=coff ;; 2584 m68k-*-rtems*) fmt=elf ;; 2585 m68k-*-hpux*) fmt=hp300 em=hp300 ;; 2586 m68k-*-linux*aout*) fmt=aout em=linux ;; 2587 m68k-*-linux-gnu*) fmt=elf em=linux ;; 2588 m68k-*-gnu*) fmt=elf ;; 2589 m68k-*-lynxos*) fmt=coff em=lynx ;; 2590 m68k-*-netbsdelf*) fmt=elf em=nbsd ;; 2591 m68k-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes ;; 2592 m68k-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes ;; 2593 m68k-apple-aux*) fmt=coff em=aux ;; 2594 m68k-*-psos*) fmt=elf em=psos;; 2595 2596 m88k-motorola-sysv3*) fmt=coff em=delt88 ;; 2597 m88k-*-coff*) fmt=coff ;; 2598 2599 mcore-*-elf) fmt=elf ;; 2600 mcore-*-pe) fmt=coff em=pe bfd_gas=yes ;; 2511 2601 2512 2602 # don't change em like *-*-bsd does 2513 mips-dec-netbsd*) fmt=elf endian=little ;; 2514 mips-dec-openbsd*) fmt=elf endian=little ;; 2515 mips-dec-bsd*) fmt=aout endian=little ;; 2516 mips-sony-bsd*) fmt=ecoff ;; 2517 mips-*-bsd*) { echo "configure: error: Unknown vendor for mips-bsd configuration." 1>&2; exit 1; } ;; 2518 mips-*-ultrix*) fmt=ecoff endian=little ;; 2519 mips-*-osf*) fmt=ecoff endian=little ;; 2520 mips-*-ecoff*) fmt=ecoff ;; 2521 mips-*-pe*) fmt=coff endian=little em=pe ;; 2522 mips-*-irix6*) fmt=elf ;; 2523 mips-*-irix5*) fmt=elf ;; 2524 mips-*-irix*) fmt=ecoff ;; 2525 mips-*-lnews*) fmt=ecoff em=lnews ;; 2526 mips-*-riscos*) fmt=ecoff ;; 2527 mips-*-linux-gnu*) 2528 fmt=elf em=tmips 2529 cat >> confdefs.h <<\EOF 2530 #define MIPS_STABS_ELF 1 2531 EOF 2532 2533 ;; 2534 mips-*-sysv4*MP* | mips-*-gnu*) 2535 fmt=elf em=tmips ;; 2536 mips-*-sysv*) fmt=ecoff ;; 2537 mips-*-elf* | mips-*-rtems* | mips-*-openbsd*) 2538 fmt=elf ;; 2539 mips-*-vxworks*) fmt=elf 2540 cat >> confdefs.h <<\EOF 2541 #define MIPS_STABS_ELF 1 2542 EOF 2543 2544 ;; 2545 mn10200-*-*) fmt=elf bfd_gas=yes ;; 2546 mn10300-*-*) fmt=elf bfd_gas=yes ;; 2547 pj*) fmt=elf ;; 2548 ppc-*-pe | ppc-*-cygwin* | ppc-*-winnt*) 2549 fmt=coff em=pe ;; 2550 ppc-*-aix*) fmt=coff ;; 2551 ppc-*-beos*) fmt=coff ;; 2552 ppc-*-*bsd* | ppc-*-elf* | ppc-*-eabi* | ppc-*-sysv4*) 2553 fmt=elf ;; 2554 ppc-*-linux-gnu*) fmt=elf 2555 case "$endian" in 2556 big) ;; 2557 *) { echo "configure: error: GNU/Linux must be configured big endian" 1>&2; exit 1; } ;; 2558 esac 2559 ;; 2560 ppc-*-solaris*) fmt=elf 2561 if test ${this_target} = $target; then 2562 cat >> confdefs.h <<\EOF 2603 mips-dec-openbsd*) fmt=elf endian=little ;; 2604 mips-dec-bsd*) fmt=aout endian=little ;; 2605 mips-sony-bsd*) fmt=ecoff ;; 2606 mips-*-bsd*) 2607 { echo "configure: error: Unknown vendor for mips-bsd configuration." 1>&2; exit 1; } ;; 2608 mips-*-ultrix*) fmt=ecoff endian=little ;; 2609 mips-*-osf*) fmt=ecoff endian=little ;; 2610 mips-*-ecoff*) fmt=ecoff ;; 2611 mips-*-pe*) fmt=coff endian=little em=pe ;; 2612 mips-*-irix6*) fmt=elf em=irix ;; 2613 mips-*-irix5*) fmt=elf em=irix ;; 2614 mips-*-irix*) fmt=ecoff em=irix ;; 2615 mips-*-lnews*) fmt=ecoff em=lnews ;; 2616 mips-*-riscos*) fmt=ecoff ;; 2617 mips*-*-linux*) fmt=elf em=tmips ;; 2618 mips-*-sysv4*MP* | mips-*-gnu*) fmt=elf em=tmips ;; 2619 mips-*-sysv*) fmt=ecoff ;; 2620 mips-*-elf* | mips-*-rtems*) fmt=elf ;; 2621 mips-*-netbsd*) fmt=elf ;; 2622 mips-*-openbsd*) fmt=elf ;; 2623 mips-*-vxworks*) fmt=elf ;; 2624 2625 mmix-*-*) fmt=elf ;; 2626 mn10200-*-*) fmt=elf ;; 2627 mn10300-*-*) fmt=elf ;; 2628 msp430-*-*) fmt=elf ;; 2629 openrisc-*-*) fmt=elf ;; 2630 or32-*-rtems*) fmt=coff ;; 2631 or32-*-coff) fmt=coff ;; 2632 or32-*-elf) fmt=elf ;; 2633 pj*) fmt=elf ;; 2634 2635 ppc-*-pe | ppc-*-cygwin*) fmt=coff em=pe ;; 2636 ppc-*-winnt*) fmt=coff em=pe ;; 2637 ppc-*-aix5*) fmt=coff em=aix5 ;; 2638 ppc-*-aix*) fmt=coff ;; 2639 ppc-*-beos*) fmt=coff ;; 2640 ppc-*-*n*bsd* | ppc-*-elf*) fmt=elf ;; 2641 ppc-*-eabi* | ppc-*-sysv4*) fmt=elf ;; 2642 ppc-*-linux-gnu*) fmt=elf 2643 case "$endian" in 2644 big) ;; 2645 *) { echo "configure: error: GNU/Linux must be configured big endian" 1>&2; exit 1; } ;; 2646 esac ;; 2647 ppc-*-solaris*) fmt=elf 2648 if test ${this_target} = $target; then 2649 cat >> confdefs.h <<\EOF 2563 2650 #define TARGET_SOLARIS_COMMENT 1 2564 2651 EOF 2565 2652 2566 fi 2567 if test x${endian} = xbig; then 2568 { echo "configure: error: Solaris must be configured little endian" 1>&2; exit 1; } 2569 fi 2570 ;; 2571 ppc-*-rtems*) fmt=elf ;; 2572 ppc-*-macos* | ppc-*-mpw*) 2573 fmt=coff em=macos ;; 2574 ppc-*-netware*) fmt=elf em=ppcnw ;; 2575 ppc-*-vxworks*) fmt=elf ;; 2576 2577 sh-*-linux*) fmt=elf em=linux ;; 2578 sh-*-elf*) fmt=elf ;; 2579 sh-*-coff*) fmt=coff ;; 2580 sh-*-pe*) fmt=coff em=pe bfd_gas=yes;; 2581 sh-*-rtemself*) fmt=elf ;; 2582 sh-*-rtems*) fmt=coff ;; 2583 2584 ns32k-pc532-mach* | ns32k-pc532-ux*) fmt=aout em=pc532mach ;; 2585 ns32k-pc532-netbsd* | ns32k-pc532-lites*) fmt=aout em=nbsd532 ;; 2586 ns32k-pc532-openbsd*) fmt=aout em=nbsd532 ;; 2587 2588 sparc-*-rtemsaout*) fmt=aout ;; 2589 sparc-*-rtemself*) fmt=elf ;; 2590 sparc-*-rtems*) fmt=elf ;; 2591 sparc-*-sunos4*) fmt=aout em=sun3 ;; 2592 sparc-*-aout | sparc*-*-vxworks*) 2593 fmt=aout em=sparcaout ;; 2594 sparc-*-coff) fmt=coff ;; 2595 sparc-*-linux*aout*) fmt=aout em=linux ;; 2596 sparc-*-linux-gnu*) fmt=elf em=linux ;; 2597 sparc-*-lynxos*) fmt=coff em=lynx ;; 2598 sparc-fujitsu-none) fmt=aout ;; 2599 sparc-*-elf | sparc-*-sysv4* | sparc-*-solaris*) 2600 fmt=elf ;; 2601 sparc-*-netbsd*) em=nbsd bfd_gas=yes 2602 case ${cpu} in 2603 sparc) case ${os} in 2604 *elf*) fmt=elf ;; 2605 *) fmt=aout ;; 2606 esac ;; 2607 sparc64) fmt=elf ;; 2608 esac 2609 ;; 2610 sparc-*-openbsd*) fmt=aout em=nbsd ;; 2611 2612 strongarm-*-coff) fmt=coff ;; 2613 strongarm-*-elf) fmt=elf ;; 2614 xscale-*-coff) fmt=coff ;; 2615 xscale-*-elf) fmt=elf ;; 2616 2617 tic30-*-*aout*) fmt=aout bfd_gas=yes ;; 2618 tic30-*-*coff*) fmt=coff bfd_gas=yes ;; 2619 tic54x-*-* | c54x*-*-*) 2620 fmt=coff bfd_gas=yes need_libm=yes;; 2621 tic80-*-*) fmt=coff ;; 2622 2623 v850-*-*) fmt=elf bfd_gas=yes ;; 2624 v850e-*-*) fmt=elf bfd_gas=yes ;; 2625 v850ea-*-*) fmt=elf bfd_gas=yes ;; 2626 2627 vax-*-bsd* | vax-*-ultrix*) 2628 fmt=aout ;; 2629 vax-*-vms) fmt=vms ;; 2630 2631 2632 z8k-*-coff | z8k-*-sim) 2633 fmt=coff ;; 2634 2635 w65-*-*) fmt=coff ;; 2636 2637 *-*-aout | *-*-scout) 2638 fmt=aout ;; 2639 *-*-freebsd*) fmt=elf em=freebsd bfd_gas=yes ;; 2640 *-*-nindy*) 2641 fmt=bout ;; 2642 *-*-bsd*) 2643 fmt=aout em=sun3 ;; 2644 *-*-generic) fmt=generic ;; 2645 *-*-xray | *-*-hms) fmt=coff ;; 2646 *-*-sim) fmt=coff ;; 2647 *-*-elf | *-*-sysv4* | *-*-solaris*) 2648 echo "configure: warning: GAS support for ${generic_target} is incomplete." 1>&2 2649 fmt=elf dev=yes ;; 2650 *-*-vxworks) fmt=aout ;; 2651 *-*-netware) fmt=elf ;; 2653 fi 2654 if test x${endian} = xbig; then 2655 { echo "configure: error: Solaris must be configured little endian" 1>&2; exit 1; } 2656 fi ;; 2657 ppc-*-rtems*) fmt=elf ;; 2658 ppc-*-macos* | ppc-*-mpw*) fmt=coff em=macos ;; 2659 ppc-*-netware*) fmt=elf em=ppcnw ;; 2660 ppc-**-nto*) fmt=elf ;; 2661 ppc-*-vxworks*) fmt=elf ;; 2662 ppc-*-windiss*) fmt=elf ;; 2663 ppc-*-kaos*) fmt=elf ;; 2664 2665 s390x-*-linux-gnu*) fmt=elf em=linux ;; 2666 s390-*-linux-gnu*) fmt=elf em=linux ;; 2667 2668 sh*-*-linux*) fmt=elf em=linux 2669 case ${cpu} in 2670 sh*eb) endian=big ;; 2671 *) endian=little ;; 2672 esac ;; 2673 sh5*-*-netbsd*) fmt=elf em=nbsd ;; 2674 sh64*-*-netbsd*) fmt=elf em=nbsd ;; 2675 sh*-*-netbsdelf*) fmt=elf em=nbsd ;; 2676 sh-*-elf*) fmt=elf ;; 2677 sh-*-coff*) fmt=coff ;; 2678 sh-*-nto*) fmt=elf ;; 2679 sh-*-pe*) fmt=coff em=pe bfd_gas=yes endian=little ;; 2680 sh-*-rtemself*) fmt=elf ;; 2681 sh-*-rtems*) fmt=coff ;; 2682 sh-*-kaos*) fmt=elf ;; 2683 shle*-*-kaos*) fmt=elf ;; 2684 sh64-*-elf*) fmt=elf ;; 2685 2686 ns32k-pc532-mach*) fmt=aout em=pc532mach ;; 2687 ns32k-pc532-ux*) fmt=aout em=pc532mach ;; 2688 ns32k-pc532-lites*) fmt=aout em=nbsd532 ;; 2689 ns32k-*-*n*bsd*) fmt=aout em=nbsd532 ;; 2690 2691 sparc-*-rtemsaout*) fmt=aout ;; 2692 sparc-*-rtemself*) fmt=elf ;; 2693 sparc-*-rtems*) fmt=elf ;; 2694 sparc-*-sunos4*) fmt=aout em=sun3 ;; 2695 sparc-*-aout | sparc*-*-vxworks*) fmt=aout em=sparcaout ;; 2696 sparc-*-coff) fmt=coff ;; 2697 sparc-*-linux*aout*) fmt=aout em=linux ;; 2698 sparc-*-linux-gnu*) fmt=elf em=linux ;; 2699 sparc-*-lynxos*) fmt=coff em=lynx ;; 2700 sparc-fujitsu-none) fmt=aout ;; 2701 sparc-*-elf) fmt=elf ;; 2702 sparc-*-sysv4*) fmt=elf ;; 2703 sparc-*-solaris*) fmt=elf ;; 2704 sparc-*-netbsdelf*) fmt=elf em=nbsd ;; 2705 sparc-*-*n*bsd*) case ${cpu} in 2706 sparc64) fmt=elf em=nbsd ;; 2707 *) fmt=aout em=nbsd ;; 2708 esac ;; 2709 strongarm-*-coff) fmt=coff ;; 2710 strongarm-*-elf) fmt=elf ;; 2711 strongarm-*-kaos*) fmt=elf ;; 2712 xscale-*-coff) fmt=coff ;; 2713 xscale-*-elf) fmt=elf ;; 2714 2715 tic30-*-*aout*) fmt=aout bfd_gas=yes ;; 2716 tic30-*-*coff*) fmt=coff bfd_gas=yes ;; 2717 tic4x-*-* | c4x-*-*) fmt=coff bfd_gas=yes ;; 2718 tic54x-*-* | c54x*-*-*) fmt=coff bfd_gas=yes need_libm=yes;; 2719 tic80-*-*) fmt=coff ;; 2720 2721 v850-*-*) fmt=elf ;; 2722 v850e-*-*) fmt=elf ;; 2723 v850ea-*-*) fmt=elf ;; 2724 2725 vax-*-netbsdelf*) fmt=elf em=nbsd ;; 2726 vax-*-netbsd*) fmt=aout em=nbsd ;; 2727 vax-*-bsd* | vax-*-ultrix*) fmt=aout ;; 2728 vax-*-vms) fmt=vms ;; 2729 2730 w65-*-*) fmt=coff ;; 2731 2732 xstormy16-*-*) fmt=elf ;; 2733 2734 xtensa-*-*) fmt=elf ;; 2735 2736 z8k-*-coff | z8k-*-sim) fmt=coff ;; 2737 2738 *-*-aout | *-*-scout) fmt=aout ;; 2739 *-*-freebsd*) fmt=elf em=freebsd ;; 2740 *-*-nindy*) fmt=bout ;; 2741 *-*-bsd*) fmt=aout em=sun3 ;; 2742 *-*-generic) fmt=generic ;; 2743 *-*-xray | *-*-hms) fmt=coff ;; 2744 *-*-sim) fmt=coff ;; 2745 *-*-elf | *-*-sysv4* | *-*-solaris*) fmt=elf dev=yes ;; 2746 *-*-aros*) fmt=elf em=linux bfd_gas=yes ;; 2747 *-*-vxworks) fmt=aout ;; 2748 *-*-netware) fmt=elf ;; 2652 2749 esac 2653 2750 … … 2668 2765 2669 2766 case ${cpu_type}-${fmt} in 2670 alpha*-*) bfd_gas=yes ;; 2671 arm-*) bfd_gas=yes ;; 2672 # not yet 2673 # i386-aout) bfd_gas=preferred ;; 2674 ia64*-*) bfd_gas=yes ;; 2675 mips-*) bfd_gas=yes ;; 2676 ns32k-*) bfd_gas=yes ;; 2677 ppc-*) bfd_gas=yes ;; 2678 sparc-*) bfd_gas=yes ;; 2679 strongarm-*) bfd_gas=yes ;; 2680 xscale-*) bfd_gas=yes ;; 2681 *-elf) bfd_gas=yes ;; 2682 *-ecoff) bfd_gas=yes ;; 2683 *-som) bfd_gas=yes ;; 2684 #enable bfd for coff and aout to allow testing if a bfd target is 2685 #the primary target, but not for coff or aout as the primary target 2686 i386-coff) if test x${primary_bfd_gas} = xyes; then bfd_gas=yes; fi ;; 2687 i386-aout) if test x${primary_bfd_gas} = xyes; then bfd_gas=yes; fi ;; 2688 *) ;; 2767 alpha*-* | arm-* | i386-* | ia64*-* | mips-* | ns32k-* \ 2768 | pdp11-* | ppc-* | sparc-* | strongarm-* | xscale-* \ 2769 | *-elf | *-ecoff | *-som) 2770 bfd_gas=yes ;; 2689 2771 esac 2690 2772 2691 2773 # Other random stuff. 2774 2775 case ${cpu_type} in 2776 mips) 2777 # Set mips_cpu to the name of the default CPU. 2778 case ${target_cpu} in 2779 mips | mipsbe | mipseb | mipsle | mipsel | mips64 | mips64el) 2780 mips_cpu=from-abi 2781 ;; 2782 mipsisa32 | mipsisa32el) 2783 mips_cpu=mips32 2784 ;; 2785 mipsisa32r2 | mipsisa32r2el) 2786 mips_cpu=mips32r2 2787 ;; 2788 mipsisa64 | mipsisa64el) 2789 mips_cpu=mips64 2790 ;; 2791 mipstx39 | mipstx39el) 2792 mips_cpu=r3900 2793 ;; 2794 mips64vr | mips64vrel) 2795 mips_cpu=vr4100 2796 ;; 2797 mipsisa32r2*) 2798 mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..r2//' -e 's/el$//'` 2799 ;; 2800 mips64* | mipsisa64* | mipsisa32*) 2801 mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..//' -e 's/el$//'` 2802 ;; 2803 *) 2804 { echo "configure: error: $target_cpu isn't a supported MIPS CPU name" 1>&2; exit 1; } 2805 ;; 2806 esac 2807 # See whether it's appropriate to set E_MIPS_ABI_O32 for o32 2808 # binaries. It's a GNU extension that some OSes don't understand. 2809 # The value only matters on ELF targets. 2810 case ${target} in 2811 *-*-irix*) 2812 use_e_mips_abi_o32=0 2813 ;; 2814 *) 2815 use_e_mips_abi_o32=1 2816 ;; 2817 esac 2818 # Decide whether to generate 32-bit or 64-bit code by default. 2819 # Used to resolve -march=from-abi when an embedded ABI is selected. 2820 case ${target} in 2821 mips64*-*-* | mipsisa64*-*-*) 2822 mips_default_64bit=1 2823 ;; 2824 *) 2825 mips_default_64bit=0 2826 ;; 2827 esac 2828 # Decide which ABI to target by default. 2829 case ${target} in 2830 mips64*-linux* | mips-sgi-irix6*) 2831 mips_default_abi=N32_ABI 2832 ;; 2833 mips*-linux*) 2834 mips_default_abi=O32_ABI 2835 ;; 2836 *) 2837 mips_default_abi=NO_ABI 2838 ;; 2839 esac 2840 cat >> confdefs.h <<EOF 2841 #define MIPS_CPU_STRING_DEFAULT "$mips_cpu" 2842 EOF 2843 2844 cat >> confdefs.h <<EOF 2845 #define USE_E_MIPS_ABI_O32 $use_e_mips_abi_o32 2846 EOF 2847 2848 cat >> confdefs.h <<EOF 2849 #define MIPS_DEFAULT_64BIT $mips_default_64bit 2850 EOF 2851 2852 cat >> confdefs.h <<EOF 2853 #define MIPS_DEFAULT_ABI $mips_default_abi 2854 EOF 2855 2856 ;; 2857 esac 2692 2858 2693 2859 # Do we need the opcodes library? … … 2713 2879 # Any other special object files needed ? 2714 2880 case ${cpu_type} in 2715 fr30 | m32r)2881 fr30 | ip2k | iq2000 | m32r | openrisc) 2716 2882 using_cgen=yes 2717 2883 ;; 2718 2884 2885 frv) 2886 using_cgen=yes 2887 ;; 2719 2888 m68k) 2720 2889 case ${extra_objects} in … … 2725 2894 2726 2895 mips) 2727 echo ${extra_objects} | grep -s "itbl-parse.o" 2896 echo ${extra_objects} | grep -s "itbl-parse.o" 2728 2897 if test $? -ne 0 ; then 2729 2898 extra_objects="$extra_objects itbl-parse.o" 2730 2899 fi 2731 2900 2732 echo ${extra_objects} | grep -s "itbl-lex.o" 2901 echo ${extra_objects} | grep -s "itbl-lex.o" 2733 2902 if test $? -ne 0 ; then 2734 2903 extra_objects="$extra_objects itbl-lex.o" 2735 2904 fi 2736 2905 2737 echo ${extra_objects} | grep -s "itbl-ops.o" 2906 echo ${extra_objects} | grep -s "itbl-ops.o" 2738 2907 if test $? -ne 0 ; then 2739 2908 extra_objects="$extra_objects itbl-ops.o" … … 2741 2910 ;; 2742 2911 2743 i386 )2912 i386 | s390 | sparc) 2744 2913 if test $this_target = $target ; then 2745 2914 cat >> confdefs.h <<EOF … … 2749 2918 fi 2750 2919 ;; 2751 sparc) 2752 if test $this_target = $target ; then 2753 cat >> confdefs.h <<EOF 2754 #define DEFAULT_ARCH "${arch}" 2755 EOF 2756 2920 2921 xstormy16) 2922 using_cgen=yes 2923 ;; 2924 2925 xtensa) 2926 echo ${extra_objects} | grep -s "xtensa-relax.o" 2927 if test $? -ne 0 ; then 2928 extra_objects="$extra_objects xtensa-relax.o" 2757 2929 fi 2758 2930 ;; 2931 2759 2932 *) 2760 2933 ;; … … 2788 2961 case ${generic_target}-${fmt} in 2789 2962 mips-*-irix5*-*) emulation="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;; 2790 mips -*-linux-gnu*-*) case "$endian" in2791 big) emulation="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;2792 *) emulation="mipslelf mipsbelf mipself mipslecoff mipsbecoff mipsecoff" ;;2963 mips*-*-linux*-*) case "$endian" in 2964 big) emulation="mipsbelf mipslelf mipself" ;; 2965 *) emulation="mipslelf mipsbelf mipself" ;; 2793 2966 esac ;; 2794 2967 mips-*-lnews*-ecoff) ;; … … 2845 3018 case ${target_cpu} in 2846 3019 vax | tahoe ) atof=${target_cpu} ;; 3020 pdp11) atof=vax ;; 2847 3021 *) atof=ieee ;; 2848 3022 esac … … 3100 3274 yes) 3101 3275 BFDLIB=../bfd/libbfd.la 3102 ALL_OBJ_DEPS="$ALL_OBJ_DEPS ../bfd/bfd.h" 3276 BFDVER_H=../bfd/bfdver.h 3277 ALL_OBJ_DEPS="$ALL_OBJ_DEPS"' ../bfd/bfd.h $(INCDIR)/symcat.h' 3103 3278 ;; 3104 3279 esac 3280 3105 3281 3106 3282 … … 3133 3309 set dummy gcc; ac_word=$2 3134 3310 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3135 echo "configure:3 136: checking for $ac_word" >&53311 echo "configure:3312: checking for $ac_word" >&5 3136 3312 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 3137 3313 echo $ac_n "(cached) $ac_c" 1>&6 … … 3164 3340 set dummy cc; ac_word=$2 3165 3341 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3166 echo "configure:3 167: checking for $ac_word" >&53342 echo "configure:3343: checking for $ac_word" >&5 3167 3343 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 3168 3344 echo $ac_n "(cached) $ac_c" 1>&6 … … 3217 3393 set dummy cl; ac_word=$2 3218 3394 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3219 echo "configure:3 220: checking for $ac_word" >&53395 echo "configure:3396: checking for $ac_word" >&5 3220 3396 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 3221 3397 echo $ac_n "(cached) $ac_c" 1>&6 … … 3250 3426 3251 3427 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 3252 echo "configure:3 253: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&53428 echo "configure:3429: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 3253 3429 3254 3430 ac_ext=c … … 3261 3437 cat > conftest.$ac_ext << EOF 3262 3438 3263 #line 3 264"configure"3439 #line 3440 "configure" 3264 3440 #include "confdefs.h" 3265 3441 3266 3442 main(){return(0);} 3267 3443 EOF 3268 if { (eval echo configure:3 269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3444 if { (eval echo configure:3445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3269 3445 ac_cv_prog_cc_works=yes 3270 3446 # If we can't run a trivial program, we are probably using a cross compiler. … … 3292 3468 fi 3293 3469 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 3294 echo "configure:3 295: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&53470 echo "configure:3471: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 3295 3471 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 3296 3472 cross_compiling=$ac_cv_prog_cc_cross 3297 3473 3298 3474 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 3299 echo "configure:3 300: checking whether we are using GNU C" >&53475 echo "configure:3476: checking whether we are using GNU C" >&5 3300 3476 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 3301 3477 echo $ac_n "(cached) $ac_c" 1>&6 … … 3306 3482 #endif 3307 3483 EOF 3308 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:3 309: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then3484 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:3485: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 3309 3485 ac_cv_prog_gcc=yes 3310 3486 else … … 3325 3501 CFLAGS= 3326 3502 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 3327 echo "configure:3 328: checking whether ${CC-cc} accepts -g" >&53503 echo "configure:3504: checking whether ${CC-cc} accepts -g" >&5 3328 3504 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 3329 3505 echo $ac_n "(cached) $ac_c" 1>&6 … … 3362 3538 set dummy $ac_prog; ac_word=$2 3363 3539 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3364 echo "configure:3 365: checking for $ac_word" >&53540 echo "configure:3541: checking for $ac_word" >&5 3365 3541 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then 3366 3542 echo $ac_n "(cached) $ac_c" 1>&6 … … 3394 3570 3395 3571 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 3396 echo "configure:3 397: checking how to run the C preprocessor" >&53572 echo "configure:3573: checking how to run the C preprocessor" >&5 3397 3573 # On Suns, sometimes $CPP names a directory. 3398 3574 if test -n "$CPP" && test -d "$CPP"; then … … 3410 3586 cat > conftest.$ac_ext <<EOF 3411 3587 #include <sys/types.h> 3412 #line 3 413"configure"3588 #line 3589 "configure" 3413 3589 #include "confdefs.h" 3414 3590 #include <assert.h> … … 3416 3592 EOF 3417 3593 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3418 { (eval echo configure:3 419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3594 { (eval echo configure:3595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3419 3595 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3420 3596 if test -z "$ac_err"; then … … 3428 3604 cat > conftest.$ac_ext <<EOF 3429 3605 #include <sys/types.h> 3430 #line 3 431"configure"3606 #line 3607 "configure" 3431 3607 #include "confdefs.h" 3432 3608 #include <assert.h> … … 3434 3610 EOF 3435 3611 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3436 { (eval echo configure:3 437: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3612 { (eval echo configure:3613: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3437 3613 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3438 3614 if test -z "$ac_err"; then … … 3446 3622 cat > conftest.$ac_ext <<EOF 3447 3623 #include <sys/types.h> 3448 #line 3 449"configure"3624 #line 3625 "configure" 3449 3625 #include "confdefs.h" 3450 3626 #include <assert.h> … … 3452 3628 EOF 3453 3629 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3454 { (eval echo configure:3 455: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3630 { (eval echo configure:3631: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3455 3631 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3456 3632 if test -z "$ac_err"; then … … 3482 3658 set dummy $ac_prog; ac_word=$2 3483 3659 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3484 echo "configure:3 485: checking for $ac_word" >&53660 echo "configure:3661: checking for $ac_word" >&5 3485 3661 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then 3486 3662 echo $ac_n "(cached) $ac_c" 1>&6 … … 3511 3687 test -n "$LEX" && break 3512 3688 done 3513 test -n "$LEX" || LEX=" "$missing_dir/missing flex""3689 test -n "$LEX" || LEX="$missing_dir/missing flex" 3514 3690 3515 3691 # Extract the first word of "flex", so it can be a program name with args. 3516 3692 set dummy flex; ac_word=$2 3517 3693 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3518 echo "configure:3 519: checking for $ac_word" >&53694 echo "configure:3695: checking for $ac_word" >&5 3519 3695 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then 3520 3696 echo $ac_n "(cached) $ac_c" 1>&6 … … 3551 3727 esac 3552 3728 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 3553 echo "configure:3 554: checking for yywrap in -l$ac_lib" >&53729 echo "configure:3730: checking for yywrap in -l$ac_lib" >&5 3554 3730 ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'` 3555 3731 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3559 3735 LIBS="-l$ac_lib $LIBS" 3560 3736 cat > conftest.$ac_ext <<EOF 3561 #line 3 562"configure"3737 #line 3738 "configure" 3562 3738 #include "confdefs.h" 3563 3739 /* Override any gcc2 internal prototype to avoid an error. */ … … 3570 3746 ; return 0; } 3571 3747 EOF 3572 if { (eval echo configure:3 573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3748 if { (eval echo configure:3749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3573 3749 rm -rf conftest* 3574 3750 eval "ac_cv_lib_$ac_lib_var=yes" … … 3593 3769 3594 3770 echo $ac_n "checking lex output file root""... $ac_c" 1>&6 3595 echo "configure:3 596: checking lex output file root" >&53771 echo "configure:3772: checking lex output file root" >&5 3596 3772 if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then 3597 3773 echo $ac_n "(cached) $ac_c" 1>&6 … … 3614 3790 3615 3791 echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6 3616 echo "configure:3 617: checking whether yytext is a pointer" >&53792 echo "configure:3793: checking whether yytext is a pointer" >&5 3617 3793 if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then 3618 3794 echo $ac_n "(cached) $ac_c" 1>&6 … … 3626 3802 LIBS="$LIBS $LEXLIB" 3627 3803 cat > conftest.$ac_ext <<EOF 3628 #line 3 629"configure"3804 #line 3805 "configure" 3629 3805 #include "confdefs.h" 3630 3806 `cat $LEX_OUTPUT_ROOT.c` … … 3633 3809 ; return 0; } 3634 3810 EOF 3635 if { (eval echo configure:3 636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3811 if { (eval echo configure:3812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3636 3812 rm -rf conftest* 3637 3813 ac_cv_prog_lex_yytext_pointer=yes … … 3655 3831 3656 3832 3657 ALL_LINGUAS= 3833 ALL_LINGUAS="fr tr es" 3658 3834 # Extract the first word of "ranlib", so it can be a program name with args. 3659 3835 set dummy ranlib; ac_word=$2 3660 3836 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3661 echo "configure:3 662: checking for $ac_word" >&53837 echo "configure:3838: checking for $ac_word" >&5 3662 3838 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 3663 3839 echo $ac_n "(cached) $ac_c" 1>&6 … … 3688 3864 3689 3865 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 3690 echo "configure:3 691: checking for ANSI C header files" >&53866 echo "configure:3867: checking for ANSI C header files" >&5 3691 3867 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 3692 3868 echo $ac_n "(cached) $ac_c" 1>&6 … … 3694 3870 cat > conftest.$ac_ext <<EOF 3695 3871 #include <sys/types.h> 3696 #line 3 697"configure"3872 #line 3873 "configure" 3697 3873 #include "confdefs.h" 3698 3874 #include <stdlib.h> … … 3702 3878 EOF 3703 3879 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3704 { (eval echo configure:3 705: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3880 { (eval echo configure:3881: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3705 3881 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3706 3882 if test -z "$ac_err"; then … … 3719 3895 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3720 3896 cat > conftest.$ac_ext <<EOF 3721 #line 3 722"configure"3897 #line 3898 "configure" 3722 3898 #include "confdefs.h" 3723 3899 #include <string.h> … … 3737 3913 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3738 3914 cat > conftest.$ac_ext <<EOF 3739 #line 3 740"configure"3915 #line 3916 "configure" 3740 3916 #include "confdefs.h" 3741 3917 #include <stdlib.h> … … 3758 3934 else 3759 3935 cat > conftest.$ac_ext <<EOF 3760 #line 3 761"configure"3936 #line 3937 "configure" 3761 3937 #include "confdefs.h" 3762 3938 #include <ctype.h> … … 3769 3945 3770 3946 EOF 3771 if { (eval echo configure:3 772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3947 if { (eval echo configure:3948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3772 3948 then 3773 3949 : … … 3793 3969 3794 3970 echo $ac_n "checking for working const""... $ac_c" 1>&6 3795 echo "configure:3 796: checking for working const" >&53971 echo "configure:3972: checking for working const" >&5 3796 3972 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 3797 3973 echo $ac_n "(cached) $ac_c" 1>&6 3798 3974 else 3799 3975 cat > conftest.$ac_ext <<EOF 3800 #line 3 801"configure"3976 #line 3977 "configure" 3801 3977 #include "confdefs.h" 3802 3978 … … 3847 4023 ; return 0; } 3848 4024 EOF 3849 if { (eval echo configure: 3850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4025 if { (eval echo configure:4026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3850 4026 rm -rf conftest* 3851 4027 ac_cv_c_const=yes … … 3868 4044 3869 4045 echo $ac_n "checking for inline""... $ac_c" 1>&6 3870 echo "configure: 3871: checking for inline" >&54046 echo "configure:4047: checking for inline" >&5 3871 4047 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 3872 4048 echo $ac_n "(cached) $ac_c" 1>&6 … … 3875 4051 for ac_kw in inline __inline__ __inline; do 3876 4052 cat > conftest.$ac_ext <<EOF 3877 #line 3878"configure"4053 #line 4054 "configure" 3878 4054 #include "confdefs.h" 3879 4055 … … 3882 4058 ; return 0; } 3883 4059 EOF 3884 if { (eval echo configure: 3885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4060 if { (eval echo configure:4061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3885 4061 rm -rf conftest* 3886 4062 ac_cv_c_inline=$ac_kw; break … … 3908 4084 3909 4085 echo $ac_n "checking for off_t""... $ac_c" 1>&6 3910 echo "configure: 3911: checking for off_t" >&54086 echo "configure:4087: checking for off_t" >&5 3911 4087 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then 3912 4088 echo $ac_n "(cached) $ac_c" 1>&6 3913 4089 else 3914 4090 cat > conftest.$ac_ext <<EOF 3915 #line 3916"configure"4091 #line 4092 "configure" 3916 4092 #include "confdefs.h" 3917 4093 #include <sys/types.h> … … 3941 4117 3942 4118 echo $ac_n "checking for size_t""... $ac_c" 1>&6 3943 echo "configure: 3944: checking for size_t" >&54119 echo "configure:4120: checking for size_t" >&5 3944 4120 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 3945 4121 echo $ac_n "(cached) $ac_c" 1>&6 3946 4122 else 3947 4123 cat > conftest.$ac_ext <<EOF 3948 #line 3949"configure"4124 #line 4125 "configure" 3949 4125 #include "confdefs.h" 3950 4126 #include <sys/types.h> … … 3976 4152 # for constant arguments. Useless! 3977 4153 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 3978 echo "configure: 3979: checking for working alloca.h" >&54154 echo "configure:4155: checking for working alloca.h" >&5 3979 4155 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 3980 4156 echo $ac_n "(cached) $ac_c" 1>&6 3981 4157 else 3982 4158 cat > conftest.$ac_ext <<EOF 3983 #line 3984"configure"4159 #line 4160 "configure" 3984 4160 #include "confdefs.h" 3985 4161 #include <alloca.h> … … 3988 4164 ; return 0; } 3989 4165 EOF 3990 if { (eval echo configure: 3991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4166 if { (eval echo configure:4167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3991 4167 rm -rf conftest* 3992 4168 ac_cv_header_alloca_h=yes … … 4009 4185 4010 4186 echo $ac_n "checking for alloca""... $ac_c" 1>&6 4011 echo "configure:4 012: checking for alloca" >&54187 echo "configure:4188: checking for alloca" >&5 4012 4188 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 4013 4189 echo $ac_n "(cached) $ac_c" 1>&6 4014 4190 else 4015 4191 cat > conftest.$ac_ext <<EOF 4016 #line 4 017"configure"4192 #line 4193 "configure" 4017 4193 #include "confdefs.h" 4018 4194 … … 4042 4218 ; return 0; } 4043 4219 EOF 4044 if { (eval echo configure:4 045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4220 if { (eval echo configure:4221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4045 4221 rm -rf conftest* 4046 4222 ac_cv_func_alloca_works=yes … … 4074 4250 4075 4251 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 4076 echo "configure:4 077: checking whether alloca needs Cray hooks" >&54252 echo "configure:4253: checking whether alloca needs Cray hooks" >&5 4077 4253 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 4078 4254 echo $ac_n "(cached) $ac_c" 1>&6 4079 4255 else 4080 4256 cat > conftest.$ac_ext <<EOF 4081 #line 4 082"configure"4257 #line 4258 "configure" 4082 4258 #include "confdefs.h" 4083 4259 #if defined(CRAY) && ! defined(CRAY2) … … 4104 4280 for ac_func in _getb67 GETB67 getb67; do 4105 4281 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4106 echo "configure:4 107: checking for $ac_func" >&54282 echo "configure:4283: checking for $ac_func" >&5 4107 4283 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4108 4284 echo $ac_n "(cached) $ac_c" 1>&6 4109 4285 else 4110 4286 cat > conftest.$ac_ext <<EOF 4111 #line 4 112"configure"4287 #line 4288 "configure" 4112 4288 #include "confdefs.h" 4113 4289 /* System header to define __stub macros and hopefully few prototypes, … … 4132 4308 ; return 0; } 4133 4309 EOF 4134 if { (eval echo configure:4 135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4310 if { (eval echo configure:4311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4135 4311 rm -rf conftest* 4136 4312 eval "ac_cv_func_$ac_func=yes" … … 4159 4335 4160 4336 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 4161 echo "configure:4 162: checking stack direction for C alloca" >&54337 echo "configure:4338: checking stack direction for C alloca" >&5 4162 4338 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 4163 4339 echo $ac_n "(cached) $ac_c" 1>&6 … … 4167 4343 else 4168 4344 cat > conftest.$ac_ext <<EOF 4169 #line 4 170"configure"4345 #line 4346 "configure" 4170 4346 #include "confdefs.h" 4171 4347 find_stack_direction () … … 4186 4362 } 4187 4363 EOF 4188 if { (eval echo configure:4 189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null4364 if { (eval echo configure:4365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 4189 4365 then 4190 4366 ac_cv_c_stack_direction=1 … … 4211 4387 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4212 4388 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4213 echo "configure:4 214: checking for $ac_hdr" >&54389 echo "configure:4390: checking for $ac_hdr" >&5 4214 4390 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4215 4391 echo $ac_n "(cached) $ac_c" 1>&6 … … 4217 4393 cat > conftest.$ac_ext <<EOF 4218 4394 #include <sys/types.h> 4219 #line 4 220"configure"4395 #line 4396 "configure" 4220 4396 #include "confdefs.h" 4221 4397 #include <$ac_hdr> 4222 4398 EOF 4223 4399 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4224 { (eval echo configure:4 225: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4400 { (eval echo configure:4401: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4225 4401 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4226 4402 if test -z "$ac_err"; then … … 4251 4427 do 4252 4428 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4253 echo "configure:4 254: checking for $ac_func" >&54429 echo "configure:4430: checking for $ac_func" >&5 4254 4430 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4255 4431 echo $ac_n "(cached) $ac_c" 1>&6 4256 4432 else 4257 4433 cat > conftest.$ac_ext <<EOF 4258 #line 4 259"configure"4434 #line 4435 "configure" 4259 4435 #include "confdefs.h" 4260 4436 /* System header to define __stub macros and hopefully few prototypes, … … 4279 4455 ; return 0; } 4280 4456 EOF 4281 if { (eval echo configure:4 282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4457 if { (eval echo configure:4458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4282 4458 rm -rf conftest* 4283 4459 eval "ac_cv_func_$ac_func=yes" … … 4304 4480 4305 4481 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 4306 echo "configure:4 307: checking for working mmap" >&54482 echo "configure:4483: checking for working mmap" >&5 4307 4483 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 4308 4484 echo $ac_n "(cached) $ac_c" 1>&6 … … 4312 4488 else 4313 4489 cat > conftest.$ac_ext <<EOF 4314 #line 4 315"configure"4490 #line 4491 "configure" 4315 4491 #include "confdefs.h" 4316 4492 … … 4452 4628 4453 4629 EOF 4454 if { (eval echo configure:4 455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null4630 if { (eval echo configure:4631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 4455 4631 then 4456 4632 ac_cv_func_mmap_fixed_mapped=yes … … 4480 4656 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4481 4657 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4482 echo "configure:4 483: checking for $ac_hdr" >&54658 echo "configure:4659: checking for $ac_hdr" >&5 4483 4659 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4484 4660 echo $ac_n "(cached) $ac_c" 1>&6 … … 4486 4662 cat > conftest.$ac_ext <<EOF 4487 4663 #include <sys/types.h> 4488 #line 4 489"configure"4664 #line 4665 "configure" 4489 4665 #include "confdefs.h" 4490 4666 #include <$ac_hdr> 4491 4667 EOF 4492 4668 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4493 { (eval echo configure:4 494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4669 { (eval echo configure:4670: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4494 4670 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4495 4671 if test -z "$ac_err"; then … … 4521 4697 do 4522 4698 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4523 echo "configure:4 524: checking for $ac_func" >&54699 echo "configure:4700: checking for $ac_func" >&5 4524 4700 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4525 4701 echo $ac_n "(cached) $ac_c" 1>&6 4526 4702 else 4527 4703 cat > conftest.$ac_ext <<EOF 4528 #line 4 529"configure"4704 #line 4705 "configure" 4529 4705 #include "confdefs.h" 4530 4706 /* System header to define __stub macros and hopefully few prototypes, … … 4549 4725 ; return 0; } 4550 4726 EOF 4551 if { (eval echo configure:4 552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4727 if { (eval echo configure:4728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4552 4728 rm -rf conftest* 4553 4729 eval "ac_cv_func_$ac_func=yes" … … 4578 4754 do 4579 4755 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4580 echo "configure:4 581: checking for $ac_func" >&54756 echo "configure:4757: checking for $ac_func" >&5 4581 4757 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4582 4758 echo $ac_n "(cached) $ac_c" 1>&6 4583 4759 else 4584 4760 cat > conftest.$ac_ext <<EOF 4585 #line 4 586"configure"4761 #line 4762 "configure" 4586 4762 #include "confdefs.h" 4587 4763 /* System header to define __stub macros and hopefully few prototypes, … … 4606 4782 ; return 0; } 4607 4783 EOF 4608 if { (eval echo configure:4 609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4784 if { (eval echo configure:4785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4609 4785 rm -rf conftest* 4610 4786 eval "ac_cv_func_$ac_func=yes" … … 4640 4816 if test $ac_cv_header_locale_h = yes; then 4641 4817 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 4642 echo "configure:4 643: checking for LC_MESSAGES" >&54818 echo "configure:4819: checking for LC_MESSAGES" >&5 4643 4819 if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then 4644 4820 echo $ac_n "(cached) $ac_c" 1>&6 4645 4821 else 4646 4822 cat > conftest.$ac_ext <<EOF 4647 #line 4 648"configure"4823 #line 4824 "configure" 4648 4824 #include "confdefs.h" 4649 4825 #include <locale.h> … … 4652 4828 ; return 0; } 4653 4829 EOF 4654 if { (eval echo configure:4 655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4830 if { (eval echo configure:4831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4655 4831 rm -rf conftest* 4656 4832 am_cv_val_LC_MESSAGES=yes … … 4673 4849 fi 4674 4850 echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 4675 echo "configure:4 676: checking whether NLS is requested" >&54851 echo "configure:4852: checking whether NLS is requested" >&5 4676 4852 # Check whether --enable-nls or --disable-nls was given. 4677 4853 if test "${enable_nls+set}" = set; then … … 4693 4869 4694 4870 echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6 4695 echo "configure:4 696: checking whether included gettext is requested" >&54871 echo "configure:4872: checking whether included gettext is requested" >&5 4696 4872 # Check whether --with-included-gettext or --without-included-gettext was given. 4697 4873 if test "${with_included_gettext+set}" = set; then … … 4712 4888 ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'` 4713 4889 echo $ac_n "checking for libintl.h""... $ac_c" 1>&6 4714 echo "configure:4 715: checking for libintl.h" >&54890 echo "configure:4891: checking for libintl.h" >&5 4715 4891 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4716 4892 echo $ac_n "(cached) $ac_c" 1>&6 … … 4718 4894 cat > conftest.$ac_ext <<EOF 4719 4895 #include <sys/types.h> 4720 #line 4 721"configure"4896 #line 4897 "configure" 4721 4897 #include "confdefs.h" 4722 4898 #include <libintl.h> 4723 4899 EOF 4724 4900 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4725 { (eval echo configure:4 726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4901 { (eval echo configure:4902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4726 4902 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4727 4903 if test -z "$ac_err"; then … … 4740 4916 echo "$ac_t""yes" 1>&6 4741 4917 echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6 4742 echo "configure:4 743: checking for gettext in libc" >&54918 echo "configure:4919: checking for gettext in libc" >&5 4743 4919 if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then 4744 4920 echo $ac_n "(cached) $ac_c" 1>&6 4745 4921 else 4746 4922 cat > conftest.$ac_ext <<EOF 4747 #line 4 748"configure"4923 #line 4924 "configure" 4748 4924 #include "confdefs.h" 4749 4925 #include <libintl.h> … … 4752 4928 ; return 0; } 4753 4929 EOF 4754 if { (eval echo configure:4 755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4930 if { (eval echo configure:4931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4755 4931 rm -rf conftest* 4756 4932 gt_cv_func_gettext_libc=yes … … 4768 4944 if test "$gt_cv_func_gettext_libc" != "yes"; then 4769 4945 echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6 4770 echo "configure:4 771: checking for bindtextdomain in -lintl" >&54946 echo "configure:4947: checking for bindtextdomain in -lintl" >&5 4771 4947 ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'` 4772 4948 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4776 4952 LIBS="-lintl $LIBS" 4777 4953 cat > conftest.$ac_ext <<EOF 4778 #line 4 779"configure"4954 #line 4955 "configure" 4779 4955 #include "confdefs.h" 4780 4956 /* Override any gcc2 internal prototype to avoid an error. */ … … 4787 4963 ; return 0; } 4788 4964 EOF 4789 if { (eval echo configure:4 790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4965 if { (eval echo configure:4966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4790 4966 rm -rf conftest* 4791 4967 eval "ac_cv_lib_$ac_lib_var=yes" … … 4803 4979 echo "$ac_t""yes" 1>&6 4804 4980 echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6 4805 echo "configure:4 806: checking for gettext in libintl" >&54981 echo "configure:4982: checking for gettext in libintl" >&5 4806 4982 if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then 4807 4983 echo $ac_n "(cached) $ac_c" 1>&6 4808 4984 else 4809 4985 cat > conftest.$ac_ext <<EOF 4810 #line 4 811"configure"4986 #line 4987 "configure" 4811 4987 #include "confdefs.h" 4812 4988 … … 4815 4991 ; return 0; } 4816 4992 EOF 4817 if { (eval echo configure:4 818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4993 if { (eval echo configure:4994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4818 4994 rm -rf conftest* 4819 4995 gt_cv_func_gettext_libintl=yes … … 4843 5019 set dummy msgfmt; ac_word=$2 4844 5020 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4845 echo "configure: 4846: checking for $ac_word" >&55021 echo "configure:5022: checking for $ac_word" >&5 4846 5022 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then 4847 5023 echo $ac_n "(cached) $ac_c" 1>&6 … … 4877 5053 do 4878 5054 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4879 echo "configure: 4880: checking for $ac_func" >&55055 echo "configure:5056: checking for $ac_func" >&5 4880 5056 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4881 5057 echo $ac_n "(cached) $ac_c" 1>&6 4882 5058 else 4883 5059 cat > conftest.$ac_ext <<EOF 4884 #line 4885"configure"5060 #line 5061 "configure" 4885 5061 #include "confdefs.h" 4886 5062 /* System header to define __stub macros and hopefully few prototypes, … … 4905 5081 ; return 0; } 4906 5082 EOF 4907 if { (eval echo configure: 4908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5083 if { (eval echo configure:5084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4908 5084 rm -rf conftest* 4909 5085 eval "ac_cv_func_$ac_func=yes" … … 4932 5108 set dummy gmsgfmt; ac_word=$2 4933 5109 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4934 echo "configure: 4935: checking for $ac_word" >&55110 echo "configure:5111: checking for $ac_word" >&5 4935 5111 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then 4936 5112 echo $ac_n "(cached) $ac_c" 1>&6 … … 4972 5148 set dummy xgettext; ac_word=$2 4973 5149 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4974 echo "configure: 4975: checking for $ac_word" >&55150 echo "configure:5151: checking for $ac_word" >&5 4975 5151 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then 4976 5152 echo $ac_n "(cached) $ac_c" 1>&6 … … 5004 5180 5005 5181 cat > conftest.$ac_ext <<EOF 5006 #line 5 007"configure"5182 #line 5183 "configure" 5007 5183 #include "confdefs.h" 5008 5184 … … 5012 5188 ; return 0; } 5013 5189 EOF 5014 if { (eval echo configure:5 015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5190 if { (eval echo configure:5191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5015 5191 rm -rf conftest* 5016 5192 CATOBJEXT=.gmo … … 5044 5220 set dummy msgfmt; ac_word=$2 5045 5221 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 5046 echo "configure:5 047: checking for $ac_word" >&55222 echo "configure:5223: checking for $ac_word" >&5 5047 5223 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then 5048 5224 echo $ac_n "(cached) $ac_c" 1>&6 … … 5078 5254 set dummy gmsgfmt; ac_word=$2 5079 5255 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 5080 echo "configure:5 081: checking for $ac_word" >&55256 echo "configure:5257: checking for $ac_word" >&5 5081 5257 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then 5082 5258 echo $ac_n "(cached) $ac_c" 1>&6 … … 5118 5294 set dummy xgettext; ac_word=$2 5119 5295 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 5120 echo "configure:5 121: checking for $ac_word" >&55296 echo "configure:5297: checking for $ac_word" >&5 5121 5297 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then 5122 5298 echo $ac_n "(cached) $ac_c" 1>&6 … … 5208 5384 else 5209 5385 echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 5210 echo "configure:5 211: checking for catalogs to be installed" >&55386 echo "configure:5387: checking for catalogs to be installed" >&5 5211 5387 NEW_LINGUAS= 5212 5388 for lang in ${LINGUAS=$ALL_LINGUAS}; do … … 5236 5412 ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'` 5237 5413 echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6 5238 echo "configure:5 239: checking for linux/version.h" >&55414 echo "configure:5415: checking for linux/version.h" >&5 5239 5415 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5240 5416 echo $ac_n "(cached) $ac_c" 1>&6 … … 5242 5418 cat > conftest.$ac_ext <<EOF 5243 5419 #include <sys/types.h> 5244 #line 5 245"configure"5420 #line 5421 "configure" 5245 5421 #include "confdefs.h" 5246 5422 #include <linux/version.h> 5247 5423 EOF 5248 5424 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5249 { (eval echo configure:5 250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }5425 { (eval echo configure:5426: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5250 5426 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5251 5427 if test -z "$ac_err"; then … … 5292 5468 5293 5469 5294 if test - d $srcdir/po; then5470 if test -f $srcdir/po/POTFILES.in; then 5295 5471 test -d po || mkdir po 5296 5472 if test "x$srcdir" != "x."; then 5297 if test "x`echo $srcdir | sed -e 's@.\:/.*@@' -e 's@/.*@@' `" = "x"; then5473 if test "x`echo $srcdir | sed -e 's@.\:/.*@@' -e 's@/.*@@' `" = "x"; then 5298 5474 posrcprefix="$srcdir/" 5299 5475 else … … 5310 5486 5311 5487 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 5312 echo "configure:5 313: checking whether to enable maintainer-specific portions of Makefiles" >&55488 echo "configure:5489: checking whether to enable maintainer-specific portions of Makefiles" >&5 5313 5489 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 5314 5490 if test "${enable_maintainer_mode+set}" = set; then … … 5336 5512 5337 5513 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 5338 echo "configure:5 339: checking for executable suffix" >&55514 echo "configure:5515: checking for executable suffix" >&5 5339 5515 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 5340 5516 echo $ac_n "(cached) $ac_c" 1>&6 … … 5346 5522 echo 'int main () { return 0; }' > conftest.$ac_ext 5347 5523 ac_cv_exeext= 5348 if { (eval echo configure:5 349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then5524 if { (eval echo configure:5525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 5349 5525 for file in conftest.*; do 5350 5526 case $file in … … 5371 5547 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5372 5548 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5373 echo "configure:5 374: checking for $ac_hdr" >&55549 echo "configure:5550: checking for $ac_hdr" >&5 5374 5550 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5375 5551 echo $ac_n "(cached) $ac_c" 1>&6 … … 5377 5553 cat > conftest.$ac_ext <<EOF 5378 5554 #include <sys/types.h> 5379 #line 5 380"configure"5555 #line 5556 "configure" 5380 5556 #include "confdefs.h" 5381 5557 #include <$ac_hdr> 5382 5558 EOF 5383 5559 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5384 { (eval echo configure:5 385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }5560 { (eval echo configure:5561: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5385 5561 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5386 5562 if test -z "$ac_err"; then … … 5412 5588 # people who are not cross-compiling but are compiling cross-assemblers. 5413 5589 echo $ac_n "checking whether compiling a cross-assembler""... $ac_c" 1>&6 5414 echo "configure:5 415: checking whether compiling a cross-assembler" >&55590 echo "configure:5591: checking whether compiling a cross-assembler" >&5 5415 5591 if test "${host}" = "${target}"; then 5416 5592 cross_gas=no … … 5427 5603 # for constant arguments. Useless! 5428 5604 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 5429 echo "configure:5 430: checking for working alloca.h" >&55605 echo "configure:5606: checking for working alloca.h" >&5 5430 5606 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 5431 5607 echo $ac_n "(cached) $ac_c" 1>&6 5432 5608 else 5433 5609 cat > conftest.$ac_ext <<EOF 5434 #line 5 435"configure"5610 #line 5611 "configure" 5435 5611 #include "confdefs.h" 5436 5612 #include <alloca.h> … … 5439 5615 ; return 0; } 5440 5616 EOF 5441 if { (eval echo configure:5 442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5617 if { (eval echo configure:5618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5442 5618 rm -rf conftest* 5443 5619 ac_cv_header_alloca_h=yes … … 5460 5636 5461 5637 echo $ac_n "checking for alloca""... $ac_c" 1>&6 5462 echo "configure:5 463: checking for alloca" >&55638 echo "configure:5639: checking for alloca" >&5 5463 5639 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 5464 5640 echo $ac_n "(cached) $ac_c" 1>&6 5465 5641 else 5466 5642 cat > conftest.$ac_ext <<EOF 5467 #line 5 468"configure"5643 #line 5644 "configure" 5468 5644 #include "confdefs.h" 5469 5645 … … 5493 5669 ; return 0; } 5494 5670 EOF 5495 if { (eval echo configure:5 496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5671 if { (eval echo configure:5672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5496 5672 rm -rf conftest* 5497 5673 ac_cv_func_alloca_works=yes … … 5525 5701 5526 5702 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 5527 echo "configure:5 528: checking whether alloca needs Cray hooks" >&55703 echo "configure:5704: checking whether alloca needs Cray hooks" >&5 5528 5704 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 5529 5705 echo $ac_n "(cached) $ac_c" 1>&6 5530 5706 else 5531 5707 cat > conftest.$ac_ext <<EOF 5532 #line 5 533"configure"5708 #line 5709 "configure" 5533 5709 #include "confdefs.h" 5534 5710 #if defined(CRAY) && ! defined(CRAY2) … … 5555 5731 for ac_func in _getb67 GETB67 getb67; do 5556 5732 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5557 echo "configure:5 558: checking for $ac_func" >&55733 echo "configure:5734: checking for $ac_func" >&5 5558 5734 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5559 5735 echo $ac_n "(cached) $ac_c" 1>&6 5560 5736 else 5561 5737 cat > conftest.$ac_ext <<EOF 5562 #line 5 563"configure"5738 #line 5739 "configure" 5563 5739 #include "confdefs.h" 5564 5740 /* System header to define __stub macros and hopefully few prototypes, … … 5583 5759 ; return 0; } 5584 5760 EOF 5585 if { (eval echo configure:5 586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5761 if { (eval echo configure:5762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5586 5762 rm -rf conftest* 5587 5763 eval "ac_cv_func_$ac_func=yes" … … 5610 5786 5611 5787 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 5612 echo "configure:5 613: checking stack direction for C alloca" >&55788 echo "configure:5789: checking stack direction for C alloca" >&5 5613 5789 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 5614 5790 echo $ac_n "(cached) $ac_c" 1>&6 … … 5618 5794 else 5619 5795 cat > conftest.$ac_ext <<EOF 5620 #line 5 621"configure"5796 #line 5797 "configure" 5621 5797 #include "confdefs.h" 5622 5798 find_stack_direction () … … 5637 5813 } 5638 5814 EOF 5639 if { (eval echo configure:5 640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null5815 if { (eval echo configure:5816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5640 5816 then 5641 5817 ac_cv_c_stack_direction=1 … … 5659 5835 5660 5836 echo $ac_n "checking for inline""... $ac_c" 1>&6 5661 echo "configure:5 662: checking for inline" >&55837 echo "configure:5838: checking for inline" >&5 5662 5838 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 5663 5839 echo $ac_n "(cached) $ac_c" 1>&6 … … 5666 5842 for ac_kw in inline __inline__ __inline; do 5667 5843 cat > conftest.$ac_ext <<EOF 5668 #line 5 669"configure"5844 #line 5845 "configure" 5669 5845 #include "confdefs.h" 5670 5846 … … 5673 5849 ; return 0; } 5674 5850 EOF 5675 if { (eval echo configure:5 676: \"$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 5676 5852 rm -rf conftest* 5677 5853 ac_cv_c_inline=$ac_kw; break … … 5703 5879 do 5704 5880 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5705 echo "configure:5 706: checking for $ac_func" >&55881 echo "configure:5882: checking for $ac_func" >&5 5706 5882 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5707 5883 echo $ac_n "(cached) $ac_c" 1>&6 5708 5884 else 5709 5885 cat > conftest.$ac_ext <<EOF 5710 #line 5 711"configure"5886 #line 5887 "configure" 5711 5887 #include "confdefs.h" 5712 5888 /* System header to define __stub macros and hopefully few prototypes, … … 5731 5907 ; return 0; } 5732 5908 EOF 5733 if { (eval echo configure:5 734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5909 if { (eval echo configure:5910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5734 5910 rm -rf conftest* 5735 5911 eval "ac_cv_func_$ac_func=yes" … … 5760 5936 do 5761 5937 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5762 echo "configure:5 763: checking for $ac_func" >&55938 echo "configure:5939: checking for $ac_func" >&5 5763 5939 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5764 5940 echo $ac_n "(cached) $ac_c" 1>&6 5765 5941 else 5766 5942 cat > conftest.$ac_ext <<EOF 5767 #line 5 768"configure"5943 #line 5944 "configure" 5768 5944 #include "confdefs.h" 5769 5945 /* System header to define __stub macros and hopefully few prototypes, … … 5788 5964 ; return 0; } 5789 5965 EOF 5790 if { (eval echo configure:5 791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5966 if { (eval echo configure:5967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5791 5967 rm -rf conftest* 5792 5968 eval "ac_cv_func_$ac_func=yes" … … 5815 5991 # do we need the math library? 5816 5992 case "${need_libm}" in 5817 yes) 5993 yes) 5818 5994 LIBM= 5819 case "$host"in5995 case $host in 5820 5996 *-*-beos* | *-*-cygwin* | *-*-pw32*) 5821 5997 # These system don't have libm … … 5823 5999 *-ncr-sysv4.3*) 5824 6000 echo $ac_n "checking for _mwvalidcheckl in -lmw""... $ac_c" 1>&6 5825 echo "configure: 5826: checking for _mwvalidcheckl in -lmw" >&56001 echo "configure:6002: checking for _mwvalidcheckl in -lmw" >&5 5826 6002 ac_lib_var=`echo mw'_'_mwvalidcheckl | sed 'y%./+-%__p_%'` 5827 6003 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 5831 6007 LIBS="-lmw $LIBS" 5832 6008 cat > conftest.$ac_ext <<EOF 5833 #line 5834"configure"6009 #line 6010 "configure" 5834 6010 #include "confdefs.h" 5835 6011 /* Override any gcc2 internal prototype to avoid an error. */ … … 5842 6018 ; return 0; } 5843 6019 EOF 5844 if { (eval echo configure: 5845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6020 if { (eval echo configure:6021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5845 6021 rm -rf conftest* 5846 6022 eval "ac_cv_lib_$ac_lib_var=yes" … … 5863 6039 5864 6040 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 5865 echo "configure: 5866: checking for main in -lm" >&56041 echo "configure:6042: checking for main in -lm" >&5 5866 6042 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` 5867 6043 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 5871 6047 LIBS="-lm $LIBS" 5872 6048 cat > conftest.$ac_ext <<EOF 5873 #line 5874"configure"6049 #line 6050 "configure" 5874 6050 #include "confdefs.h" 5875 6051 … … 5878 6054 ; return 0; } 5879 6055 EOF 5880 if { (eval echo configure: 5881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6056 if { (eval echo configure:6057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5881 6057 rm -rf conftest* 5882 6058 eval "ac_cv_lib_$ac_lib_var=yes" … … 5901 6077 *) 5902 6078 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 5903 echo "configure: 5904: checking for main in -lm" >&56079 echo "configure:6080: checking for main in -lm" >&5 5904 6080 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` 5905 6081 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 5909 6085 LIBS="-lm $LIBS" 5910 6086 cat > conftest.$ac_ext <<EOF 5911 #line 5912"configure"6087 #line 6088 "configure" 5912 6088 #include "confdefs.h" 5913 6089 … … 5916 6092 ; return 0; } 5917 6093 EOF 5918 if { (eval echo configure: 5919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6094 if { (eval echo configure:6095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5919 6095 rm -rf conftest* 5920 6096 eval "ac_cv_lib_$ac_lib_var=yes" … … 5947 6123 # working properly! 5948 6124 echo $ac_n "checking for working assert macro""... $ac_c" 1>&6 5949 echo "configure: 5950: checking for working assert macro" >&56125 echo "configure:6126: checking for working assert macro" >&5 5950 6126 if eval "test \"`echo '$''{'gas_cv_assert_ok'+set}'`\" = set"; then 5951 6127 echo $ac_n "(cached) $ac_c" 1>&6 5952 6128 else 5953 6129 cat > conftest.$ac_ext <<EOF 5954 #line 5955"configure"6130 #line 6131 "configure" 5955 6131 #include "confdefs.h" 5956 6132 #include <assert.h> … … 5968 6144 ; return 0; } 5969 6145 EOF 5970 if { (eval echo configure: 5971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6146 if { (eval echo configure:6147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5971 6147 rm -rf conftest* 5972 6148 gas_cv_assert_ok=yes … … 6009 6185 6010 6186 echo $ac_n "checking whether declaration is required for strstr""... $ac_c" 1>&6 6011 echo "configure:6 012: checking whether declaration is required for strstr" >&56187 echo "configure:6188: checking whether declaration is required for strstr" >&5 6012 6188 if eval "test \"`echo '$''{'gas_cv_decl_needed_strstr'+set}'`\" = set"; then 6013 6189 echo $ac_n "(cached) $ac_c" 1>&6 6014 6190 else 6015 6191 cat > conftest.$ac_ext <<EOF 6016 #line 6 017"configure"6192 #line 6193 "configure" 6017 6193 #include "confdefs.h" 6018 6194 $gas_test_headers … … 6025 6201 ; return 0; } 6026 6202 EOF 6027 if { (eval echo configure:6 028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6203 if { (eval echo configure:6204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6028 6204 rm -rf conftest* 6029 6205 gas_cv_decl_needed_strstr=no … … 6046 6222 6047 6223 echo $ac_n "checking whether declaration is required for malloc""... $ac_c" 1>&6 6048 echo "configure:6 049: checking whether declaration is required for malloc" >&56224 echo "configure:6225: checking whether declaration is required for malloc" >&5 6049 6225 if eval "test \"`echo '$''{'gas_cv_decl_needed_malloc'+set}'`\" = set"; then 6050 6226 echo $ac_n "(cached) $ac_c" 1>&6 6051 6227 else 6052 6228 cat > conftest.$ac_ext <<EOF 6053 #line 6 054"configure"6229 #line 6230 "configure" 6054 6230 #include "confdefs.h" 6055 6231 $gas_test_headers … … 6062 6238 ; return 0; } 6063 6239 EOF 6064 if { (eval echo configure:6 065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6240 if { (eval echo configure:6241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6065 6241 rm -rf conftest* 6066 6242 gas_cv_decl_needed_malloc=no … … 6083 6259 6084 6260 echo $ac_n "checking whether declaration is required for free""... $ac_c" 1>&6 6085 echo "configure:6 086: checking whether declaration is required for free" >&56261 echo "configure:6262: checking whether declaration is required for free" >&5 6086 6262 if eval "test \"`echo '$''{'gas_cv_decl_needed_free'+set}'`\" = set"; then 6087 6263 echo $ac_n "(cached) $ac_c" 1>&6 6088 6264 else 6089 6265 cat > conftest.$ac_ext <<EOF 6090 #line 6 091"configure"6266 #line 6267 "configure" 6091 6267 #include "confdefs.h" 6092 6268 $gas_test_headers … … 6099 6275 ; return 0; } 6100 6276 EOF 6101 if { (eval echo configure:6 102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6277 if { (eval echo configure:6278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6102 6278 rm -rf conftest* 6103 6279 gas_cv_decl_needed_free=no … … 6120 6296 6121 6297 echo $ac_n "checking whether declaration is required for sbrk""... $ac_c" 1>&6 6122 echo "configure:6 123: checking whether declaration is required for sbrk" >&56298 echo "configure:6299: checking whether declaration is required for sbrk" >&5 6123 6299 if eval "test \"`echo '$''{'gas_cv_decl_needed_sbrk'+set}'`\" = set"; then 6124 6300 echo $ac_n "(cached) $ac_c" 1>&6 6125 6301 else 6126 6302 cat > conftest.$ac_ext <<EOF 6127 #line 6 128"configure"6303 #line 6304 "configure" 6128 6304 #include "confdefs.h" 6129 6305 $gas_test_headers … … 6136 6312 ; return 0; } 6137 6313 EOF 6138 if { (eval echo configure:6 139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6314 if { (eval echo configure:6315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6139 6315 rm -rf conftest* 6140 6316 gas_cv_decl_needed_sbrk=no … … 6157 6333 6158 6334 echo $ac_n "checking whether declaration is required for environ""... $ac_c" 1>&6 6159 echo "configure:6 160: checking whether declaration is required for environ" >&56335 echo "configure:6336: checking whether declaration is required for environ" >&5 6160 6336 if eval "test \"`echo '$''{'gas_cv_decl_needed_environ'+set}'`\" = set"; then 6161 6337 echo $ac_n "(cached) $ac_c" 1>&6 6162 6338 else 6163 6339 cat > conftest.$ac_ext <<EOF 6164 #line 6 165"configure"6340 #line 6341 "configure" 6165 6341 #include "confdefs.h" 6166 6342 $gas_test_headers … … 6173 6349 ; return 0; } 6174 6350 EOF 6175 if { (eval echo configure:6 176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6351 if { (eval echo configure:6352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6176 6352 rm -rf conftest* 6177 6353 gas_cv_decl_needed_environ=no … … 6197 6373 6198 6374 echo $ac_n "checking whether declaration is required for errno""... $ac_c" 1>&6 6199 echo "configure:6 200: checking whether declaration is required for errno" >&56375 echo "configure:6376: checking whether declaration is required for errno" >&5 6200 6376 if eval "test \"`echo '$''{'gas_cv_decl_needed_errno'+set}'`\" = set"; then 6201 6377 echo $ac_n "(cached) $ac_c" 1>&6 6202 6378 else 6203 6379 cat > conftest.$ac_ext <<EOF 6204 #line 6 205"configure"6380 #line 6381 "configure" 6205 6381 #include "confdefs.h" 6206 6382 … … 6217 6393 ; return 0; } 6218 6394 EOF 6219 if { (eval echo configure:6 220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6395 if { (eval echo configure:6396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6220 6396 rm -rf conftest* 6221 6397 gas_cv_decl_needed_errno=no … … 6422 6598 s%@BFDLIB@%$BFDLIB%g 6423 6599 s%@OPCODES_LIB@%$OPCODES_LIB%g 6600 s%@BFDVER_H@%$BFDVER_H%g 6424 6601 s%@ALL_OBJ_DEPS@%$ALL_OBJ_DEPS%g 6425 6602 s%@YACC@%$YACC%g -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/binutils/gprof/configure
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r618 r619 1292 1292 enableval="$enable_shared" 1293 1293 p=${PACKAGE-default} 1294 case "$enableval"in1294 case $enableval in 1295 1295 yes) enable_shared=yes ;; 1296 1296 no) enable_shared=no ;; … … 1315 1315 enableval="$enable_static" 1316 1316 p=${PACKAGE-default} 1317 case "$enableval"in1317 case $enableval in 1318 1318 yes) enable_static=yes ;; 1319 1319 no) enable_static=no ;; … … 1338 1338 enableval="$enable_fast_install" 1339 1339 p=${PACKAGE-default} 1340 case "$enableval"in1340 case $enableval in 1341 1341 yes) enable_fast_install=yes ;; 1342 1342 no) enable_fast_install=no ;; … … 1366 1366 1367 1367 ac_prog=ld 1368 if test "$ ac_cv_prog_gcc" = yes; then1368 if test "$GCC" = yes; then 1369 1369 # Check if gcc -print-prog-name=ld gives a path. 1370 1370 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 … … 1377 1377 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 1378 1378 esac 1379 case "$ac_prog"in1379 case $ac_prog in 1380 1380 # Accept absolute paths. 1381 1381 [\\/]* | [A-Za-z]:[\\/]*) … … 1404 1404 echo "configure:1405: checking for non-GNU ld" >&5 1405 1405 fi 1406 if eval "test \"`echo '$''{' ac_cv_path_LD'+set}'`\" = set"; then1406 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then 1407 1407 echo $ac_n "(cached) $ac_c" 1>&6 1408 1408 else … … 1412 1412 test -z "$ac_dir" && ac_dir=. 1413 1413 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 1414 ac_cv_path_LD="$ac_dir/$ac_prog"1414 lt_cv_path_LD="$ac_dir/$ac_prog" 1415 1415 # Check to see if the program is GNU ld. I'd rather use --version, 1416 1416 # but apparently some GNU ld's only accept -v. 1417 1417 # Break only if it was the GNU/non-GNU ld that we prefer. 1418 if "$ ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then1418 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then 1419 1419 test "$with_gnu_ld" != no && break 1420 1420 else … … 1425 1425 IFS="$ac_save_ifs" 1426 1426 else 1427 ac_cv_path_LD="$LD" # Let the user override the test with a path.1428 fi 1429 fi 1430 1431 LD="$ ac_cv_path_LD"1427 lt_cv_path_LD="$LD" # Let the user override the test with a path. 1428 fi 1429 fi 1430 1431 LD="$lt_cv_path_LD" 1432 1432 if test -n "$LD"; then 1433 1433 echo "$ac_t""$LD" 1>&6 … … 1438 1438 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 1439 1439 echo "configure:1440: checking if the linker ($LD) is GNU ld" >&5 1440 if eval "test \"`echo '$''{' ac_cv_prog_gnu_ld'+set}'`\" = set"; then1440 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then 1441 1441 echo $ac_n "(cached) $ac_c" 1>&6 1442 1442 else 1443 1443 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 1444 1444 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 1445 ac_cv_prog_gnu_ld=yes1446 else 1447 ac_cv_prog_gnu_ld=no1448 fi 1449 fi 1450 1451 echo "$ac_t""$ ac_cv_prog_gnu_ld" 1>&61452 with_gnu_ld=$ ac_cv_prog_gnu_ld1445 lt_cv_prog_gnu_ld=yes 1446 else 1447 lt_cv_prog_gnu_ld=no 1448 fi 1449 fi 1450 1451 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6 1452 with_gnu_ld=$lt_cv_prog_gnu_ld 1453 1453 1454 1454 … … 1467 1467 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 1468 1468 echo "configure:1469: checking for BSD-compatible nm" >&5 1469 if eval "test \"`echo '$''{' ac_cv_path_NM'+set}'`\" = set"; then1469 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then 1470 1470 echo $ac_n "(cached) $ac_c" 1>&6 1471 1471 else 1472 1472 if test -n "$NM"; then 1473 1473 # Let the user override the test. 1474 ac_cv_path_NM="$NM"1474 lt_cv_path_NM="$NM" 1475 1475 else 1476 1476 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" … … 1484 1484 # Tru64's nm complains that /dev/null is an invalid object file 1485 1485 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then 1486 ac_cv_path_NM="$tmp_nm -B"1486 lt_cv_path_NM="$tmp_nm -B" 1487 1487 break 1488 1488 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then 1489 ac_cv_path_NM="$tmp_nm -p"1489 lt_cv_path_NM="$tmp_nm -p" 1490 1490 break 1491 1491 else 1492 ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but1492 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 1493 1493 continue # so that we can try to find one that supports BSD flags 1494 1494 fi … … 1496 1496 done 1497 1497 IFS="$ac_save_ifs" 1498 test -z "$ ac_cv_path_NM" && ac_cv_path_NM=nm1499 fi 1500 fi 1501 1502 NM="$ ac_cv_path_NM"1498 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm 1499 fi 1500 fi 1501 1502 NM="$lt_cv_path_NM" 1503 1503 echo "$ac_t""$NM" 1>&6 1504 1504 … … 1549 1549 # whether `pass_all' will *always* work, you probably want this one. 1550 1550 1551 case "$host_os"in1552 aix 4*)1551 case $host_os in 1552 aix*) 1553 1553 lt_cv_deplibs_check_method=pass_all 1554 1554 ;; … … 1559 1559 1560 1560 bsdi4*) 1561 1562 1561 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 1562 lt_cv_file_magic_cmd='/usr/bin/file -L' 1563 1563 lt_cv_file_magic_test_file=/shlib/libc.so 1564 1564 ;; … … 1569 1569 ;; 1570 1570 1571 darwin* | rhapsody*) 1572 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' 1573 lt_cv_file_magic_cmd='/usr/bin/file -L' 1574 case "$host_os" in 1575 rhapsody* | darwin1.012) 1576 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System' 1577 ;; 1578 *) # Darwin 1.3 on 1579 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' 1580 ;; 1581 esac 1582 ;; 1583 1571 1584 freebsd* ) 1572 1585 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 1573 case "$host_cpu"in1586 case $host_cpu in 1574 1587 i*86 ) 1575 1588 # Not sure whether the presence of OpenBSD here was a mistake. 1576 1589 # Let's accept both of them until this is cleared up. 1577 1578 1590 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' 1591 lt_cv_file_magic_cmd=/usr/bin/file 1579 1592 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 1580 1593 ;; … … 1589 1602 ;; 1590 1603 1591 hpux10.20*) 1592 # TODO: Does this work for hpux-11 too? 1593 lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library' 1594 lt_cv_file_magic_cmd=/usr/bin/file 1595 lt_cv_file_magic_test_file=/usr/lib/libc.sl 1604 hpux10.20*|hpux11*) 1605 case $host_cpu in 1606 hppa*) 1607 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 1608 lt_cv_file_magic_cmd=/usr/bin/file 1609 lt_cv_file_magic_test_file=/usr/lib/libc.sl 1610 ;; 1611 ia64*) 1612 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 1613 lt_cv_file_magic_cmd=/usr/bin/file 1614 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 1615 ;; 1616 esac 1596 1617 ;; 1597 1618 1598 1619 irix5* | irix6*) 1599 case "$host_os"in1620 case $host_os in 1600 1621 irix5*) 1601 1622 # this will be overridden with pass_all, but let us keep it just in case … … 1603 1624 ;; 1604 1625 *) 1605 case "$LD"in1626 case $LD in 1606 1627 *-32|*"-32 ") libmagic=32-bit;; 1607 1628 *-n32|*"-n32 ") libmagic=N32;; … … 1610 1631 esac 1611 1632 # this will be overridden with pass_all, but let us keep it just in case 1612 1613 1633 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" 1634 ;; 1614 1635 esac 1615 1636 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` … … 1619 1640 # This must be Linux ELF. 1620 1641 linux-gnu*) 1621 case "$host_cpu"in1622 alpha* | i*86 | powerpc* | sparc* | ia64* )1642 case $host_cpu in 1643 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* ) 1623 1644 lt_cv_deplibs_check_method=pass_all ;; 1624 1645 *) 1625 1646 # glibc up to 2.1.1 does not perform some relocations on ARM 1626 1627 1647 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; 1648 esac 1628 1649 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` 1629 1650 ;; 1630 1651 1631 1652 netbsd*) 1632 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then : 1653 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 1654 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' 1633 1655 else 1634 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' 1635 lt_cv_file_magic_cmd='/usr/bin/file -L' 1636 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 1656 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' 1637 1657 fi 1658 ;; 1659 1660 os2*) 1661 lt_cv_deplibs_check_method=pass_all 1662 ;; 1663 1664 newsos6) 1665 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 1666 lt_cv_file_magic_cmd=/usr/bin/file 1667 lt_cv_file_magic_test_file=/usr/lib/libnls.so 1638 1668 ;; 1639 1669 … … 1654 1684 ;; 1655 1685 1686 sysv5uw[78]* | sysv4*uw2*) 1687 lt_cv_deplibs_check_method=pass_all 1688 ;; 1689 1656 1690 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 1657 case "$host_vendor"in1691 case $host_vendor in 1658 1692 ncr) 1659 1693 lt_cv_deplibs_check_method=pass_all 1660 1694 ;; 1661 1695 motorola) 1662 1663 1696 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]' 1697 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 1664 1698 ;; 1665 1699 esac … … 1674 1708 1675 1709 echo $ac_n "checking for object suffix""... $ac_c" 1>&6 1676 echo "configure:1 677: checking for object suffix" >&51710 echo "configure:1711: checking for object suffix" >&5 1677 1711 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then 1678 1712 echo $ac_n "(cached) $ac_c" 1>&6 … … 1680 1714 rm -f conftest* 1681 1715 echo 'int i = 1;' > conftest.$ac_ext 1682 if { (eval echo configure:1 683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1716 if { (eval echo configure:1717: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1683 1717 for ac_file in conftest.*; do 1684 1718 case $ac_file in … … 1706 1740 1707 1741 # Only perform the check for file, if the check method requires it 1708 case "$deplibs_check_method"in1742 case $deplibs_check_method in 1709 1743 file_magic*) 1710 1744 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 1711 1745 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6 1712 echo "configure:17 13: checking for ${ac_tool_prefix}file" >&51746 echo "configure:1747: checking for ${ac_tool_prefix}file" >&5 1713 1747 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1714 1748 echo $ac_n "(cached) $ac_c" 1>&6 1715 1749 else 1716 case "$MAGIC_CMD"in1750 case $MAGIC_CMD in 1717 1751 /*) 1718 1752 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. … … 1730 1764 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 1731 1765 if test -n "$file_magic_test_file"; then 1732 case "$deplibs_check_method"in1766 case $deplibs_check_method in 1733 1767 "file_magic "*) 1734 1768 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" … … 1772 1806 if test -n "$ac_tool_prefix"; then 1773 1807 echo $ac_n "checking for file""... $ac_c" 1>&6 1774 echo "configure:1 775: checking for file" >&51808 echo "configure:1809: checking for file" >&5 1775 1809 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1776 1810 echo $ac_n "(cached) $ac_c" 1>&6 1777 1811 else 1778 case "$MAGIC_CMD"in1812 case $MAGIC_CMD in 1779 1813 /*) 1780 1814 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. … … 1792 1826 lt_cv_path_MAGIC_CMD="$ac_dir/file" 1793 1827 if test -n "$file_magic_test_file"; then 1794 case "$deplibs_check_method"in1828 case $deplibs_check_method in 1795 1829 "file_magic "*) 1796 1830 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" … … 1843 1877 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1844 1878 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1845 echo "configure:18 46: checking for $ac_word" >&51879 echo "configure:1880: checking for $ac_word" >&5 1846 1880 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1847 1881 echo $ac_n "(cached) $ac_c" 1>&6 … … 1876 1910 set dummy ranlib; ac_word=$2 1877 1911 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1878 echo "configure:1 879: checking for $ac_word" >&51912 echo "configure:1913: checking for $ac_word" >&5 1879 1913 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1880 1914 echo $ac_n "(cached) $ac_c" 1>&6 … … 1912 1946 set dummy ${ac_tool_prefix}strip; ac_word=$2 1913 1947 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1914 echo "configure:19 15: checking for $ac_word" >&51948 echo "configure:1949: checking for $ac_word" >&5 1915 1949 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 1916 1950 echo $ac_n "(cached) $ac_c" 1>&6 … … 1945 1979 set dummy strip; ac_word=$2 1946 1980 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1947 echo "configure:19 48: checking for $ac_word" >&51981 echo "configure:1982: checking for $ac_word" >&5 1948 1982 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 1949 1983 echo $ac_n "(cached) $ac_c" 1>&6 … … 1984 2018 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static" 1985 2019 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install" 1986 test "$ ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"1987 test "$ ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"2020 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc" 2021 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld" 1988 2022 1989 2023 … … 2010 2044 # Some flags need to be propagated to the compiler or linker for good 2011 2045 # libtool support. 2012 case "$host"in2046 case $host in 2013 2047 *-*-irix6*) 2014 2048 # Find out which ABI we are using. 2015 echo '#line 2016 "configure"' > conftest.$ac_ext 2016 if { (eval echo configure:2017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2017 case "`/usr/bin/file conftest.o`" in 2049 echo '#line 2050 "configure"' > conftest.$ac_ext 2050 if { (eval echo configure:2051: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2051 if test "$lt_cv_prog_gnu_ld" = yes; then 2052 case `/usr/bin/file conftest.$ac_objext` in 2053 *32-bit*) 2054 LD="${LD-ld} -melf32bsmip" 2055 ;; 2056 *N32*) 2057 LD="${LD-ld} -melf32bmipn32" 2058 ;; 2059 *64-bit*) 2060 LD="${LD-ld} -melf64bmip" 2061 ;; 2062 esac 2063 else 2064 case `/usr/bin/file conftest.$ac_objext` in 2018 2065 *32-bit*) 2019 2066 LD="${LD-ld} -32" … … 2026 2073 ;; 2027 2074 esac 2075 fi 2076 fi 2077 rm -rf conftest* 2078 ;; 2079 2080 ia64-*-hpux*) 2081 # Find out which ABI we are using. 2082 echo 'int i;' > conftest.$ac_ext 2083 if { (eval echo configure:2084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2084 case "`/usr/bin/file conftest.o`" in 2085 *ELF-32*) 2086 HPUX_IA64_MODE="32" 2087 ;; 2088 *ELF-64*) 2089 HPUX_IA64_MODE="64" 2090 ;; 2091 esac 2028 2092 fi 2029 2093 rm -rf conftest* … … 2035 2099 CFLAGS="$CFLAGS -belf" 2036 2100 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 2037 echo "configure:2 038: checking whether the C compiler needs -belf" >&52101 echo "configure:2102: checking whether the C compiler needs -belf" >&5 2038 2102 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then 2039 2103 echo $ac_n "(cached) $ac_c" 1>&6 … … 2048 2112 2049 2113 cat > conftest.$ac_ext <<EOF 2050 #line 2 051"configure"2114 #line 2115 "configure" 2051 2115 #include "confdefs.h" 2052 2116 … … 2055 2119 ; return 0; } 2056 2120 EOF 2057 if { (eval echo configure:2 058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2121 if { (eval echo configure:2122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2058 2122 rm -rf conftest* 2059 2123 lt_cv_cc_needs_belf=yes … … 2165 2229 exec 5>>./config.log 2166 2230 2167 2168 2231 2169 2232 … … 2179 2242 set dummy gcc; ac_word=$2 2180 2243 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2181 echo "configure:2 182: checking for $ac_word" >&52244 echo "configure:2245: checking for $ac_word" >&5 2182 2245 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2183 2246 echo $ac_n "(cached) $ac_c" 1>&6 … … 2210 2273 set dummy cc; ac_word=$2 2211 2274 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2212 echo "configure:22 13: checking for $ac_word" >&52275 echo "configure:2276: checking for $ac_word" >&5 2213 2276 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2214 2277 echo $ac_n "(cached) $ac_c" 1>&6 … … 2263 2326 set dummy cl; ac_word=$2 2264 2327 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2265 echo "configure:2 266: checking for $ac_word" >&52328 echo "configure:2329: checking for $ac_word" >&5 2266 2329 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2267 2330 echo $ac_n "(cached) $ac_c" 1>&6 … … 2296 2359 2297 2360 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 2298 echo "configure:2 299: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&52361 echo "configure:2362: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 2299 2362 2300 2363 ac_ext=c … … 2307 2370 cat > conftest.$ac_ext << EOF 2308 2371 2309 #line 23 10"configure"2372 #line 2373 "configure" 2310 2373 #include "confdefs.h" 2311 2374 2312 2375 main(){return(0);} 2313 2376 EOF 2314 if { (eval echo configure:23 15: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2377 if { (eval echo configure:2378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2315 2378 ac_cv_prog_cc_works=yes 2316 2379 # If we can't run a trivial program, we are probably using a cross compiler. … … 2338 2401 fi 2339 2402 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 2340 echo "configure:2 341: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&52403 echo "configure:2404: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 2341 2404 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 2342 2405 cross_compiling=$ac_cv_prog_cc_cross 2343 2406 2344 2407 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 2345 echo "configure:2 346: checking whether we are using GNU C" >&52408 echo "configure:2409: checking whether we are using GNU C" >&5 2346 2409 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 2347 2410 echo $ac_n "(cached) $ac_c" 1>&6 … … 2352 2415 #endif 2353 2416 EOF 2354 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2 355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then2417 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 2355 2418 ac_cv_prog_gcc=yes 2356 2419 else … … 2371 2434 CFLAGS= 2372 2435 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 2373 echo "configure:2 374: checking whether ${CC-cc} accepts -g" >&52436 echo "configure:2437: checking whether ${CC-cc} accepts -g" >&5 2374 2437 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 2375 2438 echo $ac_n "(cached) $ac_c" 1>&6 … … 2414 2477 # ./install, which can be erroneously created by make from ./install.sh. 2415 2478 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 2416 echo "configure:24 17: checking for a BSD compatible install" >&52479 echo "configure:2480: checking for a BSD compatible install" >&5 2417 2480 if test -z "$INSTALL"; then 2418 2481 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 2472 2535 do 2473 2536 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2474 echo "configure:2 475: checking for $ac_func" >&52537 echo "configure:2538: checking for $ac_func" >&5 2475 2538 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2476 2539 echo $ac_n "(cached) $ac_c" 1>&6 2477 2540 else 2478 2541 cat > conftest.$ac_ext <<EOF 2479 #line 2 480"configure"2542 #line 2543 "configure" 2480 2543 #include "confdefs.h" 2481 2544 /* System header to define __stub macros and hopefully few prototypes, … … 2500 2563 ; return 0; } 2501 2564 EOF 2502 if { (eval echo configure:25 03: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2565 if { (eval echo configure:2566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2503 2566 rm -rf conftest* 2504 2567 eval "ac_cv_func_$ac_func=yes" … … 2525 2588 2526 2589 2527 ALL_LINGUAS= 2590 ALL_LINGUAS="fr tr sv es id da pt_BR" 2528 2591 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 2529 echo "configure:25 30: checking how to run the C preprocessor" >&52592 echo "configure:2593: checking how to run the C preprocessor" >&5 2530 2593 # On Suns, sometimes $CPP names a directory. 2531 2594 if test -n "$CPP" && test -d "$CPP"; then … … 2543 2606 cat > conftest.$ac_ext <<EOF 2544 2607 #include <sys/types.h> 2545 #line 2 546"configure"2608 #line 2609 "configure" 2546 2609 #include "confdefs.h" 2547 2610 #include <assert.h> … … 2549 2612 EOF 2550 2613 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2551 { (eval echo configure:2 552: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2614 { (eval echo configure:2615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2552 2615 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2553 2616 if test -z "$ac_err"; then … … 2561 2624 cat > conftest.$ac_ext <<EOF 2562 2625 #include <sys/types.h> 2563 #line 2 564"configure"2626 #line 2627 "configure" 2564 2627 #include "confdefs.h" 2565 2628 #include <assert.h> … … 2567 2630 EOF 2568 2631 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2569 { (eval echo configure:2 570: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2632 { (eval echo configure:2633: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2570 2633 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2571 2634 if test -z "$ac_err"; then … … 2579 2642 cat > conftest.$ac_ext <<EOF 2580 2643 #include <sys/types.h> 2581 #line 2 582"configure"2644 #line 2645 "configure" 2582 2645 #include "confdefs.h" 2583 2646 #include <assert.h> … … 2585 2648 EOF 2586 2649 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2587 { (eval echo configure:2 588: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2650 { (eval echo configure:2651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2588 2651 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2589 2652 if test -z "$ac_err"; then … … 2612 2675 set dummy ranlib; ac_word=$2 2613 2676 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2614 echo "configure:26 15: checking for $ac_word" >&52677 echo "configure:2678: checking for $ac_word" >&5 2615 2678 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 2616 2679 echo $ac_n "(cached) $ac_c" 1>&6 … … 2641 2704 2642 2705 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2643 echo "configure:2 644: checking for ANSI C header files" >&52706 echo "configure:2707: checking for ANSI C header files" >&5 2644 2707 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2645 2708 echo $ac_n "(cached) $ac_c" 1>&6 … … 2647 2710 cat > conftest.$ac_ext <<EOF 2648 2711 #include <sys/types.h> 2649 #line 2 650"configure"2712 #line 2713 "configure" 2650 2713 #include "confdefs.h" 2651 2714 #include <stdlib.h> … … 2655 2718 EOF 2656 2719 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2657 { (eval echo configure:2 658: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2720 { (eval echo configure:2721: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2658 2721 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2659 2722 if test -z "$ac_err"; then … … 2672 2735 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2673 2736 cat > conftest.$ac_ext <<EOF 2674 #line 2 675"configure"2737 #line 2738 "configure" 2675 2738 #include "confdefs.h" 2676 2739 #include <string.h> … … 2690 2753 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2691 2754 cat > conftest.$ac_ext <<EOF 2692 #line 2 693"configure"2755 #line 2756 "configure" 2693 2756 #include "confdefs.h" 2694 2757 #include <stdlib.h> … … 2711 2774 else 2712 2775 cat > conftest.$ac_ext <<EOF 2713 #line 27 14"configure"2776 #line 2777 "configure" 2714 2777 #include "confdefs.h" 2715 2778 #include <ctype.h> … … 2722 2785 2723 2786 EOF 2724 if { (eval echo configure:27 25: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2787 if { (eval echo configure:2788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2725 2788 then 2726 2789 : … … 2746 2809 2747 2810 echo $ac_n "checking for working const""... $ac_c" 1>&6 2748 echo "configure:2 749: checking for working const" >&52811 echo "configure:2812: checking for working const" >&5 2749 2812 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 2750 2813 echo $ac_n "(cached) $ac_c" 1>&6 2751 2814 else 2752 2815 cat > conftest.$ac_ext <<EOF 2753 #line 2 754"configure"2816 #line 2817 "configure" 2754 2817 #include "confdefs.h" 2755 2818 … … 2800 2863 ; return 0; } 2801 2864 EOF 2802 if { (eval echo configure:28 03: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2865 if { (eval echo configure:2866: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2803 2866 rm -rf conftest* 2804 2867 ac_cv_c_const=yes … … 2821 2884 2822 2885 echo $ac_n "checking for inline""... $ac_c" 1>&6 2823 echo "configure:28 24: checking for inline" >&52886 echo "configure:2887: checking for inline" >&5 2824 2887 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 2825 2888 echo $ac_n "(cached) $ac_c" 1>&6 … … 2828 2891 for ac_kw in inline __inline__ __inline; do 2829 2892 cat > conftest.$ac_ext <<EOF 2830 #line 28 31"configure"2893 #line 2894 "configure" 2831 2894 #include "confdefs.h" 2832 2895 … … 2835 2898 ; return 0; } 2836 2899 EOF 2837 if { (eval echo configure:2 838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2900 if { (eval echo configure:2901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2838 2901 rm -rf conftest* 2839 2902 ac_cv_c_inline=$ac_kw; break … … 2861 2924 2862 2925 echo $ac_n "checking for off_t""... $ac_c" 1>&6 2863 echo "configure:2 864: checking for off_t" >&52926 echo "configure:2927: checking for off_t" >&5 2864 2927 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then 2865 2928 echo $ac_n "(cached) $ac_c" 1>&6 2866 2929 else 2867 2930 cat > conftest.$ac_ext <<EOF 2868 #line 2 869"configure"2931 #line 2932 "configure" 2869 2932 #include "confdefs.h" 2870 2933 #include <sys/types.h> … … 2894 2957 2895 2958 echo $ac_n "checking for size_t""... $ac_c" 1>&6 2896 echo "configure:2 897: checking for size_t" >&52959 echo "configure:2960: checking for size_t" >&5 2897 2960 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 2898 2961 echo $ac_n "(cached) $ac_c" 1>&6 2899 2962 else 2900 2963 cat > conftest.$ac_ext <<EOF 2901 #line 29 02"configure"2964 #line 2965 "configure" 2902 2965 #include "confdefs.h" 2903 2966 #include <sys/types.h> … … 2929 2992 # for constant arguments. Useless! 2930 2993 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 2931 echo "configure:29 32: checking for working alloca.h" >&52994 echo "configure:2995: checking for working alloca.h" >&5 2932 2995 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 2933 2996 echo $ac_n "(cached) $ac_c" 1>&6 2934 2997 else 2935 2998 cat > conftest.$ac_ext <<EOF 2936 #line 2937"configure"2999 #line 3000 "configure" 2937 3000 #include "confdefs.h" 2938 3001 #include <alloca.h> … … 2941 3004 ; return 0; } 2942 3005 EOF 2943 if { (eval echo configure: 2944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3006 if { (eval echo configure:3007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2944 3007 rm -rf conftest* 2945 3008 ac_cv_header_alloca_h=yes … … 2962 3025 2963 3026 echo $ac_n "checking for alloca""... $ac_c" 1>&6 2964 echo "configure: 2965: checking for alloca" >&53027 echo "configure:3028: checking for alloca" >&5 2965 3028 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 2966 3029 echo $ac_n "(cached) $ac_c" 1>&6 2967 3030 else 2968 3031 cat > conftest.$ac_ext <<EOF 2969 #line 2970"configure"3032 #line 3033 "configure" 2970 3033 #include "confdefs.h" 2971 3034 … … 2995 3058 ; return 0; } 2996 3059 EOF 2997 if { (eval echo configure: 2998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3060 if { (eval echo configure:3061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2998 3061 rm -rf conftest* 2999 3062 ac_cv_func_alloca_works=yes … … 3027 3090 3028 3091 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 3029 echo "configure:30 30: checking whether alloca needs Cray hooks" >&53092 echo "configure:3093: checking whether alloca needs Cray hooks" >&5 3030 3093 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 3031 3094 echo $ac_n "(cached) $ac_c" 1>&6 3032 3095 else 3033 3096 cat > conftest.$ac_ext <<EOF 3034 #line 30 35"configure"3097 #line 3098 "configure" 3035 3098 #include "confdefs.h" 3036 3099 #if defined(CRAY) && ! defined(CRAY2) … … 3057 3120 for ac_func in _getb67 GETB67 getb67; do 3058 3121 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3059 echo "configure:3 060: checking for $ac_func" >&53122 echo "configure:3123: checking for $ac_func" >&5 3060 3123 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3061 3124 echo $ac_n "(cached) $ac_c" 1>&6 3062 3125 else 3063 3126 cat > conftest.$ac_ext <<EOF 3064 #line 3 065"configure"3127 #line 3128 "configure" 3065 3128 #include "confdefs.h" 3066 3129 /* System header to define __stub macros and hopefully few prototypes, … … 3085 3148 ; return 0; } 3086 3149 EOF 3087 if { (eval echo configure:3 088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3150 if { (eval echo configure:3151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3088 3151 rm -rf conftest* 3089 3152 eval "ac_cv_func_$ac_func=yes" … … 3112 3175 3113 3176 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 3114 echo "configure:31 15: checking stack direction for C alloca" >&53177 echo "configure:3178: checking stack direction for C alloca" >&5 3115 3178 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 3116 3179 echo $ac_n "(cached) $ac_c" 1>&6 … … 3120 3183 else 3121 3184 cat > conftest.$ac_ext <<EOF 3122 #line 31 23"configure"3185 #line 3186 "configure" 3123 3186 #include "confdefs.h" 3124 3187 find_stack_direction () … … 3139 3202 } 3140 3203 EOF 3141 if { (eval echo configure:3 142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3204 if { (eval echo configure:3205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3142 3205 then 3143 3206 ac_cv_c_stack_direction=1 … … 3164 3227 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3165 3228 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3166 echo "configure:3 167: checking for $ac_hdr" >&53229 echo "configure:3230: checking for $ac_hdr" >&5 3167 3230 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3168 3231 echo $ac_n "(cached) $ac_c" 1>&6 … … 3170 3233 cat > conftest.$ac_ext <<EOF 3171 3234 #include <sys/types.h> 3172 #line 3 173"configure"3235 #line 3236 "configure" 3173 3236 #include "confdefs.h" 3174 3237 #include <$ac_hdr> 3175 3238 EOF 3176 3239 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3177 { (eval echo configure:3 178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3240 { (eval echo configure:3241: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3178 3241 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3179 3242 if test -z "$ac_err"; then … … 3204 3267 do 3205 3268 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3206 echo "configure:32 07: checking for $ac_func" >&53269 echo "configure:3270: checking for $ac_func" >&5 3207 3270 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3208 3271 echo $ac_n "(cached) $ac_c" 1>&6 3209 3272 else 3210 3273 cat > conftest.$ac_ext <<EOF 3211 #line 32 12"configure"3274 #line 3275 "configure" 3212 3275 #include "confdefs.h" 3213 3276 /* System header to define __stub macros and hopefully few prototypes, … … 3232 3295 ; return 0; } 3233 3296 EOF 3234 if { (eval echo configure:32 35: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3297 if { (eval echo configure:3298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3235 3298 rm -rf conftest* 3236 3299 eval "ac_cv_func_$ac_func=yes" … … 3257 3320 3258 3321 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 3259 echo "configure:3 260: checking for working mmap" >&53322 echo "configure:3323: checking for working mmap" >&5 3260 3323 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 3261 3324 echo $ac_n "(cached) $ac_c" 1>&6 … … 3265 3328 else 3266 3329 cat > conftest.$ac_ext <<EOF 3267 #line 3 268"configure"3330 #line 3331 "configure" 3268 3331 #include "confdefs.h" 3269 3332 … … 3405 3468 3406 3469 EOF 3407 if { (eval echo configure:34 08: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3470 if { (eval echo configure:3471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3408 3471 then 3409 3472 ac_cv_func_mmap_fixed_mapped=yes … … 3433 3496 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3434 3497 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3435 echo "configure:34 36: checking for $ac_hdr" >&53498 echo "configure:3499: checking for $ac_hdr" >&5 3436 3499 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3437 3500 echo $ac_n "(cached) $ac_c" 1>&6 … … 3439 3502 cat > conftest.$ac_ext <<EOF 3440 3503 #include <sys/types.h> 3441 #line 3 442"configure"3504 #line 3505 "configure" 3442 3505 #include "confdefs.h" 3443 3506 #include <$ac_hdr> 3444 3507 EOF 3445 3508 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3446 { (eval echo configure:3 447: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3509 { (eval echo configure:3510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3447 3510 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3448 3511 if test -z "$ac_err"; then … … 3474 3537 do 3475 3538 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3476 echo "configure:3 477: checking for $ac_func" >&53539 echo "configure:3540: checking for $ac_func" >&5 3477 3540 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3478 3541 echo $ac_n "(cached) $ac_c" 1>&6 3479 3542 else 3480 3543 cat > conftest.$ac_ext <<EOF 3481 #line 3 482"configure"3544 #line 3545 "configure" 3482 3545 #include "confdefs.h" 3483 3546 /* System header to define __stub macros and hopefully few prototypes, … … 3502 3565 ; return 0; } 3503 3566 EOF 3504 if { (eval echo configure:35 05: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3567 if { (eval echo configure:3568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3505 3568 rm -rf conftest* 3506 3569 eval "ac_cv_func_$ac_func=yes" … … 3531 3594 do 3532 3595 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3533 echo "configure:35 34: checking for $ac_func" >&53596 echo "configure:3597: checking for $ac_func" >&5 3534 3597 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3535 3598 echo $ac_n "(cached) $ac_c" 1>&6 3536 3599 else 3537 3600 cat > conftest.$ac_ext <<EOF 3538 #line 3 539"configure"3601 #line 3602 "configure" 3539 3602 #include "confdefs.h" 3540 3603 /* System header to define __stub macros and hopefully few prototypes, … … 3559 3622 ; return 0; } 3560 3623 EOF 3561 if { (eval echo configure:3 562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3624 if { (eval echo configure:3625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3562 3625 rm -rf conftest* 3563 3626 eval "ac_cv_func_$ac_func=yes" … … 3593 3656 if test $ac_cv_header_locale_h = yes; then 3594 3657 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 3595 echo "configure:3 596: checking for LC_MESSAGES" >&53658 echo "configure:3659: checking for LC_MESSAGES" >&5 3596 3659 if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then 3597 3660 echo $ac_n "(cached) $ac_c" 1>&6 3598 3661 else 3599 3662 cat > conftest.$ac_ext <<EOF 3600 #line 36 01"configure"3663 #line 3664 "configure" 3601 3664 #include "confdefs.h" 3602 3665 #include <locale.h> … … 3605 3668 ; return 0; } 3606 3669 EOF 3607 if { (eval echo configure:36 08: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3670 if { (eval echo configure:3671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3608 3671 rm -rf conftest* 3609 3672 am_cv_val_LC_MESSAGES=yes … … 3626 3689 fi 3627 3690 echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 3628 echo "configure:36 29: checking whether NLS is requested" >&53691 echo "configure:3692: checking whether NLS is requested" >&5 3629 3692 # Check whether --enable-nls or --disable-nls was given. 3630 3693 if test "${enable_nls+set}" = set; then … … 3646 3709 3647 3710 echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6 3648 echo "configure:3 649: checking whether included gettext is requested" >&53711 echo "configure:3712: checking whether included gettext is requested" >&5 3649 3712 # Check whether --with-included-gettext or --without-included-gettext was given. 3650 3713 if test "${with_included_gettext+set}" = set; then … … 3665 3728 ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'` 3666 3729 echo $ac_n "checking for libintl.h""... $ac_c" 1>&6 3667 echo "configure:3 668: checking for libintl.h" >&53730 echo "configure:3731: checking for libintl.h" >&5 3668 3731 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3669 3732 echo $ac_n "(cached) $ac_c" 1>&6 … … 3671 3734 cat > conftest.$ac_ext <<EOF 3672 3735 #include <sys/types.h> 3673 #line 3 674"configure"3736 #line 3737 "configure" 3674 3737 #include "confdefs.h" 3675 3738 #include <libintl.h> 3676 3739 EOF 3677 3740 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3678 { (eval echo configure:3 679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3741 { (eval echo configure:3742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3679 3742 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3680 3743 if test -z "$ac_err"; then … … 3693 3756 echo "$ac_t""yes" 1>&6 3694 3757 echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6 3695 echo "configure:3 696: checking for gettext in libc" >&53758 echo "configure:3759: checking for gettext in libc" >&5 3696 3759 if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then 3697 3760 echo $ac_n "(cached) $ac_c" 1>&6 3698 3761 else 3699 3762 cat > conftest.$ac_ext <<EOF 3700 #line 37 01"configure"3763 #line 3764 "configure" 3701 3764 #include "confdefs.h" 3702 3765 #include <libintl.h> … … 3705 3768 ; return 0; } 3706 3769 EOF 3707 if { (eval echo configure:37 08: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3770 if { (eval echo configure:3771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3708 3771 rm -rf conftest* 3709 3772 gt_cv_func_gettext_libc=yes … … 3721 3784 if test "$gt_cv_func_gettext_libc" != "yes"; then 3722 3785 echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6 3723 echo "configure:37 24: checking for bindtextdomain in -lintl" >&53786 echo "configure:3787: checking for bindtextdomain in -lintl" >&5 3724 3787 ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'` 3725 3788 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3729 3792 LIBS="-lintl $LIBS" 3730 3793 cat > conftest.$ac_ext <<EOF 3731 #line 37 32"configure"3794 #line 3795 "configure" 3732 3795 #include "confdefs.h" 3733 3796 /* Override any gcc2 internal prototype to avoid an error. */ … … 3740 3803 ; return 0; } 3741 3804 EOF 3742 if { (eval echo configure:3 743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3805 if { (eval echo configure:3806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3743 3806 rm -rf conftest* 3744 3807 eval "ac_cv_lib_$ac_lib_var=yes" … … 3756 3819 echo "$ac_t""yes" 1>&6 3757 3820 echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6 3758 echo "configure:3 759: checking for gettext in libintl" >&53821 echo "configure:3822: checking for gettext in libintl" >&5 3759 3822 if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then 3760 3823 echo $ac_n "(cached) $ac_c" 1>&6 3761 3824 else 3762 3825 cat > conftest.$ac_ext <<EOF 3763 #line 3 764"configure"3826 #line 3827 "configure" 3764 3827 #include "confdefs.h" 3765 3828 … … 3768 3831 ; return 0; } 3769 3832 EOF 3770 if { (eval echo configure:3 771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3833 if { (eval echo configure:3834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3771 3834 rm -rf conftest* 3772 3835 gt_cv_func_gettext_libintl=yes … … 3796 3859 set dummy msgfmt; ac_word=$2 3797 3860 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3798 echo "configure:3 799: checking for $ac_word" >&53861 echo "configure:3862: checking for $ac_word" >&5 3799 3862 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then 3800 3863 echo $ac_n "(cached) $ac_c" 1>&6 … … 3830 3893 do 3831 3894 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3832 echo "configure:38 33: checking for $ac_func" >&53895 echo "configure:3896: checking for $ac_func" >&5 3833 3896 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3834 3897 echo $ac_n "(cached) $ac_c" 1>&6 3835 3898 else 3836 3899 cat > conftest.$ac_ext <<EOF 3837 #line 3 838"configure"3900 #line 3901 "configure" 3838 3901 #include "confdefs.h" 3839 3902 /* System header to define __stub macros and hopefully few prototypes, … … 3858 3921 ; return 0; } 3859 3922 EOF 3860 if { (eval echo configure:3 861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3923 if { (eval echo configure:3924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3861 3924 rm -rf conftest* 3862 3925 eval "ac_cv_func_$ac_func=yes" … … 3885 3948 set dummy gmsgfmt; ac_word=$2 3886 3949 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3887 echo "configure:3 888: checking for $ac_word" >&53950 echo "configure:3951: checking for $ac_word" >&5 3888 3951 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then 3889 3952 echo $ac_n "(cached) $ac_c" 1>&6 … … 3925 3988 set dummy xgettext; ac_word=$2 3926 3989 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3927 echo "configure:39 28: checking for $ac_word" >&53990 echo "configure:3991: checking for $ac_word" >&5 3928 3991 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then 3929 3992 echo $ac_n "(cached) $ac_c" 1>&6 … … 3957 4020 3958 4021 cat > conftest.$ac_ext <<EOF 3959 #line 3960"configure"4022 #line 4023 "configure" 3960 4023 #include "confdefs.h" 3961 4024 … … 3965 4028 ; return 0; } 3966 4029 EOF 3967 if { (eval echo configure: 3968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4030 if { (eval echo configure:4031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3968 4031 rm -rf conftest* 3969 4032 CATOBJEXT=.gmo … … 3997 4060 set dummy msgfmt; ac_word=$2 3998 4061 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3999 echo "configure:40 00: checking for $ac_word" >&54062 echo "configure:4063: checking for $ac_word" >&5 4000 4063 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then 4001 4064 echo $ac_n "(cached) $ac_c" 1>&6 … … 4031 4094 set dummy gmsgfmt; ac_word=$2 4032 4095 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4033 echo "configure:40 34: checking for $ac_word" >&54096 echo "configure:4097: checking for $ac_word" >&5 4034 4097 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then 4035 4098 echo $ac_n "(cached) $ac_c" 1>&6 … … 4071 4134 set dummy xgettext; ac_word=$2 4072 4135 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4073 echo "configure:4 074: checking for $ac_word" >&54136 echo "configure:4137: checking for $ac_word" >&5 4074 4137 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then 4075 4138 echo $ac_n "(cached) $ac_c" 1>&6 … … 4161 4224 else 4162 4225 echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 4163 echo "configure:4 164: checking for catalogs to be installed" >&54226 echo "configure:4227: checking for catalogs to be installed" >&5 4164 4227 NEW_LINGUAS= 4165 4228 for lang in ${LINGUAS=$ALL_LINGUAS}; do … … 4189 4252 ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'` 4190 4253 echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6 4191 echo "configure:4 192: checking for linux/version.h" >&54254 echo "configure:4255: checking for linux/version.h" >&5 4192 4255 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4193 4256 echo $ac_n "(cached) $ac_c" 1>&6 … … 4195 4258 cat > conftest.$ac_ext <<EOF 4196 4259 #include <sys/types.h> 4197 #line 4 198"configure"4260 #line 4261 "configure" 4198 4261 #include "confdefs.h" 4199 4262 #include <linux/version.h> 4200 4263 EOF 4201 4264 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4202 { (eval echo configure:42 03: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4265 { (eval echo configure:4266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4203 4266 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4204 4267 if test -z "$ac_err"; then … … 4245 4308 4246 4309 4247 if test - d $srcdir/po; then4310 if test -f $srcdir/po/POTFILES.in; then 4248 4311 test -d po || mkdir po 4249 4312 if test "x$srcdir" != "x."; then 4250 if test "x`echo $srcdir | sed -e 's@.\:/.*@@' -e 's@/.*@@' `" = "x"; then4313 if test "x`echo $srcdir | sed -e 's@.\:/.*@@' -e 's@/.*@@' `" = "x"; then 4251 4314 posrcprefix="$srcdir/" 4252 4315 else … … 4263 4326 4264 4327 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 4265 echo "configure:4 266: checking whether to enable maintainer-specific portions of Makefiles" >&54328 echo "configure:4329: checking whether to enable maintainer-specific portions of Makefiles" >&5 4266 4329 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 4267 4330 if test "${enable_maintainer_mode+set}" = set; then … … 4289 4352 4290 4353 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 4291 echo "configure:4 292: checking for executable suffix" >&54354 echo "configure:4355: checking for executable suffix" >&5 4292 4355 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 4293 4356 echo $ac_n "(cached) $ac_c" 1>&6 … … 4299 4362 echo 'int main () { return 0; }' > conftest.$ac_ext 4300 4363 ac_cv_exeext= 4301 if { (eval echo configure:43 02: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then4364 if { (eval echo configure:4365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 4302 4365 for file in conftest.*; do 4303 4366 case $file in … … 4324 4387 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4325 4388 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4326 echo "configure:43 27: checking for $ac_hdr" >&54389 echo "configure:4390: checking for $ac_hdr" >&5 4327 4390 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4328 4391 echo $ac_n "(cached) $ac_c" 1>&6 … … 4330 4393 cat > conftest.$ac_ext <<EOF 4331 4394 #include <sys/types.h> 4332 #line 43 33"configure"4395 #line 4396 "configure" 4333 4396 #include "confdefs.h" 4334 4397 #include <$ac_hdr> 4335 4398 EOF 4336 4399 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4337 { (eval echo configure:4 338: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4400 { (eval echo configure:4401: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4338 4401 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4339 4402 if test -z "$ac_err"; then … … 4362 4425 4363 4426 4364 echo $ac_n "checking the size of gmon pointers""... $ac_c" 1>&6 4365 echo "configure:4366: checking the size of gmon pointers" >&5 4366 if test "$cross_compiling" = yes; then 4367 gmon_ptr_size=4 4368 else 4369 cat > conftest.$ac_ext <<EOF 4370 #line 4371 "configure" 4371 #include "confdefs.h" 4372 #include <stdio.h> 4373 #include <stdlib.h> 4374 #if HAVE_SYS_GMON_OUT_H 4375 #include <sys/gmon_out.h> 4376 #endif 4377 main() 4378 { 4379 #if HAVE_SYS_GMON_OUT_H 4380 struct gmon_cg_arc_record arc; 4381 FILE *f=fopen("conftestval", "w"); 4382 if (!f) exit(1); 4383 fprintf(f, "%d\n", sizeof(arc.from_pc)); 4384 exit(0); 4385 #else 4386 FILE *f=fopen("conftestval", "w"); 4387 if (!f) exit(1); 4388 fprintf(f, "%d\n", (int) sizeof(char *)); 4389 exit(1); 4390 #endif 4391 } 4392 EOF 4393 if { (eval echo configure:4394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 4394 then 4395 gmon_ptr_size=`cat conftestval` 4396 else 4397 echo "configure: failed program was:" >&5 4398 cat conftest.$ac_ext >&5 4399 rm -fr conftest* 4400 gmon_ptr_size=4 4401 fi 4402 rm -fr conftest* 4403 fi 4404 4405 echo "$ac_t""$gmon_ptr_size" 1>&6 4406 4407 cat >> confdefs.h <<EOF 4408 #define GMON_PTR_SIZE $gmon_ptr_size 4409 EOF 4410 4411 4412 build_warnings="-W -Wall" 4427 build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" 4413 4428 # Check whether --enable-build-warnings or --disable-build-warnings was given. 4414 4429 if test "${enable_build_warnings+set}" = set; then -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/binutils/ld/configure
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r618 r619 25 25 --with-pic try to use only PIC/non-PIC objects [default=use both]" 26 26 ac_help="$ac_help 27 --with-lib-path=dir1:dir2... set default LIB_PATH" 28 ac_help="$ac_help 27 29 --enable-targets alternative target configurations" 28 30 ac_help="$ac_help 29 31 --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)" 30 32 ac_help="$ac_help 31 --enable-build-warnings Enable build-time compiler warnings if gcc is used" 33 --with-sysroot[=DIR] Search for usr/lib et al within DIR." 34 ac_help="$ac_help 35 --enable-build-warnings enable build-time compiler warnings if gcc is used" 32 36 ac_help="$ac_help 33 37 --disable-nls do not use Native Language Support" … … 547 551 548 552 echo $ac_n "checking for path separator""... $ac_c" 1>&6 549 echo "configure:55 0: checking for path separator" >&5553 echo "configure:554: checking for path separator" >&5 550 554 # Filter path to get backslahes into forwardslashes 551 555 case "`uname -s 2> /dev/null`" in … … 561 565 562 566 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 563 echo "configure:56 4: checking for Cygwin environment" >&5567 echo "configure:568: checking for Cygwin environment" >&5 564 568 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 565 569 echo $ac_n "(cached) $ac_c" 1>&6 566 570 else 567 571 cat > conftest.$ac_ext <<EOF 568 #line 5 69"configure"572 #line 573 "configure" 569 573 #include "confdefs.h" 570 574 … … 577 581 ; return 0; } 578 582 EOF 579 if { (eval echo configure:58 0: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then583 if { (eval echo configure:584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 580 584 rm -rf conftest* 581 585 ac_cv_cygwin=yes … … 594 598 test "$ac_cv_cygwin" = yes && CYGWIN=yes 595 599 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 596 echo "configure: 597: checking for mingw32 environment" >&5600 echo "configure:601: checking for mingw32 environment" >&5 597 601 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 598 602 echo $ac_n "(cached) $ac_c" 1>&6 599 603 else 600 604 cat > conftest.$ac_ext <<EOF 601 #line 60 2"configure"605 #line 606 "configure" 602 606 #include "confdefs.h" 603 607 … … 606 610 ; return 0; } 607 611 EOF 608 if { (eval echo configure:6 09: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then612 if { (eval echo configure:613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 609 613 rm -rf conftest* 610 614 ac_cv_mingw32=yes … … 623 627 test "$ac_cv_mingw32" = yes && MINGW32=yes 624 628 echo $ac_n "checking for EMX/OS2 environment""... $ac_c" 1>&6 625 echo "configure:6 26: checking for EMX/OS2 environment" >&5629 echo "configure:630: checking for EMX/OS2 environment" >&5 626 630 if eval "test \"`echo '$''{'ac_cv_emxos2'+set}'`\" = set"; then 627 631 echo $ac_n "(cached) $ac_c" 1>&6 … … 629 633 : ${CC=gcc.exe} 630 634 cat > conftest.$ac_ext <<EOF 631 #line 63 2"configure"635 #line 636 "configure" 632 636 #include "confdefs.h" 633 637 … … 636 640 ; return 0; } 637 641 EOF 638 if { (eval echo configure:6 39: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then642 if { (eval echo configure:643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 639 643 rm -rf conftest* 640 644 ac_cv_emxos2=yes … … 667 671 668 672 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 669 echo "configure:67 0: checking for executable suffix" >&5673 echo "configure:674: checking for executable suffix" >&5 670 674 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 671 675 echo $ac_n "(cached) $ac_c" 1>&6 … … 677 681 echo 'int main () { return 0; }' > conftest.$ac_ext 678 682 ac_cv_exeext= 679 if { (eval echo configure:68 0: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then683 if { (eval echo configure:684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 680 684 for file in conftest.*; do 681 685 case $file in … … 746 750 747 751 echo $ac_n "checking host system type""... $ac_c" 1>&6 748 echo "configure:7 49: checking host system type" >&5752 echo "configure:753: checking host system type" >&5 749 753 750 754 host_alias=$host … … 767 771 768 772 echo $ac_n "checking target system type""... $ac_c" 1>&6 769 echo "configure:77 0: checking target system type" >&5773 echo "configure:774: checking target system type" >&5 770 774 771 775 target_alias=$target … … 785 789 786 790 echo $ac_n "checking build system type""... $ac_c" 1>&6 787 echo "configure:7 88: checking build system type" >&5791 echo "configure:792: checking build system type" >&5 788 792 789 793 build_alias=$build … … 807 811 program_prefix=${target_alias}- 808 812 813 814 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6 815 echo "configure:816: checking for strerror in -lcposix" >&5 816 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'` 817 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 818 echo $ac_n "(cached) $ac_c" 1>&6 819 else 820 ac_save_LIBS="$LIBS" 821 LIBS="-lcposix $LIBS" 822 cat > conftest.$ac_ext <<EOF 823 #line 824 "configure" 824 #include "confdefs.h" 825 /* Override any gcc2 internal prototype to avoid an error. */ 826 /* We use char because int might match the return type of a gcc2 827 builtin and then its argument prototype would still apply. */ 828 char strerror(); 829 830 int main() { 831 strerror() 832 ; return 0; } 833 EOF 834 if { (eval echo configure:835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 835 rm -rf conftest* 836 eval "ac_cv_lib_$ac_lib_var=yes" 837 else 838 echo "configure: failed program was:" >&5 839 cat conftest.$ac_ext >&5 840 rm -rf conftest* 841 eval "ac_cv_lib_$ac_lib_var=no" 842 fi 843 rm -f conftest* 844 LIBS="$ac_save_LIBS" 845 846 fi 847 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 848 echo "$ac_t""yes" 1>&6 849 LIBS="$LIBS -lcposix" 850 else 851 echo "$ac_t""no" 1>&6 852 fi 853 854 855 856 857 BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in` 858 # Find a good install program. We prefer a C program (faster), 859 # so one script is as good as another. But avoid the broken or 860 # incompatible versions: 861 # SysV /etc/install, /usr/sbin/install 862 # SunOS /usr/etc/install 863 # IRIX /sbin/install 864 # AIX /bin/install 865 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 866 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 867 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 868 # ./install, which can be erroneously created by make from ./install.sh. 869 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 870 echo "configure:871: checking for a BSD compatible install" >&5 871 if test -z "$INSTALL"; then 872 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 873 echo $ac_n "(cached) $ac_c" 1>&6 874 else 875 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$PATH_IFS" 876 for ac_dir in $PATH; do 877 # Account for people who put trailing slashes in PATH elements. 878 case "$ac_dir/" in 879 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; 880 # We reject the install program from OS/2 or W3.1 881 */OS2|*/OS2/*|*/WINDOWS|*/WINDOWS/*) ;; 882 *) 883 # OSF1 and SCO ODT 3.0 have their own names for install. 884 # Don't use installbsd from OSF since it installs stuff as root 885 # by default. 886 for ac_prog in ginstall scoinst install; do 887 if test -f $ac_dir/$ac_prog$ac_exeext; then 888 if test $ac_prog = install && 889 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then 890 # AIX install. It has an incompatible calling convention. 891 : 892 else 893 ac_cv_path_install="$ac_dir/$ac_prog$ac_exeext -c" 894 break 2 895 fi 896 fi 897 done 898 ;; 899 esac 900 done 901 IFS="$ac_save_IFS" 902 903 fi 904 if test "${ac_cv_path_install+set}" = set; then 905 INSTALL="$ac_cv_path_install" 906 else 907 # As a last resort, use the slow shell script. We don't cache a 908 # path for INSTALL within a source directory, because that will 909 # break other packages using the cache if that directory is 910 # removed, or if the path is relative. 911 INSTALL="$ac_install_sh" 912 fi 913 fi 914 echo "$ac_t""$INSTALL" 1>&6 915 916 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 917 # It thinks the first close brace ends the variable substitution. 918 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 919 920 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' 921 922 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 923 924 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 925 echo "configure:926: checking whether build environment is sane" >&5 926 # Just in case 927 sleep 1 928 echo timestamp > conftestfile 929 # Do `set' in a subshell so we don't clobber the current shell's 930 # arguments. Must try -L first in case configure is actually a 931 # symlink; some systems play weird games with the mod time of symlinks 932 # (eg FreeBSD returns the mod time of the symlink's containing 933 # directory). 934 if ( 935 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` 936 if test "$*" = "X"; then 937 # -L didn't work. 938 set X `ls -t $srcdir/configure conftestfile` 939 fi 940 if test "$*" != "X $srcdir/configure conftestfile" \ 941 && test "$*" != "X conftestfile $srcdir/configure"; then 942 943 # If neither matched, then we have a broken ls. This can happen 944 # if, for instance, CONFIG_SHELL is bash and it inherits a 945 # broken ls alias from the environment. This has actually 946 # happened. Such a system could not be considered "sane". 947 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken 948 alias in your environment" 1>&2; exit 1; } 949 fi 950 951 test "$2" = conftestfile 952 ) 953 then 954 # Ok. 955 : 956 else 957 { echo "configure: error: newly created file is older than distributed files! 958 Check your system clock" 1>&2; exit 1; } 959 fi 960 rm -f conftest* 961 echo "$ac_t""yes" 1>&6 962 if test "$program_transform_name" = s,x,x,; then 963 program_transform_name= 964 else 965 # Double any \ or $. echo might interpret backslashes. 966 cat <<\EOF_SED > conftestsed 967 s,\\,\\\\,g; s,\$,$$,g 968 EOF_SED 969 program_transform_name="`echo $program_transform_name|sed -f conftestsed`" 970 rm -f conftestsed 971 fi 972 test "$program_prefix" != NONE && 973 program_transform_name="s,^,${program_prefix},; $program_transform_name" 974 # Use a double $ so make ignores it. 975 test "$program_suffix" != NONE && 976 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" 977 978 # sed with no file args requires a program. 979 test "$program_transform_name" = "" && program_transform_name="s,x,x," 980 981 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 982 echo "configure:983: checking whether ${MAKE-make} sets \${MAKE}" >&5 983 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 984 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 985 echo $ac_n "(cached) $ac_c" 1>&6 986 else 987 cat > conftestmake <<\EOF 988 all: 989 @echo 'ac_maketemp="${MAKE}"' 990 EOF 991 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 992 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` 993 if test -n "$ac_maketemp"; then 994 eval ac_cv_prog_make_${ac_make}_set=yes 995 else 996 eval ac_cv_prog_make_${ac_make}_set=no 997 fi 998 rm -f conftestmake 999 fi 1000 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 1001 echo "$ac_t""yes" 1>&6 1002 SET_MAKE= 1003 else 1004 echo "$ac_t""no" 1>&6 1005 SET_MAKE="MAKE=${MAKE-make}" 1006 fi 1007 1008 1009 PACKAGE=ld 1010 1011 VERSION=${BFD_VERSION} 1012 1013 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then 1014 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } 1015 fi 1016 cat >> confdefs.h <<EOF 1017 #define PACKAGE "$PACKAGE" 1018 EOF 1019 1020 cat >> confdefs.h <<EOF 1021 #define VERSION "$VERSION" 1022 EOF 1023 1024 1025 1026 missing_dir=`cd $ac_aux_dir && pwd` 1027 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 1028 echo "configure:1029: checking for working aclocal" >&5 1029 # Run test in a subshell; some versions of sh will print an error if 1030 # an executable is not found, even if stderr is redirected. 1031 # Redirect stdin to placate older versions of autoconf. Sigh. 1032 if (aclocal --version) < /dev/null > /dev/null 2>&1; then 1033 ACLOCAL=aclocal 1034 echo "$ac_t""found" 1>&6 1035 else 1036 ACLOCAL="$missing_dir/missing aclocal" 1037 echo "$ac_t""missing" 1>&6 1038 fi 1039 1040 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 1041 echo "configure:1042: checking for working autoconf" >&5 1042 # Run test in a subshell; some versions of sh will print an error if 1043 # an executable is not found, even if stderr is redirected. 1044 # Redirect stdin to placate older versions of autoconf. Sigh. 1045 if (autoconf --version) < /dev/null > /dev/null 2>&1; then 1046 AUTOCONF=autoconf 1047 echo "$ac_t""found" 1>&6 1048 else 1049 AUTOCONF="$missing_dir/missing autoconf" 1050 echo "$ac_t""missing" 1>&6 1051 fi 1052 1053 echo $ac_n "checking for working automake""... $ac_c" 1>&6 1054 echo "configure:1055: checking for working automake" >&5 1055 # Run test in a subshell; some versions of sh will print an error if 1056 # an executable is not found, even if stderr is redirected. 1057 # Redirect stdin to placate older versions of autoconf. Sigh. 1058 if (automake --version) < /dev/null > /dev/null 2>&1; then 1059 AUTOMAKE=automake 1060 echo "$ac_t""found" 1>&6 1061 else 1062 AUTOMAKE="$missing_dir/missing automake" 1063 echo "$ac_t""missing" 1>&6 1064 fi 1065 1066 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 1067 echo "configure:1068: checking for working autoheader" >&5 1068 # Run test in a subshell; some versions of sh will print an error if 1069 # an executable is not found, even if stderr is redirected. 1070 # Redirect stdin to placate older versions of autoconf. Sigh. 1071 if (autoheader --version) < /dev/null > /dev/null 2>&1; then 1072 AUTOHEADER=autoheader 1073 echo "$ac_t""found" 1>&6 1074 else 1075 AUTOHEADER="$missing_dir/missing autoheader" 1076 echo "$ac_t""missing" 1>&6 1077 fi 1078 1079 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 1080 echo "configure:1081: checking for working makeinfo" >&5 1081 # Run test in a subshell; some versions of sh will print an error if 1082 # an executable is not found, even if stderr is redirected. 1083 # Redirect stdin to placate older versions of autoconf. Sigh. 1084 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then 1085 MAKEINFO=makeinfo 1086 echo "$ac_t""found" 1>&6 1087 else 1088 MAKEINFO="$missing_dir/missing makeinfo" 1089 echo "$ac_t""missing" 1>&6 1090 fi 1091 1092 1093 1094 # Check whether --enable-shared or --disable-shared was given. 1095 if test "${enable_shared+set}" = set; then 1096 enableval="$enable_shared" 1097 p=${PACKAGE-default} 1098 case $enableval in 1099 yes) enable_shared=yes ;; 1100 no) enable_shared=no ;; 1101 *) 1102 enable_shared=no 1103 # Look at the argument we got. We use all the common list separators. 1104 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," 1105 for pkg in $enableval; do 1106 if test "X$pkg" = "X$p"; then 1107 enable_shared=yes 1108 fi 1109 done 1110 IFS="$ac_save_ifs" 1111 ;; 1112 esac 1113 else 1114 enable_shared=yes 1115 fi 1116 1117 # Check whether --enable-static or --disable-static was given. 1118 if test "${enable_static+set}" = set; then 1119 enableval="$enable_static" 1120 p=${PACKAGE-default} 1121 case $enableval in 1122 yes) enable_static=yes ;; 1123 no) enable_static=no ;; 1124 *) 1125 enable_static=no 1126 # Look at the argument we got. We use all the common list separators. 1127 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," 1128 for pkg in $enableval; do 1129 if test "X$pkg" = "X$p"; then 1130 enable_static=yes 1131 fi 1132 done 1133 IFS="$ac_save_ifs" 1134 ;; 1135 esac 1136 else 1137 enable_static=yes 1138 fi 1139 1140 # Check whether --enable-fast-install or --disable-fast-install was given. 1141 if test "${enable_fast_install+set}" = set; then 1142 enableval="$enable_fast_install" 1143 p=${PACKAGE-default} 1144 case $enableval in 1145 yes) enable_fast_install=yes ;; 1146 no) enable_fast_install=no ;; 1147 *) 1148 enable_fast_install=no 1149 # Look at the argument we got. We use all the common list separators. 1150 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," 1151 for pkg in $enableval; do 1152 if test "X$pkg" = "X$p"; then 1153 enable_fast_install=yes 1154 fi 1155 done 1156 IFS="$ac_save_ifs" 1157 ;; 1158 esac 1159 else 1160 enable_fast_install=yes 1161 fi 1162 809 1163 # Extract the first word of "gcc", so it can be a program name with args. 810 1164 set dummy gcc; ac_word=$2 811 1165 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 812 echo "configure: 813: checking for $ac_word" >&51166 echo "configure:1167: checking for $ac_word" >&5 813 1167 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 814 1168 echo $ac_n "(cached) $ac_c" 1>&6 … … 841 1195 set dummy cc; ac_word=$2 842 1196 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 843 echo "configure: 844: checking for $ac_word" >&51197 echo "configure:1198: checking for $ac_word" >&5 844 1198 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 845 1199 echo $ac_n "(cached) $ac_c" 1>&6 … … 894 1248 set dummy cl; ac_word=$2 895 1249 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 896 echo "configure: 897: checking for $ac_word" >&51250 echo "configure:1251: checking for $ac_word" >&5 897 1251 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 898 1252 echo $ac_n "(cached) $ac_c" 1>&6 … … 927 1281 928 1282 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 929 echo "configure: 930: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&51283 echo "configure:1284: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 930 1284 931 1285 ac_ext=c … … 938 1292 cat > conftest.$ac_ext << EOF 939 1293 940 #line 941"configure"1294 #line 1295 "configure" 941 1295 #include "confdefs.h" 942 1296 943 1297 main(){return(0);} 944 1298 EOF 945 if { (eval echo configure: 946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1299 if { (eval echo configure:1300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 946 1300 ac_cv_prog_cc_works=yes 947 1301 # If we can't run a trivial program, we are probably using a cross compiler. … … 969 1323 fi 970 1324 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 971 echo "configure: 972: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&51325 echo "configure:1326: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 972 1326 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 973 1327 cross_compiling=$ac_cv_prog_cc_cross 974 1328 975 1329 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 976 echo "configure: 977: checking whether we are using GNU C" >&51330 echo "configure:1331: checking whether we are using GNU C" >&5 977 1331 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 978 1332 echo $ac_n "(cached) $ac_c" 1>&6 … … 983 1337 #endif 984 1338 EOF 985 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure: 986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1339 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1340: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 986 1340 ac_cv_prog_gcc=yes 987 1341 else … … 1002 1356 CFLAGS= 1003 1357 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1004 echo "configure:1 005: checking whether ${CC-cc} accepts -g" >&51358 echo "configure:1359: checking whether ${CC-cc} accepts -g" >&5 1005 1359 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1006 1360 echo $ac_n "(cached) $ac_c" 1>&6 … … 1033 1387 fi 1034 1388 1035 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&61036 echo "configure:1037: checking for POSIXized ISC" >&51037 if test -d /etc/conf/kconfig.d &&1038 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&11039 then1040 echo "$ac_t""yes" 1>&61041 ISC=yes # If later tests want to check for ISC.1042 cat >> confdefs.h <<\EOF1043 #define _POSIX_SOURCE 11044 EOF1045 1046 if test "$GCC" = yes; then1047 CC="$CC -posix"1048 else1049 CC="$CC -Xp"1050 fi1051 else1052 echo "$ac_t""no" 1>&61053 ISC=1054 fi1055 1056 1057 BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`1058 # Find a good install program. We prefer a C program (faster),1059 # so one script is as good as another. But avoid the broken or1060 # incompatible versions:1061 # SysV /etc/install, /usr/sbin/install1062 # SunOS /usr/etc/install1063 # IRIX /sbin/install1064 # AIX /bin/install1065 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag1066 # AFS /usr/afsws/bin/install, which mishandles nonexistent args1067 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"1068 # ./install, which can be erroneously created by make from ./install.sh.1069 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&61070 echo "configure:1071: checking for a BSD compatible install" >&51071 if test -z "$INSTALL"; then1072 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then1073 echo $ac_n "(cached) $ac_c" 1>&61074 else1075 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$PATH_IFS"1076 for ac_dir in $PATH; do1077 # Account for people who put trailing slashes in PATH elements.1078 case "$ac_dir/" in1079 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;1080 # We reject the install program from OS/2 or W3.11081 */OS2|*/OS2/*|*/WINDOWS|*/WINDOWS/*) ;;1082 *)1083 # OSF1 and SCO ODT 3.0 have their own names for install.1084 # Don't use installbsd from OSF since it installs stuff as root1085 # by default.1086 for ac_prog in ginstall scoinst install; do1087 if test -f $ac_dir/$ac_prog$ac_exeext; then1088 if test $ac_prog = install &&1089 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then1090 # AIX install. It has an incompatible calling convention.1091 :1092 else1093 ac_cv_path_install="$ac_dir/$ac_prog$ac_exeext -c"1094 break 21095 fi1096 fi1097 done1098 ;;1099 esac1100 done1101 IFS="$ac_save_IFS"1102 1103 fi1104 if test "${ac_cv_path_install+set}" = set; then1105 INSTALL="$ac_cv_path_install"1106 else1107 # As a last resort, use the slow shell script. We don't cache a1108 # path for INSTALL within a source directory, because that will1109 # break other packages using the cache if that directory is1110 # removed, or if the path is relative.1111 INSTALL="$ac_install_sh"1112 fi1113 fi1114 echo "$ac_t""$INSTALL" 1>&61115 1116 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.1117 # It thinks the first close brace ends the variable substitution.1118 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'1119 1120 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'1121 1122 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'1123 1124 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&61125 echo "configure:1126: checking whether build environment is sane" >&51126 # Just in case1127 sleep 11128 echo timestamp > conftestfile1129 # Do `set' in a subshell so we don't clobber the current shell's1130 # arguments. Must try -L first in case configure is actually a1131 # symlink; some systems play weird games with the mod time of symlinks1132 # (eg FreeBSD returns the mod time of the symlink's containing1133 # directory).1134 if (1135 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`1136 if test "$*" = "X"; then1137 # -L didn't work.1138 set X `ls -t $srcdir/configure conftestfile`1139 fi1140 if test "$*" != "X $srcdir/configure conftestfile" \1141 && test "$*" != "X conftestfile $srcdir/configure"; then1142 1143 # If neither matched, then we have a broken ls. This can happen1144 # if, for instance, CONFIG_SHELL is bash and it inherits a1145 # broken ls alias from the environment. This has actually1146 # happened. Such a system could not be considered "sane".1147 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken1148 alias in your environment" 1>&2; exit 1; }1149 fi1150 1151 test "$2" = conftestfile1152 )1153 then1154 # Ok.1155 :1156 else1157 { echo "configure: error: newly created file is older than distributed files!1158 Check your system clock" 1>&2; exit 1; }1159 fi1160 rm -f conftest*1161 echo "$ac_t""yes" 1>&61162 if test "$program_transform_name" = s,x,x,; then1163 program_transform_name=1164 else1165 # Double any \ or $. echo might interpret backslashes.1166 cat <<\EOF_SED > conftestsed1167 s,\\,\\\\,g; s,\$,$$,g1168 EOF_SED1169 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"1170 rm -f conftestsed1171 fi1172 test "$program_prefix" != NONE &&1173 program_transform_name="s,^,${program_prefix},; $program_transform_name"1174 # Use a double $ so make ignores it.1175 test "$program_suffix" != NONE &&1176 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"1177 1178 # sed with no file args requires a program.1179 test "$program_transform_name" = "" && program_transform_name="s,x,x,"1180 1181 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&61182 echo "configure:1183: checking whether ${MAKE-make} sets \${MAKE}" >&51183 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`1184 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then1185 echo $ac_n "(cached) $ac_c" 1>&61186 else1187 cat > conftestmake <<\EOF1188 all:1189 @echo 'ac_maketemp="${MAKE}"'1190 EOF1191 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.1192 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`1193 if test -n "$ac_maketemp"; then1194 eval ac_cv_prog_make_${ac_make}_set=yes1195 else1196 eval ac_cv_prog_make_${ac_make}_set=no1197 fi1198 rm -f conftestmake1199 fi1200 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then1201 echo "$ac_t""yes" 1>&61202 SET_MAKE=1203 else1204 echo "$ac_t""no" 1>&61205 SET_MAKE="MAKE=${MAKE-make}"1206 fi1207 1208 1209 PACKAGE=ld1210 1211 VERSION=${BFD_VERSION}1212 1213 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then1214 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }1215 fi1216 cat >> confdefs.h <<EOF1217 #define PACKAGE "$PACKAGE"1218 EOF1219 1220 cat >> confdefs.h <<EOF1221 #define VERSION "$VERSION"1222 EOF1223 1224 1225 1226 missing_dir=`cd $ac_aux_dir && pwd`1227 echo $ac_n "checking for working aclocal""... $ac_c" 1>&61228 echo "configure:1229: checking for working aclocal" >&51229 # Run test in a subshell; some versions of sh will print an error if1230 # an executable is not found, even if stderr is redirected.1231 # Redirect stdin to placate older versions of autoconf. Sigh.1232 if (aclocal --version) < /dev/null > /dev/null 2>&1; then1233 ACLOCAL=aclocal1234 echo "$ac_t""found" 1>&61235 else1236 ACLOCAL="$missing_dir/missing aclocal"1237 echo "$ac_t""missing" 1>&61238 fi1239 1240 echo $ac_n "checking for working autoconf""... $ac_c" 1>&61241 echo "configure:1242: checking for working autoconf" >&51242 # Run test in a subshell; some versions of sh will print an error if1243 # an executable is not found, even if stderr is redirected.1244 # Redirect stdin to placate older versions of autoconf. Sigh.1245 if (autoconf --version) < /dev/null > /dev/null 2>&1; then1246 AUTOCONF=autoconf1247 echo "$ac_t""found" 1>&61248 else1249 AUTOCONF="$missing_dir/missing autoconf"1250 echo "$ac_t""missing" 1>&61251 fi1252 1253 echo $ac_n "checking for working automake""... $ac_c" 1>&61254 echo "configure:1255: checking for working automake" >&51255 # Run test in a subshell; some versions of sh will print an error if1256 # an executable is not found, even if stderr is redirected.1257 # Redirect stdin to placate older versions of autoconf. Sigh.1258 if (automake --version) < /dev/null > /dev/null 2>&1; then1259 AUTOMAKE=automake1260 echo "$ac_t""found" 1>&61261 else1262 AUTOMAKE="$missing_dir/missing automake"1263 echo "$ac_t""missing" 1>&61264 fi1265 1266 echo $ac_n "checking for working autoheader""... $ac_c" 1>&61267 echo "configure:1268: checking for working autoheader" >&51268 # Run test in a subshell; some versions of sh will print an error if1269 # an executable is not found, even if stderr is redirected.1270 # Redirect stdin to placate older versions of autoconf. Sigh.1271 if (autoheader --version) < /dev/null > /dev/null 2>&1; then1272 AUTOHEADER=autoheader1273 echo "$ac_t""found" 1>&61274 else1275 AUTOHEADER="$missing_dir/missing autoheader"1276 echo "$ac_t""missing" 1>&61277 fi1278 1279 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&61280 echo "configure:1281: checking for working makeinfo" >&51281 # Run test in a subshell; some versions of sh will print an error if1282 # an executable is not found, even if stderr is redirected.1283 # Redirect stdin to placate older versions of autoconf. Sigh.1284 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then1285 MAKEINFO=makeinfo1286 echo "$ac_t""found" 1>&61287 else1288 MAKEINFO="$missing_dir/missing makeinfo"1289 echo "$ac_t""missing" 1>&61290 fi1291 1292 1293 1294 # Check whether --enable-shared or --disable-shared was given.1295 if test "${enable_shared+set}" = set; then1296 enableval="$enable_shared"1297 p=${PACKAGE-default}1298 case "$enableval" in1299 yes) enable_shared=yes ;;1300 no) enable_shared=no ;;1301 *)1302 enable_shared=no1303 # Look at the argument we got. We use all the common list separators.1304 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"1305 for pkg in $enableval; do1306 if test "X$pkg" = "X$p"; then1307 enable_shared=yes1308 fi1309 done1310 IFS="$ac_save_ifs"1311 ;;1312 esac1313 else1314 enable_shared=yes1315 fi1316 1317 # Check whether --enable-static or --disable-static was given.1318 if test "${enable_static+set}" = set; then1319 enableval="$enable_static"1320 p=${PACKAGE-default}1321 case "$enableval" in1322 yes) enable_static=yes ;;1323 no) enable_static=no ;;1324 *)1325 enable_static=no1326 # Look at the argument we got. We use all the common list separators.1327 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"1328 for pkg in $enableval; do1329 if test "X$pkg" = "X$p"; then1330 enable_static=yes1331 fi1332 done1333 IFS="$ac_save_ifs"1334 ;;1335 esac1336 else1337 enable_static=yes1338 fi1339 1340 # Check whether --enable-fast-install or --disable-fast-install was given.1341 if test "${enable_fast_install+set}" = set; then1342 enableval="$enable_fast_install"1343 p=${PACKAGE-default}1344 case "$enableval" in1345 yes) enable_fast_install=yes ;;1346 no) enable_fast_install=no ;;1347 *)1348 enable_fast_install=no1349 # Look at the argument we got. We use all the common list separators.1350 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"1351 for pkg in $enableval; do1352 if test "X$pkg" = "X$p"; then1353 enable_fast_install=yes1354 fi1355 done1356 IFS="$ac_save_ifs"1357 ;;1358 esac1359 else1360 enable_fast_install=yes1361 fi1362 1363 1389 # Check whether --with-gnu-ld or --without-gnu-ld was given. 1364 1390 if test "${with_gnu_ld+set}" = set; then … … 1370 1396 1371 1397 ac_prog=ld 1372 if test "$ ac_cv_prog_gcc" = yes; then1398 if test "$GCC" = yes; then 1373 1399 # Check if gcc -print-prog-name=ld gives a path. 1374 1400 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 1375 echo "configure:1 376: checking for ld used by GCC" >&51401 echo "configure:1402: checking for ld used by GCC" >&5 1376 1402 case $host in 1377 1403 *-*-mingw*) … … 1381 1407 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 1382 1408 esac 1383 case "$ac_prog"in1409 case $ac_prog in 1384 1410 # Accept absolute paths. 1385 1411 [\\/]* | [A-Za-z]:[\\/]*) … … 1403 1429 elif test "$with_gnu_ld" = yes; then 1404 1430 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 1405 echo "configure:14 06: checking for GNU ld" >&51431 echo "configure:1432: checking for GNU ld" >&5 1406 1432 else 1407 1433 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 1408 echo "configure:14 09: checking for non-GNU ld" >&51409 fi 1410 if eval "test \"`echo '$''{' ac_cv_path_LD'+set}'`\" = set"; then1434 echo "configure:1435: checking for non-GNU ld" >&5 1435 fi 1436 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then 1411 1437 echo $ac_n "(cached) $ac_c" 1>&6 1412 1438 else … … 1416 1442 test -z "$ac_dir" && ac_dir=. 1417 1443 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 1418 ac_cv_path_LD="$ac_dir/$ac_prog"1444 lt_cv_path_LD="$ac_dir/$ac_prog" 1419 1445 # Check to see if the program is GNU ld. I'd rather use --version, 1420 1446 # but apparently some GNU ld's only accept -v. 1421 1447 # Break only if it was the GNU/non-GNU ld that we prefer. 1422 if "$ ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then1448 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then 1423 1449 test "$with_gnu_ld" != no && break 1424 1450 else … … 1429 1455 IFS="$ac_save_ifs" 1430 1456 else 1431 ac_cv_path_LD="$LD" # Let the user override the test with a path.1432 fi 1433 fi 1434 1435 LD="$ ac_cv_path_LD"1457 lt_cv_path_LD="$LD" # Let the user override the test with a path. 1458 fi 1459 fi 1460 1461 LD="$lt_cv_path_LD" 1436 1462 if test -n "$LD"; then 1437 1463 echo "$ac_t""$LD" 1>&6 … … 1441 1467 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } 1442 1468 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 1443 echo "configure:14 44: checking if the linker ($LD) is GNU ld" >&51444 if eval "test \"`echo '$''{' ac_cv_prog_gnu_ld'+set}'`\" = set"; then1469 echo "configure:1470: checking if the linker ($LD) is GNU ld" >&5 1470 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then 1445 1471 echo $ac_n "(cached) $ac_c" 1>&6 1446 1472 else 1447 1473 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 1448 1474 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 1449 ac_cv_prog_gnu_ld=yes1450 else 1451 ac_cv_prog_gnu_ld=no1452 fi 1453 fi 1454 1455 echo "$ac_t""$ ac_cv_prog_gnu_ld" 1>&61456 with_gnu_ld=$ ac_cv_prog_gnu_ld1475 lt_cv_prog_gnu_ld=yes 1476 else 1477 lt_cv_prog_gnu_ld=no 1478 fi 1479 fi 1480 1481 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6 1482 with_gnu_ld=$lt_cv_prog_gnu_ld 1457 1483 1458 1484 1459 1485 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6 1460 echo "configure:14 61: checking for $LD option to reload object files" >&51486 echo "configure:1487: checking for $LD option to reload object files" >&5 1461 1487 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then 1462 1488 echo $ac_n "(cached) $ac_c" 1>&6 … … 1470 1496 1471 1497 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 1472 echo "configure:14 73: checking for BSD-compatible nm" >&51473 if eval "test \"`echo '$''{' ac_cv_path_NM'+set}'`\" = set"; then1498 echo "configure:1499: checking for BSD-compatible nm" >&5 1499 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then 1474 1500 echo $ac_n "(cached) $ac_c" 1>&6 1475 1501 else 1476 1502 if test -n "$NM"; then 1477 1503 # Let the user override the test. 1478 ac_cv_path_NM="$NM"1504 lt_cv_path_NM="$NM" 1479 1505 else 1480 1506 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" … … 1488 1514 # Tru64's nm complains that /dev/null is an invalid object file 1489 1515 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then 1490 ac_cv_path_NM="$tmp_nm -B"1516 lt_cv_path_NM="$tmp_nm -B" 1491 1517 break 1492 1518 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then 1493 ac_cv_path_NM="$tmp_nm -p"1519 lt_cv_path_NM="$tmp_nm -p" 1494 1520 break 1495 1521 else 1496 ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but1522 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 1497 1523 continue # so that we can try to find one that supports BSD flags 1498 1524 fi … … 1500 1526 done 1501 1527 IFS="$ac_save_ifs" 1502 test -z "$ ac_cv_path_NM" && ac_cv_path_NM=nm1503 fi 1504 fi 1505 1506 NM="$ ac_cv_path_NM"1528 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm 1529 fi 1530 fi 1531 1532 NM="$lt_cv_path_NM" 1507 1533 echo "$ac_t""$NM" 1>&6 1508 1534 1509 1535 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1510 echo "configure:15 11: checking whether ln -s works" >&51536 echo "configure:1537: checking whether ln -s works" >&5 1511 1537 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1512 1538 echo $ac_n "(cached) $ac_c" 1>&6 … … 1535 1561 1536 1562 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6 1537 echo "configure:15 38: checking how to recognise dependant libraries" >&51563 echo "configure:1564: checking how to recognise dependant libraries" >&5 1538 1564 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then 1539 1565 echo $ac_n "(cached) $ac_c" 1>&6 … … 1553 1579 # whether `pass_all' will *always* work, you probably want this one. 1554 1580 1555 case "$host_os"in1556 aix 4*)1581 case $host_os in 1582 aix*) 1557 1583 lt_cv_deplibs_check_method=pass_all 1558 1584 ;; … … 1563 1589 1564 1590 bsdi4*) 1565 1566 1591 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 1592 lt_cv_file_magic_cmd='/usr/bin/file -L' 1567 1593 lt_cv_file_magic_test_file=/shlib/libc.so 1568 1594 ;; … … 1573 1599 ;; 1574 1600 1601 darwin* | rhapsody*) 1602 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' 1603 lt_cv_file_magic_cmd='/usr/bin/file -L' 1604 case "$host_os" in 1605 rhapsody* | darwin1.012) 1606 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System' 1607 ;; 1608 *) # Darwin 1.3 on 1609 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' 1610 ;; 1611 esac 1612 ;; 1613 1575 1614 freebsd* ) 1576 1615 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 1577 case "$host_cpu"in1616 case $host_cpu in 1578 1617 i*86 ) 1579 1618 # Not sure whether the presence of OpenBSD here was a mistake. 1580 1619 # Let's accept both of them until this is cleared up. 1581 1582 1620 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' 1621 lt_cv_file_magic_cmd=/usr/bin/file 1583 1622 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 1584 1623 ;; … … 1593 1632 ;; 1594 1633 1595 hpux10.20*) 1596 # TODO: Does this work for hpux-11 too? 1597 lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library' 1598 lt_cv_file_magic_cmd=/usr/bin/file 1599 lt_cv_file_magic_test_file=/usr/lib/libc.sl 1634 hpux10.20*|hpux11*) 1635 case $host_cpu in 1636 hppa*) 1637 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 1638 lt_cv_file_magic_cmd=/usr/bin/file 1639 lt_cv_file_magic_test_file=/usr/lib/libc.sl 1640 ;; 1641 ia64*) 1642 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 1643 lt_cv_file_magic_cmd=/usr/bin/file 1644 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 1645 ;; 1646 esac 1600 1647 ;; 1601 1648 1602 1649 irix5* | irix6*) 1603 case "$host_os"in1650 case $host_os in 1604 1651 irix5*) 1605 1652 # this will be overridden with pass_all, but let us keep it just in case … … 1607 1654 ;; 1608 1655 *) 1609 case "$LD"in1656 case $LD in 1610 1657 *-32|*"-32 ") libmagic=32-bit;; 1611 1658 *-n32|*"-n32 ") libmagic=N32;; … … 1614 1661 esac 1615 1662 # this will be overridden with pass_all, but let us keep it just in case 1616 1617 1663 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" 1664 ;; 1618 1665 esac 1619 1666 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` … … 1623 1670 # This must be Linux ELF. 1624 1671 linux-gnu*) 1625 case "$host_cpu"in1626 alpha* | i*86 | powerpc* | sparc* | ia64* )1672 case $host_cpu in 1673 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* ) 1627 1674 lt_cv_deplibs_check_method=pass_all ;; 1628 1675 *) 1629 1676 # glibc up to 2.1.1 does not perform some relocations on ARM 1630 1631 1677 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; 1678 esac 1632 1679 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` 1633 1680 ;; 1634 1681 1635 1682 netbsd*) 1636 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then : 1683 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 1684 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' 1637 1685 else 1638 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' 1639 lt_cv_file_magic_cmd='/usr/bin/file -L' 1640 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 1686 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' 1641 1687 fi 1688 ;; 1689 1690 os2*) 1691 lt_cv_deplibs_check_method=pass_all 1692 ;; 1693 1694 newsos6) 1695 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 1696 lt_cv_file_magic_cmd=/usr/bin/file 1697 lt_cv_file_magic_test_file=/usr/lib/libnls.so 1642 1698 ;; 1643 1699 … … 1658 1714 ;; 1659 1715 1716 sysv5uw[78]* | sysv4*uw2*) 1717 lt_cv_deplibs_check_method=pass_all 1718 ;; 1719 1660 1720 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 1661 case "$host_vendor"in1721 case $host_vendor in 1662 1722 ncr) 1663 1723 lt_cv_deplibs_check_method=pass_all 1664 1724 ;; 1665 1725 motorola) 1666 1667 1726 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]' 1727 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 1668 1728 ;; 1669 1729 esac … … 1678 1738 1679 1739 echo $ac_n "checking for object suffix""... $ac_c" 1>&6 1680 echo "configure:1 681: checking for object suffix" >&51740 echo "configure:1741: checking for object suffix" >&5 1681 1741 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then 1682 1742 echo $ac_n "(cached) $ac_c" 1>&6 … … 1684 1744 rm -f conftest* 1685 1745 echo 'int i = 1;' > conftest.$ac_ext 1686 if { (eval echo configure:1 687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1746 if { (eval echo configure:1747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1687 1747 for ac_file in conftest.*; do 1688 1748 case $ac_file in … … 1710 1770 1711 1771 # Only perform the check for file, if the check method requires it 1712 case "$deplibs_check_method"in1772 case $deplibs_check_method in 1713 1773 file_magic*) 1714 1774 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 1715 1775 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6 1716 echo "configure:17 17: checking for ${ac_tool_prefix}file" >&51776 echo "configure:1777: checking for ${ac_tool_prefix}file" >&5 1717 1777 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1718 1778 echo $ac_n "(cached) $ac_c" 1>&6 1719 1779 else 1720 case "$MAGIC_CMD"in1780 case $MAGIC_CMD in 1721 1781 /*) 1722 1782 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. … … 1734 1794 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 1735 1795 if test -n "$file_magic_test_file"; then 1736 case "$deplibs_check_method"in1796 case $deplibs_check_method in 1737 1797 "file_magic "*) 1738 1798 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" … … 1776 1836 if test -n "$ac_tool_prefix"; then 1777 1837 echo $ac_n "checking for file""... $ac_c" 1>&6 1778 echo "configure:1 779: checking for file" >&51838 echo "configure:1839: checking for file" >&5 1779 1839 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1780 1840 echo $ac_n "(cached) $ac_c" 1>&6 1781 1841 else 1782 case "$MAGIC_CMD"in1842 case $MAGIC_CMD in 1783 1843 /*) 1784 1844 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. … … 1796 1856 lt_cv_path_MAGIC_CMD="$ac_dir/file" 1797 1857 if test -n "$file_magic_test_file"; then 1798 case "$deplibs_check_method"in1858 case $deplibs_check_method in 1799 1859 "file_magic "*) 1800 1860 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" … … 1847 1907 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1848 1908 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1849 echo "configure:1 850: checking for $ac_word" >&51909 echo "configure:1910: checking for $ac_word" >&5 1850 1910 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1851 1911 echo $ac_n "(cached) $ac_c" 1>&6 … … 1880 1940 set dummy ranlib; ac_word=$2 1881 1941 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1882 echo "configure:1 883: checking for $ac_word" >&51942 echo "configure:1943: checking for $ac_word" >&5 1883 1943 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1884 1944 echo $ac_n "(cached) $ac_c" 1>&6 … … 1916 1976 set dummy ${ac_tool_prefix}strip; ac_word=$2 1917 1977 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1918 echo "configure:19 19: checking for $ac_word" >&51978 echo "configure:1979: checking for $ac_word" >&5 1919 1979 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 1920 1980 echo $ac_n "(cached) $ac_c" 1>&6 … … 1949 2009 set dummy strip; ac_word=$2 1950 2010 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1951 echo "configure: 1952: checking for $ac_word" >&52011 echo "configure:2012: checking for $ac_word" >&5 1952 2012 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 1953 2013 echo $ac_n "(cached) $ac_c" 1>&6 … … 1988 2048 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static" 1989 2049 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install" 1990 test "$ ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"1991 test "$ ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"2050 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc" 2051 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld" 1992 2052 1993 2053 … … 2014 2074 # Some flags need to be propagated to the compiler or linker for good 2015 2075 # libtool support. 2016 case "$host"in2076 case $host in 2017 2077 *-*-irix6*) 2018 2078 # Find out which ABI we are using. 2019 echo '#line 2020 "configure"' > conftest.$ac_ext 2020 if { (eval echo configure:2021: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2021 case "`/usr/bin/file conftest.o`" in 2079 echo '#line 2080 "configure"' > conftest.$ac_ext 2080 if { (eval echo configure:2081: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2081 if test "$lt_cv_prog_gnu_ld" = yes; then 2082 case `/usr/bin/file conftest.$ac_objext` in 2083 *32-bit*) 2084 LD="${LD-ld} -melf32bsmip" 2085 ;; 2086 *N32*) 2087 LD="${LD-ld} -melf32bmipn32" 2088 ;; 2089 *64-bit*) 2090 LD="${LD-ld} -melf64bmip" 2091 ;; 2092 esac 2093 else 2094 case `/usr/bin/file conftest.$ac_objext` in 2022 2095 *32-bit*) 2023 2096 LD="${LD-ld} -32" … … 2030 2103 ;; 2031 2104 esac 2105 fi 2106 fi 2107 rm -rf conftest* 2108 ;; 2109 2110 ia64-*-hpux*) 2111 # Find out which ABI we are using. 2112 echo 'int i;' > conftest.$ac_ext 2113 if { (eval echo configure:2114: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2114 case "`/usr/bin/file conftest.o`" in 2115 *ELF-32*) 2116 HPUX_IA64_MODE="32" 2117 ;; 2118 *ELF-64*) 2119 HPUX_IA64_MODE="64" 2120 ;; 2121 esac 2032 2122 fi 2033 2123 rm -rf conftest* … … 2039 2129 CFLAGS="$CFLAGS -belf" 2040 2130 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 2041 echo "configure:2 042: checking whether the C compiler needs -belf" >&52131 echo "configure:2132: checking whether the C compiler needs -belf" >&5 2042 2132 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then 2043 2133 echo $ac_n "(cached) $ac_c" 1>&6 … … 2052 2142 2053 2143 cat > conftest.$ac_ext <<EOF 2054 #line 2 055 "configure"2144 #line 2145 "configure" 2055 2145 #include "confdefs.h" 2056 2146 … … 2059 2149 ; return 0; } 2060 2150 EOF 2061 if { (eval echo configure:2 062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2151 if { (eval echo configure:2152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2062 2152 rm -rf conftest* 2063 2153 lt_cv_cc_needs_belf=yes … … 2169 2259 exec 5>>./config.log 2170 2260 2171 2172 2261 2173 2262 … … 2175 2264 2176 2265 2266 2267 # Check whether --with-lib-path or --without-lib-path was given. 2268 if test "${with_lib_path+set}" = set; then 2269 withval="$with_lib_path" 2270 LIB_PATH=$withval 2271 fi 2177 2272 2178 2273 # Check whether --enable-targets or --disable-targets was given. … … 2198 2293 fi 2199 2294 2200 build_warnings="-W -Wall" 2295 # Check whether --with-sysroot or --without-sysroot was given. 2296 if test "${with_sysroot+set}" = set; then 2297 withval="$with_sysroot" 2298 2299 case ${with_sysroot} in 2300 yes) TARGET_SYSTEM_ROOT='${exec_prefix}/${target_alias}/sys-root' ;; 2301 *) TARGET_SYSTEM_ROOT=$with_sysroot ;; 2302 esac 2303 2304 TARGET_SYSTEM_ROOT_DEFINE='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"' 2305 use_sysroot=yes 2306 2307 if test "x$exec_prefix" = xNONE; then 2308 if test "x$prefix" = xNONE; then 2309 test_prefix=/usr/local 2310 else 2311 test_prefix=$prefix 2312 fi 2313 else 2314 test_prefix=$exec_prefix 2315 fi 2316 case ${TARGET_SYSTEM_ROOT} in 2317 "${test_prefix}"|"${test_prefix}/"*|\ 2318 '${exec_prefix}'|'${exec_prefix}/'*) 2319 t="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE" 2320 TARGET_SYSTEM_ROOT_DEFINE="$t" 2321 ;; 2322 esac 2323 2324 else 2325 2326 use_sysroot=no 2327 TARGET_SYSTEM_ROOT= 2328 TARGET_SYSTEM_ROOT_DEFINE='-DTARGET_SYSTEM_ROOT=\"\"' 2329 2330 fi 2331 2332 2333 2334 2335 2336 build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" 2201 2337 # Check whether --enable-build-warnings or --disable-build-warnings was given. 2202 2338 if test "${enable_build_warnings+set}" = set; then … … 2237 2373 set dummy gcc; ac_word=$2 2238 2374 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2239 echo "configure:2 240: checking for $ac_word" >&52375 echo "configure:2376: checking for $ac_word" >&5 2240 2376 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2241 2377 echo $ac_n "(cached) $ac_c" 1>&6 … … 2268 2404 set dummy cc; ac_word=$2 2269 2405 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2270 echo "configure:2 271: checking for $ac_word" >&52406 echo "configure:2407: checking for $ac_word" >&5 2271 2407 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2272 2408 echo $ac_n "(cached) $ac_c" 1>&6 … … 2321 2457 set dummy cl; ac_word=$2 2322 2458 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2323 echo "configure:2 324: checking for $ac_word" >&52459 echo "configure:2460: checking for $ac_word" >&5 2324 2460 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2325 2461 echo $ac_n "(cached) $ac_c" 1>&6 … … 2354 2490 2355 2491 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 2356 echo "configure:2 357: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&52492 echo "configure:2493: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 2357 2493 2358 2494 ac_ext=c … … 2365 2501 cat > conftest.$ac_ext << EOF 2366 2502 2367 #line 2 368"configure"2503 #line 2504 "configure" 2368 2504 #include "confdefs.h" 2369 2505 2370 2506 main(){return(0);} 2371 2507 EOF 2372 if { (eval echo configure:2 373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2508 if { (eval echo configure:2509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2373 2509 ac_cv_prog_cc_works=yes 2374 2510 # If we can't run a trivial program, we are probably using a cross compiler. … … 2396 2532 fi 2397 2533 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 2398 echo "configure:2 399: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&52534 echo "configure:2535: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 2399 2535 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 2400 2536 cross_compiling=$ac_cv_prog_cc_cross 2401 2537 2402 2538 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 2403 echo "configure:2 404: checking whether we are using GNU C" >&52539 echo "configure:2540: checking whether we are using GNU C" >&5 2404 2540 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 2405 2541 echo $ac_n "(cached) $ac_c" 1>&6 … … 2410 2546 #endif 2411 2547 EOF 2412 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2 413: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then2548 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2549: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 2413 2549 ac_cv_prog_gcc=yes 2414 2550 else … … 2429 2565 CFLAGS= 2430 2566 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 2431 echo "configure:2 432: checking whether ${CC-cc} accepts -g" >&52567 echo "configure:2568: checking whether ${CC-cc} accepts -g" >&5 2432 2568 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 2433 2569 echo $ac_n "(cached) $ac_c" 1>&6 … … 2472 2608 # ./install, which can be erroneously created by make from ./install.sh. 2473 2609 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 2474 echo "configure:2 475: checking for a BSD compatible install" >&52610 echo "configure:2611: checking for a BSD compatible install" >&5 2475 2611 if test -z "$INSTALL"; then 2476 2612 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 2527 2663 2528 2664 2529 ALL_LINGUAS= 2665 ALL_LINGUAS="fr sv tr es da" 2530 2666 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 2531 echo "configure:2 532: checking how to run the C preprocessor" >&52667 echo "configure:2668: checking how to run the C preprocessor" >&5 2532 2668 # On Suns, sometimes $CPP names a directory. 2533 2669 if test -n "$CPP" && test -d "$CPP"; then … … 2545 2681 cat > conftest.$ac_ext <<EOF 2546 2682 #include <sys/types.h> 2547 #line 2 548"configure"2683 #line 2684 "configure" 2548 2684 #include "confdefs.h" 2549 2685 #include <assert.h> … … 2551 2687 EOF 2552 2688 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2553 { (eval echo configure:2 554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2689 { (eval echo configure:2690: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2554 2690 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2555 2691 if test -z "$ac_err"; then … … 2563 2699 cat > conftest.$ac_ext <<EOF 2564 2700 #include <sys/types.h> 2565 #line 2 566"configure"2701 #line 2702 "configure" 2566 2702 #include "confdefs.h" 2567 2703 #include <assert.h> … … 2569 2705 EOF 2570 2706 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2571 { (eval echo configure:2 572: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2707 { (eval echo configure:2708: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2572 2708 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2573 2709 if test -z "$ac_err"; then … … 2581 2717 cat > conftest.$ac_ext <<EOF 2582 2718 #include <sys/types.h> 2583 #line 2 584"configure"2719 #line 2720 "configure" 2584 2720 #include "confdefs.h" 2585 2721 #include <assert.h> … … 2587 2723 EOF 2588 2724 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2589 { (eval echo configure:2 590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2725 { (eval echo configure:2726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2590 2726 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2591 2727 if test -z "$ac_err"; then … … 2614 2750 set dummy ranlib; ac_word=$2 2615 2751 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2616 echo "configure:2 617: checking for $ac_word" >&52752 echo "configure:2753: checking for $ac_word" >&5 2617 2753 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 2618 2754 echo $ac_n "(cached) $ac_c" 1>&6 … … 2643 2779 2644 2780 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2645 echo "configure:2 646: checking for ANSI C header files" >&52781 echo "configure:2782: checking for ANSI C header files" >&5 2646 2782 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2647 2783 echo $ac_n "(cached) $ac_c" 1>&6 … … 2649 2785 cat > conftest.$ac_ext <<EOF 2650 2786 #include <sys/types.h> 2651 #line 2 652"configure"2787 #line 2788 "configure" 2652 2788 #include "confdefs.h" 2653 2789 #include <stdlib.h> … … 2657 2793 EOF 2658 2794 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2659 { (eval echo configure:2 660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2795 { (eval echo configure:2796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2660 2796 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2661 2797 if test -z "$ac_err"; then … … 2674 2810 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2675 2811 cat > conftest.$ac_ext <<EOF 2676 #line 2 677"configure"2812 #line 2813 "configure" 2677 2813 #include "confdefs.h" 2678 2814 #include <string.h> … … 2692 2828 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2693 2829 cat > conftest.$ac_ext <<EOF 2694 #line 2 695"configure"2830 #line 2831 "configure" 2695 2831 #include "confdefs.h" 2696 2832 #include <stdlib.h> … … 2713 2849 else 2714 2850 cat > conftest.$ac_ext <<EOF 2715 #line 2 716"configure"2851 #line 2852 "configure" 2716 2852 #include "confdefs.h" 2717 2853 #include <ctype.h> … … 2724 2860 2725 2861 EOF 2726 if { (eval echo configure:2 727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2862 if { (eval echo configure:2863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2727 2863 then 2728 2864 : … … 2748 2884 2749 2885 echo $ac_n "checking for working const""... $ac_c" 1>&6 2750 echo "configure:2 751: checking for working const" >&52886 echo "configure:2887: checking for working const" >&5 2751 2887 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 2752 2888 echo $ac_n "(cached) $ac_c" 1>&6 2753 2889 else 2754 2890 cat > conftest.$ac_ext <<EOF 2755 #line 2 756"configure"2891 #line 2892 "configure" 2756 2892 #include "confdefs.h" 2757 2893 … … 2802 2938 ; return 0; } 2803 2939 EOF 2804 if { (eval echo configure:2 805: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2940 if { (eval echo configure:2941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2805 2941 rm -rf conftest* 2806 2942 ac_cv_c_const=yes … … 2823 2959 2824 2960 echo $ac_n "checking for inline""... $ac_c" 1>&6 2825 echo "configure:2 826: checking for inline" >&52961 echo "configure:2962: checking for inline" >&5 2826 2962 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 2827 2963 echo $ac_n "(cached) $ac_c" 1>&6 … … 2830 2966 for ac_kw in inline __inline__ __inline; do 2831 2967 cat > conftest.$ac_ext <<EOF 2832 #line 2 833"configure"2968 #line 2969 "configure" 2833 2969 #include "confdefs.h" 2834 2970 … … 2837 2973 ; return 0; } 2838 2974 EOF 2839 if { (eval echo configure:2 840: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2975 if { (eval echo configure:2976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2840 2976 rm -rf conftest* 2841 2977 ac_cv_c_inline=$ac_kw; break … … 2863 2999 2864 3000 echo $ac_n "checking for off_t""... $ac_c" 1>&6 2865 echo "configure: 2866: checking for off_t" >&53001 echo "configure:3002: checking for off_t" >&5 2866 3002 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then 2867 3003 echo $ac_n "(cached) $ac_c" 1>&6 2868 3004 else 2869 3005 cat > conftest.$ac_ext <<EOF 2870 #line 2871"configure"3006 #line 3007 "configure" 2871 3007 #include "confdefs.h" 2872 3008 #include <sys/types.h> … … 2896 3032 2897 3033 echo $ac_n "checking for size_t""... $ac_c" 1>&6 2898 echo "configure: 2899: checking for size_t" >&53034 echo "configure:3035: checking for size_t" >&5 2899 3035 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 2900 3036 echo $ac_n "(cached) $ac_c" 1>&6 2901 3037 else 2902 3038 cat > conftest.$ac_ext <<EOF 2903 #line 2904"configure"3039 #line 3040 "configure" 2904 3040 #include "confdefs.h" 2905 3041 #include <sys/types.h> … … 2931 3067 # for constant arguments. Useless! 2932 3068 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 2933 echo "configure: 2934: checking for working alloca.h" >&53069 echo "configure:3070: checking for working alloca.h" >&5 2934 3070 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 2935 3071 echo $ac_n "(cached) $ac_c" 1>&6 2936 3072 else 2937 3073 cat > conftest.$ac_ext <<EOF 2938 #line 2939"configure"3074 #line 3075 "configure" 2939 3075 #include "confdefs.h" 2940 3076 #include <alloca.h> … … 2943 3079 ; return 0; } 2944 3080 EOF 2945 if { (eval echo configure: 2946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3081 if { (eval echo configure:3082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2946 3082 rm -rf conftest* 2947 3083 ac_cv_header_alloca_h=yes … … 2964 3100 2965 3101 echo $ac_n "checking for alloca""... $ac_c" 1>&6 2966 echo "configure: 2967: checking for alloca" >&53102 echo "configure:3103: checking for alloca" >&5 2967 3103 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 2968 3104 echo $ac_n "(cached) $ac_c" 1>&6 2969 3105 else 2970 3106 cat > conftest.$ac_ext <<EOF 2971 #line 2972"configure"3107 #line 3108 "configure" 2972 3108 #include "confdefs.h" 2973 3109 … … 2997 3133 ; return 0; } 2998 3134 EOF 2999 if { (eval echo configure:3 000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3135 if { (eval echo configure:3136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3000 3136 rm -rf conftest* 3001 3137 ac_cv_func_alloca_works=yes … … 3029 3165 3030 3166 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 3031 echo "configure:3 032: checking whether alloca needs Cray hooks" >&53167 echo "configure:3168: checking whether alloca needs Cray hooks" >&5 3032 3168 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 3033 3169 echo $ac_n "(cached) $ac_c" 1>&6 3034 3170 else 3035 3171 cat > conftest.$ac_ext <<EOF 3036 #line 3 037"configure"3172 #line 3173 "configure" 3037 3173 #include "confdefs.h" 3038 3174 #if defined(CRAY) && ! defined(CRAY2) … … 3059 3195 for ac_func in _getb67 GETB67 getb67; do 3060 3196 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3061 echo "configure:3 062: checking for $ac_func" >&53197 echo "configure:3198: checking for $ac_func" >&5 3062 3198 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3063 3199 echo $ac_n "(cached) $ac_c" 1>&6 3064 3200 else 3065 3201 cat > conftest.$ac_ext <<EOF 3066 #line 3 067"configure"3202 #line 3203 "configure" 3067 3203 #include "confdefs.h" 3068 3204 /* System header to define __stub macros and hopefully few prototypes, … … 3087 3223 ; return 0; } 3088 3224 EOF 3089 if { (eval echo configure:3 090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3225 if { (eval echo configure:3226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3090 3226 rm -rf conftest* 3091 3227 eval "ac_cv_func_$ac_func=yes" … … 3114 3250 3115 3251 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 3116 echo "configure:3 117: checking stack direction for C alloca" >&53252 echo "configure:3253: checking stack direction for C alloca" >&5 3117 3253 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 3118 3254 echo $ac_n "(cached) $ac_c" 1>&6 … … 3122 3258 else 3123 3259 cat > conftest.$ac_ext <<EOF 3124 #line 3 125"configure"3260 #line 3261 "configure" 3125 3261 #include "confdefs.h" 3126 3262 find_stack_direction () … … 3141 3277 } 3142 3278 EOF 3143 if { (eval echo configure:3 144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3279 if { (eval echo configure:3280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3144 3280 then 3145 3281 ac_cv_c_stack_direction=1 … … 3166 3302 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3167 3303 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3168 echo "configure:3 169: checking for $ac_hdr" >&53304 echo "configure:3305: checking for $ac_hdr" >&5 3169 3305 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3170 3306 echo $ac_n "(cached) $ac_c" 1>&6 … … 3172 3308 cat > conftest.$ac_ext <<EOF 3173 3309 #include <sys/types.h> 3174 #line 3 175"configure"3310 #line 3311 "configure" 3175 3311 #include "confdefs.h" 3176 3312 #include <$ac_hdr> 3177 3313 EOF 3178 3314 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3179 { (eval echo configure:3 180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3315 { (eval echo configure:3316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3180 3316 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3181 3317 if test -z "$ac_err"; then … … 3206 3342 do 3207 3343 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3208 echo "configure:3 209: checking for $ac_func" >&53344 echo "configure:3345: checking for $ac_func" >&5 3209 3345 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3210 3346 echo $ac_n "(cached) $ac_c" 1>&6 3211 3347 else 3212 3348 cat > conftest.$ac_ext <<EOF 3213 #line 3 214"configure"3349 #line 3350 "configure" 3214 3350 #include "confdefs.h" 3215 3351 /* System header to define __stub macros and hopefully few prototypes, … … 3234 3370 ; return 0; } 3235 3371 EOF 3236 if { (eval echo configure:3 237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3372 if { (eval echo configure:3373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3237 3373 rm -rf conftest* 3238 3374 eval "ac_cv_func_$ac_func=yes" … … 3259 3395 3260 3396 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 3261 echo "configure:3 262: checking for working mmap" >&53397 echo "configure:3398: checking for working mmap" >&5 3262 3398 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 3263 3399 echo $ac_n "(cached) $ac_c" 1>&6 … … 3267 3403 else 3268 3404 cat > conftest.$ac_ext <<EOF 3269 #line 3 270"configure"3405 #line 3406 "configure" 3270 3406 #include "confdefs.h" 3271 3407 … … 3407 3543 3408 3544 EOF 3409 if { (eval echo configure:3 410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3545 if { (eval echo configure:3546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3410 3546 then 3411 3547 ac_cv_func_mmap_fixed_mapped=yes … … 3435 3571 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3436 3572 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3437 echo "configure:3 438: checking for $ac_hdr" >&53573 echo "configure:3574: checking for $ac_hdr" >&5 3438 3574 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3439 3575 echo $ac_n "(cached) $ac_c" 1>&6 … … 3441 3577 cat > conftest.$ac_ext <<EOF 3442 3578 #include <sys/types.h> 3443 #line 3 444"configure"3579 #line 3580 "configure" 3444 3580 #include "confdefs.h" 3445 3581 #include <$ac_hdr> 3446 3582 EOF 3447 3583 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3448 { (eval echo configure:3 449: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3584 { (eval echo configure:3585: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3449 3585 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3450 3586 if test -z "$ac_err"; then … … 3476 3612 do 3477 3613 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3478 echo "configure:3 479: checking for $ac_func" >&53614 echo "configure:3615: checking for $ac_func" >&5 3479 3615 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3480 3616 echo $ac_n "(cached) $ac_c" 1>&6 3481 3617 else 3482 3618 cat > conftest.$ac_ext <<EOF 3483 #line 3 484"configure"3619 #line 3620 "configure" 3484 3620 #include "confdefs.h" 3485 3621 /* System header to define __stub macros and hopefully few prototypes, … … 3504 3640 ; return 0; } 3505 3641 EOF 3506 if { (eval echo configure:3 507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3642 if { (eval echo configure:3643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3507 3643 rm -rf conftest* 3508 3644 eval "ac_cv_func_$ac_func=yes" … … 3533 3669 do 3534 3670 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3535 echo "configure:3 536: checking for $ac_func" >&53671 echo "configure:3672: checking for $ac_func" >&5 3536 3672 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3537 3673 echo $ac_n "(cached) $ac_c" 1>&6 3538 3674 else 3539 3675 cat > conftest.$ac_ext <<EOF 3540 #line 3 541"configure"3676 #line 3677 "configure" 3541 3677 #include "confdefs.h" 3542 3678 /* System header to define __stub macros and hopefully few prototypes, … … 3561 3697 ; return 0; } 3562 3698 EOF 3563 if { (eval echo configure:3 564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3699 if { (eval echo configure:3700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3564 3700 rm -rf conftest* 3565 3701 eval "ac_cv_func_$ac_func=yes" … … 3595 3731 if test $ac_cv_header_locale_h = yes; then 3596 3732 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 3597 echo "configure:3 598: checking for LC_MESSAGES" >&53733 echo "configure:3734: checking for LC_MESSAGES" >&5 3598 3734 if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then 3599 3735 echo $ac_n "(cached) $ac_c" 1>&6 3600 3736 else 3601 3737 cat > conftest.$ac_ext <<EOF 3602 #line 3 603"configure"3738 #line 3739 "configure" 3603 3739 #include "confdefs.h" 3604 3740 #include <locale.h> … … 3607 3743 ; return 0; } 3608 3744 EOF 3609 if { (eval echo configure:3 610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3745 if { (eval echo configure:3746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3610 3746 rm -rf conftest* 3611 3747 am_cv_val_LC_MESSAGES=yes … … 3628 3764 fi 3629 3765 echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 3630 echo "configure:3 631: checking whether NLS is requested" >&53766 echo "configure:3767: checking whether NLS is requested" >&5 3631 3767 # Check whether --enable-nls or --disable-nls was given. 3632 3768 if test "${enable_nls+set}" = set; then … … 3648 3784 3649 3785 echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6 3650 echo "configure:3 651: checking whether included gettext is requested" >&53786 echo "configure:3787: checking whether included gettext is requested" >&5 3651 3787 # Check whether --with-included-gettext or --without-included-gettext was given. 3652 3788 if test "${with_included_gettext+set}" = set; then … … 3667 3803 ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'` 3668 3804 echo $ac_n "checking for libintl.h""... $ac_c" 1>&6 3669 echo "configure:3 670: checking for libintl.h" >&53805 echo "configure:3806: checking for libintl.h" >&5 3670 3806 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3671 3807 echo $ac_n "(cached) $ac_c" 1>&6 … … 3673 3809 cat > conftest.$ac_ext <<EOF 3674 3810 #include <sys/types.h> 3675 #line 3 676"configure"3811 #line 3812 "configure" 3676 3812 #include "confdefs.h" 3677 3813 #include <libintl.h> 3678 3814 EOF 3679 3815 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3680 { (eval echo configure:3 681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3816 { (eval echo configure:3817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3681 3817 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3682 3818 if test -z "$ac_err"; then … … 3695 3831 echo "$ac_t""yes" 1>&6 3696 3832 echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6 3697 echo "configure:3 698: checking for gettext in libc" >&53833 echo "configure:3834: checking for gettext in libc" >&5 3698 3834 if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then 3699 3835 echo $ac_n "(cached) $ac_c" 1>&6 3700 3836 else 3701 3837 cat > conftest.$ac_ext <<EOF 3702 #line 3 703"configure"3838 #line 3839 "configure" 3703 3839 #include "confdefs.h" 3704 3840 #include <libintl.h> … … 3707 3843 ; return 0; } 3708 3844 EOF 3709 if { (eval echo configure:3 710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3845 if { (eval echo configure:3846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3710 3846 rm -rf conftest* 3711 3847 gt_cv_func_gettext_libc=yes … … 3723 3859 if test "$gt_cv_func_gettext_libc" != "yes"; then 3724 3860 echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6 3725 echo "configure:3 726: checking for bindtextdomain in -lintl" >&53861 echo "configure:3862: checking for bindtextdomain in -lintl" >&5 3726 3862 ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'` 3727 3863 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3731 3867 LIBS="-lintl $LIBS" 3732 3868 cat > conftest.$ac_ext <<EOF 3733 #line 3 734"configure"3869 #line 3870 "configure" 3734 3870 #include "confdefs.h" 3735 3871 /* Override any gcc2 internal prototype to avoid an error. */ … … 3742 3878 ; return 0; } 3743 3879 EOF 3744 if { (eval echo configure:3 745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3880 if { (eval echo configure:3881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3745 3881 rm -rf conftest* 3746 3882 eval "ac_cv_lib_$ac_lib_var=yes" … … 3758 3894 echo "$ac_t""yes" 1>&6 3759 3895 echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6 3760 echo "configure:3 761: checking for gettext in libintl" >&53896 echo "configure:3897: checking for gettext in libintl" >&5 3761 3897 if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then 3762 3898 echo $ac_n "(cached) $ac_c" 1>&6 3763 3899 else 3764 3900 cat > conftest.$ac_ext <<EOF 3765 #line 3 766"configure"3901 #line 3902 "configure" 3766 3902 #include "confdefs.h" 3767 3903 … … 3770 3906 ; return 0; } 3771 3907 EOF 3772 if { (eval echo configure:3 773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3908 if { (eval echo configure:3909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3773 3909 rm -rf conftest* 3774 3910 gt_cv_func_gettext_libintl=yes … … 3798 3934 set dummy msgfmt; ac_word=$2 3799 3935 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3800 echo "configure:3 801: checking for $ac_word" >&53936 echo "configure:3937: checking for $ac_word" >&5 3801 3937 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then 3802 3938 echo $ac_n "(cached) $ac_c" 1>&6 … … 3832 3968 do 3833 3969 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3834 echo "configure:3 835: checking for $ac_func" >&53970 echo "configure:3971: checking for $ac_func" >&5 3835 3971 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3836 3972 echo $ac_n "(cached) $ac_c" 1>&6 3837 3973 else 3838 3974 cat > conftest.$ac_ext <<EOF 3839 #line 3 840"configure"3975 #line 3976 "configure" 3840 3976 #include "confdefs.h" 3841 3977 /* System header to define __stub macros and hopefully few prototypes, … … 3860 3996 ; return 0; } 3861 3997 EOF 3862 if { (eval echo configure:3 863: \"$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 3863 3999 rm -rf conftest* 3864 4000 eval "ac_cv_func_$ac_func=yes" … … 3887 4023 set dummy gmsgfmt; ac_word=$2 3888 4024 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3889 echo "configure: 3890: checking for $ac_word" >&54025 echo "configure:4026: checking for $ac_word" >&5 3890 4026 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then 3891 4027 echo $ac_n "(cached) $ac_c" 1>&6 … … 3927 4063 set dummy xgettext; ac_word=$2 3928 4064 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3929 echo "configure: 3930: checking for $ac_word" >&54065 echo "configure:4066: checking for $ac_word" >&5 3930 4066 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then 3931 4067 echo $ac_n "(cached) $ac_c" 1>&6 … … 3959 4095 3960 4096 cat > conftest.$ac_ext <<EOF 3961 #line 3962"configure"4097 #line 4098 "configure" 3962 4098 #include "confdefs.h" 3963 4099 … … 3967 4103 ; return 0; } 3968 4104 EOF 3969 if { (eval echo configure: 3970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4105 if { (eval echo configure:4106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3970 4106 rm -rf conftest* 3971 4107 CATOBJEXT=.gmo … … 3999 4135 set dummy msgfmt; ac_word=$2 4000 4136 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4001 echo "configure:4 002: checking for $ac_word" >&54137 echo "configure:4138: checking for $ac_word" >&5 4002 4138 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then 4003 4139 echo $ac_n "(cached) $ac_c" 1>&6 … … 4033 4169 set dummy gmsgfmt; ac_word=$2 4034 4170 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4035 echo "configure:4 036: checking for $ac_word" >&54171 echo "configure:4172: checking for $ac_word" >&5 4036 4172 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then 4037 4173 echo $ac_n "(cached) $ac_c" 1>&6 … … 4073 4209 set dummy xgettext; ac_word=$2 4074 4210 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4075 echo "configure:4 076: checking for $ac_word" >&54211 echo "configure:4212: checking for $ac_word" >&5 4076 4212 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then 4077 4213 echo $ac_n "(cached) $ac_c" 1>&6 … … 4163 4299 else 4164 4300 echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 4165 echo "configure:4 166: checking for catalogs to be installed" >&54301 echo "configure:4302: checking for catalogs to be installed" >&5 4166 4302 NEW_LINGUAS= 4167 4303 for lang in ${LINGUAS=$ALL_LINGUAS}; do … … 4191 4327 ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'` 4192 4328 echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6 4193 echo "configure:4 194: checking for linux/version.h" >&54329 echo "configure:4330: checking for linux/version.h" >&5 4194 4330 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4195 4331 echo $ac_n "(cached) $ac_c" 1>&6 … … 4197 4333 cat > conftest.$ac_ext <<EOF 4198 4334 #include <sys/types.h> 4199 #line 4 200"configure"4335 #line 4336 "configure" 4200 4336 #include "confdefs.h" 4201 4337 #include <linux/version.h> 4202 4338 EOF 4203 4339 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4204 { (eval echo configure:4 205: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4340 { (eval echo configure:4341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4205 4341 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4206 4342 if test -z "$ac_err"; then … … 4247 4383 4248 4384 4249 if test - d $srcdir/po; then4385 if test -f $srcdir/po/POTFILES.in; then 4250 4386 test -d po || mkdir po 4251 4387 if test "x$srcdir" != "x."; then 4252 if test "x`echo $srcdir | sed -e 's@.\:/.*@@' -e 's@/.*@@' `" = "x"; then4388 if test "x`echo $srcdir | sed -e 's@.\:/.*@@' -e 's@/.*@@' `" = "x"; then 4253 4389 posrcprefix="$srcdir/" 4254 4390 else … … 4268 4404 4269 4405 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 4270 echo "configure:4 271: checking for executable suffix" >&54406 echo "configure:4407: checking for executable suffix" >&5 4271 4407 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 4272 4408 echo $ac_n "(cached) $ac_c" 1>&6 … … 4278 4414 echo 'int main () { return 0; }' > conftest.$ac_ext 4279 4415 ac_cv_exeext= 4280 if { (eval echo configure:4 281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then4416 if { (eval echo configure:4417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 4281 4417 for file in conftest.*; do 4282 4418 case $file in … … 4304 4440 set dummy $ac_prog; ac_word=$2 4305 4441 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4306 echo "configure:4 307: checking for $ac_word" >&54442 echo "configure:4443: checking for $ac_word" >&5 4307 4443 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then 4308 4444 echo $ac_n "(cached) $ac_c" 1>&6 … … 4341 4477 set dummy $ac_prog; ac_word=$2 4342 4478 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4343 echo "configure:4 344: checking for $ac_word" >&54479 echo "configure:4480: checking for $ac_word" >&5 4344 4480 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then 4345 4481 echo $ac_n "(cached) $ac_c" 1>&6 … … 4375 4511 set dummy flex; ac_word=$2 4376 4512 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4377 echo "configure:4 378: checking for $ac_word" >&54513 echo "configure:4514: checking for $ac_word" >&5 4378 4514 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then 4379 4515 echo $ac_n "(cached) $ac_c" 1>&6 … … 4410 4546 esac 4411 4547 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 4412 echo "configure:4 413: checking for yywrap in -l$ac_lib" >&54548 echo "configure:4549: checking for yywrap in -l$ac_lib" >&5 4413 4549 ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'` 4414 4550 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4418 4554 LIBS="-l$ac_lib $LIBS" 4419 4555 cat > conftest.$ac_ext <<EOF 4420 #line 4 421"configure"4556 #line 4557 "configure" 4421 4557 #include "confdefs.h" 4422 4558 /* Override any gcc2 internal prototype to avoid an error. */ … … 4429 4565 ; return 0; } 4430 4566 EOF 4431 if { (eval echo configure:4 432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4567 if { (eval echo configure:4568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4432 4568 rm -rf conftest* 4433 4569 eval "ac_cv_lib_$ac_lib_var=yes" … … 4452 4588 4453 4589 echo $ac_n "checking lex output file root""... $ac_c" 1>&6 4454 echo "configure:4 455: checking lex output file root" >&54590 echo "configure:4591: checking lex output file root" >&5 4455 4591 if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then 4456 4592 echo $ac_n "(cached) $ac_c" 1>&6 … … 4473 4609 4474 4610 echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6 4475 echo "configure:4 476: checking whether yytext is a pointer" >&54611 echo "configure:4612: checking whether yytext is a pointer" >&5 4476 4612 if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then 4477 4613 echo $ac_n "(cached) $ac_c" 1>&6 … … 4485 4621 LIBS="$LIBS $LEXLIB" 4486 4622 cat > conftest.$ac_ext <<EOF 4487 #line 4 488"configure"4623 #line 4624 "configure" 4488 4624 #include "confdefs.h" 4489 4625 `cat $LEX_OUTPUT_ROOT.c` … … 4492 4628 ; return 0; } 4493 4629 EOF 4494 if { (eval echo configure:4 495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4630 if { (eval echo configure:4631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4495 4631 rm -rf conftest* 4496 4632 ac_cv_prog_lex_yytext_pointer=yes … … 4515 4651 4516 4652 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 4517 echo "configure:4 518: checking whether to enable maintainer-specific portions of Makefiles" >&54653 echo "configure:4654: checking whether to enable maintainer-specific portions of Makefiles" >&5 4518 4654 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 4519 4655 if test "${enable_maintainer_mode+set}" = set; then … … 4549 4685 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4550 4686 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4551 echo "configure:4 552: checking for $ac_hdr" >&54687 echo "configure:4688: checking for $ac_hdr" >&5 4552 4688 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4553 4689 echo $ac_n "(cached) $ac_c" 1>&6 … … 4555 4691 cat > conftest.$ac_ext <<EOF 4556 4692 #include <sys/types.h> 4557 #line 4 558"configure"4693 #line 4694 "configure" 4558 4694 #include "confdefs.h" 4559 4695 #include <$ac_hdr> 4560 4696 EOF 4561 4697 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4562 { (eval echo configure:4 563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4698 { (eval echo configure:4699: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4563 4699 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4564 4700 if test -z "$ac_err"; then … … 4586 4722 done 4587 4723 4588 for ac_func in sbrk 4724 for ac_func in sbrk realpath 4589 4725 do 4590 4726 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4591 echo "configure:4 592: checking for $ac_func" >&54727 echo "configure:4728: checking for $ac_func" >&5 4592 4728 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4593 4729 echo $ac_n "(cached) $ac_c" 1>&6 4594 4730 else 4595 4731 cat > conftest.$ac_ext <<EOF 4596 #line 4 597"configure"4732 #line 4733 "configure" 4597 4733 #include "confdefs.h" 4598 4734 /* System header to define __stub macros and hopefully few prototypes, … … 4617 4753 ; return 0; } 4618 4754 EOF 4619 if { (eval echo configure:4 620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4755 if { (eval echo configure:4756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4620 4756 rm -rf conftest* 4621 4757 eval "ac_cv_func_$ac_func=yes" … … 4646 4782 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4647 4783 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 4648 echo "configure:4 649: checking for $ac_hdr that defines DIR" >&54784 echo "configure:4785: checking for $ac_hdr that defines DIR" >&5 4649 4785 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then 4650 4786 echo $ac_n "(cached) $ac_c" 1>&6 4651 4787 else 4652 4788 cat > conftest.$ac_ext <<EOF 4653 #line 4 654"configure"4789 #line 4790 "configure" 4654 4790 #include "confdefs.h" 4655 4791 #include <sys/types.h> … … 4659 4795 ; return 0; } 4660 4796 EOF 4661 if { (eval echo configure:4 662: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4797 if { (eval echo configure:4798: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4662 4798 rm -rf conftest* 4663 4799 eval "ac_cv_header_dirent_$ac_safe=yes" … … 4684 4820 if test $ac_header_dirent = dirent.h; then 4685 4821 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 4686 echo "configure:4 687: checking for opendir in -ldir" >&54822 echo "configure:4823: checking for opendir in -ldir" >&5 4687 4823 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` 4688 4824 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4692 4828 LIBS="-ldir $LIBS" 4693 4829 cat > conftest.$ac_ext <<EOF 4694 #line 4 695"configure"4830 #line 4831 "configure" 4695 4831 #include "confdefs.h" 4696 4832 /* Override any gcc2 internal prototype to avoid an error. */ … … 4703 4839 ; return 0; } 4704 4840 EOF 4705 if { (eval echo configure:4 706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4841 if { (eval echo configure:4842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4706 4842 rm -rf conftest* 4707 4843 eval "ac_cv_lib_$ac_lib_var=yes" … … 4725 4861 else 4726 4862 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 4727 echo "configure:4 728: checking for opendir in -lx" >&54863 echo "configure:4864: checking for opendir in -lx" >&5 4728 4864 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` 4729 4865 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4733 4869 LIBS="-lx $LIBS" 4734 4870 cat > conftest.$ac_ext <<EOF 4735 #line 4 736"configure"4871 #line 4872 "configure" 4736 4872 #include "confdefs.h" 4737 4873 /* Override any gcc2 internal prototype to avoid an error. */ … … 4744 4880 ; return 0; } 4745 4881 EOF 4746 if { (eval echo configure:4 747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4882 if { (eval echo configure:4883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4747 4883 rm -rf conftest* 4748 4884 eval "ac_cv_lib_$ac_lib_var=yes" … … 4777 4913 4778 4914 echo $ac_n "checking whether strstr must be declared""... $ac_c" 1>&6 4779 echo "configure:4 780: checking whether strstr must be declared" >&54915 echo "configure:4916: checking whether strstr must be declared" >&5 4780 4916 if eval "test \"`echo '$''{'bfd_cv_decl_needed_strstr'+set}'`\" = set"; then 4781 4917 echo $ac_n "(cached) $ac_c" 1>&6 4782 4918 else 4783 4919 cat > conftest.$ac_ext <<EOF 4784 #line 4 785"configure"4920 #line 4921 "configure" 4785 4921 #include "confdefs.h" 4786 4922 … … 4803 4939 ; return 0; } 4804 4940 EOF 4805 if { (eval echo configure:4 806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4941 if { (eval echo configure:4942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4806 4942 rm -rf conftest* 4807 4943 bfd_cv_decl_needed_strstr=no … … 4824 4960 4825 4961 echo $ac_n "checking whether free must be declared""... $ac_c" 1>&6 4826 echo "configure:4 827: checking whether free must be declared" >&54962 echo "configure:4963: checking whether free must be declared" >&5 4827 4963 if eval "test \"`echo '$''{'bfd_cv_decl_needed_free'+set}'`\" = set"; then 4828 4964 echo $ac_n "(cached) $ac_c" 1>&6 4829 4965 else 4830 4966 cat > conftest.$ac_ext <<EOF 4831 #line 4 832"configure"4967 #line 4968 "configure" 4832 4968 #include "confdefs.h" 4833 4969 … … 4850 4986 ; return 0; } 4851 4987 EOF 4852 if { (eval echo configure:4 853: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4988 if { (eval echo configure:4989: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4853 4989 rm -rf conftest* 4854 4990 bfd_cv_decl_needed_free=no … … 4871 5007 4872 5008 echo $ac_n "checking whether sbrk must be declared""... $ac_c" 1>&6 4873 echo "configure: 4874: checking whether sbrk must be declared" >&55009 echo "configure:5010: checking whether sbrk must be declared" >&5 4874 5010 if eval "test \"`echo '$''{'bfd_cv_decl_needed_sbrk'+set}'`\" = set"; then 4875 5011 echo $ac_n "(cached) $ac_c" 1>&6 4876 5012 else 4877 5013 cat > conftest.$ac_ext <<EOF 4878 #line 4879"configure"5014 #line 5015 "configure" 4879 5015 #include "confdefs.h" 4880 5016 … … 4897 5033 ; return 0; } 4898 5034 EOF 4899 if { (eval echo configure: 4900: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5035 if { (eval echo configure:5036: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4900 5036 rm -rf conftest* 4901 5037 bfd_cv_decl_needed_sbrk=no … … 4918 5054 4919 5055 echo $ac_n "checking whether getenv must be declared""... $ac_c" 1>&6 4920 echo "configure: 4921: checking whether getenv must be declared" >&55056 echo "configure:5057: checking whether getenv must be declared" >&5 4921 5057 if eval "test \"`echo '$''{'bfd_cv_decl_needed_getenv'+set}'`\" = set"; then 4922 5058 echo $ac_n "(cached) $ac_c" 1>&6 4923 5059 else 4924 5060 cat > conftest.$ac_ext <<EOF 4925 #line 4926"configure"5061 #line 5062 "configure" 4926 5062 #include "confdefs.h" 4927 5063 … … 4944 5080 ; return 0; } 4945 5081 EOF 4946 if { (eval echo configure: 4947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5082 if { (eval echo configure:5083: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4947 5083 rm -rf conftest* 4948 5084 bfd_cv_decl_needed_getenv=no … … 4965 5101 4966 5102 echo $ac_n "checking whether environ must be declared""... $ac_c" 1>&6 4967 echo "configure: 4968: checking whether environ must be declared" >&55103 echo "configure:5104: checking whether environ must be declared" >&5 4968 5104 if eval "test \"`echo '$''{'bfd_cv_decl_needed_environ'+set}'`\" = set"; then 4969 5105 echo $ac_n "(cached) $ac_c" 1>&6 4970 5106 else 4971 5107 cat > conftest.$ac_ext <<EOF 4972 #line 4973"configure"5108 #line 5109 "configure" 4973 5109 #include "confdefs.h" 4974 5110 … … 4991 5127 ; return 0; } 4992 5128 EOF 4993 if { (eval echo configure: 4994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5129 if { (eval echo configure:5130: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4994 5130 rm -rf conftest* 4995 5131 bfd_cv_decl_needed_environ=no … … 5019 5155 # support string concatenation. 5020 5156 echo $ac_n "checking whether ANSI C string concatenation works""... $ac_c" 1>&6 5021 echo "configure:5 022: checking whether ANSI C string concatenation works" >&55157 echo "configure:5158: checking whether ANSI C string concatenation works" >&5 5022 5158 if eval "test \"`echo '$''{'ld_cv_string_concatenation'+set}'`\" = set"; then 5023 5159 echo $ac_n "(cached) $ac_c" 1>&6 5024 5160 else 5025 5161 cat > conftest.$ac_ext <<EOF 5026 #line 5 027"configure"5162 #line 5163 "configure" 5027 5163 #include "confdefs.h" 5028 5164 … … 5031 5167 ; return 0; } 5032 5168 EOF 5033 if { (eval echo configure:5 034: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5169 if { (eval echo configure:5170: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5034 5170 rm -rf conftest* 5035 5171 ld_cv_string_concatenation=yes … … 5132 5268 EMUL_EXTRA_OFILES=$all_emul_extras 5133 5269 fi 5270 5134 5271 5135 5272 … … 5312 5449 s%@build_vendor@%$build_vendor%g 5313 5450 s%@build_os@%$build_os%g 5314 s%@CC@%$CC%g5315 5451 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g 5316 5452 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g … … 5324 5460 s%@MAKEINFO@%$MAKEINFO%g 5325 5461 s%@SET_MAKE@%$SET_MAKE%g 5462 s%@CC@%$CC%g 5326 5463 s%@LN_S@%$LN_S%g 5327 5464 s%@OBJEXT@%$OBJEXT%g … … 5329 5466 s%@STRIP@%$STRIP%g 5330 5467 s%@LIBTOOL@%$LIBTOOL%g 5468 s%@use_sysroot@%$use_sysroot%g 5469 s%@TARGET_SYSTEM_ROOT@%$TARGET_SYSTEM_ROOT%g 5470 s%@TARGET_SYSTEM_ROOT_DEFINE@%$TARGET_SYSTEM_ROOT_DEFINE%g 5331 5471 s%@WARN_CFLAGS@%$WARN_CFLAGS%g 5332 5472 s%@CPP@%$CPP%g … … 5369 5509 s%@EMULATION_OFILES@%$EMULATION_OFILES%g 5370 5510 s%@EMUL_EXTRA_OFILES@%$EMUL_EXTRA_OFILES%g 5511 s%@LIB_PATH@%$LIB_PATH%g 5371 5512 s%@EMULATION_LIBPATH@%$EMULATION_LIBPATH%g 5372 5513 s%@TESTBFDLIB@%$TESTBFDLIB%g -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/binutils/libiberty/configure
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r618 r619 13 13 # Any additions from configure.in: 14 14 ac_help="$ac_help 15 --with-target-subdir=SUBDIR Configuring in a subdirectory" 15 --with-target-subdir=SUBDIR Configuring in a subdirectory for target" 16 ac_help="$ac_help 17 --with-build-subdir=SUBDIR Configuring in a subdirectory for build" 16 18 ac_help="$ac_help 17 19 --with-cross-host=HOST Configuring with a cross compiler" 18 20 ac_help="$ac_help 19 21 --with-newlib Configuring with newlib" 22 ac_help="$ac_help 23 --enable-maintainer-mode 24 enable make rules and dependencies not useful 25 (and sometimes confusing) to the casual installer" 26 ac_help="$ac_help 27 --enable-install-libiberty Install headers for end users" 20 28 21 29 # Initialize some variables set by options. … … 458 466 # A filename unique to this package, relative to the directory that 459 467 # configure is in, which we can look for to find out if srcdir is correct. 460 ac_unique_file= pexecute.c468 ac_unique_file=xmalloc.c 461 469 462 470 # Find the source files, if location was not specified. … … 528 536 529 537 echo $ac_n "checking for path separator""... $ac_c" 1>&6 530 echo "configure:53 1: checking for path separator" >&5538 echo "configure:539: checking for path separator" >&5 531 539 # Filter path to get backslahes into forwardslashes 532 540 case "`uname -s 2> /dev/null`" in … … 542 550 543 551 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 544 echo "configure:5 45: checking for Cygwin environment" >&5552 echo "configure:553: checking for Cygwin environment" >&5 545 553 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 546 554 echo $ac_n "(cached) $ac_c" 1>&6 547 555 else 548 556 cat > conftest.$ac_ext <<EOF 549 #line 55 0"configure"557 #line 558 "configure" 550 558 #include "confdefs.h" 551 559 … … 558 566 ; return 0; } 559 567 EOF 560 if { (eval echo configure:56 1: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then568 if { (eval echo configure:569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 561 569 rm -rf conftest* 562 570 ac_cv_cygwin=yes … … 575 583 test "$ac_cv_cygwin" = yes && CYGWIN=yes 576 584 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 577 echo "configure:5 78: checking for mingw32 environment" >&5585 echo "configure:586: checking for mingw32 environment" >&5 578 586 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 579 587 echo $ac_n "(cached) $ac_c" 1>&6 580 588 else 581 589 cat > conftest.$ac_ext <<EOF 582 #line 5 83"configure"590 #line 591 "configure" 583 591 #include "confdefs.h" 584 592 … … 587 595 ; return 0; } 588 596 EOF 589 if { (eval echo configure:59 0: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then597 if { (eval echo configure:598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 590 598 rm -rf conftest* 591 599 ac_cv_mingw32=yes … … 604 612 test "$ac_cv_mingw32" = yes && MINGW32=yes 605 613 echo $ac_n "checking for EMX/OS2 environment""... $ac_c" 1>&6 606 echo "configure:6 07: checking for EMX/OS2 environment" >&5614 echo "configure:615: checking for EMX/OS2 environment" >&5 607 615 if eval "test \"`echo '$''{'ac_cv_emxos2'+set}'`\" = set"; then 608 616 echo $ac_n "(cached) $ac_c" 1>&6 … … 610 618 : ${CC=gcc.exe} 611 619 cat > conftest.$ac_ext <<EOF 612 #line 6 13"configure"620 #line 621 "configure" 613 621 #include "confdefs.h" 614 622 … … 617 625 ; return 0; } 618 626 EOF 619 if { (eval echo configure:62 0: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then627 if { (eval echo configure:628: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 620 628 rm -rf conftest* 621 629 ac_cv_emxos2=yes … … 648 656 649 657 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 650 echo "configure:65 1: checking for executable suffix" >&5658 echo "configure:659: checking for executable suffix" >&5 651 659 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 652 660 echo $ac_n "(cached) $ac_c" 1>&6 … … 658 666 echo 'int main () { return 0; }' > conftest.$ac_ext 659 667 ac_cv_exeext= 660 if { (eval echo configure:66 1: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then668 if { (eval echo configure:669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 661 669 for file in conftest.*; do 662 670 case $file in … … 680 688 681 689 690 # This works around the fact that libtool configuration may change LD 691 # for this particular configuration, but some shells, instead of 692 # keeping the changes in LD private, export them just because LD is 693 # exported. We don't use libtool yet, but some day we might, so... 694 ORIGINAL_LD_FOR_MULTILIBS=$LD 695 682 696 # Check whether --with-target-subdir or --without-target-subdir was given. 683 697 if test "${with_target_subdir+set}" = set; then … … 686 700 fi 687 701 702 # Check whether --with-build-subdir or --without-build-subdir was given. 703 if test "${with_build_subdir+set}" = set; then 704 withval="$with_build_subdir" 705 : 706 fi 707 688 708 # Check whether --with-cross-host or --without-cross-host was given. 689 709 if test "${with_cross_host+set}" = set; then … … 700 720 701 721 if test "${srcdir}" = "."; then 702 if test -z "${with_target_subdir}"; then 722 if test -n "${with_build_subdir}"; then 723 libiberty_topdir="${srcdir}/../.." 724 with_target_subdir= 725 elif test -z "${with_target_subdir}"; then 703 726 libiberty_topdir="${srcdir}/.." 704 727 else … … 712 735 libiberty_topdir="${srcdir}/.." 713 736 fi 737 714 738 ac_aux_dir= 715 739 for ac_dir in $libiberty_topdir $srcdir/$libiberty_topdir; do … … 733 757 734 758 759 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 760 echo "configure:761: checking whether to enable maintainer-specific portions of Makefiles" >&5 761 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 762 if test "${enable_maintainer_mode+set}" = set; then 763 enableval="$enable_maintainer_mode" 764 maintainer_mode=$enableval 765 else 766 maintainer_mode=no 767 fi 768 769 770 echo "$ac_t""$maintainer_mode" 1>&6 771 772 if test "$maintainer_mode" = "yes"; then 773 MAINT='' 774 NOTMAINT='#' 775 else 776 MAINT='#' 777 NOTMAINT='' 778 fi 779 780 # Do we have a single-tree copy of texinfo? Even if we do, we can't 781 # rely on it - libiberty is built before texinfo. 782 # Extract the first word of "makeinfo", so it can be a program name with args. 783 set dummy makeinfo; ac_word=$2 784 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 785 echo "configure:786: checking for $ac_word" >&5 786 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then 787 echo $ac_n "(cached) $ac_c" 1>&6 788 else 789 if test -n "$MAKEINFO"; then 790 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test. 791 else 792 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 793 ac_dummy="$PATH" 794 for ac_dir in $ac_dummy; do 795 test -z "$ac_dir" && ac_dir=. 796 if test -f $ac_dir/$ac_word -o \ 797 -f $ac_dir/$ac_word$ac_exeext ; then 798 ac_cv_prog_MAKEINFO="makeinfo" 799 break 800 fi 801 done 802 IFS="$ac_save_ifs" 803 fi 804 fi 805 MAKEINFO="$ac_cv_prog_MAKEINFO" 806 if test -n "$MAKEINFO"; then 807 echo "$ac_t""$MAKEINFO" 1>&6 808 else 809 echo "$ac_t""no" 1>&6 810 fi 811 812 if test "x$MAKEINFO" = "x"; then 813 MAKEINFO="@echo makeinfo missing; true" 814 BUILD_INFO= 815 else 816 BUILD_INFO=info 817 case x"`$MAKEINFO --version | grep 'GNU texinfo'`" in 818 x*\ [1-3].* ) 819 MAKEINFO="@echo $MAKEINFO is too old, 4.0 or newer required; true" 820 BUILD_INFO= 821 echo "configure: warning: 822 *** Makeinfo is too old. Info documentation will not be built." 1>&2 823 ;; 824 esac 825 fi 826 827 828 829 # Extract the first word of "perl", so it can be a program name with args. 830 set dummy perl; ac_word=$2 831 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 832 echo "configure:833: checking for $ac_word" >&5 833 if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then 834 echo $ac_n "(cached) $ac_c" 1>&6 835 else 836 if test -n "$PERL"; then 837 ac_cv_prog_PERL="$PERL" # Let the user override the test. 838 else 839 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 840 ac_dummy="$PATH" 841 for ac_dir in $ac_dummy; do 842 test -z "$ac_dir" && ac_dir=. 843 if test -f $ac_dir/$ac_word -o \ 844 -f $ac_dir/$ac_word$ac_exeext ; then 845 ac_cv_prog_PERL="perl" 846 break 847 fi 848 done 849 IFS="$ac_save_ifs" 850 fi 851 fi 852 PERL="$ac_cv_prog_PERL" 853 if test -n "$PERL"; then 854 echo "$ac_t""$PERL" 1>&6 855 else 856 echo "$ac_t""no" 1>&6 857 fi 858 859 if test x"$PERL" = x""; then 860 HAVE_PERL='#' 861 else 862 HAVE_PERL='' 863 fi 864 865 866 735 867 # Make sure we can run config.sub. 736 868 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : … … 739 871 740 872 echo $ac_n "checking host system type""... $ac_c" 1>&6 741 echo "configure: 742: checking host system type" >&5873 echo "configure:874: checking host system type" >&5 742 874 743 875 host_alias=$host … … 762 894 763 895 echo $ac_n "checking build system type""... $ac_c" 1>&6 764 echo "configure: 765: checking build system type" >&5896 echo "configure:897: checking build system type" >&5 765 897 766 898 build_alias=$build … … 788 920 set dummy ${ac_tool_prefix}ar; ac_word=$2 789 921 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 790 echo "configure: 791: checking for $ac_word" >&5922 echo "configure:923: checking for $ac_word" >&5 791 923 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then 792 924 echo $ac_n "(cached) $ac_c" 1>&6 … … 821 953 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 822 954 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 823 echo "configure: 824: checking for $ac_word" >&5955 echo "configure:956: checking for $ac_word" >&5 824 956 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 825 957 echo $ac_n "(cached) $ac_c" 1>&6 … … 854 986 set dummy ranlib; ac_word=$2 855 987 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 856 echo "configure: 857: checking for $ac_word" >&5988 echo "configure:989: checking for $ac_word" >&5 857 989 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 858 990 echo $ac_n "(cached) $ac_c" 1>&6 … … 892 1024 set dummy gcc; ac_word=$2 893 1025 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 894 echo "configure: 895: checking for $ac_word" >&51026 echo "configure:1027: checking for $ac_word" >&5 895 1027 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 896 1028 echo $ac_n "(cached) $ac_c" 1>&6 … … 923 1055 set dummy cc; ac_word=$2 924 1056 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 925 echo "configure: 926: checking for $ac_word" >&51057 echo "configure:1058: checking for $ac_word" >&5 926 1058 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 927 1059 echo $ac_n "(cached) $ac_c" 1>&6 … … 974 1106 975 1107 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 976 echo "configure: 977: checking whether we are using GNU C" >&51108 echo "configure:1109: checking whether we are using GNU C" >&5 977 1109 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 978 1110 echo $ac_n "(cached) $ac_c" 1>&6 … … 983 1115 #endif 984 1116 EOF 985 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure: 986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1117 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 986 1118 ac_cv_prog_gcc=yes 987 1119 else … … 999 1131 CFLAGS= 1000 1132 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1001 echo "configure:1 002: checking whether ${CC-cc} accepts -g" >&51133 echo "configure:1134: checking whether ${CC-cc} accepts -g" >&5 1002 1134 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1003 1135 echo $ac_n "(cached) $ac_c" 1>&6 … … 1029 1161 1030 1162 1163 if test "x$CC" != xcc; then 1164 echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6 1165 echo "configure:1166: checking whether $CC and cc understand -c and -o together" >&5 1166 else 1167 echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6 1168 echo "configure:1169: checking whether cc understands -c and -o together" >&5 1169 fi 1170 set dummy $CC; ac_cc="`echo $2 | 1171 sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`" 1172 if eval "test \"`echo '$''{'ac_cv_prog_cc_${ac_cc}_c_o'+set}'`\" = set"; then 1173 echo $ac_n "(cached) $ac_c" 1>&6 1174 else 1175 echo 'foo(){}' > conftest.c 1176 # Make sure it works both with $CC and with simple cc. 1177 # We do the test twice because some compilers refuse to overwrite an 1178 # existing .o file with -o, though they will create one. 1179 ac_try='${CC-cc} -c conftest.c -o conftest.o 1>&5' 1180 if { (eval echo configure:1181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } && 1181 test -f conftest.o && { (eval echo configure:1182: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; 1182 then 1183 eval ac_cv_prog_cc_${ac_cc}_c_o=yes 1184 if test "x$CC" != xcc; then 1185 # Test first that cc exists at all. 1186 if { ac_try='cc -c conftest.c 1>&5'; { (eval echo configure:1187: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then 1187 ac_try='cc -c conftest.c -o conftest.o 1>&5' 1188 if { (eval echo configure:1189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } && 1189 test -f conftest.o && { (eval echo configure:1190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; 1190 then 1191 # cc works too. 1192 : 1193 else 1194 # cc exists but doesn't like -o. 1195 eval ac_cv_prog_cc_${ac_cc}_c_o=no 1196 fi 1197 fi 1198 fi 1199 else 1200 eval ac_cv_prog_cc_${ac_cc}_c_o=no 1201 fi 1202 rm -f conftest* 1203 1204 fi 1205 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then 1206 echo "$ac_t""yes" 1>&6 1207 else 1208 echo "$ac_t""no" 1>&6 1209 cat >> confdefs.h <<\EOF 1210 #define NO_MINUS_C_MINUS_O 1 1211 EOF 1212 1213 fi 1214 1215 # autoconf is lame and doesn't give us any substitution variable for this. 1216 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = no"; then 1217 NO_MINUS_C_MINUS_O=yes 1218 else 1219 OUTPUT_OPTION='-o $@' 1220 fi 1221 1222 1223 1031 1224 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 1032 echo "configure:1 033: checking for POSIXized ISC" >&51225 echo "configure:1226: checking for POSIXized ISC" >&5 1033 1226 if test -d /etc/conf/kconfig.d && 1034 1227 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 … … 1051 1244 1052 1245 echo $ac_n "checking for working const""... $ac_c" 1>&6 1053 echo "configure:1 054: checking for working const" >&51246 echo "configure:1247: checking for working const" >&5 1054 1247 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 1055 1248 echo $ac_n "(cached) $ac_c" 1>&6 1056 1249 else 1057 1250 cat > conftest.$ac_ext <<EOF 1058 #line 1 059"configure"1251 #line 1252 "configure" 1059 1252 #include "confdefs.h" 1060 1253 … … 1105 1298 ; return 0; } 1106 1299 EOF 1107 if { (eval echo configure:1 108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1300 if { (eval echo configure:1301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1108 1301 rm -rf conftest* 1109 1302 ac_cv_c_const=yes … … 1126 1319 1127 1320 echo $ac_n "checking for inline""... $ac_c" 1>&6 1128 echo "configure:1 129: checking for inline" >&51321 echo "configure:1322: checking for inline" >&5 1129 1322 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 1130 1323 echo $ac_n "(cached) $ac_c" 1>&6 … … 1133 1326 for ac_kw in inline __inline__ __inline; do 1134 1327 cat > conftest.$ac_ext <<EOF 1135 #line 1 136"configure"1328 #line 1329 "configure" 1136 1329 #include "confdefs.h" 1137 1330 … … 1140 1333 ; return 0; } 1141 1334 EOF 1142 if { (eval echo configure:1 143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1335 if { (eval echo configure:1336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1143 1336 rm -rf conftest* 1144 1337 ac_cv_c_inline=$ac_kw; break … … 1183 1376 # ./install, which can be erroneously created by make from ./install.sh. 1184 1377 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 1185 echo "configure:1 186: checking for a BSD compatible install" >&51378 echo "configure:1379: checking for a BSD compatible install" >&5 1186 1379 if test -z "$INSTALL"; then 1187 1380 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 1246 1439 # something. 1247 1440 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 1248 echo "configure:1 249: checking how to run the C preprocessor" >&51441 echo "configure:1442: checking how to run the C preprocessor" >&5 1249 1442 # On Suns, sometimes $CPP names a directory. 1250 1443 if test -n "$CPP" && test -d "$CPP"; then … … 1262 1455 cat > conftest.$ac_ext <<EOF 1263 1456 #include <sys/types.h> 1264 #line 1 265"configure"1457 #line 1458 "configure" 1265 1458 #include "confdefs.h" 1266 1459 #include <assert.h> … … 1268 1461 EOF 1269 1462 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1270 { (eval echo configure:1 271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1463 { (eval echo configure:1464: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1271 1464 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1272 1465 if test -z "$ac_err"; then … … 1280 1473 cat > conftest.$ac_ext <<EOF 1281 1474 #include <sys/types.h> 1282 #line 1 283"configure"1475 #line 1476 "configure" 1283 1476 #include "confdefs.h" 1284 1477 #include <assert.h> … … 1286 1479 EOF 1287 1480 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1288 { (eval echo configure:1 289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1481 { (eval echo configure:1482: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1289 1482 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1290 1483 if test -z "$ac_err"; then … … 1298 1491 cat > conftest.$ac_ext <<EOF 1299 1492 #include <sys/types.h> 1300 #line 1 301"configure"1493 #line 1494 "configure" 1301 1494 #include "confdefs.h" 1302 1495 #include <assert.h> … … 1304 1497 EOF 1305 1498 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1306 { (eval echo configure:1 307: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1499 { (eval echo configure:1500: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1307 1500 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1308 1501 if test -z "$ac_err"; then … … 1328 1521 echo "$ac_t""$CPP" 1>&6 1329 1522 1330 for ac_hdr in sys/file.h sys/param.h limits.h stdlib.h string.h unistd.h strings.h sys/time.h time.h sys/resource.h sys/stat.h sys/mman.h fcntl.h 1523 for ac_hdr in sys/file.h sys/param.h limits.h stdlib.h string.h unistd.h strings.h sys/time.h time.h sys/resource.h sys/stat.h sys/mman.h fcntl.h alloca.h sys/pstat.h sys/sysmp.h sys/sysinfo.h machine/hal_sysinfo.h sys/table.h sys/sysctl.h sys/systemcfg.h 1331 1524 do 1332 1525 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1333 1526 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1334 echo "configure:1 335: checking for $ac_hdr" >&51527 echo "configure:1528: checking for $ac_hdr" >&5 1335 1528 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1336 1529 echo $ac_n "(cached) $ac_c" 1>&6 … … 1338 1531 cat > conftest.$ac_ext <<EOF 1339 1532 #include <sys/types.h> 1340 #line 1 341"configure"1533 #line 1534 "configure" 1341 1534 #include "confdefs.h" 1342 1535 #include <$ac_hdr> 1343 1536 EOF 1344 1537 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1345 { (eval echo configure:1 346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1538 { (eval echo configure:1539: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1346 1539 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1347 1540 if test -z "$ac_err"; then … … 1370 1563 1371 1564 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 1372 echo "configure:1 373: checking for sys/wait.h that is POSIX.1 compatible" >&51565 echo "configure:1566: checking for sys/wait.h that is POSIX.1 compatible" >&5 1373 1566 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then 1374 1567 echo $ac_n "(cached) $ac_c" 1>&6 1375 1568 else 1376 1569 cat > conftest.$ac_ext <<EOF 1377 #line 1 378"configure"1570 #line 1571 "configure" 1378 1571 #include "confdefs.h" 1379 1572 #include <sys/types.h> … … 1391 1584 ; return 0; } 1392 1585 EOF 1393 if { (eval echo configure:1 394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1586 if { (eval echo configure:1587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1394 1587 rm -rf conftest* 1395 1588 ac_cv_header_sys_wait_h=yes … … 1412 1605 1413 1606 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 1414 echo "configure:1 415: checking whether time.h and sys/time.h may both be included" >&51607 echo "configure:1608: checking whether time.h and sys/time.h may both be included" >&5 1415 1608 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 1416 1609 echo $ac_n "(cached) $ac_c" 1>&6 1417 1610 else 1418 1611 cat > conftest.$ac_ext <<EOF 1419 #line 1 420"configure"1612 #line 1613 "configure" 1420 1613 #include "confdefs.h" 1421 1614 #include <sys/types.h> … … 1426 1619 ; return 0; } 1427 1620 EOF 1428 if { (eval echo configure:1 429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1621 if { (eval echo configure:1622: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1429 1622 rm -rf conftest* 1430 1623 ac_cv_header_time=yes … … 1448 1641 1449 1642 echo $ac_n "checking whether errno must be declared""... $ac_c" 1>&6 1450 echo "configure:1 451: checking whether errno must be declared" >&51643 echo "configure:1644: checking whether errno must be declared" >&5 1451 1644 if eval "test \"`echo '$''{'libiberty_cv_declare_errno'+set}'`\" = set"; then 1452 1645 echo $ac_n "(cached) $ac_c" 1>&6 1453 1646 else 1454 1647 cat > conftest.$ac_ext <<EOF 1455 #line 1 456"configure"1648 #line 1649 "configure" 1456 1649 #include "confdefs.h" 1457 1650 #include <errno.h> … … 1460 1653 ; return 0; } 1461 1654 EOF 1462 if { (eval echo configure:1 463: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1655 if { (eval echo configure:1656: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1463 1656 rm -rf conftest* 1464 1657 libiberty_cv_declare_errno=no … … 1476 1669 then cat >> confdefs.h <<\EOF 1477 1670 #define NEED_DECLARATION_ERRNO 1 1671 EOF 1672 1673 fi 1674 1675 1676 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 1677 echo "configure:1678: checking for ANSI C header files" >&5 1678 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 1679 echo $ac_n "(cached) $ac_c" 1>&6 1680 else 1681 cat > conftest.$ac_ext <<EOF 1682 #include <sys/types.h> 1683 #line 1684 "configure" 1684 #include "confdefs.h" 1685 #include <stdlib.h> 1686 #include <stdarg.h> 1687 #include <string.h> 1688 #include <float.h> 1689 EOF 1690 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1691 { (eval echo configure:1692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1692 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1693 if test -z "$ac_err"; then 1694 rm -rf conftest* 1695 ac_cv_header_stdc=yes 1696 else 1697 echo "$ac_err" >&5 1698 echo "configure: failed program was:" >&5 1699 cat conftest.$ac_ext >&5 1700 rm -rf conftest* 1701 ac_cv_header_stdc=no 1702 fi 1703 rm -f conftest* 1704 1705 if test $ac_cv_header_stdc = yes; then 1706 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1707 cat > conftest.$ac_ext <<EOF 1708 #line 1709 "configure" 1709 #include "confdefs.h" 1710 #include <string.h> 1711 EOF 1712 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1713 egrep "memchr" >/dev/null 2>&1; then 1714 : 1715 else 1716 rm -rf conftest* 1717 ac_cv_header_stdc=no 1718 fi 1719 rm -f conftest* 1720 1721 fi 1722 1723 if test $ac_cv_header_stdc = yes; then 1724 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1725 cat > conftest.$ac_ext <<EOF 1726 #line 1727 "configure" 1727 #include "confdefs.h" 1728 #include <stdlib.h> 1729 EOF 1730 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1731 egrep "free" >/dev/null 2>&1; then 1732 : 1733 else 1734 rm -rf conftest* 1735 ac_cv_header_stdc=no 1736 fi 1737 rm -f conftest* 1738 1739 fi 1740 1741 if test $ac_cv_header_stdc = yes; then 1742 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 1743 if test "$cross_compiling" = yes; then 1744 : 1745 else 1746 cat > conftest.$ac_ext <<EOF 1747 #line 1748 "configure" 1748 #include "confdefs.h" 1749 #include <ctype.h> 1750 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 1751 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 1752 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 1753 int main () { int i; for (i = 0; i < 256; i++) 1754 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); 1755 exit (0); } 1756 1757 EOF 1758 if { (eval echo configure:1759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1759 then 1760 : 1761 else 1762 echo "configure: failed program was:" >&5 1763 cat conftest.$ac_ext >&5 1764 rm -fr conftest* 1765 ac_cv_header_stdc=no 1766 fi 1767 rm -fr conftest* 1768 fi 1769 1770 fi 1771 fi 1772 1773 echo "$ac_t""$ac_cv_header_stdc" 1>&6 1774 if test $ac_cv_header_stdc = yes; then 1775 cat >> confdefs.h <<\EOF 1776 #define STDC_HEADERS 1 1777 EOF 1778 1779 fi 1780 1781 echo $ac_n "checking for uintptr_t""... $ac_c" 1>&6 1782 echo "configure:1783: checking for uintptr_t" >&5 1783 if eval "test \"`echo '$''{'ac_cv_type_uintptr_t'+set}'`\" = set"; then 1784 echo $ac_n "(cached) $ac_c" 1>&6 1785 else 1786 cat > conftest.$ac_ext <<EOF 1787 #line 1788 "configure" 1788 #include "confdefs.h" 1789 #include <sys/types.h> 1790 #if STDC_HEADERS 1791 #include <stdlib.h> 1792 #include <stddef.h> 1793 #endif 1794 EOF 1795 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1796 egrep "(^|[^a-zA-Z_0-9])uintptr_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then 1797 rm -rf conftest* 1798 ac_cv_type_uintptr_t=yes 1799 else 1800 rm -rf conftest* 1801 ac_cv_type_uintptr_t=no 1802 fi 1803 rm -f conftest* 1804 1805 fi 1806 echo "$ac_t""$ac_cv_type_uintptr_t" 1>&6 1807 if test $ac_cv_type_uintptr_t = no; then 1808 cat >> confdefs.h <<\EOF 1809 #define uintptr_t unsigned long 1810 EOF 1811 1812 fi 1813 1814 # Given the above check, we always have uintptr_t or a fallback 1815 # definition. So define HAVE_UINTPTR_T in case any imported code 1816 # relies on it. 1817 cat >> confdefs.h <<\EOF 1818 #define HAVE_UINTPTR_T 1 1819 EOF 1820 1821 1822 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 1823 echo "configure:1824: checking for pid_t" >&5 1824 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then 1825 echo $ac_n "(cached) $ac_c" 1>&6 1826 else 1827 cat > conftest.$ac_ext <<EOF 1828 #line 1829 "configure" 1829 #include "confdefs.h" 1830 #include <sys/types.h> 1831 #if STDC_HEADERS 1832 #include <stdlib.h> 1833 #include <stddef.h> 1834 #endif 1835 EOF 1836 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1837 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then 1838 rm -rf conftest* 1839 ac_cv_type_pid_t=yes 1840 else 1841 rm -rf conftest* 1842 ac_cv_type_pid_t=no 1843 fi 1844 rm -f conftest* 1845 1846 fi 1847 echo "$ac_t""$ac_cv_type_pid_t" 1>&6 1848 if test $ac_cv_type_pid_t = no; then 1849 cat >> confdefs.h <<\EOF 1850 #define pid_t int 1478 1851 EOF 1479 1852 … … 1493 1866 funcs="$funcs calloc" 1494 1867 funcs="$funcs clock" 1868 funcs="$funcs ffs" 1495 1869 funcs="$funcs getcwd" 1496 1870 funcs="$funcs getpagesize" … … 1501 1875 funcs="$funcs memcpy" 1502 1876 funcs="$funcs memmove" 1877 funcs="$funcs mempcpy" 1503 1878 funcs="$funcs memset" 1504 1879 funcs="$funcs mkstemps" … … 1508 1883 funcs="$funcs rindex" 1509 1884 funcs="$funcs setenv" 1885 funcs="$funcs snprintf" 1510 1886 funcs="$funcs sigsetmask" 1887 funcs="$funcs stpcpy" 1888 funcs="$funcs stpncpy" 1511 1889 funcs="$funcs strcasecmp" 1512 1890 funcs="$funcs strchr" … … 1522 1900 funcs="$funcs vfprintf" 1523 1901 funcs="$funcs vprintf" 1902 funcs="$funcs vsnprintf" 1524 1903 funcs="$funcs vsprintf" 1525 1904 funcs="$funcs waitpid" … … 1527 1906 # Also in the old function.def file: alloca, vfork, getopt. 1528 1907 1529 vars="sys_errlist sys_nerr sys_siglist "1908 vars="sys_errlist sys_nerr sys_siglist _system_configuration" 1530 1909 1531 1910 checkfuncs="getrusage on_exit psignal strerror strsignal sysconf times sbrk gettimeofday" 1911 checkfuncs="$checkfuncs realpath canonicalize_file_name pstat_getstatic pstat_getdynamic sysmp" 1912 checkfuncs="$checkfuncs getsysinfo table sysctl" 1532 1913 1533 1914 # These are neither executed nor required, but they help keep … … 1537 1918 do 1538 1919 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1539 echo "configure:1 540: checking for $ac_func" >&51920 echo "configure:1921: checking for $ac_func" >&5 1540 1921 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1541 1922 echo $ac_n "(cached) $ac_c" 1>&6 1542 1923 else 1543 1924 cat > conftest.$ac_ext <<EOF 1544 #line 1 545"configure"1925 #line 1926 "configure" 1545 1926 #include "confdefs.h" 1546 1927 /* System header to define __stub macros and hopefully few prototypes, … … 1565 1946 ; return 0; } 1566 1947 EOF 1567 if { (eval echo configure:1 568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1948 if { (eval echo configure:1949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1568 1949 rm -rf conftest* 1569 1950 eval "ac_cv_func_$ac_func=yes" … … 1592 1973 do 1593 1974 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1594 echo "configure:1 595: checking for $ac_func" >&51975 echo "configure:1976: checking for $ac_func" >&5 1595 1976 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1596 1977 echo $ac_n "(cached) $ac_c" 1>&6 1597 1978 else 1598 1979 cat > conftest.$ac_ext <<EOF 1599 #line 1 600"configure"1980 #line 1981 "configure" 1600 1981 #include "confdefs.h" 1601 1982 /* System header to define __stub macros and hopefully few prototypes, … … 1620 2001 ; return 0; } 1621 2002 EOF 1622 if { (eval echo configure: 1623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2003 if { (eval echo configure:2004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1623 2004 rm -rf conftest* 1624 2005 eval "ac_cv_func_$ac_func=yes" … … 1644 2025 done 1645 2026 1646 for ac_func in memmove mem set putenv random rename rindex sigsetmask2027 for ac_func in memmove mempcpy memset putenv random rename rindex sigsetmask 1647 2028 do 1648 2029 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1649 echo "configure: 1650: checking for $ac_func" >&52030 echo "configure:2031: checking for $ac_func" >&5 1650 2031 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1651 2032 echo $ac_n "(cached) $ac_c" 1>&6 1652 2033 else 1653 2034 cat > conftest.$ac_ext <<EOF 1654 #line 1655"configure"2035 #line 2036 "configure" 1655 2036 #include "confdefs.h" 1656 2037 /* System header to define __stub macros and hopefully few prototypes, … … 1675 2056 ; return 0; } 1676 2057 EOF 1677 if { (eval echo configure: 1678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2058 if { (eval echo configure:2059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1678 2059 rm -rf conftest* 1679 2060 eval "ac_cv_func_$ac_func=yes" … … 1699 2080 done 1700 2081 1701 for ac_func in strcasecmp setenv st rchr strdup strncasecmp strrchr strstr2082 for ac_func in strcasecmp setenv stpcpy stpncpy strchr strdup strncasecmp strrchr strstr 1702 2083 do 1703 2084 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1704 echo "configure: 1705: checking for $ac_func" >&52085 echo "configure:2086: checking for $ac_func" >&5 1705 2086 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1706 2087 echo $ac_n "(cached) $ac_c" 1>&6 1707 2088 else 1708 2089 cat > conftest.$ac_ext <<EOF 1709 #line 1710"configure"2090 #line 2091 "configure" 1710 2091 #include "confdefs.h" 1711 2092 /* System header to define __stub macros and hopefully few prototypes, … … 1730 2111 ; return 0; } 1731 2112 EOF 1732 if { (eval echo configure: 1733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2113 if { (eval echo configure:2114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1733 2114 rm -rf conftest* 1734 2115 eval "ac_cv_func_$ac_func=yes" … … 1757 2138 do 1758 2139 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1759 echo "configure: 1760: checking for $ac_func" >&52140 echo "configure:2141: checking for $ac_func" >&5 1760 2141 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1761 2142 echo $ac_n "(cached) $ac_c" 1>&6 1762 2143 else 1763 2144 cat > conftest.$ac_ext <<EOF 1764 #line 1765"configure"2145 #line 2146 "configure" 1765 2146 #include "confdefs.h" 1766 2147 /* System header to define __stub macros and hopefully few prototypes, … … 1785 2166 ; return 0; } 1786 2167 EOF 1787 if { (eval echo configure: 1788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2168 if { (eval echo configure:2169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1788 2169 rm -rf conftest* 1789 2170 eval "ac_cv_func_$ac_func=yes" … … 1812 2193 do 1813 2194 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1814 echo "configure: 1815: checking for $ac_func" >&52195 echo "configure:2196: checking for $ac_func" >&5 1815 2196 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1816 2197 echo $ac_n "(cached) $ac_c" 1>&6 1817 2198 else 1818 2199 cat > conftest.$ac_ext <<EOF 1819 #line 1820"configure"2200 #line 2201 "configure" 1820 2201 #include "confdefs.h" 1821 2202 /* System header to define __stub macros and hopefully few prototypes, … … 1840 2221 ; return 0; } 1841 2222 EOF 1842 if { (eval echo configure: 1843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2223 if { (eval echo configure:2224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1843 2224 rm -rf conftest* 1844 2225 eval "ac_cv_func_$ac_func=yes" … … 1864 2245 done 1865 2246 1866 for ac_func in sysconf times sbrk gettimeofday 2247 for ac_func in sysconf times sbrk gettimeofday ffs snprintf vsnprintf 1867 2248 do 1868 2249 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1869 echo "configure: 1870: checking for $ac_func" >&52250 echo "configure:2251: checking for $ac_func" >&5 1870 2251 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1871 2252 echo $ac_n "(cached) $ac_c" 1>&6 1872 2253 else 1873 2254 cat > conftest.$ac_ext <<EOF 1874 #line 1875"configure"2255 #line 2256 "configure" 1875 2256 #include "confdefs.h" 1876 2257 /* System header to define __stub macros and hopefully few prototypes, … … 1895 2276 ; return 0; } 1896 2277 EOF 1897 if { (eval echo configure: 1898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2278 if { (eval echo configure:2279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1898 2279 rm -rf conftest* 1899 2280 eval "ac_cv_func_$ac_func=yes" … … 1919 2300 done 1920 2301 2302 for ac_func in pstat_getstatic pstat_getdynamic sysmp getsysinfo table sysctl 2303 do 2304 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2305 echo "configure:2306: checking for $ac_func" >&5 2306 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2307 echo $ac_n "(cached) $ac_c" 1>&6 2308 else 2309 cat > conftest.$ac_ext <<EOF 2310 #line 2311 "configure" 2311 #include "confdefs.h" 2312 /* System header to define __stub macros and hopefully few prototypes, 2313 which can conflict with char $ac_func(); below. */ 2314 #include <assert.h> 2315 /* Override any gcc2 internal prototype to avoid an error. */ 2316 /* We use char because int might match the return type of a gcc2 2317 builtin and then its argument prototype would still apply. */ 2318 char $ac_func(); 2319 2320 int main() { 2321 2322 /* The GNU C library defines this for functions which it implements 2323 to always fail with ENOSYS. Some functions are actually named 2324 something starting with __ and the normal name is an alias. */ 2325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 2326 choke me 2327 #else 2328 $ac_func(); 2329 #endif 2330 2331 ; return 0; } 2332 EOF 2333 if { (eval echo configure:2334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2334 rm -rf conftest* 2335 eval "ac_cv_func_$ac_func=yes" 2336 else 2337 echo "configure: failed program was:" >&5 2338 cat conftest.$ac_ext >&5 2339 rm -rf conftest* 2340 eval "ac_cv_func_$ac_func=no" 2341 fi 2342 rm -f conftest* 2343 fi 2344 2345 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then 2346 echo "$ac_t""yes" 1>&6 2347 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 2348 cat >> confdefs.h <<EOF 2349 #define $ac_tr_func 1 2350 EOF 2351 2352 else 2353 echo "$ac_t""no" 1>&6 2354 fi 2355 done 2356 2357 for ac_func in realpath canonicalize_file_name 2358 do 2359 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2360 echo "configure:2361: checking for $ac_func" >&5 2361 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2362 echo $ac_n "(cached) $ac_c" 1>&6 2363 else 2364 cat > conftest.$ac_ext <<EOF 2365 #line 2366 "configure" 2366 #include "confdefs.h" 2367 /* System header to define __stub macros and hopefully few prototypes, 2368 which can conflict with char $ac_func(); below. */ 2369 #include <assert.h> 2370 /* Override any gcc2 internal prototype to avoid an error. */ 2371 /* We use char because int might match the return type of a gcc2 2372 builtin and then its argument prototype would still apply. */ 2373 char $ac_func(); 2374 2375 int main() { 2376 2377 /* The GNU C library defines this for functions which it implements 2378 to always fail with ENOSYS. Some functions are actually named 2379 something starting with __ and the normal name is an alias. */ 2380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 2381 choke me 2382 #else 2383 $ac_func(); 2384 #endif 2385 2386 ; return 0; } 2387 EOF 2388 if { (eval echo configure:2389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2389 rm -rf conftest* 2390 eval "ac_cv_func_$ac_func=yes" 2391 else 2392 echo "configure: failed program was:" >&5 2393 cat conftest.$ac_ext >&5 2394 rm -rf conftest* 2395 eval "ac_cv_func_$ac_func=no" 2396 fi 2397 rm -f conftest* 2398 fi 2399 2400 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then 2401 echo "$ac_t""yes" 1>&6 2402 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 2403 cat >> confdefs.h <<EOF 2404 #define $ac_tr_func 1 2405 EOF 2406 2407 else 2408 echo "$ac_t""no" 1>&6 2409 fi 2410 done 2411 1921 2412 cat >> confdefs.h <<\EOF 1922 2413 #define HAVE_SYS_ERRLIST 1 … … 1931 2422 EOF 1932 2423 2424 cat >> confdefs.h <<\EOF 2425 #define HAVE__SYSTEM_CONFIGURATION 1 2426 EOF 2427 1933 2428 fi 1934 2429 1935 2430 # For each of these functions, if the host does not provide the 1936 2431 # function we want to put FN.o in LIBOBJS, and if the host does 1937 # provide the function, we want to define HAVE_FN in config.h. Also, 1938 # if the host does not provide alloca, we set ALLOCA to alloca.o 2432 # provide the function, we want to define HAVE_FN in config.h. 1939 2433 1940 2434 setobjs= 1941 2435 CHECK= 2436 target_header_dir= 1942 2437 if test -n "${with_target_subdir}"; then 1943 2438 … … 1951 2446 1952 2447 if test "x${with_newlib}" = "xyes"; then 1953 ALLOCA="alloca.o"1954 2448 LIBOBJS="asprintf.o basename.o insque.o random.o strdup.o vasprintf.o" 1955 2449 … … 1981 2475 fi 1982 2476 2477 # We may wish to install the target headers somewhere. 2478 # Check whether --enable-install-libiberty or --disable-install-libiberty was given. 2479 if test "${enable_install_libiberty+set}" = set; then 2480 enableval="$enable_install_libiberty" 2481 enable_install_libiberty=$enableval 2482 else 2483 enable_install_libiberty=no 2484 fi 2485 2486 # Option parsed, now set things appropriately. 2487 case x"$enable_install_libiberty" in 2488 xyes|x) 2489 target_header_dir=libiberty 2490 ;; 2491 xno) 2492 target_header_dir= 2493 ;; 2494 *) 2495 # This could be sanity-checked in various ways... 2496 target_header_dir="${enable_install_libiberty}" 2497 ;; 2498 esac 2499 2500 1983 2501 else 1984 2502 … … 1989 2507 1990 2508 2509 2510 2511 case "${host}" in 2512 *-*-cygwin* | *-*-mingw*) 2513 cat >> confdefs.h <<\EOF 2514 #define HAVE_SYS_ERRLIST 1 2515 EOF 2516 2517 cat >> confdefs.h <<\EOF 2518 #define HAVE_SYS_NERR 1 2519 EOF 2520 2521 ;; 2522 esac 1991 2523 1992 2524 if test -z "${setobjs}"; then … … 2076 2608 ;; 2077 2609 2610 *-*-*vms*) 2611 # Under VMS, vfork works very different than on Unix. The standard test 2612 # won't work, and it isn't easily adaptable. It makes more sense to 2613 # just force it. 2614 ac_cv_func_vfork_works=yes 2615 ;; 2616 2078 2617 esac 2079 2618 … … 2081 2620 # tests. This will only work if the compiler works. 2082 2621 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 2083 echo "configure:2 084: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&52622 echo "configure:2623: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 2084 2623 2085 2624 ac_ext=c … … 2092 2631 cat > conftest.$ac_ext << EOF 2093 2632 2094 #line 2 095"configure"2633 #line 2634 "configure" 2095 2634 #include "confdefs.h" 2096 2635 2097 2636 main(){return(0);} 2098 2637 EOF 2099 if { (eval echo configure:2 100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2638 if { (eval echo configure:2639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2100 2639 ac_cv_prog_cc_works=yes 2101 2640 # If we can't run a trivial program, we are probably using a cross compiler. … … 2123 2662 fi 2124 2663 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 2125 echo "configure:2 126: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&52664 echo "configure:2665: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 2126 2665 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 2127 2666 cross_compiling=$ac_cv_prog_cc_cross … … 2130 2669 do 2131 2670 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2132 echo "configure:2 133: checking for $ac_func" >&52671 echo "configure:2672: checking for $ac_func" >&5 2133 2672 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2134 2673 echo $ac_n "(cached) $ac_c" 1>&6 2135 2674 else 2136 2675 cat > conftest.$ac_ext <<EOF 2137 #line 2 138"configure"2676 #line 2677 "configure" 2138 2677 #include "confdefs.h" 2139 2678 /* System header to define __stub macros and hopefully few prototypes, … … 2158 2697 ; return 0; } 2159 2698 EOF 2160 if { (eval echo configure:2 161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2699 if { (eval echo configure:2700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2161 2700 rm -rf conftest* 2162 2701 eval "ac_cv_func_$ac_func=yes" … … 2184 2723 2185 2724 2186 2187 case "${host}" in 2188 *-*-interix) 2189 # On Interix, it wrongly concludes that the MSVC compiler supports alloca. 2190 # (MSVC does on Win32, not on Interix.) 2191 # This should be temporary. 2192 2193 ac_cv_header_alloca_h=no 2194 ac_cv_func_alloca_works=no 2195 ALLOCA=alloca.o 2196 cat >> confdefs.h <<\EOF 2197 #define C_ALLOCA 1 2198 EOF 2199 cat >> confdefs.h <<EOF 2200 #define STACK_DIRECTION -1 2201 EOF 2202 ;; 2203 *) 2204 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 2205 # for constant arguments. Useless! 2206 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 2207 echo "configure:2208: checking for working alloca.h" >&5 2208 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 2725 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 2726 echo "configure:2727: checking whether alloca needs Cray hooks" >&5 2727 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 2209 2728 echo $ac_n "(cached) $ac_c" 1>&6 2210 2729 else 2211 2730 cat > conftest.$ac_ext <<EOF 2212 #line 2213 "configure" 2213 #include "confdefs.h" 2214 #include <alloca.h> 2215 int main() { 2216 char *p = alloca(2 * sizeof(int)); 2217 ; return 0; } 2218 EOF 2219 if { (eval echo configure:2220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2220 rm -rf conftest* 2221 ac_cv_header_alloca_h=yes 2222 else 2223 echo "configure: failed program was:" >&5 2224 cat conftest.$ac_ext >&5 2225 rm -rf conftest* 2226 ac_cv_header_alloca_h=no 2227 fi 2228 rm -f conftest* 2229 fi 2230 2231 echo "$ac_t""$ac_cv_header_alloca_h" 1>&6 2232 if test $ac_cv_header_alloca_h = yes; then 2233 cat >> confdefs.h <<\EOF 2234 #define HAVE_ALLOCA_H 1 2235 EOF 2236 2237 fi 2238 2239 echo $ac_n "checking for alloca""... $ac_c" 1>&6 2240 echo "configure:2241: checking for alloca" >&5 2241 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 2242 echo $ac_n "(cached) $ac_c" 1>&6 2243 else 2244 cat > conftest.$ac_ext <<EOF 2245 #line 2246 "configure" 2246 #include "confdefs.h" 2247 2248 #ifdef __GNUC__ 2249 # define alloca __builtin_alloca 2250 #else 2251 # ifdef _MSC_VER 2252 # include <malloc.h> 2253 # define alloca _alloca 2254 # else 2255 # if HAVE_ALLOCA_H 2256 # include <alloca.h> 2257 # else 2258 # ifdef _AIX 2259 #pragma alloca 2260 # else 2261 # ifndef alloca /* predefined by HP cc +Olibcalls */ 2262 char *alloca (); 2263 # endif 2264 # endif 2265 # endif 2266 # endif 2267 #endif 2268 2269 int main() { 2270 char *p = (char *) alloca(1); 2271 ; return 0; } 2272 EOF 2273 if { (eval echo configure:2274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2274 rm -rf conftest* 2275 ac_cv_func_alloca_works=yes 2276 else 2277 echo "configure: failed program was:" >&5 2278 cat conftest.$ac_ext >&5 2279 rm -rf conftest* 2280 ac_cv_func_alloca_works=no 2281 fi 2282 rm -f conftest* 2283 fi 2284 2285 echo "$ac_t""$ac_cv_func_alloca_works" 1>&6 2286 if test $ac_cv_func_alloca_works = yes; then 2287 cat >> confdefs.h <<\EOF 2288 #define HAVE_ALLOCA 1 2289 EOF 2290 2291 fi 2292 2293 if test $ac_cv_func_alloca_works = no; then 2294 # The SVR3 libPW and SVR4 libucb both contain incompatible functions 2295 # that cause trouble. Some versions do not even contain alloca or 2296 # contain a buggy version. If you still want to use their alloca, 2297 # use ar to extract alloca.o from them instead of compiling alloca.c. 2298 ALLOCA=alloca.${ac_objext} 2299 cat >> confdefs.h <<\EOF 2300 #define C_ALLOCA 1 2301 EOF 2302 2303 2304 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 2305 echo "configure:2306: checking whether alloca needs Cray hooks" >&5 2306 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 2307 echo $ac_n "(cached) $ac_c" 1>&6 2308 else 2309 cat > conftest.$ac_ext <<EOF 2310 #line 2311 "configure" 2731 #line 2732 "configure" 2311 2732 #include "confdefs.h" 2312 2733 #if defined(CRAY) && ! defined(CRAY2) … … 2331 2752 echo "$ac_t""$ac_cv_os_cray" 1>&6 2332 2753 if test $ac_cv_os_cray = yes; then 2333 for ac_func in _getb67 GETB67 getb67; do2334 echo $ac_n "checking for $ac_func""... $ac_c" 1>&62335 echo "configure:2 336: checking for $ac_func" >&52754 for ac_func in _getb67 GETB67 getb67; do 2755 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2756 echo "configure:2757: checking for $ac_func" >&5 2336 2757 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2337 2758 echo $ac_n "(cached) $ac_c" 1>&6 2338 2759 else 2339 2760 cat > conftest.$ac_ext <<EOF 2340 #line 2 341"configure"2761 #line 2762 "configure" 2341 2762 #include "confdefs.h" 2342 2763 /* System header to define __stub macros and hopefully few prototypes, … … 2361 2782 ; return 0; } 2362 2783 EOF 2363 if { (eval echo configure:2 364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2784 if { (eval echo configure:2785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2364 2785 rm -rf conftest* 2365 2786 eval "ac_cv_func_$ac_func=yes" … … 2378 2799 #define CRAY_STACKSEG_END $ac_func 2379 2800 EOF 2380 2381 2801 break 2382 2802 else … … 2384 2804 fi 2385 2805 2386 done2806 done 2387 2807 fi 2388 2808 2389 2809 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 2390 echo "configure:2 391: checking stack direction for C alloca" >&52810 echo "configure:2811: checking stack direction for C alloca" >&5 2391 2811 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 2392 2812 echo $ac_n "(cached) $ac_c" 1>&6 … … 2396 2816 else 2397 2817 cat > conftest.$ac_ext <<EOF 2398 #line 2 399 "configure"2818 #line 2819 "configure" 2399 2819 #include "confdefs.h" 2400 2820 find_stack_direction () … … 2415 2835 } 2416 2836 EOF 2417 if { (eval echo configure:2 418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2837 if { (eval echo configure:2838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2418 2838 then 2419 2839 ac_cv_c_stack_direction=1 … … 2434 2854 EOF 2435 2855 2436 fi 2437 2438 ;; 2439 esac 2440 2441 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2442 echo "configure:2443: checking for ANSI C header files" >&5 2443 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2856 2857 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 2858 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 2859 echo "configure:2860: checking for vfork.h" >&5 2860 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2444 2861 echo $ac_n "(cached) $ac_c" 1>&6 2445 2862 else 2446 2863 cat > conftest.$ac_ext <<EOF 2447 2864 #include <sys/types.h> 2448 #line 2449 "configure" 2449 #include "confdefs.h" 2450 #include <stdlib.h> 2451 #include <stdarg.h> 2452 #include <string.h> 2453 #include <float.h> 2865 #line 2866 "configure" 2866 #include "confdefs.h" 2867 #include <vfork.h> 2454 2868 EOF 2455 2869 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2456 { (eval echo configure:2457: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2457 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2458 if test -z "$ac_err"; then 2459 rm -rf conftest* 2460 ac_cv_header_stdc=yes 2461 else 2462 echo "$ac_err" >&5 2463 echo "configure: failed program was:" >&5 2464 cat conftest.$ac_ext >&5 2465 rm -rf conftest* 2466 ac_cv_header_stdc=no 2467 fi 2468 rm -f conftest* 2469 2470 if test $ac_cv_header_stdc = yes; then 2471 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2472 cat > conftest.$ac_ext <<EOF 2473 #line 2474 "configure" 2474 #include "confdefs.h" 2475 #include <string.h> 2476 EOF 2477 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2478 egrep "memchr" >/dev/null 2>&1; then 2479 : 2480 else 2481 rm -rf conftest* 2482 ac_cv_header_stdc=no 2483 fi 2484 rm -f conftest* 2485 2486 fi 2487 2488 if test $ac_cv_header_stdc = yes; then 2489 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2490 cat > conftest.$ac_ext <<EOF 2491 #line 2492 "configure" 2492 #include "confdefs.h" 2493 #include <stdlib.h> 2494 EOF 2495 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2496 egrep "free" >/dev/null 2>&1; then 2497 : 2498 else 2499 rm -rf conftest* 2500 ac_cv_header_stdc=no 2501 fi 2502 rm -f conftest* 2503 2504 fi 2505 2506 if test $ac_cv_header_stdc = yes; then 2507 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 2508 if test "$cross_compiling" = yes; then 2509 : 2510 else 2511 cat > conftest.$ac_ext <<EOF 2512 #line 2513 "configure" 2513 #include "confdefs.h" 2514 #include <ctype.h> 2515 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 2516 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 2517 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 2518 int main () { int i; for (i = 0; i < 256; i++) 2519 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); 2520 exit (0); } 2521 2522 EOF 2523 if { (eval echo configure:2524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2524 then 2525 : 2526 else 2527 echo "configure: failed program was:" >&5 2528 cat conftest.$ac_ext >&5 2529 rm -fr conftest* 2530 ac_cv_header_stdc=no 2531 fi 2532 rm -fr conftest* 2533 fi 2534 2535 fi 2536 fi 2537 2538 echo "$ac_t""$ac_cv_header_stdc" 1>&6 2539 if test $ac_cv_header_stdc = yes; then 2540 cat >> confdefs.h <<\EOF 2541 #define STDC_HEADERS 1 2542 EOF 2543 2544 fi 2545 2546 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 2547 echo "configure:2548: checking for pid_t" >&5 2548 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then 2549 echo $ac_n "(cached) $ac_c" 1>&6 2550 else 2551 cat > conftest.$ac_ext <<EOF 2552 #line 2553 "configure" 2553 #include "confdefs.h" 2554 #include <sys/types.h> 2555 #if STDC_HEADERS 2556 #include <stdlib.h> 2557 #include <stddef.h> 2558 #endif 2559 EOF 2560 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2561 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then 2562 rm -rf conftest* 2563 ac_cv_type_pid_t=yes 2564 else 2565 rm -rf conftest* 2566 ac_cv_type_pid_t=no 2567 fi 2568 rm -f conftest* 2569 2570 fi 2571 echo "$ac_t""$ac_cv_type_pid_t" 1>&6 2572 if test $ac_cv_type_pid_t = no; then 2573 cat >> confdefs.h <<\EOF 2574 #define pid_t int 2575 EOF 2576 2577 fi 2578 2579 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 2580 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 2581 echo "configure:2582: checking for vfork.h" >&5 2582 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2583 echo $ac_n "(cached) $ac_c" 1>&6 2584 else 2585 cat > conftest.$ac_ext <<EOF 2586 #include <sys/types.h> 2587 #line 2588 "configure" 2588 #include "confdefs.h" 2589 #include <vfork.h> 2590 EOF 2591 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2592 { (eval echo configure:2593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2870 { (eval echo configure:2871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2593 2871 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2594 2872 if test -z "$ac_err"; then … … 2615 2893 2616 2894 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 2617 echo "configure:2 618: checking for working vfork" >&52895 echo "configure:2896: checking for working vfork" >&5 2618 2896 if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then 2619 2897 echo $ac_n "(cached) $ac_c" 1>&6 … … 2621 2899 if test "$cross_compiling" = yes; then 2622 2900 echo $ac_n "checking for vfork""... $ac_c" 1>&6 2623 echo "configure:2 624: checking for vfork" >&52901 echo "configure:2902: checking for vfork" >&5 2624 2902 if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then 2625 2903 echo $ac_n "(cached) $ac_c" 1>&6 2626 2904 else 2627 2905 cat > conftest.$ac_ext <<EOF 2628 #line 2 629"configure"2906 #line 2907 "configure" 2629 2907 #include "confdefs.h" 2630 2908 /* System header to define __stub macros and hopefully few prototypes, … … 2649 2927 ; return 0; } 2650 2928 EOF 2651 if { (eval echo configure:2 652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2929 if { (eval echo configure:2930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2652 2930 rm -rf conftest* 2653 2931 eval "ac_cv_func_vfork=yes" … … 2671 2949 else 2672 2950 cat > conftest.$ac_ext <<EOF 2673 #line 2 674"configure"2951 #line 2952 "configure" 2674 2952 #include "confdefs.h" 2675 2953 /* Thanks to Paul Eggert for this test. */ … … 2766 3044 } 2767 3045 EOF 2768 if { (eval echo configure: 2769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3046 if { (eval echo configure:3047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2769 3047 then 2770 3048 ac_cv_func_vfork_works=yes … … 2791 3069 LIBOBJS="$LIBOBJS vfork.o" 2792 3070 fi 2793 for v in $vars; do 2794 echo $ac_n "checking for $v""... $ac_c" 1>&6 2795 echo "configure:2796: checking for $v" >&5 2796 if eval "test \"`echo '$''{'libiberty_cv_var_$v'+set}'`\" = set"; then 2797 echo $ac_n "(cached) $ac_c" 1>&6 2798 else 2799 cat > conftest.$ac_ext <<EOF 2800 #line 2801 "configure" 2801 #include "confdefs.h" 2802 int *p; 2803 int main() { 2804 extern int $v; p = &$v; 2805 ; return 0; } 2806 EOF 2807 if { (eval echo configure:2808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2808 rm -rf conftest* 2809 eval "libiberty_cv_var_$v=yes" 2810 else 2811 echo "configure: failed program was:" >&5 2812 cat conftest.$ac_ext >&5 2813 rm -rf conftest* 2814 eval "libiberty_cv_var_$v=no" 2815 fi 2816 rm -f conftest* 2817 fi 2818 2819 if eval "test \"`echo '$libiberty_cv_var_'$v`\" = yes"; then 2820 echo "$ac_t""yes" 1>&6 2821 n=HAVE_`echo $v | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 2822 cat >> confdefs.h <<EOF 2823 #define $n 1 2824 EOF 2825 2826 else 2827 echo "$ac_t""no" 1>&6 2828 fi 2829 done 2830 for ac_func in $checkfuncs 3071 # We only need _doprnt if we might use it to implement v*printf. 3072 if test $ac_cv_func_vprintf != yes \ 3073 || test $ac_cv_func_vfprintf != yes \ 3074 || test $ac_cv_func_vsprintf != yes; then 3075 for ac_func in _doprnt 2831 3076 do 2832 3077 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2833 echo "configure: 2834: checking for $ac_func" >&53078 echo "configure:3079: checking for $ac_func" >&5 2834 3079 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2835 3080 echo $ac_n "(cached) $ac_c" 1>&6 2836 3081 else 2837 3082 cat > conftest.$ac_ext <<EOF 2838 #line 2839"configure"3083 #line 3084 "configure" 2839 3084 #include "confdefs.h" 2840 3085 /* System header to define __stub macros and hopefully few prototypes, … … 2859 3104 ; return 0; } 2860 3105 EOF 2861 if { (eval echo configure: 2862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3106 if { (eval echo configure:3107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2862 3107 rm -rf conftest* 2863 3108 eval "ac_cv_func_$ac_func=yes" … … 2880 3125 else 2881 3126 echo "$ac_t""no" 1>&6 3127 LIBOBJS="$LIBOBJS ${ac_func}.${ac_objext}" 2882 3128 fi 2883 3129 done 2884 3130 2885 fi 2886 2887 for ac_hdr in unistd.h 2888 do 2889 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2890 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2891 echo "configure:2892: checking for $ac_hdr" >&5 2892 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2893 echo $ac_n "(cached) $ac_c" 1>&6 2894 else 2895 cat > conftest.$ac_ext <<EOF 2896 #include <sys/types.h> 2897 #line 2898 "configure" 2898 #include "confdefs.h" 2899 #include <$ac_hdr> 2900 EOF 2901 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2902 { (eval echo configure:2903: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2903 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2904 if test -z "$ac_err"; then 2905 rm -rf conftest* 2906 eval "ac_cv_header_$ac_safe=yes" 2907 else 2908 echo "$ac_err" >&5 2909 echo "configure: failed program was:" >&5 2910 cat conftest.$ac_ext >&5 2911 rm -rf conftest* 2912 eval "ac_cv_header_$ac_safe=no" 2913 fi 2914 rm -f conftest* 2915 fi 2916 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 2917 echo "$ac_t""yes" 1>&6 2918 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 2919 cat >> confdefs.h <<EOF 2920 #define $ac_tr_hdr 1 2921 EOF 2922 2923 else 2924 echo "$ac_t""no" 1>&6 2925 fi 2926 done 2927 2928 for ac_func in getpagesize 3131 3132 else 3133 for ac_func in _doprnt 2929 3134 do 2930 3135 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2931 echo "configure: 2932: checking for $ac_func" >&53136 echo "configure:3137: checking for $ac_func" >&5 2932 3137 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2933 3138 echo $ac_n "(cached) $ac_c" 1>&6 2934 3139 else 2935 3140 cat > conftest.$ac_ext <<EOF 2936 #line 2937"configure"3141 #line 3142 "configure" 2937 3142 #include "confdefs.h" 2938 3143 /* System header to define __stub macros and hopefully few prototypes, … … 2957 3162 ; return 0; } 2958 3163 EOF 2959 if { (eval echo configure: 2960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3164 if { (eval echo configure:3165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2960 3165 rm -rf conftest* 2961 3166 eval "ac_cv_func_$ac_func=yes" … … 2981 3186 done 2982 3187 3188 fi 3189 3190 for v in $vars; do 3191 echo $ac_n "checking for $v""... $ac_c" 1>&6 3192 echo "configure:3193: checking for $v" >&5 3193 if eval "test \"`echo '$''{'libiberty_cv_var_$v'+set}'`\" = set"; then 3194 echo $ac_n "(cached) $ac_c" 1>&6 3195 else 3196 cat > conftest.$ac_ext <<EOF 3197 #line 3198 "configure" 3198 #include "confdefs.h" 3199 int *p; 3200 int main() { 3201 extern int $v []; p = $v; 3202 ; return 0; } 3203 EOF 3204 if { (eval echo configure:3205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3205 rm -rf conftest* 3206 eval "libiberty_cv_var_$v=yes" 3207 else 3208 echo "configure: failed program was:" >&5 3209 cat conftest.$ac_ext >&5 3210 rm -rf conftest* 3211 eval "libiberty_cv_var_$v=no" 3212 fi 3213 rm -f conftest* 3214 fi 3215 3216 if eval "test \"`echo '$libiberty_cv_var_'$v`\" = yes"; then 3217 echo "$ac_t""yes" 1>&6 3218 n=HAVE_`echo $v | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 3219 cat >> confdefs.h <<EOF 3220 #define $n 1 3221 EOF 3222 3223 else 3224 echo "$ac_t""no" 1>&6 3225 fi 3226 done 3227 for ac_func in $checkfuncs 3228 do 3229 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3230 echo "configure:3231: checking for $ac_func" >&5 3231 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3232 echo $ac_n "(cached) $ac_c" 1>&6 3233 else 3234 cat > conftest.$ac_ext <<EOF 3235 #line 3236 "configure" 3236 #include "confdefs.h" 3237 /* System header to define __stub macros and hopefully few prototypes, 3238 which can conflict with char $ac_func(); below. */ 3239 #include <assert.h> 3240 /* Override any gcc2 internal prototype to avoid an error. */ 3241 /* We use char because int might match the return type of a gcc2 3242 builtin and then its argument prototype would still apply. */ 3243 char $ac_func(); 3244 3245 int main() { 3246 3247 /* The GNU C library defines this for functions which it implements 3248 to always fail with ENOSYS. Some functions are actually named 3249 something starting with __ and the normal name is an alias. */ 3250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 3251 choke me 3252 #else 3253 $ac_func(); 3254 #endif 3255 3256 ; return 0; } 3257 EOF 3258 if { (eval echo configure:3259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3259 rm -rf conftest* 3260 eval "ac_cv_func_$ac_func=yes" 3261 else 3262 echo "configure: failed program was:" >&5 3263 cat conftest.$ac_ext >&5 3264 rm -rf conftest* 3265 eval "ac_cv_func_$ac_func=no" 3266 fi 3267 rm -f conftest* 3268 fi 3269 3270 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then 3271 echo "$ac_t""yes" 1>&6 3272 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 3273 cat >> confdefs.h <<EOF 3274 #define $ac_tr_func 1 3275 EOF 3276 3277 else 3278 echo "$ac_t""no" 1>&6 3279 fi 3280 done 3281 3282 echo $ac_n "checking whether canonicalize_file_name must be declared""... $ac_c" 1>&6 3283 echo "configure:3284: checking whether canonicalize_file_name must be declared" >&5 3284 if eval "test \"`echo '$''{'libiberty_cv_decl_needed_canonicalize_file_name'+set}'`\" = set"; then 3285 echo $ac_n "(cached) $ac_c" 1>&6 3286 else 3287 cat > conftest.$ac_ext <<EOF 3288 #line 3289 "configure" 3289 #include "confdefs.h" 3290 3291 #include "confdefs.h" 3292 #include <stdio.h> 3293 #ifdef HAVE_STRING_H 3294 #include <string.h> 3295 #else 3296 #ifdef HAVE_STRINGS_H 3297 #include <strings.h> 3298 #endif 3299 #endif 3300 #ifdef HAVE_STDLIB_H 3301 #include <stdlib.h> 3302 #endif 3303 #ifdef HAVE_UNISTD_H 3304 #include <unistd.h> 3305 #endif 3306 int main() { 3307 char *(*pfn) = (char *(*)) canonicalize_file_name 3308 ; return 0; } 3309 EOF 3310 if { (eval echo configure:3311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3311 rm -rf conftest* 3312 libiberty_cv_decl_needed_canonicalize_file_name=no 3313 else 3314 echo "configure: failed program was:" >&5 3315 cat conftest.$ac_ext >&5 3316 rm -rf conftest* 3317 libiberty_cv_decl_needed_canonicalize_file_name=yes 3318 fi 3319 rm -f conftest* 3320 fi 3321 3322 echo "$ac_t""$libiberty_cv_decl_needed_canonicalize_file_name" 1>&6 3323 if test $libiberty_cv_decl_needed_canonicalize_file_name = yes; then 3324 cat >> confdefs.h <<\EOF 3325 #define NEED_DECLARATION_CANONICALIZE_FILE_NAME 1 3326 EOF 3327 3328 fi 3329 3330 fi 3331 3332 # Figure out which version of pexecute to use. 3333 case "${host}" in 3334 *-*-mingw* | *-*-winnt*) pexecute=pex-win32.o ;; 3335 *-*-msdosdjgpp*) pexecute=pex-djgpp.o ;; 3336 *-*-msdos*) pexecute=pex-msdos.o ;; 3337 *-*-os2-emx*) pexecute=pex-os2.o ;; 3338 *) pexecute=pex-unix.o ;; 3339 esac 3340 3341 3342 for ac_hdr in unistd.h 3343 do 3344 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3345 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3346 echo "configure:3347: checking for $ac_hdr" >&5 3347 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3348 echo $ac_n "(cached) $ac_c" 1>&6 3349 else 3350 cat > conftest.$ac_ext <<EOF 3351 #include <sys/types.h> 3352 #line 3353 "configure" 3353 #include "confdefs.h" 3354 #include <$ac_hdr> 3355 EOF 3356 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3357 { (eval echo configure:3358: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3358 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3359 if test -z "$ac_err"; then 3360 rm -rf conftest* 3361 eval "ac_cv_header_$ac_safe=yes" 3362 else 3363 echo "$ac_err" >&5 3364 echo "configure: failed program was:" >&5 3365 cat conftest.$ac_ext >&5 3366 rm -rf conftest* 3367 eval "ac_cv_header_$ac_safe=no" 3368 fi 3369 rm -f conftest* 3370 fi 3371 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 3372 echo "$ac_t""yes" 1>&6 3373 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 3374 cat >> confdefs.h <<EOF 3375 #define $ac_tr_hdr 1 3376 EOF 3377 3378 else 3379 echo "$ac_t""no" 1>&6 3380 fi 3381 done 3382 3383 for ac_func in getpagesize 3384 do 3385 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3386 echo "configure:3387: checking for $ac_func" >&5 3387 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3388 echo $ac_n "(cached) $ac_c" 1>&6 3389 else 3390 cat > conftest.$ac_ext <<EOF 3391 #line 3392 "configure" 3392 #include "confdefs.h" 3393 /* System header to define __stub macros and hopefully few prototypes, 3394 which can conflict with char $ac_func(); below. */ 3395 #include <assert.h> 3396 /* Override any gcc2 internal prototype to avoid an error. */ 3397 /* We use char because int might match the return type of a gcc2 3398 builtin and then its argument prototype would still apply. */ 3399 char $ac_func(); 3400 3401 int main() { 3402 3403 /* The GNU C library defines this for functions which it implements 3404 to always fail with ENOSYS. Some functions are actually named 3405 something starting with __ and the normal name is an alias. */ 3406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 3407 choke me 3408 #else 3409 $ac_func(); 3410 #endif 3411 3412 ; return 0; } 3413 EOF 3414 if { (eval echo configure:3415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3415 rm -rf conftest* 3416 eval "ac_cv_func_$ac_func=yes" 3417 else 3418 echo "configure: failed program was:" >&5 3419 cat conftest.$ac_ext >&5 3420 rm -rf conftest* 3421 eval "ac_cv_func_$ac_func=no" 3422 fi 3423 rm -f conftest* 3424 fi 3425 3426 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then 3427 echo "$ac_t""yes" 1>&6 3428 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 3429 cat >> confdefs.h <<EOF 3430 #define $ac_tr_func 1 3431 EOF 3432 3433 else 3434 echo "$ac_t""no" 1>&6 3435 fi 3436 done 3437 2983 3438 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 2984 echo "configure: 2985: checking for working mmap" >&53439 echo "configure:3440: checking for working mmap" >&5 2985 3440 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 2986 3441 echo $ac_n "(cached) $ac_c" 1>&6 … … 2990 3445 else 2991 3446 cat > conftest.$ac_ext <<EOF 2992 #line 2993"configure"3447 #line 3448 "configure" 2993 3448 #include "confdefs.h" 2994 3449 … … 3130 3585 3131 3586 EOF 3132 if { (eval echo configure:3 133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3587 if { (eval echo configure:3588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3133 3588 then 3134 3589 ac_cv_func_mmap_fixed_mapped=yes … … 3154 3609 3155 3610 echo $ac_n "checking for working strncmp""... $ac_c" 1>&6 3156 echo "configure:3 157: checking for working strncmp" >&53611 echo "configure:3612: checking for working strncmp" >&5 3157 3612 if eval "test \"`echo '$''{'ac_cv_func_strncmp_works'+set}'`\" = set"; then 3158 3613 echo $ac_n "(cached) $ac_c" 1>&6 … … 3162 3617 else 3163 3618 cat > conftest.$ac_ext <<EOF 3164 #line 3 165"configure"3619 #line 3620 "configure" 3165 3620 #include "confdefs.h" 3166 3621 … … 3207 3662 MAP_ANON|MAP_PRIVATE, dev_zero, 0); 3208 3663 if (p == (char *)-1) 3664 p = (char *) mmap (0, MAP_LEN, PROT_READ|PROT_WRITE, 3665 MAP_ANON|MAP_PRIVATE, -1, 0); 3666 if (p == (char *)-1) 3209 3667 exit (2); 3210 3668 else … … 3223 3681 3224 3682 EOF 3225 if { (eval echo configure:3 226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3683 if { (eval echo configure:3684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3226 3684 then 3227 3685 ac_cv_func_strncmp_works=yes … … 3394 3852 s%@PATH_IFS@%$PATH_IFS%g 3395 3853 s%@EXEEXT@%$EXEEXT%g 3854 s%@libiberty_topdir@%$libiberty_topdir%g 3855 s%@MAINT@%$MAINT%g 3856 s%@NOTMAINT@%$NOTMAINT%g 3857 s%@MAKEINFO@%$MAKEINFO%g 3858 s%@BUILD_INFO@%$BUILD_INFO%g 3859 s%@PERL@%$PERL%g 3860 s%@HAVE_PERL@%$HAVE_PERL%g 3396 3861 s%@host@%$host%g 3397 3862 s%@host_alias@%$host_alias%g … … 3408 3873 s%@CC@%$CC%g 3409 3874 s%@ac_libiberty_warn_cflags@%$ac_libiberty_warn_cflags%g 3875 s%@NO_MINUS_C_MINUS_O@%$NO_MINUS_C_MINUS_O%g 3876 s%@OUTPUT_OPTION@%$OUTPUT_OPTION%g 3410 3877 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g 3411 3878 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g … … 3415 3882 s%@CPP@%$CPP%g 3416 3883 s%@CHECK@%$CHECK%g 3884 s%@target_header_dir@%$target_header_dir%g 3417 3885 s%@LIBOBJS@%$LIBOBJS%g 3418 s%@ ALLOCA@%$ALLOCA%g3886 s%@pexecute@%$pexecute%g 3419 3887 s%@INSTALL_DEST@%$INSTALL_DEST%g 3420 3888 … … 3634 4102 target=${target} 3635 4103 with_target_subdir=${with_target_subdir} 4104 with_build_subdir=${with_build_subdir} 3636 4105 with_multisubdir=${with_multisubdir} 3637 4106 ac_configure_args="--enable-multilib ${ac_configure_args}" 3638 4107 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 4108 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}" 3639 4109 libiberty_topdir=${libiberty_topdir} 3640 4110 … … 3643 4113 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h 3644 4114 if test -n "$CONFIG_FILES"; then 3645 if test -n "${with_ target_subdir}"; then4115 if test -n "${with_build_subdir}" || test -n "${with_target_subdir}"; then 3646 4116 # FIXME: We shouldn't need to set ac_file 3647 4117 ac_file=Makefile 4118 LD="${ORIGINAL_LD_FOR_MULTILIBS}" 3648 4119 . ${libiberty_topdir}/config-ml.in 3649 4120 fi -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/binutils/opcodes/configure
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
r618 r619 33 33 --enable-maintainer-mode enable make rules and dependencies not useful 34 34 (and sometimes confusing) to the casual installer" 35 ac_help="$ac_help 36 --enable-install-libbfd controls installation of libbfd and related headers" 35 37 ac_help="$ac_help 36 38 --disable-nls do not use Native Language Support" … … 549 551 550 552 echo $ac_n "checking for path separator""... $ac_c" 1>&6 551 echo "configure:55 2: checking for path separator" >&5553 echo "configure:554: checking for path separator" >&5 552 554 # Filter path to get backslahes into forwardslashes 553 555 case "`uname -s 2> /dev/null`" in … … 563 565 564 566 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 565 echo "configure:56 6: checking for Cygwin environment" >&5567 echo "configure:568: checking for Cygwin environment" >&5 566 568 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 567 569 echo $ac_n "(cached) $ac_c" 1>&6 568 570 else 569 571 cat > conftest.$ac_ext <<EOF 570 #line 57 1"configure"572 #line 573 "configure" 571 573 #include "confdefs.h" 572 574 … … 579 581 ; return 0; } 580 582 EOF 581 if { (eval echo configure:58 2: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then583 if { (eval echo configure:584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 582 584 rm -rf conftest* 583 585 ac_cv_cygwin=yes … … 596 598 test "$ac_cv_cygwin" = yes && CYGWIN=yes 597 599 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 598 echo "configure: 599: checking for mingw32 environment" >&5600 echo "configure:601: checking for mingw32 environment" >&5 599 601 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 600 602 echo $ac_n "(cached) $ac_c" 1>&6 601 603 else 602 604 cat > conftest.$ac_ext <<EOF 603 #line 60 4"configure"605 #line 606 "configure" 604 606 #include "confdefs.h" 605 607 … … 608 610 ; return 0; } 609 611 EOF 610 if { (eval echo configure:61 1: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then612 if { (eval echo configure:613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 611 613 rm -rf conftest* 612 614 ac_cv_mingw32=yes … … 625 627 test "$ac_cv_mingw32" = yes && MINGW32=yes 626 628 echo $ac_n "checking for EMX/OS2 environment""... $ac_c" 1>&6 627 echo "configure:6 28: checking for EMX/OS2 environment" >&5629 echo "configure:630: checking for EMX/OS2 environment" >&5 628 630 if eval "test \"`echo '$''{'ac_cv_emxos2'+set}'`\" = set"; then 629 631 echo $ac_n "(cached) $ac_c" 1>&6 … … 631 633 : ${CC=gcc.exe} 632 634 cat > conftest.$ac_ext <<EOF 633 #line 63 4"configure"635 #line 636 "configure" 634 636 #include "confdefs.h" 635 637 … … 638 640 ; return 0; } 639 641 EOF 640 if { (eval echo configure:64 1: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then642 if { (eval echo configure:643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 641 643 rm -rf conftest* 642 644 ac_cv_emxos2=yes … … 669 671 670 672 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 671 echo "configure:67 2: checking for executable suffix" >&5673 echo "configure:674: checking for executable suffix" >&5 672 674 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 673 675 echo $ac_n "(cached) $ac_c" 1>&6 … … 679 681 echo 'int main () { return 0; }' > conftest.$ac_ext 680 682 ac_cv_exeext= 681 if { (eval echo configure:68 2: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then683 if { (eval echo configure:684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 682 684 for file in conftest.*; do 683 685 case $file in … … 748 750 749 751 echo $ac_n "checking host system type""... $ac_c" 1>&6 750 echo "configure:75 1: checking host system type" >&5752 echo "configure:753: checking host system type" >&5 751 753 752 754 host_alias=$host … … 769 771 770 772 echo $ac_n "checking target system type""... $ac_c" 1>&6 771 echo "configure:77 2: checking target system type" >&5773 echo "configure:774: checking target system type" >&5 772 774 773 775 target_alias=$target … … 787 789 788 790 echo $ac_n "checking build system type""... $ac_c" 1>&6 789 echo "configure:79 0: checking build system type" >&5791 echo "configure:792: checking build system type" >&5 790 792 791 793 build_alias=$build … … 812 814 set dummy gcc; ac_word=$2 813 815 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 814 echo "configure:81 5: checking for $ac_word" >&5816 echo "configure:817: checking for $ac_word" >&5 815 817 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 816 818 echo $ac_n "(cached) $ac_c" 1>&6 … … 843 845 set dummy cc; ac_word=$2 844 846 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 845 echo "configure:84 6: checking for $ac_word" >&5847 echo "configure:848: checking for $ac_word" >&5 846 848 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 847 849 echo $ac_n "(cached) $ac_c" 1>&6 … … 896 898 set dummy cl; ac_word=$2 897 899 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 898 echo "configure: 899: checking for $ac_word" >&5900 echo "configure:901: checking for $ac_word" >&5 899 901 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 900 902 echo $ac_n "(cached) $ac_c" 1>&6 … … 929 931 930 932 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 931 echo "configure:93 2: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5933 echo "configure:934: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 932 934 933 935 ac_ext=c … … 940 942 cat > conftest.$ac_ext << EOF 941 943 942 #line 94 3"configure"944 #line 945 "configure" 943 945 #include "confdefs.h" 944 946 945 947 main(){return(0);} 946 948 EOF 947 if { (eval echo configure:9 48: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then949 if { (eval echo configure:950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 948 950 ac_cv_prog_cc_works=yes 949 951 # If we can't run a trivial program, we are probably using a cross compiler. … … 971 973 fi 972 974 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 973 echo "configure:97 4: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5975 echo "configure:976: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 974 976 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 975 977 cross_compiling=$ac_cv_prog_cc_cross 976 978 977 979 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 978 echo "configure:9 79: checking whether we are using GNU C" >&5980 echo "configure:981: checking whether we are using GNU C" >&5 979 981 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 980 982 echo $ac_n "(cached) $ac_c" 1>&6 … … 985 987 #endif 986 988 EOF 987 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:9 88: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then989 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; then 988 990 ac_cv_prog_gcc=yes 989 991 else … … 1004 1006 CFLAGS= 1005 1007 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1006 echo "configure:100 7: checking whether ${CC-cc} accepts -g" >&51008 echo "configure:1009: checking whether ${CC-cc} accepts -g" >&5 1007 1009 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1008 1010 echo $ac_n "(cached) $ac_c" 1>&6 … … 1036 1038 1037 1039 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 1038 echo "configure:10 39: checking for POSIXized ISC" >&51040 echo "configure:1041: checking for POSIXized ISC" >&5 1039 1041 if test -d /etc/conf/kconfig.d && 1040 1042 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 … … 1074 1076 # ./install, which can be erroneously created by make from ./install.sh. 1075 1077 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 1076 echo "configure:107 7: checking for a BSD compatible install" >&51078 echo "configure:1079: checking for a BSD compatible install" >&5 1077 1079 if test -z "$INSTALL"; then 1078 1080 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 1129 1131 1130 1132 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 1131 echo "configure:113 2: checking whether build environment is sane" >&51133 echo "configure:1134: checking whether build environment is sane" >&5 1132 1134 # Just in case 1133 1135 sleep 1 … … 1186 1188 1187 1189 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 1188 echo "configure:11 89: checking whether ${MAKE-make} sets \${MAKE}" >&51190 echo "configure:1191: checking whether ${MAKE-make} sets \${MAKE}" >&5 1189 1191 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 1190 1192 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 1232 1234 missing_dir=`cd $ac_aux_dir && pwd` 1233 1235 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 1234 echo "configure:123 5: checking for working aclocal" >&51236 echo "configure:1237: checking for working aclocal" >&5 1235 1237 # Run test in a subshell; some versions of sh will print an error if 1236 1238 # an executable is not found, even if stderr is redirected. … … 1245 1247 1246 1248 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 1247 echo "configure:12 48: checking for working autoconf" >&51249 echo "configure:1250: checking for working autoconf" >&5 1248 1250 # Run test in a subshell; some versions of sh will print an error if 1249 1251 # an executable is not found, even if stderr is redirected. … … 1258 1260 1259 1261 echo $ac_n "checking for working automake""... $ac_c" 1>&6 1260 echo "configure:126 1: checking for working automake" >&51262 echo "configure:1263: checking for working automake" >&5 1261 1263 # Run test in a subshell; some versions of sh will print an error if 1262 1264 # an executable is not found, even if stderr is redirected. … … 1271 1273 1272 1274 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 1273 echo "configure:127 4: checking for working autoheader" >&51275 echo "configure:1276: checking for working autoheader" >&5 1274 1276 # Run test in a subshell; some versions of sh will print an error if 1275 1277 # an executable is not found, even if stderr is redirected. … … 1284 1286 1285 1287 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 1286 echo "configure:128 7: checking for working makeinfo" >&51288 echo "configure:1289: checking for working makeinfo" >&5 1287 1289 # Run test in a subshell; some versions of sh will print an error if 1288 1290 # an executable is not found, even if stderr is redirected. … … 1307 1309 set dummy ${ac_tool_prefix}ar; ac_word=$2 1308 1310 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1309 echo "configure:131 0: checking for $ac_word" >&51311 echo "configure:1312: checking for $ac_word" >&5 1310 1312 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then 1311 1313 echo $ac_n "(cached) $ac_c" 1>&6 … … 1340 1342 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1341 1343 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1342 echo "configure:134 3: checking for $ac_word" >&51344 echo "configure:1345: checking for $ac_word" >&5 1343 1345 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1344 1346 echo $ac_n "(cached) $ac_c" 1>&6 … … 1373 1375 set dummy ranlib; ac_word=$2 1374 1376 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1375 echo "configure:137 6: checking for $ac_word" >&51377 echo "configure:1378: checking for $ac_word" >&5 1376 1378 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1377 1379 echo $ac_n "(cached) $ac_c" 1>&6 … … 1411 1413 enableval="$enable_shared" 1412 1414 p=${PACKAGE-default} 1413 case "$enableval"in1415 case $enableval in 1414 1416 yes) enable_shared=yes ;; 1415 1417 no) enable_shared=no ;; … … 1435 1437 enableval="$enable_static" 1436 1438 p=${PACKAGE-default} 1437 case "$enableval"in1439 case $enableval in 1438 1440 yes) enable_static=yes ;; 1439 1441 no) enable_static=no ;; … … 1458 1460 enableval="$enable_fast_install" 1459 1461 p=${PACKAGE-default} 1460 case "$enableval"in1462 case $enableval in 1461 1463 yes) enable_fast_install=yes ;; 1462 1464 no) enable_fast_install=no ;; … … 1486 1488 1487 1489 ac_prog=ld 1488 if test "$ ac_cv_prog_gcc" = yes; then1490 if test "$GCC" = yes; then 1489 1491 # Check if gcc -print-prog-name=ld gives a path. 1490 1492 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 1491 echo "configure:149 2: checking for ld used by GCC" >&51493 echo "configure:1494: checking for ld used by GCC" >&5 1492 1494 case $host in 1493 1495 *-*-mingw*) … … 1497 1499 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 1498 1500 esac 1499 case "$ac_prog"in1501 case $ac_prog in 1500 1502 # Accept absolute paths. 1501 1503 [\\/]* | [A-Za-z]:[\\/]*) … … 1519 1521 elif test "$with_gnu_ld" = yes; then 1520 1522 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 1521 echo "configure:152 2: checking for GNU ld" >&51523 echo "configure:1524: checking for GNU ld" >&5 1522 1524 else 1523 1525 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 1524 echo "configure:152 5: checking for non-GNU ld" >&51525 fi 1526 if eval "test \"`echo '$''{' ac_cv_path_LD'+set}'`\" = set"; then1526 echo "configure:1527: checking for non-GNU ld" >&5 1527 fi 1528 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then 1527 1529 echo $ac_n "(cached) $ac_c" 1>&6 1528 1530 else … … 1532 1534 test -z "$ac_dir" && ac_dir=. 1533 1535 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 1534 ac_cv_path_LD="$ac_dir/$ac_prog"1536 lt_cv_path_LD="$ac_dir/$ac_prog" 1535 1537 # Check to see if the program is GNU ld. I'd rather use --version, 1536 1538 # but apparently some GNU ld's only accept -v. 1537 1539 # Break only if it was the GNU/non-GNU ld that we prefer. 1538 if "$ ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then1540 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then 1539 1541 test "$with_gnu_ld" != no && break 1540 1542 else … … 1545 1547 IFS="$ac_save_ifs" 1546 1548 else 1547 ac_cv_path_LD="$LD" # Let the user override the test with a path.1548 fi 1549 fi 1550 1551 LD="$ ac_cv_path_LD"1549 lt_cv_path_LD="$LD" # Let the user override the test with a path. 1550 fi 1551 fi 1552 1553 LD="$lt_cv_path_LD" 1552 1554 if test -n "$LD"; then 1553 1555 echo "$ac_t""$LD" 1>&6 … … 1557 1559 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } 1558 1560 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 1559 echo "configure:156 0: checking if the linker ($LD) is GNU ld" >&51560 if eval "test \"`echo '$''{' ac_cv_prog_gnu_ld'+set}'`\" = set"; then1561 echo "configure:1562: checking if the linker ($LD) is GNU ld" >&5 1562 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then 1561 1563 echo $ac_n "(cached) $ac_c" 1>&6 1562 1564 else 1563 1565 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 1564 1566 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 1565 ac_cv_prog_gnu_ld=yes1566 else 1567 ac_cv_prog_gnu_ld=no1568 fi 1569 fi 1570 1571 echo "$ac_t""$ ac_cv_prog_gnu_ld" 1>&61572 with_gnu_ld=$ ac_cv_prog_gnu_ld1567 lt_cv_prog_gnu_ld=yes 1568 else 1569 lt_cv_prog_gnu_ld=no 1570 fi 1571 fi 1572 1573 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6 1574 with_gnu_ld=$lt_cv_prog_gnu_ld 1573 1575 1574 1576 1575 1577 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6 1576 echo "configure:157 7: checking for $LD option to reload object files" >&51578 echo "configure:1579: checking for $LD option to reload object files" >&5 1577 1579 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then 1578 1580 echo $ac_n "(cached) $ac_c" 1>&6 … … 1586 1588 1587 1589 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 1588 echo "configure:15 89: checking for BSD-compatible nm" >&51589 if eval "test \"`echo '$''{' ac_cv_path_NM'+set}'`\" = set"; then1590 echo "configure:1591: checking for BSD-compatible nm" >&5 1591 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then 1590 1592 echo $ac_n "(cached) $ac_c" 1>&6 1591 1593 else 1592 1594 if test -n "$NM"; then 1593 1595 # Let the user override the test. 1594 ac_cv_path_NM="$NM"1596 lt_cv_path_NM="$NM" 1595 1597 else 1596 1598 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" … … 1604 1606 # Tru64's nm complains that /dev/null is an invalid object file 1605 1607 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then 1606 ac_cv_path_NM="$tmp_nm -B"1608 lt_cv_path_NM="$tmp_nm -B" 1607 1609 break 1608 1610 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then 1609 ac_cv_path_NM="$tmp_nm -p"1611 lt_cv_path_NM="$tmp_nm -p" 1610 1612 break 1611 1613 else 1612 ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but1614 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 1613 1615 continue # so that we can try to find one that supports BSD flags 1614 1616 fi … … 1616 1618 done 1617 1619 IFS="$ac_save_ifs" 1618 test -z "$ ac_cv_path_NM" && ac_cv_path_NM=nm1619 fi 1620 fi 1621 1622 NM="$ ac_cv_path_NM"1620 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm 1621 fi 1622 fi 1623 1624 NM="$lt_cv_path_NM" 1623 1625 echo "$ac_t""$NM" 1>&6 1624 1626 1625 1627 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1626 echo "configure:162 7: checking whether ln -s works" >&51628 echo "configure:1629: checking whether ln -s works" >&5 1627 1629 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1628 1630 echo $ac_n "(cached) $ac_c" 1>&6 … … 1651 1653 1652 1654 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6 1653 echo "configure:165 4: checking how to recognise dependant libraries" >&51655 echo "configure:1656: checking how to recognise dependant libraries" >&5 1654 1656 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then 1655 1657 echo $ac_n "(cached) $ac_c" 1>&6 … … 1669 1671 # whether `pass_all' will *always* work, you probably want this one. 1670 1672 1671 case "$host_os"in1672 aix 4*)1673 case $host_os in 1674 aix*) 1673 1675 lt_cv_deplibs_check_method=pass_all 1674 1676 ;; … … 1679 1681 1680 1682 bsdi4*) 1681 1682 1683 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 1684 lt_cv_file_magic_cmd='/usr/bin/file -L' 1683 1685 lt_cv_file_magic_test_file=/shlib/libc.so 1684 1686 ;; … … 1689 1691 ;; 1690 1692 1693 darwin* | rhapsody*) 1694 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' 1695 lt_cv_file_magic_cmd='/usr/bin/file -L' 1696 case "$host_os" in 1697 rhapsody* | darwin1.012) 1698 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System' 1699 ;; 1700 *) # Darwin 1.3 on 1701 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' 1702 ;; 1703 esac 1704 ;; 1705 1691 1706 freebsd* ) 1692 1707 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 1693 case "$host_cpu"in1708 case $host_cpu in 1694 1709 i*86 ) 1695 1710 # Not sure whether the presence of OpenBSD here was a mistake. 1696 1711 # Let's accept both of them until this is cleared up. 1697 1698 1712 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' 1713 lt_cv_file_magic_cmd=/usr/bin/file 1699 1714 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 1700 1715 ;; … … 1709 1724 ;; 1710 1725 1711 hpux10.20*) 1712 # TODO: Does this work for hpux-11 too? 1713 lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library' 1714 lt_cv_file_magic_cmd=/usr/bin/file 1715 lt_cv_file_magic_test_file=/usr/lib/libc.sl 1726 hpux10.20*|hpux11*) 1727 case $host_cpu in 1728 hppa*) 1729 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 1730 lt_cv_file_magic_cmd=/usr/bin/file 1731 lt_cv_file_magic_test_file=/usr/lib/libc.sl 1732 ;; 1733 ia64*) 1734 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 1735 lt_cv_file_magic_cmd=/usr/bin/file 1736 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 1737 ;; 1738 esac 1716 1739 ;; 1717 1740 1718 1741 irix5* | irix6*) 1719 case "$host_os"in1742 case $host_os in 1720 1743 irix5*) 1721 1744 # this will be overridden with pass_all, but let us keep it just in case … … 1723 1746 ;; 1724 1747 *) 1725 case "$LD"in1748 case $LD in 1726 1749 *-32|*"-32 ") libmagic=32-bit;; 1727 1750 *-n32|*"-n32 ") libmagic=N32;; … … 1730 1753 esac 1731 1754 # this will be overridden with pass_all, but let us keep it just in case 1732 1733 1755 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" 1756 ;; 1734 1757 esac 1735 1758 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` … … 1739 1762 # This must be Linux ELF. 1740 1763 linux-gnu*) 1741 case "$host_cpu"in1742 alpha* | i*86 | powerpc* | sparc* | ia64* )1764 case $host_cpu in 1765 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* ) 1743 1766 lt_cv_deplibs_check_method=pass_all ;; 1744 1767 *) 1745 1768 # glibc up to 2.1.1 does not perform some relocations on ARM 1746 1747 1769 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; 1770 esac 1748 1771 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` 1749 1772 ;; 1750 1773 1751 1774 netbsd*) 1752 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then : 1775 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 1776 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' 1753 1777 else 1754 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' 1755 lt_cv_file_magic_cmd='/usr/bin/file -L' 1756 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 1778 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' 1757 1779 fi 1758 1780 ;; … … 1760 1782 os2*) 1761 1783 lt_cv_deplibs_check_method=pass_all 1784 ;; 1785 1786 newsos6) 1787 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 1788 lt_cv_file_magic_cmd=/usr/bin/file 1789 lt_cv_file_magic_test_file=/usr/lib/libnls.so 1762 1790 ;; 1763 1791 … … 1778 1806 ;; 1779 1807 1808 sysv5uw[78]* | sysv4*uw2*) 1809 lt_cv_deplibs_check_method=pass_all 1810 ;; 1811 1780 1812 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 1781 case "$host_vendor"in1813 case $host_vendor in 1782 1814 ncr) 1783 1815 lt_cv_deplibs_check_method=pass_all 1784 1816 ;; 1785 1817 motorola) 1786 1787 1818 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]' 1819 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 1788 1820 ;; 1789 1821 esac … … 1798 1830 1799 1831 echo $ac_n "checking for object suffix""... $ac_c" 1>&6 1800 echo "configure:18 01: checking for object suffix" >&51832 echo "configure:1833: checking for object suffix" >&5 1801 1833 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then 1802 1834 echo $ac_n "(cached) $ac_c" 1>&6 … … 1804 1836 rm -f conftest* 1805 1837 echo 'int i = 1;' > conftest.$ac_ext 1806 if { (eval echo configure:18 07: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1838 if { (eval echo configure:1839: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1807 1839 for ac_file in conftest.*; do 1808 1840 case $ac_file in … … 1824 1856 1825 1857 # Only perform the check for file, if the check method requires it 1826 case "$deplibs_check_method"in1858 case $deplibs_check_method in 1827 1859 file_magic*) 1828 1860 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 1829 1861 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6 1830 echo "configure:18 31: checking for ${ac_tool_prefix}file" >&51862 echo "configure:1863: checking for ${ac_tool_prefix}file" >&5 1831 1863 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1832 1864 echo $ac_n "(cached) $ac_c" 1>&6 1833 1865 else 1834 case "$MAGIC_CMD"in1866 case $MAGIC_CMD in 1835 1867 /*) 1836 1868 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. … … 1848 1880 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 1849 1881 if test -n "$file_magic_test_file"; then 1850 case "$deplibs_check_method"in1882 case $deplibs_check_method in 1851 1883 "file_magic "*) 1852 1884 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" … … 1890 1922 if test -n "$ac_tool_prefix"; then 1891 1923 echo $ac_n "checking for file""... $ac_c" 1>&6 1892 echo "configure:1 893: checking for file" >&51924 echo "configure:1925: checking for file" >&5 1893 1925 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1894 1926 echo $ac_n "(cached) $ac_c" 1>&6 1895 1927 else 1896 case "$MAGIC_CMD"in1928 case $MAGIC_CMD in 1897 1929 /*) 1898 1930 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. … … 1910 1942 lt_cv_path_MAGIC_CMD="$ac_dir/file" 1911 1943 if test -n "$file_magic_test_file"; then 1912 case "$deplibs_check_method"in1944 case $deplibs_check_method in 1913 1945 "file_magic "*) 1914 1946 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" … … 1961 1993 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1962 1994 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1963 echo "configure:19 64: checking for $ac_word" >&51995 echo "configure:1996: checking for $ac_word" >&5 1964 1996 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1965 1997 echo $ac_n "(cached) $ac_c" 1>&6 … … 1994 2026 set dummy ranlib; ac_word=$2 1995 2027 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1996 echo "configure: 1997: checking for $ac_word" >&52028 echo "configure:2029: checking for $ac_word" >&5 1997 2029 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1998 2030 echo $ac_n "(cached) $ac_c" 1>&6 … … 2030 2062 set dummy ${ac_tool_prefix}strip; ac_word=$2 2031 2063 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2032 echo "configure:20 33: checking for $ac_word" >&52064 echo "configure:2065: checking for $ac_word" >&5 2033 2065 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 2034 2066 echo $ac_n "(cached) $ac_c" 1>&6 … … 2063 2095 set dummy strip; ac_word=$2 2064 2096 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2065 echo "configure:20 66: checking for $ac_word" >&52097 echo "configure:2098: checking for $ac_word" >&5 2066 2098 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 2067 2099 echo $ac_n "(cached) $ac_c" 1>&6 … … 2102 2134 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static" 2103 2135 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install" 2104 test "$ ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"2105 test "$ ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"2136 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc" 2137 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld" 2106 2138 2107 2139 … … 2128 2160 # Some flags need to be propagated to the compiler or linker for good 2129 2161 # libtool support. 2130 case "$host"in2162 case $host in 2131 2163 *-*-irix6*) 2132 2164 # Find out which ABI we are using. 2133 echo '#line 2134 "configure"' > conftest.$ac_ext 2134 if { (eval echo configure:2135: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2135 case "`/usr/bin/file conftest.o`" in 2165 echo '#line 2166 "configure"' > conftest.$ac_ext 2166 if { (eval echo configure:2167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2167 if test "$lt_cv_prog_gnu_ld" = yes; then 2168 case `/usr/bin/file conftest.$ac_objext` in 2169 *32-bit*) 2170 LD="${LD-ld} -melf32bsmip" 2171 ;; 2172 *N32*) 2173 LD="${LD-ld} -melf32bmipn32" 2174 ;; 2175 *64-bit*) 2176 LD="${LD-ld} -melf64bmip" 2177 ;; 2178 esac 2179 else 2180 case `/usr/bin/file conftest.$ac_objext` in 2136 2181 *32-bit*) 2137 2182 LD="${LD-ld} -32" … … 2144 2189 ;; 2145 2190 esac 2191 fi 2192 fi 2193 rm -rf conftest* 2194 ;; 2195 2196 ia64-*-hpux*) 2197 # Find out which ABI we are using. 2198 echo 'int i;' > conftest.$ac_ext 2199 if { (eval echo configure:2200: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2200 case "`/usr/bin/file conftest.o`" in 2201 *ELF-32*) 2202 HPUX_IA64_MODE="32" 2203 ;; 2204 *ELF-64*) 2205 HPUX_IA64_MODE="64" 2206 ;; 2207 esac 2146 2208 fi 2147 2209 rm -rf conftest* … … 2153 2215 CFLAGS="$CFLAGS -belf" 2154 2216 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 2155 echo "configure:2 156: checking whether the C compiler needs -belf" >&52217 echo "configure:2218: checking whether the C compiler needs -belf" >&5 2156 2218 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then 2157 2219 echo $ac_n "(cached) $ac_c" 1>&6 … … 2166 2228 2167 2229 cat > conftest.$ac_ext <<EOF 2168 #line 2 169"configure"2230 #line 2231 "configure" 2169 2231 #include "confdefs.h" 2170 2232 … … 2173 2235 ; return 0; } 2174 2236 EOF 2175 if { (eval echo configure:2 176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2237 if { (eval echo configure:2238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2176 2238 rm -rf conftest* 2177 2239 lt_cv_cc_needs_belf=yes … … 2283 2345 exec 5>>./config.log 2284 2346 2285 2286 2347 2287 2348 … … 2310 2371 fi 2311 2372 2312 build_warnings="-W -Wall "2373 build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" 2313 2374 # Check whether --enable-build-warnings or --disable-build-warnings was given. 2314 2375 if test "${enable_build_warnings+set}" = set; then … … 2340 2401 { echo "configure: error: Unrecognized target system type; please check config.sub." 1>&2; exit 1; } 2341 2402 fi 2342 if test "$program_transform_name" = s,x,x,; then2343 program_transform_name=2344 else2345 # Double any \ or $. echo might interpret backslashes.2346 cat <<\EOF_SED > conftestsed2347 s,\\,\\\\,g; s,\$,$$,g2348 EOF_SED2349 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"2350 rm -f conftestsed2351 fi2352 test "$program_prefix" != NONE &&2353 program_transform_name="s,^,${program_prefix},; $program_transform_name"2354 # Use a double $ so make ignores it.2355 test "$program_suffix" != NONE &&2356 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"2357 2358 # sed with no file args requires a program.2359 test "$program_transform_name" = "" && program_transform_name="s,x,x,"2360 2361 2403 2362 2404 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 2363 echo "configure:2 364: checking whether to enable maintainer-specific portions of Makefiles" >&52405 echo "configure:2406: checking whether to enable maintainer-specific portions of Makefiles" >&5 2364 2406 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 2365 2407 if test "${enable_maintainer_mode+set}" = set; then … … 2383 2425 2384 2426 2427 echo $ac_n "checking whether to install libbfd""... $ac_c" 1>&6 2428 echo "configure:2429: checking whether to install libbfd" >&5 2429 # Check whether --enable-install-libbfd or --disable-install-libbfd was given. 2430 if test "${enable_install_libbfd+set}" = set; then 2431 enableval="$enable_install_libbfd" 2432 install_libbfd_p=$enableval 2433 else 2434 if test "${host}" = "${target}" || test "$enable_shared" = "yes"; then 2435 install_libbfd_p=yes 2436 else 2437 install_libbfd_p=no 2438 fi 2439 fi 2440 2441 echo "$ac_t""$install_libbfd_p" 1>&6 2442 2443 2444 if test $install_libbfd_p = yes; then 2445 INSTALL_LIBBFD_TRUE= 2446 INSTALL_LIBBFD_FALSE='#' 2447 else 2448 INSTALL_LIBBFD_TRUE='#' 2449 INSTALL_LIBBFD_FALSE= 2450 fi 2451 # libbfd.a is a host library containing target dependent code 2452 bfdlibdir='$(libdir)' 2453 bfdincludedir='$(includedir)' 2454 if test "${host}" != "${target}"; then 2455 bfdlibdir='$(exec_prefix)/$(host_alias)/$(target_alias)/lib' 2456 bfdincludedir='$(exec_prefix)/$(host_alias)/$(target_alias)/include' 2457 fi 2458 2459 2460 2461 2385 2462 2386 2463 2387 2464 2388 2465 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 2389 echo "configure:2 390: checking for executable suffix" >&52466 echo "configure:2467: checking for executable suffix" >&5 2390 2467 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 2391 2468 echo $ac_n "(cached) $ac_c" 1>&6 … … 2397 2474 echo 'int main () { return 0; }' > conftest.$ac_ext 2398 2475 ac_cv_exeext= 2399 if { (eval echo configure:24 00: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2476 if { (eval echo configure:2477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 2400 2477 for file in conftest.*; do 2401 2478 case $file in … … 2423 2500 set dummy gcc; ac_word=$2 2424 2501 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2425 echo "configure:2 426: checking for $ac_word" >&52502 echo "configure:2503: checking for $ac_word" >&5 2426 2503 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2427 2504 echo $ac_n "(cached) $ac_c" 1>&6 … … 2454 2531 set dummy cc; ac_word=$2 2455 2532 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2456 echo "configure:2 457: checking for $ac_word" >&52533 echo "configure:2534: checking for $ac_word" >&5 2457 2534 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2458 2535 echo $ac_n "(cached) $ac_c" 1>&6 … … 2507 2584 set dummy cl; ac_word=$2 2508 2585 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2509 echo "configure:25 10: checking for $ac_word" >&52586 echo "configure:2587: checking for $ac_word" >&5 2510 2587 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2511 2588 echo $ac_n "(cached) $ac_c" 1>&6 … … 2540 2617 2541 2618 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 2542 echo "configure:2 543: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&52619 echo "configure:2620: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 2543 2620 2544 2621 ac_ext=c … … 2551 2628 cat > conftest.$ac_ext << EOF 2552 2629 2553 #line 2 554"configure"2630 #line 2631 "configure" 2554 2631 #include "confdefs.h" 2555 2632 2556 2633 main(){return(0);} 2557 2634 EOF 2558 if { (eval echo configure:2 559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2635 if { (eval echo configure:2636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2559 2636 ac_cv_prog_cc_works=yes 2560 2637 # If we can't run a trivial program, we are probably using a cross compiler. … … 2582 2659 fi 2583 2660 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 2584 echo "configure:2 585: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&52661 echo "configure:2662: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 2585 2662 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 2586 2663 cross_compiling=$ac_cv_prog_cc_cross 2587 2664 2588 2665 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 2589 echo "configure:2 590: checking whether we are using GNU C" >&52666 echo "configure:2667: checking whether we are using GNU C" >&5 2590 2667 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 2591 2668 echo $ac_n "(cached) $ac_c" 1>&6 … … 2596 2673 #endif 2597 2674 EOF 2598 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2 599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then2675 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2676: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 2599 2676 ac_cv_prog_gcc=yes 2600 2677 else … … 2615 2692 CFLAGS= 2616 2693 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 2617 echo "configure:26 18: checking whether ${CC-cc} accepts -g" >&52694 echo "configure:2695: checking whether ${CC-cc} accepts -g" >&5 2618 2695 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 2619 2696 echo $ac_n "(cached) $ac_c" 1>&6 … … 2647 2724 2648 2725 2649 ALL_LINGUAS= 2726 ALL_LINGUAS="fr sv tr es da de id pt_BR ro" 2650 2727 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 2651 echo "configure:2 652: checking how to run the C preprocessor" >&52728 echo "configure:2729: checking how to run the C preprocessor" >&5 2652 2729 # On Suns, sometimes $CPP names a directory. 2653 2730 if test -n "$CPP" && test -d "$CPP"; then … … 2665 2742 cat > conftest.$ac_ext <<EOF 2666 2743 #include <sys/types.h> 2667 #line 2 668"configure"2744 #line 2745 "configure" 2668 2745 #include "confdefs.h" 2669 2746 #include <assert.h> … … 2671 2748 EOF 2672 2749 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2673 { (eval echo configure:2 674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2750 { (eval echo configure:2751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2674 2751 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2675 2752 if test -z "$ac_err"; then … … 2683 2760 cat > conftest.$ac_ext <<EOF 2684 2761 #include <sys/types.h> 2685 #line 2 686"configure"2762 #line 2763 "configure" 2686 2763 #include "confdefs.h" 2687 2764 #include <assert.h> … … 2689 2766 EOF 2690 2767 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2691 { (eval echo configure:2 692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2768 { (eval echo configure:2769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2692 2769 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2693 2770 if test -z "$ac_err"; then … … 2701 2778 cat > conftest.$ac_ext <<EOF 2702 2779 #include <sys/types.h> 2703 #line 27 04"configure"2780 #line 2781 "configure" 2704 2781 #include "confdefs.h" 2705 2782 #include <assert.h> … … 2707 2784 EOF 2708 2785 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2709 { (eval echo configure:27 10: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2786 { (eval echo configure:2787: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2710 2787 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2711 2788 if test -z "$ac_err"; then … … 2734 2811 set dummy ranlib; ac_word=$2 2735 2812 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2736 echo "configure:2 737: checking for $ac_word" >&52813 echo "configure:2814: checking for $ac_word" >&5 2737 2814 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 2738 2815 echo $ac_n "(cached) $ac_c" 1>&6 … … 2763 2840 2764 2841 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2765 echo "configure:2 766: checking for ANSI C header files" >&52842 echo "configure:2843: checking for ANSI C header files" >&5 2766 2843 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2767 2844 echo $ac_n "(cached) $ac_c" 1>&6 … … 2769 2846 cat > conftest.$ac_ext <<EOF 2770 2847 #include <sys/types.h> 2771 #line 2 772"configure"2848 #line 2849 "configure" 2772 2849 #include "confdefs.h" 2773 2850 #include <stdlib.h> … … 2777 2854 EOF 2778 2855 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2779 { (eval echo configure:2 780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2856 { (eval echo configure:2857: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2780 2857 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2781 2858 if test -z "$ac_err"; then … … 2794 2871 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2795 2872 cat > conftest.$ac_ext <<EOF 2796 #line 2 797"configure"2873 #line 2874 "configure" 2797 2874 #include "confdefs.h" 2798 2875 #include <string.h> … … 2812 2889 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2813 2890 cat > conftest.$ac_ext <<EOF 2814 #line 28 15"configure"2891 #line 2892 "configure" 2815 2892 #include "confdefs.h" 2816 2893 #include <stdlib.h> … … 2833 2910 else 2834 2911 cat > conftest.$ac_ext <<EOF 2835 #line 2 836"configure"2912 #line 2913 "configure" 2836 2913 #include "confdefs.h" 2837 2914 #include <ctype.h> … … 2844 2921 2845 2922 EOF 2846 if { (eval echo configure:2 847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2923 if { (eval echo configure:2924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2847 2924 then 2848 2925 : … … 2868 2945 2869 2946 echo $ac_n "checking for working const""... $ac_c" 1>&6 2870 echo "configure:2 871: checking for working const" >&52947 echo "configure:2948: checking for working const" >&5 2871 2948 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 2872 2949 echo $ac_n "(cached) $ac_c" 1>&6 2873 2950 else 2874 2951 cat > conftest.$ac_ext <<EOF 2875 #line 2 876"configure"2952 #line 2953 "configure" 2876 2953 #include "confdefs.h" 2877 2954 … … 2922 2999 ; return 0; } 2923 3000 EOF 2924 if { (eval echo configure: 2925: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3001 if { (eval echo configure:3002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2925 3002 rm -rf conftest* 2926 3003 ac_cv_c_const=yes … … 2943 3020 2944 3021 echo $ac_n "checking for inline""... $ac_c" 1>&6 2945 echo "configure: 2946: checking for inline" >&53022 echo "configure:3023: checking for inline" >&5 2946 3023 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 2947 3024 echo $ac_n "(cached) $ac_c" 1>&6 … … 2950 3027 for ac_kw in inline __inline__ __inline; do 2951 3028 cat > conftest.$ac_ext <<EOF 2952 #line 2953"configure"3029 #line 3030 "configure" 2953 3030 #include "confdefs.h" 2954 3031 … … 2957 3034 ; return 0; } 2958 3035 EOF 2959 if { (eval echo configure: 2960: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3036 if { (eval echo configure:3037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2960 3037 rm -rf conftest* 2961 3038 ac_cv_c_inline=$ac_kw; break … … 2983 3060 2984 3061 echo $ac_n "checking for off_t""... $ac_c" 1>&6 2985 echo "configure: 2986: checking for off_t" >&53062 echo "configure:3063: checking for off_t" >&5 2986 3063 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then 2987 3064 echo $ac_n "(cached) $ac_c" 1>&6 2988 3065 else 2989 3066 cat > conftest.$ac_ext <<EOF 2990 #line 2991"configure"3067 #line 3068 "configure" 2991 3068 #include "confdefs.h" 2992 3069 #include <sys/types.h> … … 3016 3093 3017 3094 echo $ac_n "checking for size_t""... $ac_c" 1>&6 3018 echo "configure:30 19: checking for size_t" >&53095 echo "configure:3096: checking for size_t" >&5 3019 3096 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 3020 3097 echo $ac_n "(cached) $ac_c" 1>&6 3021 3098 else 3022 3099 cat > conftest.$ac_ext <<EOF 3023 #line 3 024"configure"3100 #line 3101 "configure" 3024 3101 #include "confdefs.h" 3025 3102 #include <sys/types.h> … … 3051 3128 # for constant arguments. Useless! 3052 3129 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 3053 echo "configure:3 054: checking for working alloca.h" >&53130 echo "configure:3131: checking for working alloca.h" >&5 3054 3131 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 3055 3132 echo $ac_n "(cached) $ac_c" 1>&6 3056 3133 else 3057 3134 cat > conftest.$ac_ext <<EOF 3058 #line 3 059"configure"3135 #line 3136 "configure" 3059 3136 #include "confdefs.h" 3060 3137 #include <alloca.h> … … 3063 3140 ; return 0; } 3064 3141 EOF 3065 if { (eval echo configure:3 066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3142 if { (eval echo configure:3143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3066 3143 rm -rf conftest* 3067 3144 ac_cv_header_alloca_h=yes … … 3084 3161 3085 3162 echo $ac_n "checking for alloca""... $ac_c" 1>&6 3086 echo "configure:3 087: checking for alloca" >&53163 echo "configure:3164: checking for alloca" >&5 3087 3164 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 3088 3165 echo $ac_n "(cached) $ac_c" 1>&6 3089 3166 else 3090 3167 cat > conftest.$ac_ext <<EOF 3091 #line 3 092"configure"3168 #line 3169 "configure" 3092 3169 #include "confdefs.h" 3093 3170 … … 3117 3194 ; return 0; } 3118 3195 EOF 3119 if { (eval echo configure:31 20: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3196 if { (eval echo configure:3197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3120 3197 rm -rf conftest* 3121 3198 ac_cv_func_alloca_works=yes … … 3149 3226 3150 3227 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 3151 echo "configure:3 152: checking whether alloca needs Cray hooks" >&53228 echo "configure:3229: checking whether alloca needs Cray hooks" >&5 3152 3229 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 3153 3230 echo $ac_n "(cached) $ac_c" 1>&6 3154 3231 else 3155 3232 cat > conftest.$ac_ext <<EOF 3156 #line 3 157"configure"3233 #line 3234 "configure" 3157 3234 #include "confdefs.h" 3158 3235 #if defined(CRAY) && ! defined(CRAY2) … … 3179 3256 for ac_func in _getb67 GETB67 getb67; do 3180 3257 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3181 echo "configure:3 182: checking for $ac_func" >&53258 echo "configure:3259: checking for $ac_func" >&5 3182 3259 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3183 3260 echo $ac_n "(cached) $ac_c" 1>&6 3184 3261 else 3185 3262 cat > conftest.$ac_ext <<EOF 3186 #line 3 187"configure"3263 #line 3264 "configure" 3187 3264 #include "confdefs.h" 3188 3265 /* System header to define __stub macros and hopefully few prototypes, … … 3207 3284 ; return 0; } 3208 3285 EOF 3209 if { (eval echo configure:32 10: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3286 if { (eval echo configure:3287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3210 3287 rm -rf conftest* 3211 3288 eval "ac_cv_func_$ac_func=yes" … … 3234 3311 3235 3312 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 3236 echo "configure:3 237: checking stack direction for C alloca" >&53313 echo "configure:3314: checking stack direction for C alloca" >&5 3237 3314 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 3238 3315 echo $ac_n "(cached) $ac_c" 1>&6 … … 3242 3319 else 3243 3320 cat > conftest.$ac_ext <<EOF 3244 #line 3 245"configure"3321 #line 3322 "configure" 3245 3322 #include "confdefs.h" 3246 3323 find_stack_direction () … … 3261 3338 } 3262 3339 EOF 3263 if { (eval echo configure:3 264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3340 if { (eval echo configure:3341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3264 3341 then 3265 3342 ac_cv_c_stack_direction=1 … … 3286 3363 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3287 3364 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3288 echo "configure:3 289: checking for $ac_hdr" >&53365 echo "configure:3366: checking for $ac_hdr" >&5 3289 3366 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3290 3367 echo $ac_n "(cached) $ac_c" 1>&6 … … 3292 3369 cat > conftest.$ac_ext <<EOF 3293 3370 #include <sys/types.h> 3294 #line 3 295"configure"3371 #line 3372 "configure" 3295 3372 #include "confdefs.h" 3296 3373 #include <$ac_hdr> 3297 3374 EOF 3298 3375 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3299 { (eval echo configure:33 00: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3376 { (eval echo configure:3377: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3300 3377 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3301 3378 if test -z "$ac_err"; then … … 3326 3403 do 3327 3404 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3328 echo "configure:3 329: checking for $ac_func" >&53405 echo "configure:3406: checking for $ac_func" >&5 3329 3406 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3330 3407 echo $ac_n "(cached) $ac_c" 1>&6 3331 3408 else 3332 3409 cat > conftest.$ac_ext <<EOF 3333 #line 3 334"configure"3410 #line 3411 "configure" 3334 3411 #include "confdefs.h" 3335 3412 /* System header to define __stub macros and hopefully few prototypes, … … 3354 3431 ; return 0; } 3355 3432 EOF 3356 if { (eval echo configure:3 357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3433 if { (eval echo configure:3434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3357 3434 rm -rf conftest* 3358 3435 eval "ac_cv_func_$ac_func=yes" … … 3379 3456 3380 3457 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 3381 echo "configure:3 382: checking for working mmap" >&53458 echo "configure:3459: checking for working mmap" >&5 3382 3459 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 3383 3460 echo $ac_n "(cached) $ac_c" 1>&6 … … 3387 3464 else 3388 3465 cat > conftest.$ac_ext <<EOF 3389 #line 3 390"configure"3466 #line 3467 "configure" 3390 3467 #include "confdefs.h" 3391 3468 … … 3527 3604 3528 3605 EOF 3529 if { (eval echo configure:3 530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3606 if { (eval echo configure:3607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3530 3607 then 3531 3608 ac_cv_func_mmap_fixed_mapped=yes … … 3555 3632 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3556 3633 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3557 echo "configure:3 558: checking for $ac_hdr" >&53634 echo "configure:3635: checking for $ac_hdr" >&5 3558 3635 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3559 3636 echo $ac_n "(cached) $ac_c" 1>&6 … … 3561 3638 cat > conftest.$ac_ext <<EOF 3562 3639 #include <sys/types.h> 3563 #line 3 564"configure"3640 #line 3641 "configure" 3564 3641 #include "confdefs.h" 3565 3642 #include <$ac_hdr> 3566 3643 EOF 3567 3644 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3568 { (eval echo configure:3 569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3645 { (eval echo configure:3646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3569 3646 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3570 3647 if test -z "$ac_err"; then … … 3596 3673 do 3597 3674 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3598 echo "configure:3 599: checking for $ac_func" >&53675 echo "configure:3676: checking for $ac_func" >&5 3599 3676 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3600 3677 echo $ac_n "(cached) $ac_c" 1>&6 3601 3678 else 3602 3679 cat > conftest.$ac_ext <<EOF 3603 #line 36 04"configure"3680 #line 3681 "configure" 3604 3681 #include "confdefs.h" 3605 3682 /* System header to define __stub macros and hopefully few prototypes, … … 3624 3701 ; return 0; } 3625 3702 EOF 3626 if { (eval echo configure:3 627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3703 if { (eval echo configure:3704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3627 3704 rm -rf conftest* 3628 3705 eval "ac_cv_func_$ac_func=yes" … … 3653 3730 do 3654 3731 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3655 echo "configure:3 656: checking for $ac_func" >&53732 echo "configure:3733: checking for $ac_func" >&5 3656 3733 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3657 3734 echo $ac_n "(cached) $ac_c" 1>&6 3658 3735 else 3659 3736 cat > conftest.$ac_ext <<EOF 3660 #line 3 661"configure"3737 #line 3738 "configure" 3661 3738 #include "confdefs.h" 3662 3739 /* System header to define __stub macros and hopefully few prototypes, … … 3681 3758 ; return 0; } 3682 3759 EOF 3683 if { (eval echo configure:3 684: \"$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 3684 3761 rm -rf conftest* 3685 3762 eval "ac_cv_func_$ac_func=yes" … … 3715 3792 if test $ac_cv_header_locale_h = yes; then 3716 3793 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 3717 echo "configure:37 18: checking for LC_MESSAGES" >&53794 echo "configure:3795: checking for LC_MESSAGES" >&5 3718 3795 if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then 3719 3796 echo $ac_n "(cached) $ac_c" 1>&6 3720 3797 else 3721 3798 cat > conftest.$ac_ext <<EOF 3722 #line 3 723"configure"3799 #line 3800 "configure" 3723 3800 #include "confdefs.h" 3724 3801 #include <locale.h> … … 3727 3804 ; return 0; } 3728 3805 EOF 3729 if { (eval echo configure:3 730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3806 if { (eval echo configure:3807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3730 3807 rm -rf conftest* 3731 3808 am_cv_val_LC_MESSAGES=yes … … 3748 3825 fi 3749 3826 echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 3750 echo "configure:3 751: checking whether NLS is requested" >&53827 echo "configure:3828: checking whether NLS is requested" >&5 3751 3828 # Check whether --enable-nls or --disable-nls was given. 3752 3829 if test "${enable_nls+set}" = set; then … … 3768 3845 3769 3846 echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6 3770 echo "configure:3 771: checking whether included gettext is requested" >&53847 echo "configure:3848: checking whether included gettext is requested" >&5 3771 3848 # Check whether --with-included-gettext or --without-included-gettext was given. 3772 3849 if test "${with_included_gettext+set}" = set; then … … 3787 3864 ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'` 3788 3865 echo $ac_n "checking for libintl.h""... $ac_c" 1>&6 3789 echo "configure:3 790: checking for libintl.h" >&53866 echo "configure:3867: checking for libintl.h" >&5 3790 3867 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3791 3868 echo $ac_n "(cached) $ac_c" 1>&6 … … 3793 3870 cat > conftest.$ac_ext <<EOF 3794 3871 #include <sys/types.h> 3795 #line 3 796"configure"3872 #line 3873 "configure" 3796 3873 #include "confdefs.h" 3797 3874 #include <libintl.h> 3798 3875 EOF 3799 3876 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3800 { (eval echo configure:38 01: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3877 { (eval echo configure:3878: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3801 3878 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3802 3879 if test -z "$ac_err"; then … … 3815 3892 echo "$ac_t""yes" 1>&6 3816 3893 echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6 3817 echo "configure:38 18: checking for gettext in libc" >&53894 echo "configure:3895: checking for gettext in libc" >&5 3818 3895 if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then 3819 3896 echo $ac_n "(cached) $ac_c" 1>&6 3820 3897 else 3821 3898 cat > conftest.$ac_ext <<EOF 3822 #line 3 823"configure"3899 #line 3900 "configure" 3823 3900 #include "confdefs.h" 3824 3901 #include <libintl.h> … … 3827 3904 ; return 0; } 3828 3905 EOF 3829 if { (eval echo configure:3 830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3906 if { (eval echo configure:3907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3830 3907 rm -rf conftest* 3831 3908 gt_cv_func_gettext_libc=yes … … 3843 3920 if test "$gt_cv_func_gettext_libc" != "yes"; then 3844 3921 echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6 3845 echo "configure:3 846: checking for bindtextdomain in -lintl" >&53922 echo "configure:3923: checking for bindtextdomain in -lintl" >&5 3846 3923 ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'` 3847 3924 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3851 3928 LIBS="-lintl $LIBS" 3852 3929 cat > conftest.$ac_ext <<EOF 3853 #line 3 854"configure"3930 #line 3931 "configure" 3854 3931 #include "confdefs.h" 3855 3932 /* Override any gcc2 internal prototype to avoid an error. */ … … 3862 3939 ; return 0; } 3863 3940 EOF 3864 if { (eval echo configure:3 865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3941 if { (eval echo configure:3942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3865 3942 rm -rf conftest* 3866 3943 eval "ac_cv_lib_$ac_lib_var=yes" … … 3878 3955 echo "$ac_t""yes" 1>&6 3879 3956 echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6 3880 echo "configure:3 881: checking for gettext in libintl" >&53957 echo "configure:3958: checking for gettext in libintl" >&5 3881 3958 if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then 3882 3959 echo $ac_n "(cached) $ac_c" 1>&6 3883 3960 else 3884 3961 cat > conftest.$ac_ext <<EOF 3885 #line 3 886"configure"3962 #line 3963 "configure" 3886 3963 #include "confdefs.h" 3887 3964 … … 3890 3967 ; return 0; } 3891 3968 EOF 3892 if { (eval echo configure:3 893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3969 if { (eval echo configure:3970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3893 3970 rm -rf conftest* 3894 3971 gt_cv_func_gettext_libintl=yes … … 3918 3995 set dummy msgfmt; ac_word=$2 3919 3996 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3920 echo "configure:39 21: checking for $ac_word" >&53997 echo "configure:3998: checking for $ac_word" >&5 3921 3998 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then 3922 3999 echo $ac_n "(cached) $ac_c" 1>&6 … … 3952 4029 do 3953 4030 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3954 echo "configure: 3955: checking for $ac_func" >&54031 echo "configure:4032: checking for $ac_func" >&5 3955 4032 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3956 4033 echo $ac_n "(cached) $ac_c" 1>&6 3957 4034 else 3958 4035 cat > conftest.$ac_ext <<EOF 3959 #line 3960"configure"4036 #line 4037 "configure" 3960 4037 #include "confdefs.h" 3961 4038 /* System header to define __stub macros and hopefully few prototypes, … … 3980 4057 ; return 0; } 3981 4058 EOF 3982 if { (eval echo configure: 3983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4059 if { (eval echo configure:4060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3983 4060 rm -rf conftest* 3984 4061 eval "ac_cv_func_$ac_func=yes" … … 4007 4084 set dummy gmsgfmt; ac_word=$2 4008 4085 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4009 echo "configure:40 10: checking for $ac_word" >&54086 echo "configure:4087: checking for $ac_word" >&5 4010 4087 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then 4011 4088 echo $ac_n "(cached) $ac_c" 1>&6 … … 4047 4124 set dummy xgettext; ac_word=$2 4048 4125 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4049 echo "configure:4 050: checking for $ac_word" >&54126 echo "configure:4127: checking for $ac_word" >&5 4050 4127 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then 4051 4128 echo $ac_n "(cached) $ac_c" 1>&6 … … 4079 4156 4080 4157 cat > conftest.$ac_ext <<EOF 4081 #line 4 082"configure"4158 #line 4159 "configure" 4082 4159 #include "confdefs.h" 4083 4160 … … 4087 4164 ; return 0; } 4088 4165 EOF 4089 if { (eval echo configure:4 090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4166 if { (eval echo configure:4167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4090 4167 rm -rf conftest* 4091 4168 CATOBJEXT=.gmo … … 4119 4196 set dummy msgfmt; ac_word=$2 4120 4197 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4121 echo "configure:41 22: checking for $ac_word" >&54198 echo "configure:4199: checking for $ac_word" >&5 4122 4199 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then 4123 4200 echo $ac_n "(cached) $ac_c" 1>&6 … … 4153 4230 set dummy gmsgfmt; ac_word=$2 4154 4231 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4155 echo "configure:4 156: checking for $ac_word" >&54232 echo "configure:4233: checking for $ac_word" >&5 4156 4233 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then 4157 4234 echo $ac_n "(cached) $ac_c" 1>&6 … … 4193 4270 set dummy xgettext; ac_word=$2 4194 4271 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4195 echo "configure:4 196: checking for $ac_word" >&54272 echo "configure:4273: checking for $ac_word" >&5 4196 4273 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then 4197 4274 echo $ac_n "(cached) $ac_c" 1>&6 … … 4283 4360 else 4284 4361 echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 4285 echo "configure:4 286: checking for catalogs to be installed" >&54362 echo "configure:4363: checking for catalogs to be installed" >&5 4286 4363 NEW_LINGUAS= 4287 4364 for lang in ${LINGUAS=$ALL_LINGUAS}; do … … 4311 4388 ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'` 4312 4389 echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6 4313 echo "configure:43 14: checking for linux/version.h" >&54390 echo "configure:4391: checking for linux/version.h" >&5 4314 4391 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4315 4392 echo $ac_n "(cached) $ac_c" 1>&6 … … 4317 4394 cat > conftest.$ac_ext <<EOF 4318 4395 #include <sys/types.h> 4319 #line 43 20"configure"4396 #line 4397 "configure" 4320 4397 #include "confdefs.h" 4321 4398 #include <linux/version.h> 4322 4399 EOF 4323 4400 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4324 { (eval echo configure:4 325: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4401 { (eval echo configure:4402: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4325 4402 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4326 4403 if test -z "$ac_err"; then … … 4367 4444 4368 4445 4369 if test - d $srcdir/po; then4446 if test -f $srcdir/po/POTFILES.in; then 4370 4447 test -d po || mkdir po 4371 4448 if test "x$srcdir" != "x."; then 4372 if test "x`echo $srcdir | sed -e 's@.\:/.*@@' -e 's@/.*@@' `" = "x"; then4449 if test "x`echo $srcdir | sed -e 's@.\:/.*@@' -e 's@/.*@@' `" = "x"; then 4373 4450 posrcprefix="$srcdir/" 4374 4451 else … … 4386 4463 . ${srcdir}/../bfd/configure.host 4387 4464 4465 # Put a plausible default for CC_FOR_BUILD in Makefile. 4466 if test -z "$CC_FOR_BUILD"; then 4467 if test "x$cross_compiling" = "xno"; then 4468 CC_FOR_BUILD='$(CC)' 4469 else 4470 CC_FOR_BUILD=gcc 4471 fi 4472 fi 4473 4474 # Also set EXEEXT_FOR_BUILD. 4475 if test "x$cross_compiling" = "xno"; then 4476 EXEEXT_FOR_BUILD='$(EXEEXT)' 4477 else 4478 echo $ac_n "checking for build system executable suffix""... $ac_c" 1>&6 4479 echo "configure:4480: checking for build system executable suffix" >&5 4480 if eval "test \"`echo '$''{'bfd_cv_build_exeext'+set}'`\" = set"; then 4481 echo $ac_n "(cached) $ac_c" 1>&6 4482 else 4483 rm -f conftest* 4484 echo 'int main () { return 0; }' > conftest.c 4485 bfd_cv_build_exeext= 4486 ${CC_FOR_BUILD} -o conftest conftest.c 1>&5 2>&5 4487 for file in conftest.*; do 4488 case $file in 4489 *.c | *.o | *.obj | *.ilk | *.pdb) ;; 4490 *) bfd_cv_build_exeext=`echo $file | sed -e s/conftest//` ;; 4491 esac 4492 done 4493 rm -f conftest* 4494 test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no 4495 fi 4496 4497 echo "$ac_t""$bfd_cv_build_exeext" 1>&6 4498 EXEEXT_FOR_BUILD="" 4499 test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext} 4500 fi 4501 4502 4388 4503 4389 4504 # Find a good install program. We prefer a C program (faster), … … 4399 4514 # ./install, which can be erroneously created by make from ./install.sh. 4400 4515 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 4401 echo "configure:4 402: checking for a BSD compatible install" >&54516 echo "configure:4517: checking for a BSD compatible install" >&5 4402 4517 if test -z "$INSTALL"; then 4403 4518 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 4458 4573 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4459 4574 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4460 echo "configure:4 461: checking for $ac_hdr" >&54575 echo "configure:4576: checking for $ac_hdr" >&5 4461 4576 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4462 4577 echo $ac_n "(cached) $ac_c" 1>&6 … … 4464 4579 cat > conftest.$ac_ext <<EOF 4465 4580 #include <sys/types.h> 4466 #line 4 467"configure"4581 #line 4582 "configure" 4467 4582 #include "confdefs.h" 4468 4583 #include <$ac_hdr> 4469 4584 EOF 4470 4585 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4471 { (eval echo configure:4 472: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4586 { (eval echo configure:4587: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4472 4587 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4473 4588 if test -z "$ac_err"; then … … 4601 4716 bfd_d10v_arch) ta="$ta d10v-dis.lo d10v-opc.lo" ;; 4602 4717 bfd_d30v_arch) ta="$ta d30v-dis.lo d30v-opc.lo" ;; 4718 bfd_dlx_arch) ta="$ta dlx-dis.lo" ;; 4603 4719 bfd_fr30_arch) ta="$ta fr30-asm.lo fr30-desc.lo fr30-dis.lo fr30-ibld.lo fr30-opc.lo" using_cgen=yes ;; 4604 4720 bfd_h8300_arch) ta="$ta h8300-dis.lo" ;; … … 4610 4726 bfd_i960_arch) ta="$ta i960-dis.lo" ;; 4611 4727 bfd_ia64_arch) ta="$ta ia64-dis.lo ia64-opc.lo" ;; 4728 bfd_ip2k_arch) ta="$ta ip2k-asm.lo ip2k-desc.lo ip2k-dis.lo ip2k-ibld.lo ip2k-opc.lo" using_cgen=yes ;; 4729 bfd_iq2000_arch) ta="$ta iq2000-asm.lo iq2000-desc.lo iq2000-dis.lo iq2000-ibld.lo iq2000-opc.lo" using_cgen=yes ;; 4612 4730 bfd_m32r_arch) ta="$ta m32r-asm.lo m32r-desc.lo m32r-dis.lo m32r-ibld.lo m32r-opc.lo m32r-opinst.lo" using_cgen=yes ;; 4613 4731 bfd_m68hc11_arch) ta="$ta m68hc11-dis.lo m68hc11-opc.lo" ;; … … 4617 4735 bfd_mcore_arch) ta="$ta mcore-dis.lo" ;; 4618 4736 bfd_mips_arch) ta="$ta mips-dis.lo mips-opc.lo mips16-opc.lo" ;; 4737 bfd_mmix_arch) ta="$ta mmix-dis.lo mmix-opc.lo" ;; 4619 4738 bfd_mn10200_arch) ta="$ta m10200-dis.lo m10200-opc.lo" ;; 4620 4739 bfd_mn10300_arch) ta="$ta m10300-dis.lo m10300-opc.lo" ;; 4740 bfd_msp430_arch) ta="$ta msp430-dis.lo" ;; 4621 4741 bfd_ns32k_arch) ta="$ta ns32k-dis.lo" ;; 4742 bfd_openrisc_arch) ta="$ta openrisc-asm.lo openrisc-desc.lo openrisc-dis.lo openrisc-ibld.lo openrisc-opc.lo" using_cgen=yes ;; 4743 bfd_or32_arch) ta="$ta or32-dis.lo or32-opc.lo" using_cgen=yes ;; 4744 bfd_pdp11_arch) ta="$ta pdp11-dis.lo pdp11-opc.lo" ;; 4622 4745 bfd_pj_arch) ta="$ta pj-dis.lo pj-opc.lo" ;; 4623 4746 bfd_powerpc_arch) ta="$ta ppc-dis.lo ppc-opc.lo" ;; … … 4626 4749 bfd_romp_arch) ;; 4627 4750 bfd_rs6000_arch) ta="$ta ppc-dis.lo ppc-opc.lo" ;; 4751 bfd_s390_arch) ta="$ta s390-dis.lo s390-opc.lo" ;; 4628 4752 bfd_sh_arch) 4753 # We can't decide what we want just from the CPU family. 4754 # We want SH5 support unless a specific version of sh is 4755 # specified, as in sh3-elf, sh3b-linux-gnu, etc. 4756 # Include it just for ELF targets, since the SH5 bfd:s are ELF only. 4757 for t in $target $canon_targets; do 4758 case $t in 4759 all | sh5*-* | sh64*-* | sh-*-*elf* | shl*-*-*elf* | \ 4760 sh-*-linux* | shl-*-linux*) 4761 ta="$ta sh64-dis.lo sh64-opc.lo" 4762 archdefs="$archdefs -DINCLUDE_SHMEDIA" 4763 break;; 4764 esac; 4765 done 4629 4766 ta="$ta sh-dis.lo" ;; 4630 4767 bfd_sparc_arch) ta="$ta sparc-dis.lo sparc-opc.lo" ;; 4631 4768 bfd_tahoe_arch) ;; 4632 4769 bfd_tic30_arch) ta="$ta tic30-dis.lo" ;; 4770 bfd_tic4x_arch) ta="$ta tic4x-dis.lo" ;; 4633 4771 bfd_tic54x_arch) ta="$ta tic54x-dis.lo tic54x-opc.lo" ;; 4634 4772 bfd_tic80_arch) ta="$ta tic80-dis.lo tic80-opc.lo" ;; … … 4639 4777 bfd_w65_arch) ta="$ta w65-dis.lo" ;; 4640 4778 bfd_we32k_arch) ;; 4779 bfd_xstormy16_arch) ta="$ta xstormy16-asm.lo xstormy16-desc.lo xstormy16-dis.lo xstormy16-ibld.lo xstormy16-opc.lo" using_cgen=yes ;; 4780 bfd_xtensa_arch) ta="$ta xtensa-dis.lo" ;; 4641 4781 bfd_z8k_arch) ta="$ta z8k-dis.lo" ;; 4782 bfd_frv_arch) ta="$ta frv-asm.lo frv-desc.lo frv-dis.lo frv-ibld.lo frv-opc.lo" using_cgen=yes ;; 4642 4783 4643 4784 "") ;; … … 4857 4998 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g 4858 4999 s%@MAINT@%$MAINT%g 5000 s%@INSTALL_LIBBFD_TRUE@%$INSTALL_LIBBFD_TRUE%g 5001 s%@INSTALL_LIBBFD_FALSE@%$INSTALL_LIBBFD_FALSE%g 5002 s%@bfdlibdir@%$bfdlibdir%g 5003 s%@bfdincludedir@%$bfdincludedir%g 4859 5004 s%@CPP@%$CPP%g 4860 5005 s%@ALLOCA@%$ALLOCA%g … … 4879 5024 s%@MKINSTALLDIRS@%$MKINSTALLDIRS%g 4880 5025 s%@l@%$l%g 5026 s%@CC_FOR_BUILD@%$CC_FOR_BUILD%g 5027 s%@EXEEXT_FOR_BUILD@%$EXEEXT_FOR_BUILD%g 4881 5028 s%@HDEFINES@%$HDEFINES%g 4882 5029 s%@CGEN_MAINT_TRUE@%$CGEN_MAINT_TRUE%g -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.