Changeset 609 for branches/GNU/src/binutils/gas/configure
- Timestamp:
- Aug 16, 2003, 6:59:22 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/binutils/gas/configure
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r608 r609 56 56 silent= 57 57 site= 58 sitefile=59 58 srcdir= 60 59 target=NONE … … 171 170 --no-create do not create output files 172 171 --quiet, --silent do not print \`checking...' messages 173 --site-file=FILE use FILE as the site file174 172 --version print the version of autoconf that created configure 175 173 Directory and file names: … … 342 340 site="$ac_optarg" ;; 343 341 344 -site-file | --site-file | --site-fil | --site-fi | --site-f)345 ac_prev=sitefile ;;346 -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)347 sitefile="$ac_optarg" ;;348 349 342 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 350 343 ac_prev=srcdir ;; … … 512 505 513 506 # Prefer explicitly selected file to automatically selected ones. 514 if test -z "$sitefile"; then 515 if test -z "$CONFIG_SITE"; then 516 if test "x$prefix" != xNONE; then 517 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 518 else 519 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 520 fi 507 if test -z "$CONFIG_SITE"; then 508 if test "x$prefix" != xNONE; then 509 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 510 else 511 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 521 512 fi 522 else523 CONFIG_SITE="$sitefile"524 513 fi 525 514 for ac_site_file in $CONFIG_SITE; do … … 560 549 561 550 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 562 echo "configure:5 63: checking for Cygwin environment" >&5551 echo "configure:552: checking for Cygwin environment" >&5 563 552 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 564 553 echo $ac_n "(cached) $ac_c" 1>&6 565 554 else 566 555 cat > conftest.$ac_ext <<EOF 567 #line 5 68"configure"556 #line 557 "configure" 568 557 #include "confdefs.h" 569 558 … … 576 565 ; return 0; } 577 566 EOF 578 if { (eval echo configure:5 79: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then567 if { (eval echo configure:568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 579 568 rm -rf conftest* 580 569 ac_cv_cygwin=yes … … 593 582 test "$ac_cv_cygwin" = yes && CYGWIN=yes 594 583 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 595 echo "configure:5 96: checking for mingw32 environment" >&5584 echo "configure:585: checking for mingw32 environment" >&5 596 585 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 597 586 echo $ac_n "(cached) $ac_c" 1>&6 598 587 else 599 588 cat > conftest.$ac_ext <<EOF 600 #line 601"configure"589 #line 590 "configure" 601 590 #include "confdefs.h" 602 591 … … 605 594 ; return 0; } 606 595 EOF 607 if { (eval echo configure: 608: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then596 if { (eval echo configure:597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 608 597 rm -rf conftest* 609 598 ac_cv_mingw32=yes … … 670 659 671 660 echo $ac_n "checking host system type""... $ac_c" 1>&6 672 echo "configure:6 73: checking host system type" >&5661 echo "configure:662: checking host system type" >&5 673 662 674 663 host_alias=$host … … 691 680 692 681 echo $ac_n "checking target system type""... $ac_c" 1>&6 693 echo "configure:6 94: checking target system type" >&5682 echo "configure:683: checking target system type" >&5 694 683 695 684 target_alias=$target … … 709 698 710 699 echo $ac_n "checking build system type""... $ac_c" 1>&6 711 echo "configure:7 12: checking build system type" >&5700 echo "configure:701: checking build system type" >&5 712 701 713 702 build_alias=$build … … 734 723 set dummy gcc; ac_word=$2 735 724 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 736 echo "configure:7 37: checking for $ac_word" >&5725 echo "configure:726: checking for $ac_word" >&5 737 726 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 738 727 echo $ac_n "(cached) $ac_c" 1>&6 … … 764 753 set dummy cc; ac_word=$2 765 754 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 766 echo "configure:7 67: checking for $ac_word" >&5755 echo "configure:756: checking for $ac_word" >&5 767 756 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 768 757 echo $ac_n "(cached) $ac_c" 1>&6 … … 815 804 set dummy cl; ac_word=$2 816 805 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 817 echo "configure:8 18: checking for $ac_word" >&5806 echo "configure:807: checking for $ac_word" >&5 818 807 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 819 808 echo $ac_n "(cached) $ac_c" 1>&6 … … 847 836 848 837 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 849 echo "configure:8 50: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5838 echo "configure:839: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 850 839 851 840 ac_ext=c … … 858 847 cat > conftest.$ac_ext << EOF 859 848 860 #line 8 61"configure"849 #line 850 "configure" 861 850 #include "confdefs.h" 862 851 863 852 main(){return(0);} 864 853 EOF 865 if { (eval echo configure:8 66: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then854 if { (eval echo configure:855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 866 855 ac_cv_prog_cc_works=yes 867 856 # If we can't run a trivial program, we are probably using a cross compiler. … … 889 878 fi 890 879 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 891 echo "configure:8 92: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5880 echo "configure:881: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 892 881 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 893 882 cross_compiling=$ac_cv_prog_cc_cross 894 883 895 884 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 896 echo "configure:8 97: checking whether we are using GNU C" >&5885 echo "configure:886: checking whether we are using GNU C" >&5 897 886 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 898 887 echo $ac_n "(cached) $ac_c" 1>&6 … … 903 892 #endif 904 893 EOF 905 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure: 906: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then894 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 906 895 ac_cv_prog_gcc=yes 907 896 else … … 922 911 CFLAGS= 923 912 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 924 echo "configure:9 25: checking whether ${CC-cc} accepts -g" >&5913 echo "configure:914: checking whether ${CC-cc} accepts -g" >&5 925 914 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 926 915 echo $ac_n "(cached) $ac_c" 1>&6 … … 954 943 955 944 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 956 echo "configure:9 57: checking for POSIXized ISC" >&5945 echo "configure:946: checking for POSIXized ISC" >&5 957 946 if test -d /etc/conf/kconfig.d && 958 947 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 … … 988 977 # ./install, which can be erroneously created by make from ./install.sh. 989 978 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 990 echo "configure:9 91: checking for a BSD compatible install" >&5979 echo "configure:980: checking for a BSD compatible install" >&5 991 980 if test -z "$INSTALL"; then 992 981 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 1041 1030 1042 1031 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 1043 echo "configure:10 44: checking whether build environment is sane" >&51032 echo "configure:1033: checking whether build environment is sane" >&5 1044 1033 # Just in case 1045 1034 sleep 1 … … 1098 1087 1099 1088 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 1100 echo "configure:1 101: checking whether ${MAKE-make} sets \${MAKE}" >&51089 echo "configure:1090: checking whether ${MAKE-make} sets \${MAKE}" >&5 1101 1090 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 1102 1091 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 1144 1133 missing_dir=`cd $ac_aux_dir && pwd` 1145 1134 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 1146 echo "configure:11 47: checking for working aclocal" >&51135 echo "configure:1136: checking for working aclocal" >&5 1147 1136 # Run test in a subshell; some versions of sh will print an error if 1148 1137 # an executable is not found, even if stderr is redirected. … … 1157 1146 1158 1147 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 1159 echo "configure:11 60: checking for working autoconf" >&51148 echo "configure:1149: checking for working autoconf" >&5 1160 1149 # Run test in a subshell; some versions of sh will print an error if 1161 1150 # an executable is not found, even if stderr is redirected. … … 1170 1159 1171 1160 echo $ac_n "checking for working automake""... $ac_c" 1>&6 1172 echo "configure:11 73: checking for working automake" >&51161 echo "configure:1162: checking for working automake" >&5 1173 1162 # Run test in a subshell; some versions of sh will print an error if 1174 1163 # an executable is not found, even if stderr is redirected. … … 1183 1172 1184 1173 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 1185 echo "configure:11 86: checking for working autoheader" >&51174 echo "configure:1175: checking for working autoheader" >&5 1186 1175 # Run test in a subshell; some versions of sh will print an error if 1187 1176 # an executable is not found, even if stderr is redirected. … … 1196 1185 1197 1186 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 1198 echo "configure:11 99: checking for working makeinfo" >&51187 echo "configure:1188: checking for working makeinfo" >&5 1199 1188 # Run test in a subshell; some versions of sh will print an error if 1200 1189 # an executable is not found, even if stderr is redirected. … … 1214 1203 enableval="$enable_shared" 1215 1204 p=${PACKAGE-default} 1216 case "$enableval"in1205 case $enableval in 1217 1206 yes) enable_shared=yes ;; 1218 1207 no) enable_shared=no ;; … … 1237 1226 enableval="$enable_static" 1238 1227 p=${PACKAGE-default} 1239 case "$enableval"in1228 case $enableval in 1240 1229 yes) enable_static=yes ;; 1241 1230 no) enable_static=no ;; … … 1260 1249 enableval="$enable_fast_install" 1261 1250 p=${PACKAGE-default} 1262 case "$enableval"in1251 case $enableval in 1263 1252 yes) enable_fast_install=yes ;; 1264 1253 no) enable_fast_install=no ;; … … 1288 1277 1289 1278 ac_prog=ld 1290 if test "$ ac_cv_prog_gcc" = yes; then1279 if test "$GCC" = yes; then 1291 1280 # Check if gcc -print-prog-name=ld gives a path. 1292 1281 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 1293 echo "configure:12 94: checking for ld used by GCC" >&51282 echo "configure:1283: checking for ld used by GCC" >&5 1294 1283 case $host in 1295 1284 *-*-mingw*) … … 1299 1288 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 1300 1289 esac 1301 case "$ac_prog"in1290 case $ac_prog in 1302 1291 # Accept absolute paths. 1303 1292 [\\/]* | [A-Za-z]:[\\/]*) … … 1321 1310 elif test "$with_gnu_ld" = yes; then 1322 1311 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 1323 echo "configure:13 24: checking for GNU ld" >&51312 echo "configure:1313: checking for GNU ld" >&5 1324 1313 else 1325 1314 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 1326 echo "configure:13 27: checking for non-GNU ld" >&51327 fi 1328 if eval "test \"`echo '$''{' ac_cv_path_LD'+set}'`\" = set"; then1315 echo "configure:1316: checking for non-GNU ld" >&5 1316 fi 1317 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then 1329 1318 echo $ac_n "(cached) $ac_c" 1>&6 1330 1319 else … … 1334 1323 test -z "$ac_dir" && ac_dir=. 1335 1324 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 1336 ac_cv_path_LD="$ac_dir/$ac_prog"1325 lt_cv_path_LD="$ac_dir/$ac_prog" 1337 1326 # Check to see if the program is GNU ld. I'd rather use --version, 1338 1327 # but apparently some GNU ld's only accept -v. 1339 1328 # Break only if it was the GNU/non-GNU ld that we prefer. 1340 if "$ ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then1329 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then 1341 1330 test "$with_gnu_ld" != no && break 1342 1331 else … … 1347 1336 IFS="$ac_save_ifs" 1348 1337 else 1349 ac_cv_path_LD="$LD" # Let the user override the test with a path.1350 fi 1351 fi 1352 1353 LD="$ ac_cv_path_LD"1338 lt_cv_path_LD="$LD" # Let the user override the test with a path. 1339 fi 1340 fi 1341 1342 LD="$lt_cv_path_LD" 1354 1343 if test -n "$LD"; then 1355 1344 echo "$ac_t""$LD" 1>&6 … … 1359 1348 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } 1360 1349 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 1361 echo "configure:13 62: checking if the linker ($LD) is GNU ld" >&51362 if eval "test \"`echo '$''{' ac_cv_prog_gnu_ld'+set}'`\" = set"; then1350 echo "configure:1351: checking if the linker ($LD) is GNU ld" >&5 1351 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then 1363 1352 echo $ac_n "(cached) $ac_c" 1>&6 1364 1353 else 1365 1354 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 1366 1355 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 1367 ac_cv_prog_gnu_ld=yes1368 else 1369 ac_cv_prog_gnu_ld=no1370 fi 1371 fi 1372 1373 echo "$ac_t""$ ac_cv_prog_gnu_ld" 1>&61374 with_gnu_ld=$ ac_cv_prog_gnu_ld1356 lt_cv_prog_gnu_ld=yes 1357 else 1358 lt_cv_prog_gnu_ld=no 1359 fi 1360 fi 1361 1362 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6 1363 with_gnu_ld=$lt_cv_prog_gnu_ld 1375 1364 1376 1365 1377 1366 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6 1378 echo "configure:13 79: checking for $LD option to reload object files" >&51367 echo "configure:1368: checking for $LD option to reload object files" >&5 1379 1368 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then 1380 1369 echo $ac_n "(cached) $ac_c" 1>&6 … … 1388 1377 1389 1378 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 1390 echo "configure:13 91: checking for BSD-compatible nm" >&51391 if eval "test \"`echo '$''{' ac_cv_path_NM'+set}'`\" = set"; then1379 echo "configure:1380: checking for BSD-compatible nm" >&5 1380 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then 1392 1381 echo $ac_n "(cached) $ac_c" 1>&6 1393 1382 else 1394 1383 if test -n "$NM"; then 1395 1384 # Let the user override the test. 1396 ac_cv_path_NM="$NM"1385 lt_cv_path_NM="$NM" 1397 1386 else 1398 1387 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" … … 1406 1395 # Tru64's nm complains that /dev/null is an invalid object file 1407 1396 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then 1408 ac_cv_path_NM="$tmp_nm -B"1397 lt_cv_path_NM="$tmp_nm -B" 1409 1398 break 1410 1399 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then 1411 ac_cv_path_NM="$tmp_nm -p"1400 lt_cv_path_NM="$tmp_nm -p" 1412 1401 break 1413 1402 else 1414 ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but1403 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 1415 1404 continue # so that we can try to find one that supports BSD flags 1416 1405 fi … … 1418 1407 done 1419 1408 IFS="$ac_save_ifs" 1420 test -z "$ ac_cv_path_NM" && ac_cv_path_NM=nm1421 fi 1422 fi 1423 1424 NM="$ ac_cv_path_NM"1409 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm 1410 fi 1411 fi 1412 1413 NM="$lt_cv_path_NM" 1425 1414 echo "$ac_t""$NM" 1>&6 1426 1415 1427 1416 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1428 echo "configure:14 29: checking whether ln -s works" >&51417 echo "configure:1418: checking whether ln -s works" >&5 1429 1418 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1430 1419 echo $ac_n "(cached) $ac_c" 1>&6 … … 1447 1436 1448 1437 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6 1449 echo "configure:14 50: checking how to recognise dependant libraries" >&51438 echo "configure:1439: checking how to recognise dependant libraries" >&5 1450 1439 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then 1451 1440 echo $ac_n "(cached) $ac_c" 1>&6 … … 1465 1454 # whether `pass_all' will *always* work, you probably want this one. 1466 1455 1467 case "$host_os"in1468 aix 4*)1456 case $host_os in 1457 aix*) 1469 1458 lt_cv_deplibs_check_method=pass_all 1470 1459 ;; … … 1475 1464 1476 1465 bsdi4*) 1477 1478 1466 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 1467 lt_cv_file_magic_cmd='/usr/bin/file -L' 1479 1468 lt_cv_file_magic_test_file=/shlib/libc.so 1480 1469 ;; … … 1485 1474 ;; 1486 1475 1476 darwin* | rhapsody*) 1477 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' 1478 lt_cv_file_magic_cmd='/usr/bin/file -L' 1479 case "$host_os" in 1480 rhapsody* | darwin1.012) 1481 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System' 1482 ;; 1483 *) # Darwin 1.3 on 1484 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' 1485 ;; 1486 esac 1487 ;; 1488 1487 1489 freebsd* ) 1488 1490 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 1489 case "$host_cpu"in1491 case $host_cpu in 1490 1492 i*86 ) 1491 1493 # Not sure whether the presence of OpenBSD here was a mistake. 1492 1494 # Let's accept both of them until this is cleared up. 1493 1494 1495 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' 1496 lt_cv_file_magic_cmd=/usr/bin/file 1495 1497 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 1496 1498 ;; … … 1505 1507 ;; 1506 1508 1507 hpux10.20*) 1508 # TODO: Does this work for hpux-11 too? 1509 lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library' 1510 lt_cv_file_magic_cmd=/usr/bin/file 1511 lt_cv_file_magic_test_file=/usr/lib/libc.sl 1509 hpux10.20*|hpux11*) 1510 case $host_cpu in 1511 hppa*) 1512 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 1513 lt_cv_file_magic_cmd=/usr/bin/file 1514 lt_cv_file_magic_test_file=/usr/lib/libc.sl 1515 ;; 1516 ia64*) 1517 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 1518 lt_cv_file_magic_cmd=/usr/bin/file 1519 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 1520 ;; 1521 esac 1512 1522 ;; 1513 1523 1514 1524 irix5* | irix6*) 1515 case "$host_os"in1525 case $host_os in 1516 1526 irix5*) 1517 1527 # this will be overridden with pass_all, but let us keep it just in case … … 1519 1529 ;; 1520 1530 *) 1521 case "$LD"in1531 case $LD in 1522 1532 *-32|*"-32 ") libmagic=32-bit;; 1523 1533 *-n32|*"-n32 ") libmagic=N32;; … … 1526 1536 esac 1527 1537 # this will be overridden with pass_all, but let us keep it just in case 1528 1529 1538 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" 1539 ;; 1530 1540 esac 1531 1541 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` … … 1535 1545 # This must be Linux ELF. 1536 1546 linux-gnu*) 1537 case "$host_cpu"in1538 alpha* | i*86 | powerpc* | sparc* | ia64* )1547 case $host_cpu in 1548 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* ) 1539 1549 lt_cv_deplibs_check_method=pass_all ;; 1540 1550 *) 1541 1551 # glibc up to 2.1.1 does not perform some relocations on ARM 1542 1543 1552 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; 1553 esac 1544 1554 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` 1545 1555 ;; 1546 1556 1547 1557 netbsd*) 1548 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then : 1558 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 1559 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' 1549 1560 else 1550 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' 1551 lt_cv_file_magic_cmd='/usr/bin/file -L' 1552 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 1561 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' 1553 1562 fi 1563 ;; 1564 1565 newsos6) 1566 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 1567 lt_cv_file_magic_cmd=/usr/bin/file 1568 lt_cv_file_magic_test_file=/usr/lib/libnls.so 1554 1569 ;; 1555 1570 … … 1570 1585 ;; 1571 1586 1587 sysv5uw[78]* | sysv4*uw2*) 1588 lt_cv_deplibs_check_method=pass_all 1589 ;; 1590 1572 1591 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 1573 case "$host_vendor"in1592 case $host_vendor in 1574 1593 ncr) 1575 1594 lt_cv_deplibs_check_method=pass_all 1576 1595 ;; 1577 1596 motorola) 1578 1579 1597 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]' 1598 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 1580 1599 ;; 1581 1600 esac … … 1590 1609 1591 1610 echo $ac_n "checking for object suffix""... $ac_c" 1>&6 1592 echo "configure:1 593: checking for object suffix" >&51611 echo "configure:1612: checking for object suffix" >&5 1593 1612 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then 1594 1613 echo $ac_n "(cached) $ac_c" 1>&6 … … 1596 1615 rm -f conftest* 1597 1616 echo 'int i = 1;' > conftest.$ac_ext 1598 if { (eval echo configure:1 599: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1617 if { (eval echo configure:1618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1599 1618 for ac_file in conftest.*; do 1600 1619 case $ac_file in … … 1616 1635 1617 1636 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 1618 echo "configure:16 19: checking for executable suffix" >&51637 echo "configure:1638: checking for executable suffix" >&5 1619 1638 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 1620 1639 echo $ac_n "(cached) $ac_c" 1>&6 … … 1626 1645 echo 'int main () { return 0; }' > conftest.$ac_ext 1627 1646 ac_cv_exeext= 1628 if { (eval echo configure:16 29: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1647 if { (eval echo configure:1648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1629 1648 for file in conftest.*; do 1630 1649 case $file in 1631 *.c | *.o | *.obj | *.ilk | *.pdb) ;;1650 *.c | *.o | *.obj) ;; 1632 1651 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; 1633 1652 esac … … 1655 1674 1656 1675 # Only perform the check for file, if the check method requires it 1657 case "$deplibs_check_method"in1676 case $deplibs_check_method in 1658 1677 file_magic*) 1659 1678 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 1660 1679 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6 1661 echo "configure:16 62: checking for ${ac_tool_prefix}file" >&51680 echo "configure:1681: checking for ${ac_tool_prefix}file" >&5 1662 1681 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1663 1682 echo $ac_n "(cached) $ac_c" 1>&6 1664 1683 else 1665 case "$MAGIC_CMD"in1684 case $MAGIC_CMD in 1666 1685 /*) 1667 1686 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. … … 1679 1698 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 1680 1699 if test -n "$file_magic_test_file"; then 1681 case "$deplibs_check_method"in1700 case $deplibs_check_method in 1682 1701 "file_magic "*) 1683 1702 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" … … 1721 1740 if test -n "$ac_tool_prefix"; then 1722 1741 echo $ac_n "checking for file""... $ac_c" 1>&6 1723 echo "configure:17 24: checking for file" >&51742 echo "configure:1743: checking for file" >&5 1724 1743 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1725 1744 echo $ac_n "(cached) $ac_c" 1>&6 1726 1745 else 1727 case "$MAGIC_CMD"in1746 case $MAGIC_CMD in 1728 1747 /*) 1729 1748 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. … … 1741 1760 lt_cv_path_MAGIC_CMD="$ac_dir/file" 1742 1761 if test -n "$file_magic_test_file"; then 1743 case "$deplibs_check_method"in1762 case $deplibs_check_method in 1744 1763 "file_magic "*) 1745 1764 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" … … 1792 1811 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1793 1812 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1794 echo "configure:1 795: checking for $ac_word" >&51813 echo "configure:1814: checking for $ac_word" >&5 1795 1814 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1796 1815 echo $ac_n "(cached) $ac_c" 1>&6 … … 1824 1843 set dummy ranlib; ac_word=$2 1825 1844 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1826 echo "configure:18 27: checking for $ac_word" >&51845 echo "configure:1846: checking for $ac_word" >&5 1827 1846 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1828 1847 echo $ac_n "(cached) $ac_c" 1>&6 … … 1859 1878 set dummy ${ac_tool_prefix}strip; ac_word=$2 1860 1879 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1861 echo "configure:18 62: checking for $ac_word" >&51880 echo "configure:1881: checking for $ac_word" >&5 1862 1881 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 1863 1882 echo $ac_n "(cached) $ac_c" 1>&6 … … 1891 1910 set dummy strip; ac_word=$2 1892 1911 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1893 echo "configure:1 894: checking for $ac_word" >&51912 echo "configure:1913: checking for $ac_word" >&5 1894 1913 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 1895 1914 echo $ac_n "(cached) $ac_c" 1>&6 … … 1929 1948 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static" 1930 1949 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install" 1931 test "$ ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"1932 test "$ ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"1950 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc" 1951 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld" 1933 1952 1934 1953 … … 1955 1974 # Some flags need to be propagated to the compiler or linker for good 1956 1975 # libtool support. 1957 case "$host"in1976 case $host in 1958 1977 *-*-irix6*) 1959 1978 # Find out which ABI we are using. 1960 echo '#line 1961 "configure"' > conftest.$ac_ext 1961 if { (eval echo configure:1962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1962 case "`/usr/bin/file conftest.o`" in 1979 echo '#line 1980 "configure"' > conftest.$ac_ext 1980 if { (eval echo configure:1981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1981 if test "$lt_cv_prog_gnu_ld" = yes; then 1982 case `/usr/bin/file conftest.$ac_objext` in 1983 *32-bit*) 1984 LD="${LD-ld} -melf32bsmip" 1985 ;; 1986 *N32*) 1987 LD="${LD-ld} -melf32bmipn32" 1988 ;; 1989 *64-bit*) 1990 LD="${LD-ld} -melf64bmip" 1991 ;; 1992 esac 1993 else 1994 case `/usr/bin/file conftest.$ac_objext` in 1963 1995 *32-bit*) 1964 1996 LD="${LD-ld} -32" … … 1971 2003 ;; 1972 2004 esac 2005 fi 2006 fi 2007 rm -rf conftest* 2008 ;; 2009 2010 ia64-*-hpux*) 2011 # Find out which ABI we are using. 2012 echo 'int i;' > conftest.$ac_ext 2013 if { (eval echo configure:2014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2014 case "`/usr/bin/file conftest.o`" in 2015 *ELF-32*) 2016 HPUX_IA64_MODE="32" 2017 ;; 2018 *ELF-64*) 2019 HPUX_IA64_MODE="64" 2020 ;; 2021 esac 2022 fi 2023 rm -rf conftest* 2024 ;; 2025 2026 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) 2027 # Find out which ABI we are using. 2028 echo 'int i;' > conftest.$ac_ext 2029 if { (eval echo configure:2030: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2030 case "`/usr/bin/file conftest.o`" in 2031 *32-bit*) 2032 case $host in 2033 x86_64-*linux*) 2034 LD="${LD-ld} -m elf_i386" 2035 ;; 2036 ppc64-*linux*) 2037 LD="${LD-ld} -m elf32ppclinux" 2038 ;; 2039 s390x-*linux*) 2040 LD="${LD-ld} -m elf_s390" 2041 ;; 2042 sparc64-*linux*) 2043 LD="${LD-ld} -m elf32_sparc" 2044 ;; 2045 esac 2046 ;; 2047 *64-bit*) 2048 case $host in 2049 x86_64-*linux*) 2050 LD="${LD-ld} -m elf_x86_64" 2051 ;; 2052 ppc*-*linux*|powerpc*-*linux*) 2053 LD="${LD-ld} -m elf64ppc" 2054 ;; 2055 s390*-*linux*) 2056 LD="${LD-ld} -m elf64_s390" 2057 ;; 2058 sparc*-*linux*) 2059 LD="${LD-ld} -m elf64_sparc" 2060 ;; 2061 esac 2062 ;; 2063 esac 1973 2064 fi 1974 2065 rm -rf conftest* … … 1980 2071 CFLAGS="$CFLAGS -belf" 1981 2072 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 1982 echo "configure: 1983: checking whether the C compiler needs -belf" >&52073 echo "configure:2074: checking whether the C compiler needs -belf" >&5 1983 2074 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then 1984 2075 echo $ac_n "(cached) $ac_c" 1>&6 … … 1993 2084 1994 2085 cat > conftest.$ac_ext <<EOF 1995 #line 1996"configure"2086 #line 2087 "configure" 1996 2087 #include "confdefs.h" 1997 2088 … … 2000 2091 ; return 0; } 2001 2092 EOF 2002 if { (eval echo configure:20 03: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2093 if { (eval echo configure:2094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2003 2094 rm -rf conftest* 2004 2095 lt_cv_cc_needs_belf=yes … … 2110 2201 exec 5>>./config.log 2111 2202 2112 2113 2203 2114 2204 … … 2149 2239 using_cgen=no 2150 2240 2151 build_warnings="-W -Wall "2241 build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" 2152 2242 # Check whether --enable-build-warnings or --disable-build-warnings was given. 2153 2243 if test "${enable_build_warnings+set}" = set; then … … 2181 2271 GDBINIT=".gdbinit" 2182 2272 case "${host}" in 2183 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*- cygwin* | *-*-windows*)2273 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-windows*) 2184 2274 GDBINIT="gdb.ini" 2185 2275 ;; … … 2234 2324 case ${cpu} in 2235 2325 alpha*) cpu_type=alpha ;; 2236 armeb) cpu_type=arm endian=big ;; 2237 arm*) cpu_type=arm endian=little ;; 2238 armb*) cpu_type=arm endian=little ;; 2239 armv*l) cpu_type=arm endian=little ;; 2240 armv*b) cpu_type=arm endian=big ;; 2241 xscale*) cpu_type=arm endian=little ;; 2242 strongarm*) cpu_type=arm endian=little ;; 2243 thumb*) cpu_type=arm endian=little ;; 2326 arm*b|xscale*b|strongarm*b) cpu_type=arm endian=big ;; 2327 arm*|xscale*|strongarm*) cpu_type=arm endian=little ;; 2244 2328 hppa*) cpu_type=hppa ;; 2245 2329 i[3456]86) cpu_type=i386 arch=i386;; 2246 2330 x86_64) cpu_type=i386 arch=x86_64;; 2247 2331 ia64) cpu_type=ia64 ;; 2332 ip2k) cpu_type=ip2k endian=big ;; 2333 iq2000) cpu_type=iq2000 endian=big ;; 2248 2334 m6811|m6812|m68hc12) cpu_type=m68hc11 ;; 2249 2335 m680[012346]0) cpu_type=m68k ;; … … 2254 2340 mips*el) cpu_type=mips endian=little ;; 2255 2341 mips*) cpu_type=mips endian=big ;; 2342 or32*) cpu_type=or32 endian=big ;; 2256 2343 pjl*) cpu_type=pj endian=little ;; 2257 2344 pj*) cpu_type=pj endian=big ;; 2258 powerpc le*) cpu_type=ppc endian=little ;;2345 powerpc*le*) cpu_type=ppc endian=little ;; 2259 2346 powerpc*) cpu_type=ppc endian=big ;; 2260 2347 rs6000*) cpu_type=ppc ;; 2348 s390x*) cpu_type=s390 arch=s390x ;; 2349 s390*) cpu_type=s390 arch=s390 ;; 2350 sh5*) cpu_type=sh64 endian=big ;; 2351 sh5le*) cpu_type=sh64 endian=little ;; 2352 sh64*) cpu_type=sh64 endian=big ;; 2353 sh64le*) cpu_type=sh64 endian=little ;; 2354 sh*le) cpu_type=sh endian=little ;; 2355 sh*) cpu_type=sh endian=big ;; 2261 2356 sparclite*) cpu_type=sparc arch=sparclite ;; 2262 2357 sparclet*) cpu_type=sparc arch=sparclet ;; … … 2265 2360 sparc*) cpu_type=sparc arch=sparclite ;; # ??? See tc-sparc.c. 2266 2361 v850*) cpu_type=v850 ;; 2362 xtensa*) cpu_type=xtensa arch=xtensa ;; 2267 2363 *) cpu_type=${cpu} ;; 2268 2364 esac … … 2281 2377 # assign object format 2282 2378 case ${generic_target} in 2283 a29k-*-coff) fmt=coff ;; 2284 a29k-amd-udi) fmt=coff ;; 2285 a29k-amd-ebmon) fmt=coff ;; 2286 a29k-nyu-sym1) fmt=coff ;; 2287 a29k-*-rtems*) fmt=coff ;; 2288 a29k-*-vxworks*) fmt=coff ;; 2289 2290 alpha*-*-*vms*) fmt=evax ;; 2291 alpha*-*-netware*) fmt=ecoff ;; 2292 alpha*-*-openbsd*) fmt=ecoff ;; 2293 alpha*-*-osf*) fmt=ecoff ;; 2294 alpha*-*-linuxecoff*) fmt=ecoff ;; 2295 alpha*-*-linux-gnu*) fmt=elf em=linux ;; 2296 alpha*-*-netbsd*) fmt=elf em=nbsd ;; 2297 2298 arc-*-elf*) fmt=elf bfd_gas=yes ;; 2299 2300 arm-*-aout) fmt=aout ;; 2301 arm-*-coff | thumb-*-coff) fmt=coff ;; 2302 arm-*-rtems | thumb-*-rtems) fmt=elf ;; 2303 arm-*-elf | thumb-*-elf) fmt=elf ;; 2379 a29k-*-coff) fmt=coff ;; 2380 a29k-amd-udi) fmt=coff ;; 2381 a29k-amd-ebmon) fmt=coff ;; 2382 a29k-nyu-sym1) fmt=coff ;; 2383 a29k-*-rtems*) fmt=coff ;; 2384 a29k-*-vxworks*) fmt=coff ;; 2385 2386 alpha*-*-*vms*) fmt=evax ;; 2387 alpha*-*-netware*) fmt=ecoff ;; 2388 alpha*-*-osf*) fmt=ecoff ;; 2389 alpha*-*-linuxecoff*) fmt=ecoff ;; 2390 alpha*-*-linux-gnu*) fmt=elf em=linux ;; 2391 alpha*-*-netbsd*) fmt=elf em=nbsd ;; 2392 alpha*-*-openbsd*) fmt=elf em=obsd ;; 2393 2394 arc-*-elf*) fmt=elf ;; 2395 2396 arm-*-aout) fmt=aout ;; 2397 arm-*-coff | thumb-*-coff) fmt=coff ;; 2398 arm-*-rtems | thumb-*-rtems) fmt=elf ;; 2399 arm-*-elf | thumb-*-elf) fmt=elf ;; 2400 arm-*-kaos*) fmt=elf ;; 2304 2401 arm*-*-conix*) fmt=elf ;; 2305 arm-*-linux*aout*) fmt=aout em=linux ;; 2306 arm*-*-linux-gnu* | arm*-*-uclinux*) 2307 fmt=elf em=linux ;; 2308 arm-*-netbsd*) fmt=aout em=nbsd ;; 2309 arm-*-oabi | thumb-*-oabi) fmt=elf ;; 2310 arm-epoc-pe | thumb-epoc-pe) fmt=coff em=epoc-pe ;; 2402 arm-*-linux*aout*) fmt=aout em=linux ;; 2403 arm*-*-linux-gnu*) fmt=elf em=linux ;; 2404 arm*-*-uclinux*) fmt=elf em=linux ;; 2405 arm-*-netbsdelf*) fmt=elf em=nbsd ;; 2406 arm-*-*n*bsd*) fmt=aout em=nbsd ;; 2407 arm-**-nto*) fmt=elf ;; 2408 arm-*-oabi | thumb-*-oabi) fmt=elf ;; 2409 arm-epoc-pe | thumb-epoc-pe) fmt=coff em=epoc-pe ;; 2311 2410 arm-*-wince) fmt=coff em=wince-pe ;; 2312 arm-*-pe | thumb-*-pe) fmt=coff em=pe ;; 2313 arm-*-riscix*) fmt=aout em=riscix ;; 2314 arm-*-vxworks) fmt=coff ;; 2315 2316 avr-*-*) fmt=elf bfd_gas=yes ;; 2317 2318 cris-*-*) fmt=multi bfd_gas=yes ;; 2319 2320 d10v-*-*) fmt=elf bfd_gas=yes ;; 2321 d30v-*-*) fmt=elf bfd_gas=yes ;; 2322 2323 2324 fr30-*-*) fmt=elf bfd_gas=yes ;; 2325 2326 hppa-*-linux-gnu*) case ${cpu} in 2327 hppa*64*) 2328 fmt=elf em=hppalinux64;; 2329 hppa*) 2330 fmt=elf em=linux;; 2331 esac ;; 2332 hppa-*-*elf*) fmt=elf em=hppa ;; 2333 hppa-*-lites*) fmt=elf em=hppa ;; 2334 hppa-*-osf*) fmt=som em=hppa ;; 2335 hppa-*-rtems*) fmt=elf em=hppa ;; 2336 hppa-*-hpux11*) case ${cpu} in 2337 hppa*64*) 2338 fmt=elf em=hppa64 ;; 2339 hppa*) 2340 fmt=som em=hppa ;; 2341 esac ;; 2342 hppa-*-hpux*) fmt=som em=hppa ;; 2343 hppa-*-mpeix*) fmt=som em=hppa ;; 2344 hppa-*-bsd*) fmt=som em=hppa ;; 2345 hppa-*-hiux*) fmt=som em=hppa ;; 2346 2347 h8300-*-rtems*) fmt=coff ;; 2348 h8300-*-coff) fmt=coff ;; 2349 h8500-*-rtems*) fmt=coff ;; 2350 h8500-*-coff) fmt=coff ;; 2351 2352 i370-*-elf* | i370-*-linux*) fmt=elf ;; 2353 i386-ibm-aix*) fmt=coff em=i386aix ;; 2354 i386-sequent-bsd*) fmt=aout em=dynix bfd_gas=yes ;; 2355 i386-*-beospe*) fmt=coff em=pe bfd_gas=yes ;; 2356 i386-*-beoself* | i386-*-beos*) fmt=elf bfd_gas=yes ;; 2357 i386-*-bsd*) fmt=aout em=386bsd ;; 2358 i386-*-netbsd0.8) fmt=aout em=386bsd ;; 2359 i386-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes;; 2360 i386-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes;; 2361 i386-*-linux*aout* | i386-*-linux*oldld) fmt=aout em=linux ;; 2362 i386-*-linux*coff*) fmt=coff em=linux ;; 2363 i386-*-linux-gnu*) fmt=elf em=linux bfd_gas=yes ;; 2364 x86_64-*-linux-gnu*) fmt=elf em=linux bfd_gas=yes ;; 2365 i386-*-lynxos*) fmt=coff em=lynx ;; 2366 i386-*-sysv[45]* | i386-*-solaris* | i386-*-elf) 2367 fmt=elf bfd_gas=yes ;; 2368 i386-*-freebsdaout* | i386-*-freebsd[12].* | i386-*-freebsd[12]) 2369 fmt=aout em=386bsd ;; 2370 i386-*-coff | i386-*-sysv* | i386-*-sco3.2v5*coff | i386-*-isc*) 2371 fmt=coff ;; 2372 i386-*-sco3.2v5*) fmt=elf 2373 if test ${this_target} = $target; then 2374 cat >> confdefs.h <<\EOF 2411 arm-*-pe | thumb-*-pe) fmt=coff em=pe ;; 2412 arm-*-riscix*) fmt=aout em=riscix ;; 2413 arm-*-vxworks) fmt=coff ;; 2414 2415 avr-*-*) fmt=elf ;; 2416 2417 cris-*-*) fmt=multi bfd_gas=yes ;; 2418 2419 d10v-*-*) fmt=elf ;; 2420 d30v-*-*) fmt=elf ;; 2421 dlx-*-*) fmt=elf ;; 2422 2423 fr30-*-*) fmt=elf ;; 2424 frv-*-*) fmt=elf ;; 2425 2426 hppa-*-linux*) case ${cpu} in 2427 hppa*64*) fmt=elf em=hppalinux64;; 2428 hppa*) fmt=elf em=linux;; 2429 esac ;; 2430 hppa-*-*elf*) fmt=elf em=hppa ;; 2431 hppa-*-lites*) fmt=elf em=hppa ;; 2432 hppa-*-netbsd*) fmt=elf em=nbsd ;; 2433 hppa-*-openbsd*) fmt=elf em=hppa ;; 2434 hppa-*-osf*) fmt=som em=hppa ;; 2435 hppa-*-rtems*) fmt=elf em=hppa ;; 2436 hppa-*-hpux11*) case ${cpu} in 2437 hppa*64*) fmt=elf em=hppa64 ;; 2438 hppa*) fmt=som em=hppa ;; 2439 esac ;; 2440 hppa-*-hpux*) fmt=som em=hppa ;; 2441 hppa-*-mpeix*) fmt=som em=hppa ;; 2442 hppa-*-bsd*) fmt=som em=hppa ;; 2443 hppa-*-hiux*) fmt=som em=hppa ;; 2444 2445 h8300-*-rtems*) fmt=coff ;; 2446 h8300-*-coff) fmt=coff ;; 2447 h8300-*-elf) fmt=elf ;; 2448 h8500-*-rtems*) fmt=coff ;; 2449 h8500-*-coff) fmt=coff ;; 2450 2451 i370-*-elf* | i370-*-linux*) fmt=elf ;; 2452 i386-ibm-aix*) fmt=coff em=i386aix ;; 2453 i386-sequent-bsd*) fmt=aout em=dynix ;; 2454 i386-*-beospe*) fmt=coff em=pe ;; 2455 i386-*-beos*) fmt=elf ;; 2456 i386-*-coff) fmt=coff ;; 2457 i386-*-elf) fmt=elf ;; 2458 i386-*-kaos*) fmt=elf ;; 2459 i386-*-bsd*) fmt=aout em=386bsd ;; 2460 i386-*-netbsd0.8) fmt=aout em=386bsd ;; 2461 i386-*-netbsdpe*) fmt=coff em=pe ;; 2462 i386-*-netbsdelf*) fmt=elf em=nbsd ;; 2463 i386-*-*n*bsd*) case ${cpu} in 2464 x86_64) fmt=elf em=nbsd ;; 2465 *) fmt=aout em=nbsd ;; 2466 esac ;; 2467 i386-*-linux*aout*) fmt=aout em=linux ;; 2468 i386-*-linux*oldld) fmt=aout em=linux ;; 2469 i386-*-linux*coff*) fmt=coff em=linux ;; 2470 i386-*-linux-gnu*) fmt=elf em=linux ;; 2471 x86_64-*-linux-gnu*) fmt=elf em=linux ;; 2472 i386-*-lynxos*) fmt=coff em=lynx ;; 2473 i386-*-sysv[45]*) fmt=elf ;; 2474 i386-*-solaris*) fmt=elf ;; 2475 i386-*-freebsdaout*) fmt=aout em=386bsd ;; 2476 i386-*-freebsd[12].*) fmt=aout em=386bsd ;; 2477 i386-*-freebsd[12]) fmt=aout em=386bsd ;; 2478 i386-*-sysv*) fmt=coff ;; 2479 i386-*-sco3.2v5*coff) fmt=coff ;; 2480 i386-*-isc*) fmt=coff ;; 2481 i386-*-sco3.2v5*) fmt=elf 2482 if test ${this_target} = $target; then 2483 cat >> confdefs.h <<\EOF 2375 2484 #define SCO_ELF 1 2376 2485 EOF 2377 2486 2378 fi2379 2380 i386-*- sco3.2*) fmt=coff;;2381 i386-*- vsta) fmt=aout ;;2382 i386-*-msdosdjgpp* | i386-*-go32* | i386-go32-rtems*)2383 fmt=coff em=go32 bfd_gas=yes 2384 2487 fi ;; 2488 i386-*-sco3.2*) fmt=coff ;; 2489 i386-*-vsta) fmt=aout ;; 2490 i386-*-msdosdjgpp* \ 2491 | i386-*-go32* \ 2492 | i386-go32-rtems*) fmt=coff em=go32 2493 cat >> confdefs.h <<\EOF 2385 2494 #define STRICTCOFF 1 2386 2495 EOF 2387 2388 ;; 2389 i386-*-rtemself*) fmt=elf ;; 2390 i386-*-rtems*) fmt=coff ;; 2391 i386-*-gnu*) fmt=elf ;; 2392 i386-*-mach*) 2393 fmt=aout em=mach bfd_gas=yes ;; 2394 i386-*-msdos*) fmt=aout ;; 2395 i386-*-moss*) fmt=elf ;; 2396 i386-*-pe) fmt=coff em=pe bfd_gas=yes ;; 2397 i386-*-cygwin*) fmt=coff em=pe bfd_gas=yes ;; 2398 i386-*-interix*) fmt=coff em=interix bfd_gas=yes ;; 2399 i386-*-mingw32*) fmt=coff em=pe bfd_gas=yes ;; 2400 i386-*-*nt*) fmt=coff em=pe bfd_gas=yes ;; 2401 i386-*-vxworks*) fmt=aout ;; 2402 i386-*-chaos) fmt=elf ;; 2403 i860-stardent-sysv4* | i860-stardent-elf*) 2404 fmt=elf bfd_gas=yes endian=little 2405 echo "configure: warning: GAS support for ${generic_target} is preliminary and a work in progress" 1>&2 ;; 2406 i960-*-bout) fmt=bout ;; 2407 i960-*-coff) fmt=coff em=ic960 ;; 2408 i960-*-rtems*) fmt=coff em=ic960 ;; 2409 i960-*-nindy*) fmt=bout ;; 2410 i960-*-vxworks4*) fmt=bout ;; 2411 i960-*-vxworks5.0) fmt=bout ;; 2412 i960-*-vxworks5.*) fmt=coff em=ic960 ;; 2413 i960-*-vxworks*) fmt=bout ;; 2414 i960-*-elf*) fmt=elf ;; 2415 2416 ia64-*-elf*) fmt=elf ;; 2417 ia64-*-linux-gnu*) fmt=elf em=linux ;; 2418 ia64-*-hpux*) fmt=elf em=hpux ;; 2419 2420 m32r-*-*) fmt=elf bfd_gas=yes ;; 2421 2422 m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)fmt=elf bfd_gas=yes ;; 2423 2424 m68k-*-vxworks* | m68k-ericsson-ose | m68k-*-sunos*) 2425 fmt=aout em=sun3 ;; 2426 m68k-motorola-sysv*) fmt=coff em=delta ;; 2427 m68k-bull-sysv3*) fmt=coff em=dpx2 ;; 2428 m68k-apollo-*) fmt=coff em=apollo ;; 2429 m68k-*-sysv4*) # must be before -sysv* 2430 fmt=elf em=svr4 ;; 2431 m68k-*-elf*) fmt=elf ;; 2432 m68k-*-coff | m68k-*-sysv* | m68k-*-rtems*) 2433 fmt=coff ;; 2434 m68k-*-hpux*) fmt=hp300 em=hp300 ;; 2435 m68k-*-linux*aout*) fmt=aout em=linux ;; 2436 m68k-*-linux-gnu*) fmt=elf em=linux ;; 2437 m68k-*-gnu*) fmt=elf ;; 2438 m68k-*-lynxos*) fmt=coff em=lynx ;; 2439 m68k-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes ;; 2440 m68k-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes ;; 2441 m68k-apple-aux*) fmt=coff em=aux ;; 2442 m68k-*-psos*) fmt=elf em=psos;; 2443 2444 m88k-motorola-sysv3*) fmt=coff em=delt88 ;; 2445 m88k-*-coff*) fmt=coff ;; 2446 2447 mcore-*-elf) fmt=elf bfd_gas=yes ;; 2448 mcore-*-pe) fmt=coff em=pe bfd_gas=yes ;; 2496 ;; 2497 i386-*-rtemself*) fmt=elf ;; 2498 i386-*-rtemscoff*) fmt=coff ;; 2499 i386-*-rtems*) fmt=elf ;; 2500 i386-*-gnu*) fmt=elf ;; 2501 i386-*-mach*) fmt=aout em=mach ;; 2502 i386-*-msdos*) fmt=aout ;; 2503 i386-*-moss*) fmt=elf ;; 2504 i386-*-pe) fmt=coff em=pe ;; 2505 i386-*-cygwin*) fmt=coff em=pe ;; 2506 i386-*-interix*) fmt=coff em=interix ;; 2507 i386-*-mingw32*) fmt=coff em=pe ;; 2508 i386-*-nto-qnx*) fmt=elf ;; 2509 i386-*-*nt*) fmt=coff em=pe ;; 2510 i386-*-vxworks*) fmt=aout ;; 2511 i386-*-chaos) fmt=elf ;; 2512 2513 i860-*-*) fmt=elf endian=little 2514 echo "configure: warning: GAS support for ${generic_target} is preliminary and a work in progress" 1>&2 ;; 2515 i960-*-bout) fmt=bout ;; 2516 i960-*-coff) fmt=coff em=ic960 ;; 2517 i960-*-rtems*) fmt=coff em=ic960 ;; 2518 i960-*-nindy*) fmt=bout ;; 2519 i960-*-vxworks5.0) fmt=bout ;; 2520 i960-*-vxworks5.*) fmt=coff em=ic960 ;; 2521 i960-*-vxworks*) fmt=bout ;; 2522 i960-*-elf*) fmt=elf ;; 2523 2524 ia64-*-elf*) fmt=elf ;; 2525 ia64-*-aix*) fmt=elf em=ia64aix ;; 2526 ia64-*-linux-gnu*) fmt=elf em=linux ;; 2527 ia64-*-hpux*) fmt=elf em=hpux ;; 2528 ia64-*-netbsd*) fmt=elf em=nbsd ;; 2529 2530 ip2k-*-*) fmt=elf ;; 2531 2532 iq2000-*-elf) fmt=elf bfd_gas=yes ;; 2533 2534 m32r-*-*) fmt=elf ;; 2535 2536 m68hc11-*-* | m6811-*-*) fmt=elf ;; 2537 m68hc12-*-* | m6812-*-*) fmt=elf ;; 2538 2539 m68k-*-vxworks*) fmt=aout em=sun3 ;; 2540 m68k-ericsson-ose) fmt=aout em=sun3 ;; 2541 m68k-*-sunos*) fmt=aout em=sun3 ;; 2542 m68k-motorola-sysv*) fmt=coff em=delta ;; 2543 m68k-bull-sysv3*) fmt=coff em=dpx2 ;; 2544 m68k-apollo-*) fmt=coff em=apollo ;; 2545 m68k-*-elf*) fmt=elf ;; 2546 m68k-*-sysv4*) fmt=elf em=svr4 ;; 2547 m68k-*-sysv*) fmt=coff ;; 2548 m68k-*-coff | m68k-*-rtemscoff*) fmt=coff ;; 2549 m68k-*-rtems*) fmt=elf ;; 2550 m68k-*-hpux*) fmt=hp300 em=hp300 ;; 2551 m68k-*-linux*aout*) fmt=aout em=linux ;; 2552 m68k-*-linux-gnu*) fmt=elf em=linux ;; 2553 m68k-*-gnu*) fmt=elf ;; 2554 m68k-*-lynxos*) fmt=coff em=lynx ;; 2555 m68k-*-netbsdelf*) fmt=elf em=nbsd ;; 2556 m68k-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes ;; 2557 m68k-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes ;; 2558 m68k-apple-aux*) fmt=coff em=aux ;; 2559 m68k-*-psos*) fmt=elf em=psos;; 2560 2561 m88k-motorola-sysv3*) fmt=coff em=delt88 ;; 2562 m88k-*-coff*) fmt=coff ;; 2563 2564 mcore-*-elf) fmt=elf ;; 2565 mcore-*-pe) fmt=coff em=pe bfd_gas=yes ;; 2449 2566 2450 2567 # don't change em like *-*-bsd does 2451 mips-dec-netbsd*) fmt=elf endian=little ;; 2452 mips-dec-openbsd*) fmt=elf endian=little ;; 2453 mips-dec-bsd*) fmt=aout endian=little ;; 2454 mips-sony-bsd*) fmt=ecoff ;; 2455 mips-*-bsd*) { echo "configure: error: Unknown vendor for mips-bsd configuration." 1>&2; exit 1; } ;; 2456 mips-*-ultrix*) fmt=ecoff endian=little ;; 2457 mips-*-osf*) fmt=ecoff endian=little ;; 2458 mips-*-ecoff*) fmt=ecoff ;; 2459 mips-*-pe*) fmt=coff endian=little em=pe ;; 2460 mips-*-irix6*) fmt=elf ;; 2461 mips-*-irix5*) fmt=elf ;; 2462 mips-*-irix*) fmt=ecoff ;; 2463 mips-*-lnews*) fmt=ecoff em=lnews ;; 2464 mips-*-riscos*) fmt=ecoff ;; 2465 mips-*-linux-gnu*) 2466 fmt=elf em=tmips 2467 cat >> confdefs.h <<\EOF 2468 #define MIPS_STABS_ELF 1 2469 EOF 2470 2471 ;; 2472 mips-*-sysv4*MP* | mips-*-gnu*) 2473 fmt=elf em=tmips ;; 2474 mips-*-sysv*) fmt=ecoff ;; 2475 mips-*-elf* | mips-*-rtems* | mips-*-openbsd*) 2476 fmt=elf ;; 2477 mips-*-vxworks*) fmt=elf 2478 cat >> confdefs.h <<\EOF 2479 #define MIPS_STABS_ELF 1 2480 EOF 2481 2482 ;; 2483 mn10200-*-*) fmt=elf bfd_gas=yes ;; 2484 mn10300-*-*) fmt=elf bfd_gas=yes ;; 2485 pj*) fmt=elf ;; 2486 ppc-*-pe | ppc-*-cygwin* | ppc-*-winnt*) 2487 fmt=coff em=pe ;; 2488 ppc-*-aix*) fmt=coff ;; 2489 ppc-*-beos*) fmt=coff ;; 2490 ppc-*-*bsd* | ppc-*-elf* | ppc-*-eabi* | ppc-*-sysv4*) 2491 fmt=elf ;; 2492 ppc-*-linux-gnu*) fmt=elf 2493 case "$endian" in 2494 big) ;; 2495 *) { echo "configure: error: GNU/Linux must be configured big endian" 1>&2; exit 1; } ;; 2496 esac 2497 ;; 2498 ppc-*-solaris*) fmt=elf 2499 if test ${this_target} = $target; then 2500 cat >> confdefs.h <<\EOF 2568 mips-dec-openbsd*) fmt=elf endian=little ;; 2569 mips-dec-bsd*) fmt=aout endian=little ;; 2570 mips-sony-bsd*) fmt=ecoff ;; 2571 mips-*-bsd*) 2572 { echo "configure: error: Unknown vendor for mips-bsd configuration." 1>&2; exit 1; } ;; 2573 mips-*-ultrix*) fmt=ecoff endian=little ;; 2574 mips-*-osf*) fmt=ecoff endian=little ;; 2575 mips-*-ecoff*) fmt=ecoff ;; 2576 mips-*-pe*) fmt=coff endian=little em=pe ;; 2577 mips-*-irix6*) fmt=elf em=irix ;; 2578 mips-*-irix5*) fmt=elf em=irix ;; 2579 mips-*-irix*) fmt=ecoff em=irix ;; 2580 mips-*-lnews*) fmt=ecoff em=lnews ;; 2581 mips-*-riscos*) fmt=ecoff ;; 2582 mips*-*-linux*) fmt=elf em=tmips ;; 2583 mips-*-sysv4*MP* | mips-*-gnu*) fmt=elf em=tmips ;; 2584 mips-*-sysv*) fmt=ecoff ;; 2585 mips-*-elf* | mips-*-rtems*) fmt=elf ;; 2586 mips-*-netbsd*) fmt=elf ;; 2587 mips-*-openbsd*) fmt=elf ;; 2588 mips-*-vxworks*) fmt=elf ;; 2589 2590 mmix-*-*) fmt=elf ;; 2591 mn10200-*-*) fmt=elf ;; 2592 mn10300-*-*) fmt=elf ;; 2593 msp430-*-*) fmt=elf ;; 2594 openrisc-*-*) fmt=elf ;; 2595 or32-*-rtems*) fmt=coff ;; 2596 or32-*-coff) fmt=coff ;; 2597 or32-*-elf) fmt=elf ;; 2598 pj*) fmt=elf ;; 2599 2600 ppc-*-pe | ppc-*-cygwin*) fmt=coff em=pe ;; 2601 ppc-*-winnt*) fmt=coff em=pe ;; 2602 ppc-*-aix5*) fmt=coff em=aix5 ;; 2603 ppc-*-aix*) fmt=coff ;; 2604 ppc-*-beos*) fmt=coff ;; 2605 ppc-*-*n*bsd* | ppc-*-elf*) fmt=elf ;; 2606 ppc-*-eabi* | ppc-*-sysv4*) fmt=elf ;; 2607 ppc-*-linux-gnu*) fmt=elf 2608 case "$endian" in 2609 big) ;; 2610 *) { echo "configure: error: GNU/Linux must be configured big endian" 1>&2; exit 1; } ;; 2611 esac ;; 2612 ppc-*-solaris*) fmt=elf 2613 if test ${this_target} = $target; then 2614 cat >> confdefs.h <<\EOF 2501 2615 #define TARGET_SOLARIS_COMMENT 1 2502 2616 EOF 2503 2617 2504 fi 2505 if test x${endian} = xbig; then 2506 { echo "configure: error: Solaris must be configured little endian" 1>&2; exit 1; } 2507 fi 2508 ;; 2509 ppc-*-rtems*) fmt=elf ;; 2510 ppc-*-macos* | ppc-*-mpw*) 2511 fmt=coff em=macos ;; 2512 ppc-*-netware*) fmt=elf em=ppcnw ;; 2513 ppc-*-vxworks*) fmt=elf ;; 2514 2515 sh-*-linux*) fmt=elf em=linux ;; 2516 sh-*-elf*) fmt=elf ;; 2517 sh-*-coff*) fmt=coff ;; 2518 sh-*-pe*) fmt=coff em=pe bfd_gas=yes;; 2519 sh-*-rtemself*) fmt=elf ;; 2520 sh-*-rtems*) fmt=coff ;; 2521 2522 ns32k-pc532-mach* | ns32k-pc532-ux*) fmt=aout em=pc532mach ;; 2523 ns32k-pc532-netbsd* | ns32k-pc532-lites*) fmt=aout em=nbsd532 ;; 2524 ns32k-pc532-openbsd*) fmt=aout em=nbsd532 ;; 2525 2526 sparc-*-rtemsaout*) fmt=aout ;; 2527 sparc-*-rtemself*) fmt=elf ;; 2528 sparc-*-rtems*) fmt=elf ;; 2529 sparc-*-sunos4*) fmt=aout em=sun3 ;; 2530 sparc-*-aout | sparc*-*-vxworks*) 2531 fmt=aout em=sparcaout ;; 2532 sparc-*-coff) fmt=coff ;; 2533 sparc-*-linux*aout*) fmt=aout em=linux ;; 2534 sparc-*-linux-gnu*) fmt=elf em=linux ;; 2535 sparc-*-lynxos*) fmt=coff em=lynx ;; 2536 sparc-fujitsu-none) fmt=aout ;; 2537 sparc-*-elf | sparc-*-sysv4* | sparc-*-solaris*) 2538 fmt=elf ;; 2539 sparc-*-netbsd*) em=nbsd bfd_gas=yes 2540 case ${cpu} in 2541 sparc) case ${os} in 2542 *elf*) fmt=elf ;; 2543 *) fmt=aout ;; 2544 esac ;; 2545 sparc64) fmt=elf ;; 2546 esac 2547 ;; 2548 sparc-*-openbsd*) fmt=aout em=nbsd ;; 2549 2550 strongarm-*-coff) fmt=coff ;; 2551 strongarm-*-elf) fmt=elf ;; 2552 xscale-*-coff) fmt=coff ;; 2553 xscale-*-elf) fmt=elf ;; 2554 2555 tic30-*-*aout*) fmt=aout bfd_gas=yes ;; 2556 tic30-*-*coff*) fmt=coff bfd_gas=yes ;; 2557 tic54x-*-* | c54x*-*-*) 2558 fmt=coff bfd_gas=yes need_libm=yes;; 2559 tic80-*-*) fmt=coff ;; 2560 2561 v850-*-*) fmt=elf bfd_gas=yes ;; 2562 v850e-*-*) fmt=elf bfd_gas=yes ;; 2563 v850ea-*-*) fmt=elf bfd_gas=yes ;; 2564 2565 vax-*-bsd* | vax-*-ultrix*) 2566 fmt=aout ;; 2567 vax-*-vms) fmt=vms ;; 2568 2569 2570 z8k-*-coff | z8k-*-sim) 2571 fmt=coff ;; 2572 2573 w65-*-*) fmt=coff ;; 2574 2575 *-*-aout | *-*-scout) 2576 fmt=aout ;; 2577 *-*-freebsd*) fmt=elf em=freebsd bfd_gas=yes ;; 2578 *-*-nindy*) 2579 fmt=bout ;; 2580 *-*-bsd*) 2581 fmt=aout em=sun3 ;; 2582 *-*-generic) fmt=generic ;; 2583 *-*-xray | *-*-hms) fmt=coff ;; 2584 *-*-sim) fmt=coff ;; 2585 *-*-elf | *-*-sysv4* | *-*-solaris*) 2586 echo "configure: warning: GAS support for ${generic_target} is incomplete." 1>&2 2587 fmt=elf dev=yes ;; 2588 *-*-vxworks) fmt=aout ;; 2589 *-*-netware) fmt=elf ;; 2618 fi 2619 if test x${endian} = xbig; then 2620 { echo "configure: error: Solaris must be configured little endian" 1>&2; exit 1; } 2621 fi ;; 2622 ppc-*-rtems*) fmt=elf ;; 2623 ppc-*-macos* | ppc-*-mpw*) fmt=coff em=macos ;; 2624 ppc-*-netware*) fmt=elf em=ppcnw ;; 2625 ppc-**-nto*) fmt=elf ;; 2626 ppc-*-vxworks*) fmt=elf ;; 2627 ppc-*-windiss*) fmt=elf ;; 2628 ppc-*-kaos*) fmt=elf ;; 2629 2630 s390x-*-linux-gnu*) fmt=elf em=linux ;; 2631 s390-*-linux-gnu*) fmt=elf em=linux ;; 2632 2633 sh*-*-linux*) fmt=elf em=linux 2634 case ${cpu} in 2635 sh*eb) endian=big ;; 2636 *) endian=little ;; 2637 esac ;; 2638 sh5*-*-netbsd*) fmt=elf em=nbsd ;; 2639 sh64*-*-netbsd*) fmt=elf em=nbsd ;; 2640 sh*-*-netbsdelf*) fmt=elf em=nbsd ;; 2641 sh-*-elf*) fmt=elf ;; 2642 sh-*-coff*) fmt=coff ;; 2643 sh-*-nto*) fmt=elf ;; 2644 sh-*-pe*) fmt=coff em=pe bfd_gas=yes endian=little ;; 2645 sh-*-rtemself*) fmt=elf ;; 2646 sh-*-rtems*) fmt=coff ;; 2647 sh-*-kaos*) fmt=elf ;; 2648 shle*-*-kaos*) fmt=elf ;; 2649 sh64-*-elf*) fmt=elf ;; 2650 2651 ns32k-pc532-mach*) fmt=aout em=pc532mach ;; 2652 ns32k-pc532-ux*) fmt=aout em=pc532mach ;; 2653 ns32k-pc532-lites*) fmt=aout em=nbsd532 ;; 2654 ns32k-*-*n*bsd*) fmt=aout em=nbsd532 ;; 2655 2656 sparc-*-rtemsaout*) fmt=aout ;; 2657 sparc-*-rtemself*) fmt=elf ;; 2658 sparc-*-rtems*) fmt=elf ;; 2659 sparc-*-sunos4*) fmt=aout em=sun3 ;; 2660 sparc-*-aout | sparc*-*-vxworks*) fmt=aout em=sparcaout ;; 2661 sparc-*-coff) fmt=coff ;; 2662 sparc-*-linux*aout*) fmt=aout em=linux ;; 2663 sparc-*-linux-gnu*) fmt=elf em=linux ;; 2664 sparc-*-lynxos*) fmt=coff em=lynx ;; 2665 sparc-fujitsu-none) fmt=aout ;; 2666 sparc-*-elf) fmt=elf ;; 2667 sparc-*-sysv4*) fmt=elf ;; 2668 sparc-*-solaris*) fmt=elf ;; 2669 sparc-*-netbsdelf*) fmt=elf em=nbsd ;; 2670 sparc-*-*n*bsd*) case ${cpu} in 2671 sparc64) fmt=elf em=nbsd ;; 2672 *) fmt=aout em=nbsd ;; 2673 esac ;; 2674 strongarm-*-coff) fmt=coff ;; 2675 strongarm-*-elf) fmt=elf ;; 2676 strongarm-*-kaos*) fmt=elf ;; 2677 xscale-*-coff) fmt=coff ;; 2678 xscale-*-elf) fmt=elf ;; 2679 2680 tic30-*-*aout*) fmt=aout bfd_gas=yes ;; 2681 tic30-*-*coff*) fmt=coff bfd_gas=yes ;; 2682 tic4x-*-* | c4x-*-*) fmt=coff bfd_gas=yes ;; 2683 tic54x-*-* | c54x*-*-*) fmt=coff bfd_gas=yes need_libm=yes;; 2684 tic80-*-*) fmt=coff ;; 2685 2686 v850-*-*) fmt=elf ;; 2687 v850e-*-*) fmt=elf ;; 2688 v850ea-*-*) fmt=elf ;; 2689 2690 vax-*-netbsdelf*) fmt=elf em=nbsd ;; 2691 vax-*-netbsd*) fmt=aout em=nbsd ;; 2692 vax-*-bsd* | vax-*-ultrix*) fmt=aout ;; 2693 vax-*-vms) fmt=vms ;; 2694 2695 w65-*-*) fmt=coff ;; 2696 2697 xstormy16-*-*) fmt=elf ;; 2698 2699 xtensa-*-*) fmt=elf ;; 2700 2701 z8k-*-coff | z8k-*-sim) fmt=coff ;; 2702 2703 *-*-aout | *-*-scout) fmt=aout ;; 2704 *-*-freebsd*) fmt=elf em=freebsd ;; 2705 *-*-nindy*) fmt=bout ;; 2706 *-*-bsd*) fmt=aout em=sun3 ;; 2707 *-*-generic) fmt=generic ;; 2708 *-*-xray | *-*-hms) fmt=coff ;; 2709 *-*-sim) fmt=coff ;; 2710 *-*-elf | *-*-sysv4* | *-*-solaris*) fmt=elf dev=yes ;; 2711 *-*-aros*) fmt=elf em=linux bfd_gas=yes ;; 2712 *-*-vxworks) fmt=aout ;; 2713 *-*-netware) fmt=elf ;; 2590 2714 esac 2591 2715 … … 2606 2730 2607 2731 case ${cpu_type}-${fmt} in 2608 alpha*-*) bfd_gas=yes ;; 2609 arm-*) bfd_gas=yes ;; 2610 # not yet 2611 # i386-aout) bfd_gas=preferred ;; 2612 ia64*-*) bfd_gas=yes ;; 2613 mips-*) bfd_gas=yes ;; 2614 ns32k-*) bfd_gas=yes ;; 2615 ppc-*) bfd_gas=yes ;; 2616 sparc-*) bfd_gas=yes ;; 2617 strongarm-*) bfd_gas=yes ;; 2618 xscale-*) bfd_gas=yes ;; 2619 *-elf) bfd_gas=yes ;; 2620 *-ecoff) bfd_gas=yes ;; 2621 *-som) bfd_gas=yes ;; 2622 #enable bfd for coff and aout to allow testing if a bfd target is 2623 #the primary target, but not for coff or aout as the primary target 2624 i386-coff) if test x${primary_bfd_gas} = xyes; then bfd_gas=yes; fi ;; 2625 i386-aout) if test x${primary_bfd_gas} = xyes; then bfd_gas=yes; fi ;; 2626 *) ;; 2732 alpha*-* | arm-* | i386-* | ia64*-* | mips-* | ns32k-* \ 2733 | pdp11-* | ppc-* | sparc-* | strongarm-* | xscale-* \ 2734 | *-elf | *-ecoff | *-som) 2735 bfd_gas=yes ;; 2627 2736 esac 2628 2737 2629 2738 # Other random stuff. 2739 2740 case ${cpu_type} in 2741 mips) 2742 # Set mips_cpu to the name of the default CPU. 2743 case ${target_cpu} in 2744 mips | mipsbe | mipseb | mipsle | mipsel | mips64 | mips64el) 2745 mips_cpu=from-abi 2746 ;; 2747 mipsisa32 | mipsisa32el) 2748 mips_cpu=mips32 2749 ;; 2750 mipsisa32r2 | mipsisa32r2el) 2751 mips_cpu=mips32r2 2752 ;; 2753 mipsisa64 | mipsisa64el) 2754 mips_cpu=mips64 2755 ;; 2756 mipstx39 | mipstx39el) 2757 mips_cpu=r3900 2758 ;; 2759 mips64vr | mips64vrel) 2760 mips_cpu=vr4100 2761 ;; 2762 mipsisa32r2*) 2763 mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..r2//' -e 's/el$//'` 2764 ;; 2765 mips64* | mipsisa64* | mipsisa32*) 2766 mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..//' -e 's/el$//'` 2767 ;; 2768 *) 2769 { echo "configure: error: $target_cpu isn't a supported MIPS CPU name" 1>&2; exit 1; } 2770 ;; 2771 esac 2772 # See whether it's appropriate to set E_MIPS_ABI_O32 for o32 2773 # binaries. It's a GNU extension that some OSes don't understand. 2774 # The value only matters on ELF targets. 2775 case ${target} in 2776 *-*-irix*) 2777 use_e_mips_abi_o32=0 2778 ;; 2779 *) 2780 use_e_mips_abi_o32=1 2781 ;; 2782 esac 2783 # Decide whether to generate 32-bit or 64-bit code by default. 2784 # Used to resolve -march=from-abi when an embedded ABI is selected. 2785 case ${target} in 2786 mips64*-*-* | mipsisa64*-*-*) 2787 mips_default_64bit=1 2788 ;; 2789 *) 2790 mips_default_64bit=0 2791 ;; 2792 esac 2793 # Decide which ABI to target by default. 2794 case ${target} in 2795 mips64*-linux* | mips-sgi-irix6*) 2796 mips_default_abi=N32_ABI 2797 ;; 2798 mips*-linux*) 2799 mips_default_abi=O32_ABI 2800 ;; 2801 *) 2802 mips_default_abi=NO_ABI 2803 ;; 2804 esac 2805 cat >> confdefs.h <<EOF 2806 #define MIPS_CPU_STRING_DEFAULT "$mips_cpu" 2807 EOF 2808 2809 cat >> confdefs.h <<EOF 2810 #define USE_E_MIPS_ABI_O32 $use_e_mips_abi_o32 2811 EOF 2812 2813 cat >> confdefs.h <<EOF 2814 #define MIPS_DEFAULT_64BIT $mips_default_64bit 2815 EOF 2816 2817 cat >> confdefs.h <<EOF 2818 #define MIPS_DEFAULT_ABI $mips_default_abi 2819 EOF 2820 2821 ;; 2822 esac 2630 2823 2631 2824 # Do we need the opcodes library? … … 2651 2844 # Any other special object files needed ? 2652 2845 case ${cpu_type} in 2653 fr30 | m32r)2846 fr30 | ip2k | iq2000 | m32r | openrisc) 2654 2847 using_cgen=yes 2655 2848 ;; 2656 2849 2850 frv) 2851 using_cgen=yes 2852 ;; 2657 2853 m68k) 2658 2854 case ${extra_objects} in … … 2679 2875 ;; 2680 2876 2681 i386 )2877 i386 | s390 | sparc) 2682 2878 if test $this_target = $target ; then 2683 2879 cat >> confdefs.h <<EOF … … 2687 2883 fi 2688 2884 ;; 2689 sparc) 2690 if test $this_target = $target ; then 2691 cat >> confdefs.h <<EOF 2692 #define DEFAULT_ARCH "${arch}" 2693 EOF 2694 2885 2886 xstormy16) 2887 using_cgen=yes 2888 ;; 2889 2890 xtensa) 2891 echo ${extra_objects} | grep -s "xtensa-relax.o" 2892 if test $? -ne 0 ; then 2893 extra_objects="$extra_objects xtensa-relax.o" 2695 2894 fi 2696 2895 ;; 2896 2697 2897 *) 2698 2898 ;; … … 2726 2926 case ${generic_target}-${fmt} in 2727 2927 mips-*-irix5*-*) emulation="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;; 2728 mips -*-linux-gnu*-*) case "$endian" in2729 big) emulation="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;2730 *) emulation="mipslelf mipsbelf mipself mipslecoff mipsbecoff mipsecoff" ;;2928 mips*-*-linux*-*) case "$endian" in 2929 big) emulation="mipsbelf mipslelf mipself" ;; 2930 *) emulation="mipslelf mipsbelf mipself" ;; 2731 2931 esac ;; 2732 2932 mips-*-lnews*-ecoff) ;; … … 2783 2983 case ${target_cpu} in 2784 2984 vax | tahoe ) atof=${target_cpu} ;; 2985 pdp11) atof=vax ;; 2785 2986 *) atof=ieee ;; 2786 2987 esac … … 3038 3239 yes) 3039 3240 BFDLIB=../bfd/libbfd.la 3040 ALL_OBJ_DEPS="$ALL_OBJ_DEPS ../bfd/bfd.h" 3241 BFDVER_H=../bfd/bfdver.h 3242 ALL_OBJ_DEPS="$ALL_OBJ_DEPS"' ../bfd/bfd.h $(INCDIR)/symcat.h' 3041 3243 ;; 3042 3244 esac 3245 3043 3246 3044 3247 … … 3071 3274 set dummy gcc; ac_word=$2 3072 3275 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3073 echo "configure:3 074: checking for $ac_word" >&53276 echo "configure:3277: checking for $ac_word" >&5 3074 3277 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 3075 3278 echo $ac_n "(cached) $ac_c" 1>&6 … … 3101 3304 set dummy cc; ac_word=$2 3102 3305 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3103 echo "configure:3 104: checking for $ac_word" >&53306 echo "configure:3307: checking for $ac_word" >&5 3104 3307 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 3105 3308 echo $ac_n "(cached) $ac_c" 1>&6 … … 3152 3355 set dummy cl; ac_word=$2 3153 3356 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3154 echo "configure:3 155: checking for $ac_word" >&53357 echo "configure:3358: checking for $ac_word" >&5 3155 3358 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 3156 3359 echo $ac_n "(cached) $ac_c" 1>&6 … … 3184 3387 3185 3388 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 3186 echo "configure:3 187: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&53389 echo "configure:3390: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 3187 3390 3188 3391 ac_ext=c … … 3195 3398 cat > conftest.$ac_ext << EOF 3196 3399 3197 #line 3 198"configure"3400 #line 3401 "configure" 3198 3401 #include "confdefs.h" 3199 3402 3200 3403 main(){return(0);} 3201 3404 EOF 3202 if { (eval echo configure:3 203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3405 if { (eval echo configure:3406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3203 3406 ac_cv_prog_cc_works=yes 3204 3407 # If we can't run a trivial program, we are probably using a cross compiler. … … 3226 3429 fi 3227 3430 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 3228 echo "configure:3 229: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&53431 echo "configure:3432: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 3229 3432 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 3230 3433 cross_compiling=$ac_cv_prog_cc_cross 3231 3434 3232 3435 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 3233 echo "configure:3 234: checking whether we are using GNU C" >&53436 echo "configure:3437: checking whether we are using GNU C" >&5 3234 3437 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 3235 3438 echo $ac_n "(cached) $ac_c" 1>&6 … … 3240 3443 #endif 3241 3444 EOF 3242 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:3 243: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then3445 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:3446: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 3243 3446 ac_cv_prog_gcc=yes 3244 3447 else … … 3259 3462 CFLAGS= 3260 3463 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 3261 echo "configure:3 262: checking whether ${CC-cc} accepts -g" >&53464 echo "configure:3465: checking whether ${CC-cc} accepts -g" >&5 3262 3465 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 3263 3466 echo $ac_n "(cached) $ac_c" 1>&6 … … 3296 3499 set dummy $ac_prog; ac_word=$2 3297 3500 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3298 echo "configure:3 299: checking for $ac_word" >&53501 echo "configure:3502: checking for $ac_word" >&5 3299 3502 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then 3300 3503 echo $ac_n "(cached) $ac_c" 1>&6 … … 3327 3530 3328 3531 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 3329 echo "configure:3 330: checking how to run the C preprocessor" >&53532 echo "configure:3533: checking how to run the C preprocessor" >&5 3330 3533 # On Suns, sometimes $CPP names a directory. 3331 3534 if test -n "$CPP" && test -d "$CPP"; then … … 3342 3545 # not just through cpp. 3343 3546 cat > conftest.$ac_ext <<EOF 3344 #line 3 345"configure"3547 #line 3548 "configure" 3345 3548 #include "confdefs.h" 3346 3549 #include <assert.h> … … 3348 3551 EOF 3349 3552 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3350 { (eval echo configure:3 351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3553 { (eval echo configure:3554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3351 3554 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3352 3555 if test -z "$ac_err"; then … … 3359 3562 CPP="${CC-cc} -E -traditional-cpp" 3360 3563 cat > conftest.$ac_ext <<EOF 3361 #line 3 362"configure"3564 #line 3565 "configure" 3362 3565 #include "confdefs.h" 3363 3566 #include <assert.h> … … 3365 3568 EOF 3366 3569 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3367 { (eval echo configure:3 368: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3570 { (eval echo configure:3571: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3368 3571 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3369 3572 if test -z "$ac_err"; then … … 3376 3579 CPP="${CC-cc} -nologo -E" 3377 3580 cat > conftest.$ac_ext <<EOF 3378 #line 3 379"configure"3581 #line 3582 "configure" 3379 3582 #include "confdefs.h" 3380 3583 #include <assert.h> … … 3382 3585 EOF 3383 3586 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3384 { (eval echo configure:3 385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3587 { (eval echo configure:3588: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3385 3588 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3386 3589 if test -z "$ac_err"; then … … 3412 3615 set dummy $ac_prog; ac_word=$2 3413 3616 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3414 echo "configure:3 415: checking for $ac_word" >&53617 echo "configure:3618: checking for $ac_word" >&5 3415 3618 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then 3416 3619 echo $ac_n "(cached) $ac_c" 1>&6 … … 3440 3643 test -n "$LEX" && break 3441 3644 done 3442 test -n "$LEX" || LEX=" "$missing_dir/missing flex""3645 test -n "$LEX" || LEX="$missing_dir/missing flex" 3443 3646 3444 3647 # Extract the first word of "flex", so it can be a program name with args. 3445 3648 set dummy flex; ac_word=$2 3446 3649 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3447 echo "configure:3 448: checking for $ac_word" >&53650 echo "configure:3651: checking for $ac_word" >&5 3448 3651 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then 3449 3652 echo $ac_n "(cached) $ac_c" 1>&6 … … 3479 3682 esac 3480 3683 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 3481 echo "configure:3 482: checking for yywrap in -l$ac_lib" >&53684 echo "configure:3685: checking for yywrap in -l$ac_lib" >&5 3482 3685 ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'` 3483 3686 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3487 3690 LIBS="-l$ac_lib $LIBS" 3488 3691 cat > conftest.$ac_ext <<EOF 3489 #line 3 490"configure"3692 #line 3693 "configure" 3490 3693 #include "confdefs.h" 3491 3694 /* Override any gcc2 internal prototype to avoid an error. */ … … 3498 3701 ; return 0; } 3499 3702 EOF 3500 if { (eval echo configure:3 501: \"$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 3501 3704 rm -rf conftest* 3502 3705 eval "ac_cv_lib_$ac_lib_var=yes" … … 3521 3724 3522 3725 echo $ac_n "checking lex output file root""... $ac_c" 1>&6 3523 echo "configure:3 524: checking lex output file root" >&53726 echo "configure:3727: checking lex output file root" >&5 3524 3727 if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then 3525 3728 echo $ac_n "(cached) $ac_c" 1>&6 … … 3542 3745 3543 3746 echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6 3544 echo "configure:3 545: checking whether yytext is a pointer" >&53747 echo "configure:3748: checking whether yytext is a pointer" >&5 3545 3748 if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then 3546 3749 echo $ac_n "(cached) $ac_c" 1>&6 … … 3554 3757 LIBS="$LIBS $LEXLIB" 3555 3758 cat > conftest.$ac_ext <<EOF 3556 #line 3 557"configure"3759 #line 3760 "configure" 3557 3760 #include "confdefs.h" 3558 3761 `cat $LEX_OUTPUT_ROOT.c` … … 3561 3764 ; return 0; } 3562 3765 EOF 3563 if { (eval echo configure:3 564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3766 if { (eval echo configure:3767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3564 3767 rm -rf conftest* 3565 3768 ac_cv_prog_lex_yytext_pointer=yes … … 3583 3786 3584 3787 3585 ALL_LINGUAS= 3788 ALL_LINGUAS="fr tr es" 3586 3789 # Extract the first word of "ranlib", so it can be a program name with args. 3587 3790 set dummy ranlib; ac_word=$2 3588 3791 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3589 echo "configure:3 590: checking for $ac_word" >&53792 echo "configure:3793: checking for $ac_word" >&5 3590 3793 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 3591 3794 echo $ac_n "(cached) $ac_c" 1>&6 … … 3615 3818 3616 3819 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 3617 echo "configure:3 618: checking for ANSI C header files" >&53820 echo "configure:3821: checking for ANSI C header files" >&5 3618 3821 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 3619 3822 echo $ac_n "(cached) $ac_c" 1>&6 3620 3823 else 3621 3824 cat > conftest.$ac_ext <<EOF 3622 #line 3 623"configure"3825 #line 3826 "configure" 3623 3826 #include "confdefs.h" 3624 3827 #include <stdlib.h> … … 3628 3831 EOF 3629 3832 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3630 { (eval echo configure:3 631: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3833 { (eval echo configure:3834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3631 3834 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3632 3835 if test -z "$ac_err"; then … … 3645 3848 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3646 3849 cat > conftest.$ac_ext <<EOF 3647 #line 3 648"configure"3850 #line 3851 "configure" 3648 3851 #include "confdefs.h" 3649 3852 #include <string.h> … … 3663 3866 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3664 3867 cat > conftest.$ac_ext <<EOF 3665 #line 3 666"configure"3868 #line 3869 "configure" 3666 3869 #include "confdefs.h" 3667 3870 #include <stdlib.h> … … 3684 3887 else 3685 3888 cat > conftest.$ac_ext <<EOF 3686 #line 3 687"configure"3889 #line 3890 "configure" 3687 3890 #include "confdefs.h" 3688 3891 #include <ctype.h> … … 3695 3898 3696 3899 EOF 3697 if { (eval echo configure:3 698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3900 if { (eval echo configure:3901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3698 3901 then 3699 3902 : … … 3719 3922 3720 3923 echo $ac_n "checking for working const""... $ac_c" 1>&6 3721 echo "configure:3 722: checking for working const" >&53924 echo "configure:3925: checking for working const" >&5 3722 3925 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 3723 3926 echo $ac_n "(cached) $ac_c" 1>&6 3724 3927 else 3725 3928 cat > conftest.$ac_ext <<EOF 3726 #line 3 727"configure"3929 #line 3930 "configure" 3727 3930 #include "confdefs.h" 3728 3931 … … 3773 3976 ; return 0; } 3774 3977 EOF 3775 if { (eval echo configure:3 776: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3978 if { (eval echo configure:3979: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3776 3979 rm -rf conftest* 3777 3980 ac_cv_c_const=yes … … 3794 3997 3795 3998 echo $ac_n "checking for inline""... $ac_c" 1>&6 3796 echo "configure: 3797: checking for inline" >&53999 echo "configure:4000: checking for inline" >&5 3797 4000 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 3798 4001 echo $ac_n "(cached) $ac_c" 1>&6 … … 3801 4004 for ac_kw in inline __inline__ __inline; do 3802 4005 cat > conftest.$ac_ext <<EOF 3803 #line 3804"configure"4006 #line 4007 "configure" 3804 4007 #include "confdefs.h" 3805 4008 … … 3808 4011 ; return 0; } 3809 4012 EOF 3810 if { (eval echo configure: 3811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4013 if { (eval echo configure:4014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3811 4014 rm -rf conftest* 3812 4015 ac_cv_c_inline=$ac_kw; break … … 3834 4037 3835 4038 echo $ac_n "checking for off_t""... $ac_c" 1>&6 3836 echo "configure: 3837: checking for off_t" >&54039 echo "configure:4040: checking for off_t" >&5 3837 4040 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then 3838 4041 echo $ac_n "(cached) $ac_c" 1>&6 3839 4042 else 3840 4043 cat > conftest.$ac_ext <<EOF 3841 #line 3842"configure"4044 #line 4045 "configure" 3842 4045 #include "confdefs.h" 3843 4046 #include <sys/types.h> … … 3867 4070 3868 4071 echo $ac_n "checking for size_t""... $ac_c" 1>&6 3869 echo "configure: 3870: checking for size_t" >&54072 echo "configure:4073: checking for size_t" >&5 3870 4073 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 3871 4074 echo $ac_n "(cached) $ac_c" 1>&6 3872 4075 else 3873 4076 cat > conftest.$ac_ext <<EOF 3874 #line 3875"configure"4077 #line 4078 "configure" 3875 4078 #include "confdefs.h" 3876 4079 #include <sys/types.h> … … 3902 4105 # for constant arguments. Useless! 3903 4106 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 3904 echo "configure: 3905: checking for working alloca.h" >&54107 echo "configure:4108: checking for working alloca.h" >&5 3905 4108 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 3906 4109 echo $ac_n "(cached) $ac_c" 1>&6 3907 4110 else 3908 4111 cat > conftest.$ac_ext <<EOF 3909 #line 3910"configure"4112 #line 4113 "configure" 3910 4113 #include "confdefs.h" 3911 4114 #include <alloca.h> … … 3914 4117 ; return 0; } 3915 4118 EOF 3916 if { (eval echo configure: 3917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4119 if { (eval echo configure:4120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3917 4120 rm -rf conftest* 3918 4121 ac_cv_header_alloca_h=yes … … 3935 4138 3936 4139 echo $ac_n "checking for alloca""... $ac_c" 1>&6 3937 echo "configure: 3938: checking for alloca" >&54140 echo "configure:4141: checking for alloca" >&5 3938 4141 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 3939 4142 echo $ac_n "(cached) $ac_c" 1>&6 3940 4143 else 3941 4144 cat > conftest.$ac_ext <<EOF 3942 #line 3943"configure"4145 #line 4146 "configure" 3943 4146 #include "confdefs.h" 3944 4147 … … 3968 4171 ; return 0; } 3969 4172 EOF 3970 if { (eval echo configure: 3971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4173 if { (eval echo configure:4174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3971 4174 rm -rf conftest* 3972 4175 ac_cv_func_alloca_works=yes … … 4000 4203 4001 4204 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 4002 echo "configure:4 003: checking whether alloca needs Cray hooks" >&54205 echo "configure:4206: checking whether alloca needs Cray hooks" >&5 4003 4206 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 4004 4207 echo $ac_n "(cached) $ac_c" 1>&6 4005 4208 else 4006 4209 cat > conftest.$ac_ext <<EOF 4007 #line 4 008"configure"4210 #line 4211 "configure" 4008 4211 #include "confdefs.h" 4009 4212 #if defined(CRAY) && ! defined(CRAY2) … … 4030 4233 for ac_func in _getb67 GETB67 getb67; do 4031 4234 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4032 echo "configure:4 033: checking for $ac_func" >&54235 echo "configure:4236: checking for $ac_func" >&5 4033 4236 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4034 4237 echo $ac_n "(cached) $ac_c" 1>&6 4035 4238 else 4036 4239 cat > conftest.$ac_ext <<EOF 4037 #line 4 038"configure"4240 #line 4241 "configure" 4038 4241 #include "confdefs.h" 4039 4242 /* System header to define __stub macros and hopefully few prototypes, … … 4058 4261 ; return 0; } 4059 4262 EOF 4060 if { (eval echo configure:4 061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4263 if { (eval echo configure:4264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4061 4264 rm -rf conftest* 4062 4265 eval "ac_cv_func_$ac_func=yes" … … 4085 4288 4086 4289 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 4087 echo "configure:4 088: checking stack direction for C alloca" >&54290 echo "configure:4291: checking stack direction for C alloca" >&5 4088 4291 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 4089 4292 echo $ac_n "(cached) $ac_c" 1>&6 … … 4093 4296 else 4094 4297 cat > conftest.$ac_ext <<EOF 4095 #line 4 096"configure"4298 #line 4299 "configure" 4096 4299 #include "confdefs.h" 4097 4300 find_stack_direction () … … 4112 4315 } 4113 4316 EOF 4114 if { (eval echo configure:4 115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null4317 if { (eval echo configure:4318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 4115 4318 then 4116 4319 ac_cv_c_stack_direction=1 … … 4133 4336 fi 4134 4337 4135 for ac_hdr in unistd.h4338 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h 4136 4339 do 4137 4340 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4138 4341 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4139 echo "configure:4 140: checking for $ac_hdr" >&54342 echo "configure:4343: checking for $ac_hdr" >&5 4140 4343 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4141 4344 echo $ac_n "(cached) $ac_c" 1>&6 4142 4345 else 4143 4346 cat > conftest.$ac_ext <<EOF 4144 #line 4 145"configure"4347 #line 4348 "configure" 4145 4348 #include "confdefs.h" 4146 4349 #include <$ac_hdr> 4147 4350 EOF 4148 4351 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4149 { (eval echo configure:4 150: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4352 { (eval echo configure:4353: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4150 4353 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4151 4354 if test -z "$ac_err"; then … … 4176 4379 do 4177 4380 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4178 echo "configure:4 179: checking for $ac_func" >&54381 echo "configure:4382: checking for $ac_func" >&5 4179 4382 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4180 4383 echo $ac_n "(cached) $ac_c" 1>&6 4181 4384 else 4182 4385 cat > conftest.$ac_ext <<EOF 4183 #line 4 184"configure"4386 #line 4387 "configure" 4184 4387 #include "confdefs.h" 4185 4388 /* System header to define __stub macros and hopefully few prototypes, … … 4204 4407 ; return 0; } 4205 4408 EOF 4206 if { (eval echo configure:4 207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4409 if { (eval echo configure:4410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4207 4410 rm -rf conftest* 4208 4411 eval "ac_cv_func_$ac_func=yes" … … 4229 4432 4230 4433 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 4231 echo "configure:4 232: checking for working mmap" >&54434 echo "configure:4435: checking for working mmap" >&5 4232 4435 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 4233 4436 echo $ac_n "(cached) $ac_c" 1>&6 … … 4237 4440 else 4238 4441 cat > conftest.$ac_ext <<EOF 4239 #line 4 240"configure"4442 #line 4443 "configure" 4240 4443 #include "confdefs.h" 4241 4444 … … 4265 4468 #include <sys/mman.h> 4266 4469 4470 #if HAVE_SYS_TYPES_H 4471 # include <sys/types.h> 4472 #endif 4473 4474 #if HAVE_STDLIB_H 4475 # include <stdlib.h> 4476 #endif 4477 4478 #if HAVE_SYS_STAT_H 4479 # include <sys/stat.h> 4480 #endif 4481 4482 #if HAVE_UNISTD_H 4483 # include <unistd.h> 4484 #endif 4485 4267 4486 /* This mess was copied from the GNU getpagesize.h. */ 4268 4487 #ifndef HAVE_GETPAGESIZE 4269 # ifdef HAVE_UNISTD_H4270 # include <unistd.h>4271 # endif4272 4488 4273 4489 /* Assume that all systems that can run configure have sys/param.h. */ … … 4377 4593 4378 4594 EOF 4379 if { (eval echo configure:4 380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null4595 if { (eval echo configure:4596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 4380 4596 then 4381 4597 ac_cv_func_mmap_fixed_mapped=yes … … 4405 4621 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4406 4622 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4407 echo "configure:4 408: checking for $ac_hdr" >&54623 echo "configure:4624: checking for $ac_hdr" >&5 4408 4624 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4409 4625 echo $ac_n "(cached) $ac_c" 1>&6 4410 4626 else 4411 4627 cat > conftest.$ac_ext <<EOF 4412 #line 4 413"configure"4628 #line 4629 "configure" 4413 4629 #include "confdefs.h" 4414 4630 #include <$ac_hdr> 4415 4631 EOF 4416 4632 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4417 { (eval echo configure:4 418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4633 { (eval echo configure:4634: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4418 4634 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4419 4635 if test -z "$ac_err"; then … … 4445 4661 do 4446 4662 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4447 echo "configure:4 448: checking for $ac_func" >&54663 echo "configure:4664: checking for $ac_func" >&5 4448 4664 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4449 4665 echo $ac_n "(cached) $ac_c" 1>&6 4450 4666 else 4451 4667 cat > conftest.$ac_ext <<EOF 4452 #line 4 453"configure"4668 #line 4669 "configure" 4453 4669 #include "confdefs.h" 4454 4670 /* System header to define __stub macros and hopefully few prototypes, … … 4473 4689 ; return 0; } 4474 4690 EOF 4475 if { (eval echo configure:4 476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4691 if { (eval echo configure:4692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4476 4692 rm -rf conftest* 4477 4693 eval "ac_cv_func_$ac_func=yes" … … 4502 4718 do 4503 4719 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4504 echo "configure:4 505: checking for $ac_func" >&54720 echo "configure:4721: checking for $ac_func" >&5 4505 4721 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4506 4722 echo $ac_n "(cached) $ac_c" 1>&6 4507 4723 else 4508 4724 cat > conftest.$ac_ext <<EOF 4509 #line 4 510"configure"4725 #line 4726 "configure" 4510 4726 #include "confdefs.h" 4511 4727 /* System header to define __stub macros and hopefully few prototypes, … … 4530 4746 ; return 0; } 4531 4747 EOF 4532 if { (eval echo configure:4 533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4748 if { (eval echo configure:4749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4533 4749 rm -rf conftest* 4534 4750 eval "ac_cv_func_$ac_func=yes" … … 4564 4780 if test $ac_cv_header_locale_h = yes; then 4565 4781 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 4566 echo "configure:4 567: checking for LC_MESSAGES" >&54782 echo "configure:4783: checking for LC_MESSAGES" >&5 4567 4783 if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then 4568 4784 echo $ac_n "(cached) $ac_c" 1>&6 4569 4785 else 4570 4786 cat > conftest.$ac_ext <<EOF 4571 #line 4 572"configure"4787 #line 4788 "configure" 4572 4788 #include "confdefs.h" 4573 4789 #include <locale.h> … … 4576 4792 ; return 0; } 4577 4793 EOF 4578 if { (eval echo configure:4 579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4794 if { (eval echo configure:4795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4579 4795 rm -rf conftest* 4580 4796 am_cv_val_LC_MESSAGES=yes … … 4597 4813 fi 4598 4814 echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 4599 echo "configure:4 600: checking whether NLS is requested" >&54815 echo "configure:4816: checking whether NLS is requested" >&5 4600 4816 # Check whether --enable-nls or --disable-nls was given. 4601 4817 if test "${enable_nls+set}" = set; then … … 4617 4833 4618 4834 echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6 4619 echo "configure:4 620: checking whether included gettext is requested" >&54835 echo "configure:4836: checking whether included gettext is requested" >&5 4620 4836 # Check whether --with-included-gettext or --without-included-gettext was given. 4621 4837 if test "${with_included_gettext+set}" = set; then … … 4636 4852 ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'` 4637 4853 echo $ac_n "checking for libintl.h""... $ac_c" 1>&6 4638 echo "configure:4 639: checking for libintl.h" >&54854 echo "configure:4855: checking for libintl.h" >&5 4639 4855 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4640 4856 echo $ac_n "(cached) $ac_c" 1>&6 4641 4857 else 4642 4858 cat > conftest.$ac_ext <<EOF 4643 #line 4 644"configure"4859 #line 4860 "configure" 4644 4860 #include "confdefs.h" 4645 4861 #include <libintl.h> 4646 4862 EOF 4647 4863 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4648 { (eval echo configure:4 649: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4864 { (eval echo configure:4865: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4649 4865 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4650 4866 if test -z "$ac_err"; then … … 4663 4879 echo "$ac_t""yes" 1>&6 4664 4880 echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6 4665 echo "configure:4 666: checking for gettext in libc" >&54881 echo "configure:4882: checking for gettext in libc" >&5 4666 4882 if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then 4667 4883 echo $ac_n "(cached) $ac_c" 1>&6 4668 4884 else 4669 4885 cat > conftest.$ac_ext <<EOF 4670 #line 4 671"configure"4886 #line 4887 "configure" 4671 4887 #include "confdefs.h" 4672 4888 #include <libintl.h> … … 4675 4891 ; return 0; } 4676 4892 EOF 4677 if { (eval echo configure:4 678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4893 if { (eval echo configure:4894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4678 4894 rm -rf conftest* 4679 4895 gt_cv_func_gettext_libc=yes … … 4691 4907 if test "$gt_cv_func_gettext_libc" != "yes"; then 4692 4908 echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6 4693 echo "configure:4 694: checking for bindtextdomain in -lintl" >&54909 echo "configure:4910: checking for bindtextdomain in -lintl" >&5 4694 4910 ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'` 4695 4911 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4699 4915 LIBS="-lintl $LIBS" 4700 4916 cat > conftest.$ac_ext <<EOF 4701 #line 4 702"configure"4917 #line 4918 "configure" 4702 4918 #include "confdefs.h" 4703 4919 /* Override any gcc2 internal prototype to avoid an error. */ … … 4710 4926 ; return 0; } 4711 4927 EOF 4712 if { (eval echo configure:4 713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4928 if { (eval echo configure:4929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4713 4929 rm -rf conftest* 4714 4930 eval "ac_cv_lib_$ac_lib_var=yes" … … 4726 4942 echo "$ac_t""yes" 1>&6 4727 4943 echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6 4728 echo "configure:4 729: checking for gettext in libintl" >&54944 echo "configure:4945: checking for gettext in libintl" >&5 4729 4945 if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then 4730 4946 echo $ac_n "(cached) $ac_c" 1>&6 4731 4947 else 4732 4948 cat > conftest.$ac_ext <<EOF 4733 #line 4 734"configure"4949 #line 4950 "configure" 4734 4950 #include "confdefs.h" 4735 4951 … … 4738 4954 ; return 0; } 4739 4955 EOF 4740 if { (eval echo configure:4 741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4956 if { (eval echo configure:4957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4741 4957 rm -rf conftest* 4742 4958 gt_cv_func_gettext_libintl=yes … … 4766 4982 set dummy msgfmt; ac_word=$2 4767 4983 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4768 echo "configure:4 769: checking for $ac_word" >&54984 echo "configure:4985: checking for $ac_word" >&5 4769 4985 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then 4770 4986 echo $ac_n "(cached) $ac_c" 1>&6 … … 4800 5016 do 4801 5017 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4802 echo "configure: 4803: checking for $ac_func" >&55018 echo "configure:5019: checking for $ac_func" >&5 4803 5019 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4804 5020 echo $ac_n "(cached) $ac_c" 1>&6 4805 5021 else 4806 5022 cat > conftest.$ac_ext <<EOF 4807 #line 4808"configure"5023 #line 5024 "configure" 4808 5024 #include "confdefs.h" 4809 5025 /* System header to define __stub macros and hopefully few prototypes, … … 4828 5044 ; return 0; } 4829 5045 EOF 4830 if { (eval echo configure: 4831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5046 if { (eval echo configure:5047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4831 5047 rm -rf conftest* 4832 5048 eval "ac_cv_func_$ac_func=yes" … … 4855 5071 set dummy gmsgfmt; ac_word=$2 4856 5072 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4857 echo "configure: 4858: checking for $ac_word" >&55073 echo "configure:5074: checking for $ac_word" >&5 4858 5074 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then 4859 5075 echo $ac_n "(cached) $ac_c" 1>&6 … … 4891 5107 set dummy xgettext; ac_word=$2 4892 5108 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4893 echo "configure: 4894: checking for $ac_word" >&55109 echo "configure:5110: checking for $ac_word" >&5 4894 5110 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then 4895 5111 echo $ac_n "(cached) $ac_c" 1>&6 … … 4923 5139 4924 5140 cat > conftest.$ac_ext <<EOF 4925 #line 4926"configure"5141 #line 5142 "configure" 4926 5142 #include "confdefs.h" 4927 5143 … … 4931 5147 ; return 0; } 4932 5148 EOF 4933 if { (eval echo configure: 4934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5149 if { (eval echo configure:5150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4934 5150 rm -rf conftest* 4935 5151 CATOBJEXT=.gmo … … 4963 5179 set dummy msgfmt; ac_word=$2 4964 5180 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4965 echo "configure: 4966: checking for $ac_word" >&55181 echo "configure:5182: checking for $ac_word" >&5 4966 5182 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then 4967 5183 echo $ac_n "(cached) $ac_c" 1>&6 … … 4997 5213 set dummy gmsgfmt; ac_word=$2 4998 5214 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4999 echo "configure:5 000: checking for $ac_word" >&55215 echo "configure:5216: checking for $ac_word" >&5 5000 5216 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then 5001 5217 echo $ac_n "(cached) $ac_c" 1>&6 … … 5033 5249 set dummy xgettext; ac_word=$2 5034 5250 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 5035 echo "configure:5 036: checking for $ac_word" >&55251 echo "configure:5252: checking for $ac_word" >&5 5036 5252 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then 5037 5253 echo $ac_n "(cached) $ac_c" 1>&6 … … 5123 5339 else 5124 5340 echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 5125 echo "configure:5 126: checking for catalogs to be installed" >&55341 echo "configure:5342: checking for catalogs to be installed" >&5 5126 5342 NEW_LINGUAS= 5127 5343 for lang in ${LINGUAS=$ALL_LINGUAS}; do … … 5151 5367 ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'` 5152 5368 echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6 5153 echo "configure:5 154: checking for linux/version.h" >&55369 echo "configure:5370: checking for linux/version.h" >&5 5154 5370 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5155 5371 echo $ac_n "(cached) $ac_c" 1>&6 5156 5372 else 5157 5373 cat > conftest.$ac_ext <<EOF 5158 #line 5 159"configure"5374 #line 5375 "configure" 5159 5375 #include "confdefs.h" 5160 5376 #include <linux/version.h> 5161 5377 EOF 5162 5378 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5163 { (eval echo configure:5 164: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }5379 { (eval echo configure:5380: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5164 5380 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5165 5381 if test -z "$ac_err"; then … … 5206 5422 5207 5423 5208 if test - d $srcdir/po; then5424 if test -f $srcdir/po/POTFILES.in; then 5209 5425 test -d po || mkdir po 5210 5426 if test "x$srcdir" != "x."; then … … 5224 5440 5225 5441 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 5226 echo "configure:5 227: checking whether to enable maintainer-specific portions of Makefiles" >&55442 echo "configure:5443: checking whether to enable maintainer-specific portions of Makefiles" >&5 5227 5443 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 5228 5444 if test "${enable_maintainer_mode+set}" = set; then … … 5249 5465 5250 5466 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 5251 echo "configure:5 252: checking for executable suffix" >&55467 echo "configure:5468: checking for executable suffix" >&5 5252 5468 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 5253 5469 echo $ac_n "(cached) $ac_c" 1>&6 … … 5259 5475 echo 'int main () { return 0; }' > conftest.$ac_ext 5260 5476 ac_cv_exeext= 5261 if { (eval echo configure:5 262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then5477 if { (eval echo configure:5478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 5262 5478 for file in conftest.*; do 5263 5479 case $file in 5264 *.c | *.o | *.obj | *.ilk | *.pdb) ;;5480 *.c | *.o | *.obj) ;; 5265 5481 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; 5266 5482 esac … … 5284 5500 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5285 5501 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5286 echo "configure:5 287: checking for $ac_hdr" >&55502 echo "configure:5503: checking for $ac_hdr" >&5 5287 5503 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5288 5504 echo $ac_n "(cached) $ac_c" 1>&6 5289 5505 else 5290 5506 cat > conftest.$ac_ext <<EOF 5291 #line 5 292"configure"5507 #line 5508 "configure" 5292 5508 #include "confdefs.h" 5293 5509 #include <$ac_hdr> 5294 5510 EOF 5295 5511 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5296 { (eval echo configure:5 297: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }5512 { (eval echo configure:5513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5297 5513 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5298 5514 if test -z "$ac_err"; then … … 5324 5540 # people who are not cross-compiling but are compiling cross-assemblers. 5325 5541 echo $ac_n "checking whether compiling a cross-assembler""... $ac_c" 1>&6 5326 echo "configure:5 327: checking whether compiling a cross-assembler" >&55542 echo "configure:5543: checking whether compiling a cross-assembler" >&5 5327 5543 if test "${host}" = "${target}"; then 5328 5544 cross_gas=no … … 5339 5555 # for constant arguments. Useless! 5340 5556 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 5341 echo "configure:5 342: checking for working alloca.h" >&55557 echo "configure:5558: checking for working alloca.h" >&5 5342 5558 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 5343 5559 echo $ac_n "(cached) $ac_c" 1>&6 5344 5560 else 5345 5561 cat > conftest.$ac_ext <<EOF 5346 #line 5 347"configure"5562 #line 5563 "configure" 5347 5563 #include "confdefs.h" 5348 5564 #include <alloca.h> … … 5351 5567 ; return 0; } 5352 5568 EOF 5353 if { (eval echo configure:5 354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5569 if { (eval echo configure:5570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5354 5570 rm -rf conftest* 5355 5571 ac_cv_header_alloca_h=yes … … 5372 5588 5373 5589 echo $ac_n "checking for alloca""... $ac_c" 1>&6 5374 echo "configure:5 375: checking for alloca" >&55590 echo "configure:5591: checking for alloca" >&5 5375 5591 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 5376 5592 echo $ac_n "(cached) $ac_c" 1>&6 5377 5593 else 5378 5594 cat > conftest.$ac_ext <<EOF 5379 #line 5 380"configure"5595 #line 5596 "configure" 5380 5596 #include "confdefs.h" 5381 5597 … … 5405 5621 ; return 0; } 5406 5622 EOF 5407 if { (eval echo configure:5 408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5623 if { (eval echo configure:5624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5408 5624 rm -rf conftest* 5409 5625 ac_cv_func_alloca_works=yes … … 5437 5653 5438 5654 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 5439 echo "configure:5 440: checking whether alloca needs Cray hooks" >&55655 echo "configure:5656: checking whether alloca needs Cray hooks" >&5 5440 5656 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 5441 5657 echo $ac_n "(cached) $ac_c" 1>&6 5442 5658 else 5443 5659 cat > conftest.$ac_ext <<EOF 5444 #line 5 445"configure"5660 #line 5661 "configure" 5445 5661 #include "confdefs.h" 5446 5662 #if defined(CRAY) && ! defined(CRAY2) … … 5467 5683 for ac_func in _getb67 GETB67 getb67; do 5468 5684 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5469 echo "configure:5 470: checking for $ac_func" >&55685 echo "configure:5686: checking for $ac_func" >&5 5470 5686 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5471 5687 echo $ac_n "(cached) $ac_c" 1>&6 5472 5688 else 5473 5689 cat > conftest.$ac_ext <<EOF 5474 #line 5 475"configure"5690 #line 5691 "configure" 5475 5691 #include "confdefs.h" 5476 5692 /* System header to define __stub macros and hopefully few prototypes, … … 5495 5711 ; return 0; } 5496 5712 EOF 5497 if { (eval echo configure:5 498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5713 if { (eval echo configure:5714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5498 5714 rm -rf conftest* 5499 5715 eval "ac_cv_func_$ac_func=yes" … … 5522 5738 5523 5739 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 5524 echo "configure:5 525: checking stack direction for C alloca" >&55740 echo "configure:5741: checking stack direction for C alloca" >&5 5525 5741 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 5526 5742 echo $ac_n "(cached) $ac_c" 1>&6 … … 5530 5746 else 5531 5747 cat > conftest.$ac_ext <<EOF 5532 #line 5 533"configure"5748 #line 5749 "configure" 5533 5749 #include "confdefs.h" 5534 5750 find_stack_direction () … … 5549 5765 } 5550 5766 EOF 5551 if { (eval echo configure:5 552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null5767 if { (eval echo configure:5768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5552 5768 then 5553 5769 ac_cv_c_stack_direction=1 … … 5571 5787 5572 5788 echo $ac_n "checking for inline""... $ac_c" 1>&6 5573 echo "configure:5 574: checking for inline" >&55789 echo "configure:5790: checking for inline" >&5 5574 5790 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 5575 5791 echo $ac_n "(cached) $ac_c" 1>&6 … … 5578 5794 for ac_kw in inline __inline__ __inline; do 5579 5795 cat > conftest.$ac_ext <<EOF 5580 #line 5 581"configure"5796 #line 5797 "configure" 5581 5797 #include "confdefs.h" 5582 5798 … … 5585 5801 ; return 0; } 5586 5802 EOF 5587 if { (eval echo configure:5 588: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5803 if { (eval echo configure:5804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5588 5804 rm -rf conftest* 5589 5805 ac_cv_c_inline=$ac_kw; break … … 5615 5831 do 5616 5832 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5617 echo "configure:5 618: checking for $ac_func" >&55833 echo "configure:5834: checking for $ac_func" >&5 5618 5834 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5619 5835 echo $ac_n "(cached) $ac_c" 1>&6 5620 5836 else 5621 5837 cat > conftest.$ac_ext <<EOF 5622 #line 5 623"configure"5838 #line 5839 "configure" 5623 5839 #include "confdefs.h" 5624 5840 /* System header to define __stub macros and hopefully few prototypes, … … 5643 5859 ; return 0; } 5644 5860 EOF 5645 if { (eval echo configure:5 646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5861 if { (eval echo configure:5862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5646 5862 rm -rf conftest* 5647 5863 eval "ac_cv_func_$ac_func=yes" … … 5672 5888 do 5673 5889 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5674 echo "configure:5 675: checking for $ac_func" >&55890 echo "configure:5891: checking for $ac_func" >&5 5675 5891 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5676 5892 echo $ac_n "(cached) $ac_c" 1>&6 5677 5893 else 5678 5894 cat > conftest.$ac_ext <<EOF 5679 #line 5 680"configure"5895 #line 5896 "configure" 5680 5896 #include "confdefs.h" 5681 5897 /* System header to define __stub macros and hopefully few prototypes, … … 5700 5916 ; return 0; } 5701 5917 EOF 5702 if { (eval echo configure:5 703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5918 if { (eval echo configure:5919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5703 5919 rm -rf conftest* 5704 5920 eval "ac_cv_func_$ac_func=yes" … … 5729 5945 yes) 5730 5946 LIBM= 5731 case "$host"in5947 case $host in 5732 5948 *-*-beos* | *-*-cygwin* | *-*-pw32*) 5733 5949 # These system don't have libm … … 5735 5951 *-ncr-sysv4.3*) 5736 5952 echo $ac_n "checking for _mwvalidcheckl in -lmw""... $ac_c" 1>&6 5737 echo "configure:5 738: checking for _mwvalidcheckl in -lmw" >&55953 echo "configure:5954: checking for _mwvalidcheckl in -lmw" >&5 5738 5954 ac_lib_var=`echo mw'_'_mwvalidcheckl | sed 'y%./+-%__p_%'` 5739 5955 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 5743 5959 LIBS="-lmw $LIBS" 5744 5960 cat > conftest.$ac_ext <<EOF 5745 #line 5 746"configure"5961 #line 5962 "configure" 5746 5962 #include "confdefs.h" 5747 5963 /* Override any gcc2 internal prototype to avoid an error. */ … … 5754 5970 ; return 0; } 5755 5971 EOF 5756 if { (eval echo configure:5 757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5972 if { (eval echo configure:5973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5757 5973 rm -rf conftest* 5758 5974 eval "ac_cv_lib_$ac_lib_var=yes" … … 5775 5991 5776 5992 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 5777 echo "configure:5 778: checking for main in -lm" >&55993 echo "configure:5994: checking for main in -lm" >&5 5778 5994 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` 5779 5995 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 5783 5999 LIBS="-lm $LIBS" 5784 6000 cat > conftest.$ac_ext <<EOF 5785 #line 5786"configure"6001 #line 6002 "configure" 5786 6002 #include "confdefs.h" 5787 6003 … … 5790 6006 ; return 0; } 5791 6007 EOF 5792 if { (eval echo configure: 5793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6008 if { (eval echo configure:6009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5793 6009 rm -rf conftest* 5794 6010 eval "ac_cv_lib_$ac_lib_var=yes" … … 5813 6029 *) 5814 6030 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 5815 echo "configure: 5816: checking for main in -lm" >&56031 echo "configure:6032: checking for main in -lm" >&5 5816 6032 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` 5817 6033 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 5821 6037 LIBS="-lm $LIBS" 5822 6038 cat > conftest.$ac_ext <<EOF 5823 #line 5824"configure"6039 #line 6040 "configure" 5824 6040 #include "confdefs.h" 5825 6041 … … 5828 6044 ; return 0; } 5829 6045 EOF 5830 if { (eval echo configure: 5831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6046 if { (eval echo configure:6047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5831 6047 rm -rf conftest* 5832 6048 eval "ac_cv_lib_$ac_lib_var=yes" … … 5859 6075 # working properly! 5860 6076 echo $ac_n "checking for working assert macro""... $ac_c" 1>&6 5861 echo "configure: 5862: checking for working assert macro" >&56077 echo "configure:6078: checking for working assert macro" >&5 5862 6078 if eval "test \"`echo '$''{'gas_cv_assert_ok'+set}'`\" = set"; then 5863 6079 echo $ac_n "(cached) $ac_c" 1>&6 5864 6080 else 5865 6081 cat > conftest.$ac_ext <<EOF 5866 #line 5867"configure"6082 #line 6083 "configure" 5867 6083 #include "confdefs.h" 5868 6084 #include <assert.h> … … 5880 6096 ; return 0; } 5881 6097 EOF 5882 if { (eval echo configure: 5883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6098 if { (eval echo configure:6099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5883 6099 rm -rf conftest* 5884 6100 gas_cv_assert_ok=yes … … 5921 6137 5922 6138 echo $ac_n "checking whether declaration is required for strstr""... $ac_c" 1>&6 5923 echo "configure: 5924: checking whether declaration is required for strstr" >&56139 echo "configure:6140: checking whether declaration is required for strstr" >&5 5924 6140 if eval "test \"`echo '$''{'gas_cv_decl_needed_strstr'+set}'`\" = set"; then 5925 6141 echo $ac_n "(cached) $ac_c" 1>&6 5926 6142 else 5927 6143 cat > conftest.$ac_ext <<EOF 5928 #line 5929"configure"6144 #line 6145 "configure" 5929 6145 #include "confdefs.h" 5930 6146 $gas_test_headers … … 5937 6153 ; return 0; } 5938 6154 EOF 5939 if { (eval echo configure: 5940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6155 if { (eval echo configure:6156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5940 6156 rm -rf conftest* 5941 6157 gas_cv_decl_needed_strstr=no … … 5958 6174 5959 6175 echo $ac_n "checking whether declaration is required for malloc""... $ac_c" 1>&6 5960 echo "configure: 5961: checking whether declaration is required for malloc" >&56176 echo "configure:6177: checking whether declaration is required for malloc" >&5 5961 6177 if eval "test \"`echo '$''{'gas_cv_decl_needed_malloc'+set}'`\" = set"; then 5962 6178 echo $ac_n "(cached) $ac_c" 1>&6 5963 6179 else 5964 6180 cat > conftest.$ac_ext <<EOF 5965 #line 5966"configure"6181 #line 6182 "configure" 5966 6182 #include "confdefs.h" 5967 6183 $gas_test_headers … … 5974 6190 ; return 0; } 5975 6191 EOF 5976 if { (eval echo configure: 5977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6192 if { (eval echo configure:6193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5977 6193 rm -rf conftest* 5978 6194 gas_cv_decl_needed_malloc=no … … 5995 6211 5996 6212 echo $ac_n "checking whether declaration is required for free""... $ac_c" 1>&6 5997 echo "configure: 5998: checking whether declaration is required for free" >&56213 echo "configure:6214: checking whether declaration is required for free" >&5 5998 6214 if eval "test \"`echo '$''{'gas_cv_decl_needed_free'+set}'`\" = set"; then 5999 6215 echo $ac_n "(cached) $ac_c" 1>&6 6000 6216 else 6001 6217 cat > conftest.$ac_ext <<EOF 6002 #line 6 003"configure"6218 #line 6219 "configure" 6003 6219 #include "confdefs.h" 6004 6220 $gas_test_headers … … 6011 6227 ; return 0; } 6012 6228 EOF 6013 if { (eval echo configure:6 014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6229 if { (eval echo configure:6230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6014 6230 rm -rf conftest* 6015 6231 gas_cv_decl_needed_free=no … … 6032 6248 6033 6249 echo $ac_n "checking whether declaration is required for sbrk""... $ac_c" 1>&6 6034 echo "configure:6 035: checking whether declaration is required for sbrk" >&56250 echo "configure:6251: checking whether declaration is required for sbrk" >&5 6035 6251 if eval "test \"`echo '$''{'gas_cv_decl_needed_sbrk'+set}'`\" = set"; then 6036 6252 echo $ac_n "(cached) $ac_c" 1>&6 6037 6253 else 6038 6254 cat > conftest.$ac_ext <<EOF 6039 #line 6 040"configure"6255 #line 6256 "configure" 6040 6256 #include "confdefs.h" 6041 6257 $gas_test_headers … … 6048 6264 ; return 0; } 6049 6265 EOF 6050 if { (eval echo configure:6 051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6266 if { (eval echo configure:6267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6051 6267 rm -rf conftest* 6052 6268 gas_cv_decl_needed_sbrk=no … … 6069 6285 6070 6286 echo $ac_n "checking whether declaration is required for environ""... $ac_c" 1>&6 6071 echo "configure:6 072: checking whether declaration is required for environ" >&56287 echo "configure:6288: checking whether declaration is required for environ" >&5 6072 6288 if eval "test \"`echo '$''{'gas_cv_decl_needed_environ'+set}'`\" = set"; then 6073 6289 echo $ac_n "(cached) $ac_c" 1>&6 6074 6290 else 6075 6291 cat > conftest.$ac_ext <<EOF 6076 #line 6 077"configure"6292 #line 6293 "configure" 6077 6293 #include "confdefs.h" 6078 6294 $gas_test_headers … … 6085 6301 ; return 0; } 6086 6302 EOF 6087 if { (eval echo configure:6 088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6303 if { (eval echo configure:6304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6088 6304 rm -rf conftest* 6089 6305 gas_cv_decl_needed_environ=no … … 6109 6325 6110 6326 echo $ac_n "checking whether declaration is required for errno""... $ac_c" 1>&6 6111 echo "configure:6 112: checking whether declaration is required for errno" >&56327 echo "configure:6328: checking whether declaration is required for errno" >&5 6112 6328 if eval "test \"`echo '$''{'gas_cv_decl_needed_errno'+set}'`\" = set"; then 6113 6329 echo $ac_n "(cached) $ac_c" 1>&6 6114 6330 else 6115 6331 cat > conftest.$ac_ext <<EOF 6116 #line 6 117"configure"6332 #line 6333 "configure" 6117 6333 #include "confdefs.h" 6118 6334 … … 6129 6345 ; return 0; } 6130 6346 EOF 6131 if { (eval echo configure:6 132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6347 if { (eval echo configure:6348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6132 6348 rm -rf conftest* 6133 6349 gas_cv_decl_needed_errno=no … … 6328 6544 s%@BFDLIB@%$BFDLIB%g 6329 6545 s%@OPCODES_LIB@%$OPCODES_LIB%g 6546 s%@BFDVER_H@%$BFDVER_H%g 6330 6547 s%@ALL_OBJ_DEPS@%$ALL_OBJ_DEPS%g 6331 6548 s%@YACC@%$YACC%g -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.