Changeset 1394 for trunk/src/gcc/libjava/configure
- Timestamp:
- Apr 28, 2004, 6:58:06 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gcc/libjava/configure
-
Property cvs2svn:cvs-rev
changed from
1.4
to1.5
r1393 r1394 17 17 ac_help="$ac_help 18 18 --with-cross-host=HOST configuring with a cross compiler" 19 ac_help="$ac_help 20 --with-newlib Configuring with newlib" 19 21 ac_help="$ac_help 20 22 --enable-multilib build many library versions (default)" … … 574 576 575 577 echo $ac_n "checking for path separator""... $ac_c" 1>&6 576 echo "configure:57 7: checking for path separator" >&5578 echo "configure:579: checking for path separator" >&5 577 579 # Filter path to get backslahes into forwardslashes 578 580 case "`uname -s 2> /dev/null`" in … … 588 590 589 591 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 590 echo "configure:59 1: checking for Cygwin environment" >&5592 echo "configure:593: checking for Cygwin environment" >&5 591 593 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 592 594 echo $ac_n "(cached) $ac_c" 1>&6 593 595 else 594 596 cat > conftest.$ac_ext <<EOF 595 #line 59 6"configure"597 #line 598 "configure" 596 598 #include "confdefs.h" 597 599 … … 604 606 ; return 0; } 605 607 EOF 606 if { (eval echo configure:60 7: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then608 if { (eval echo configure:609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 607 609 rm -rf conftest* 608 610 ac_cv_cygwin=yes … … 621 623 test "$ac_cv_cygwin" = yes && CYGWIN=yes 622 624 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 623 echo "configure:62 4: checking for mingw32 environment" >&5625 echo "configure:626: checking for mingw32 environment" >&5 624 626 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 625 627 echo $ac_n "(cached) $ac_c" 1>&6 626 628 else 627 629 cat > conftest.$ac_ext <<EOF 628 #line 6 29"configure"630 #line 631 "configure" 629 631 #include "confdefs.h" 630 632 … … 633 635 ; return 0; } 634 636 EOF 635 if { (eval echo configure:63 6: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then637 if { (eval echo configure:638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 636 638 rm -rf conftest* 637 639 ac_cv_mingw32=yes … … 650 652 test "$ac_cv_mingw32" = yes && MINGW32=yes 651 653 echo $ac_n "checking for EMX/OS2 environment""... $ac_c" 1>&6 652 echo "configure:65 3: checking for EMX/OS2 environment" >&5654 echo "configure:655: checking for EMX/OS2 environment" >&5 653 655 if eval "test \"`echo '$''{'ac_cv_emxos2'+set}'`\" = set"; then 654 656 echo $ac_n "(cached) $ac_c" 1>&6 … … 656 658 : ${CC=gcc.exe} 657 659 cat > conftest.$ac_ext <<EOF 658 #line 6 59"configure"660 #line 661 "configure" 659 661 #include "confdefs.h" 660 662 … … 663 665 ; return 0; } 664 666 EOF 665 if { (eval echo configure:66 6: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then667 if { (eval echo configure:668: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 666 668 rm -rf conftest* 667 669 ac_cv_emxos2=yes … … 694 696 695 697 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 696 echo "configure:69 7: checking for executable suffix" >&5698 echo "configure:699: checking for executable suffix" >&5 697 699 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 698 700 echo $ac_n "(cached) $ac_c" 1>&6 … … 704 706 echo 'int main () { return 0; }' > conftest.$ac_ext 705 707 ac_cv_exeext= 706 if { (eval echo configure:70 7: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then708 if { (eval echo configure:709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 707 709 for file in conftest.*; do 708 710 case $file in … … 733 735 734 736 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 735 echo "configure:73 6: checking whether ln -s works" >&5737 echo "configure:738: checking whether ln -s works" >&5 736 738 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 737 739 echo $ac_n "(cached) $ac_c" 1>&6 … … 769 771 if test "${with_cross_host+set}" = set; then 770 772 withval="$with_cross_host" 773 : 774 fi 775 776 777 # Check whether --with-newlib or --without-newlib was given. 778 if test "${with_newlib+set}" = set; then 779 withval="$with_newlib" 771 780 : 772 781 fi … … 785 794 # ./install, which can be erroneously created by make from ./install.sh. 786 795 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 787 echo "configure:7 88: checking for a BSD compatible install" >&5796 echo "configure:797: checking for a BSD compatible install" >&5 788 797 if test -z "$INSTALL"; then 789 798 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 840 849 841 850 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 842 echo "configure:8 43: checking whether build environment is sane" >&5851 echo "configure:852: checking whether build environment is sane" >&5 843 852 # Just in case 844 853 sleep 1 … … 897 906 898 907 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 899 echo "configure:90 0: checking whether ${MAKE-make} sets \${MAKE}" >&5908 echo "configure:909: checking whether ${MAKE-make} sets \${MAKE}" >&5 900 909 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 901 910 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 1009 1018 1010 1019 # This works around an automake problem. 1011 mkinstalldirs="`cd $ac_aux_dir && pwd`/mkinstalldirs"1020 mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs" 1012 1021 1013 1022 … … 1040 1049 1041 1050 echo $ac_n "checking host system type""... $ac_c" 1>&6 1042 echo "configure:10 43: checking host system type" >&51051 echo "configure:1052: checking host system type" >&5 1043 1052 1044 1053 host_alias=$host … … 1061 1070 1062 1071 echo $ac_n "checking target system type""... $ac_c" 1>&6 1063 echo "configure:10 64: checking target system type" >&51072 echo "configure:1073: checking target system type" >&5 1064 1073 1065 1074 target_alias=$target … … 1079 1088 1080 1089 echo $ac_n "checking build system type""... $ac_c" 1>&6 1081 echo "configure:10 82: checking build system type" >&51090 echo "configure:1091: checking build system type" >&5 1082 1091 1083 1092 build_alias=$build … … 1108 1117 set dummy gcc; ac_word=$2 1109 1118 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1110 echo "configure:11 11: checking for $ac_word" >&51119 echo "configure:1120: checking for $ac_word" >&5 1111 1120 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1112 1121 echo $ac_n "(cached) $ac_c" 1>&6 … … 1139 1148 set dummy cc; ac_word=$2 1140 1149 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1141 echo "configure:11 42: checking for $ac_word" >&51150 echo "configure:1151: checking for $ac_word" >&5 1142 1151 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1143 1152 echo $ac_n "(cached) $ac_c" 1>&6 … … 1192 1201 set dummy cl; ac_word=$2 1193 1202 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1194 echo "configure:1 195: checking for $ac_word" >&51203 echo "configure:1204: checking for $ac_word" >&5 1195 1204 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1196 1205 echo $ac_n "(cached) $ac_c" 1>&6 … … 1226 1235 1227 1236 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1228 echo "configure:12 29: checking whether we are using GNU C" >&51237 echo "configure:1238: checking whether we are using GNU C" >&5 1229 1238 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1230 1239 echo $ac_n "(cached) $ac_c" 1>&6 … … 1235 1244 #endif 1236 1245 EOF 1237 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:12 38: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1246 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1247: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1238 1247 ac_cv_prog_gcc=yes 1239 1248 else … … 1254 1263 CFLAGS= 1255 1264 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1256 echo "configure:12 57: checking whether ${CC-cc} accepts -g" >&51265 echo "configure:1266: checking whether ${CC-cc} accepts -g" >&5 1257 1266 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1258 1267 echo $ac_n "(cached) $ac_c" 1>&6 … … 1303 1312 set dummy $ac_prog; ac_word=$2 1304 1313 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1305 echo "configure:13 06: checking for $ac_word" >&51314 echo "configure:1315: checking for $ac_word" >&5 1306 1315 if eval "test \"`echo '$''{'ac_cv_prog_glibjava_CXX'+set}'`\" = set"; then 1307 1316 echo $ac_n "(cached) $ac_c" 1>&6 … … 1339 1348 1340 1349 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 1341 echo "configure:13 42: checking whether we are using GNU C++" >&51350 echo "configure:1351: checking whether we are using GNU C++" >&5 1342 1351 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then 1343 1352 echo $ac_n "(cached) $ac_c" 1>&6 … … 1348 1357 #endif 1349 1358 EOF 1350 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:13 51: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1359 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1351 1360 ac_cv_prog_gxx=yes 1352 1361 else … … 1363 1372 CXXFLAGS= 1364 1373 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 1365 echo "configure:13 66: checking whether ${CXX-g++} accepts -g" >&51374 echo "configure:1375: checking whether ${CXX-g++} accepts -g" >&5 1366 1375 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then 1367 1376 echo $ac_n "(cached) $ac_c" 1>&6 … … 1412 1421 missing_dir=`cd $ac_aux_dir && pwd` 1413 1422 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 1414 echo "configure:14 15: checking for working aclocal" >&51423 echo "configure:1424: checking for working aclocal" >&5 1415 1424 # Run test in a subshell; some versions of sh will print an error if 1416 1425 # an executable is not found, even if stderr is redirected. … … 1425 1434 1426 1435 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 1427 echo "configure:14 28: checking for working autoconf" >&51436 echo "configure:1437: checking for working autoconf" >&5 1428 1437 # Run test in a subshell; some versions of sh will print an error if 1429 1438 # an executable is not found, even if stderr is redirected. … … 1438 1447 1439 1448 echo $ac_n "checking for working automake""... $ac_c" 1>&6 1440 echo "configure:14 41: checking for working automake" >&51449 echo "configure:1450: checking for working automake" >&5 1441 1450 # Run test in a subshell; some versions of sh will print an error if 1442 1451 # an executable is not found, even if stderr is redirected. … … 1451 1460 1452 1461 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 1453 echo "configure:14 54: checking for working autoheader" >&51462 echo "configure:1463: checking for working autoheader" >&5 1454 1463 # Run test in a subshell; some versions of sh will print an error if 1455 1464 # an executable is not found, even if stderr is redirected. … … 1464 1473 1465 1474 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 1466 echo "configure:14 67: checking for working makeinfo" >&51475 echo "configure:1476: checking for working makeinfo" >&5 1467 1476 # Run test in a subshell; some versions of sh will print an error if 1468 1477 # an executable is not found, even if stderr is redirected. … … 1483 1492 # be run before AC_CANONICAL_HOST. 1484 1493 echo $ac_n "checking build system type""... $ac_c" 1>&6 1485 echo "configure:14 86: checking build system type" >&51494 echo "configure:1495: checking build system type" >&5 1486 1495 1487 1496 build_alias=$build … … 1504 1513 set dummy ${ac_tool_prefix}as; ac_word=$2 1505 1514 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1506 echo "configure:15 07: checking for $ac_word" >&51515 echo "configure:1516: checking for $ac_word" >&5 1507 1516 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then 1508 1517 echo $ac_n "(cached) $ac_c" 1>&6 … … 1537 1546 set dummy ${ac_tool_prefix}ar; ac_word=$2 1538 1547 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1539 echo "configure:154 0: checking for $ac_word" >&51548 echo "configure:1549: checking for $ac_word" >&5 1540 1549 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then 1541 1550 echo $ac_n "(cached) $ac_c" 1>&6 … … 1570 1579 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1571 1580 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1572 echo "configure:15 73: checking for $ac_word" >&51581 echo "configure:1582: checking for $ac_word" >&5 1573 1582 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1574 1583 echo $ac_n "(cached) $ac_c" 1>&6 … … 1603 1612 set dummy ranlib; ac_word=$2 1604 1613 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1605 echo "configure:16 06: checking for $ac_word" >&51614 echo "configure:1615: checking for $ac_word" >&5 1606 1615 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1607 1616 echo $ac_n "(cached) $ac_c" 1>&6 … … 1649 1658 # ./install, which can be erroneously created by make from ./install.sh. 1650 1659 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 1651 echo "configure:16 52: checking for a BSD compatible install" >&51660 echo "configure:1661: checking for a BSD compatible install" >&5 1652 1661 if test -z "$INSTALL"; then 1653 1662 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 1705 1714 1706 1715 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 1707 echo "configure:17 08: checking whether to enable maintainer-specific portions of Makefiles" >&51716 echo "configure:1717: checking whether to enable maintainer-specific portions of Makefiles" >&5 1708 1717 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 1709 1718 if test "${enable_maintainer_mode+set}" = set; then … … 1728 1737 1729 1738 1730 # We need AC_EXEEXT to keep automake happy in cygnus mode. However, 1731 # at least currently, we never actually build a program, so we never 1732 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally 1733 # fails, because we are probably configuring with a cross compiler 1734 # which cant create executables. So we include AC_EXEEXT to keep 1735 # automake happy, but we don't execute it, since we don't care about 1736 # the result. 1737 if false; then 1738 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands 1739 # to nothing, so nothing would remain between `then' and `fi' if it 1740 # were not for the `:' below. 1741 : 1742 1739 1743 1740 1744 1741 1745 1742 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 1746 echo "configure:174 7: checking for executable suffix" >&51743 echo "configure:1744: checking for executable suffix" >&5 1747 1744 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 1748 1745 echo $ac_n "(cached) $ac_c" 1>&6 … … 1754 1751 echo 'int main () { return 0; }' > conftest.$ac_ext 1755 1752 ac_cv_exeext= 1756 if { (eval echo configure:175 7: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1753 if { (eval echo configure:1754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1757 1754 for file in conftest.*; do 1758 1755 case $file in … … 1774 1771 ac_exeext=$EXEEXT 1775 1772 1776 fi1777 1773 1778 1774 # configure.host sets the following important variables … … 1818 1814 INCLTDL="-I\$(top_srcdir)/libltdl $INCLTDL" 1819 1815 # FIXME: this is a hack. 1820 sub_auxdir="`cd $ac_aux_dir && pwd`"1816 sub_auxdir="`cd $ac_aux_dir && ${PWDCMD-pwd}`" 1821 1817 ac_configure_args="$ac_configure_args --with-auxdir=$sub_auxdir" 1822 1818 fi … … 1905 1901 # Check if gcc -print-prog-name=ld gives a path. 1906 1902 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 1907 echo "configure:190 8: checking for ld used by GCC" >&51903 echo "configure:1904: checking for ld used by GCC" >&5 1908 1904 case $host in 1909 1905 *-*-mingw*) … … 1935 1931 elif test "$with_gnu_ld" = yes; then 1936 1932 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 1937 echo "configure:193 8: checking for GNU ld" >&51933 echo "configure:1934: checking for GNU ld" >&5 1938 1934 else 1939 1935 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 1940 echo "configure:19 41: checking for non-GNU ld" >&51936 echo "configure:1937: checking for non-GNU ld" >&5 1941 1937 fi 1942 1938 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then … … 1973 1969 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } 1974 1970 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 1975 echo "configure:197 6: checking if the linker ($LD) is GNU ld" >&51971 echo "configure:1972: checking if the linker ($LD) is GNU ld" >&5 1976 1972 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then 1977 1973 echo $ac_n "(cached) $ac_c" 1>&6 … … 1990 1986 1991 1987 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6 1992 echo "configure:19 93: checking for $LD option to reload object files" >&51988 echo "configure:1989: checking for $LD option to reload object files" >&5 1993 1989 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then 1994 1990 echo $ac_n "(cached) $ac_c" 1>&6 … … 2002 1998 2003 1999 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 2004 echo "configure:200 5: checking for BSD-compatible nm" >&52000 echo "configure:2001: checking for BSD-compatible nm" >&5 2005 2001 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then 2006 2002 echo $ac_n "(cached) $ac_c" 1>&6 … … 2040 2036 2041 2037 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6 2042 echo "configure:20 43: checking how to recognise dependant libraries" >&52038 echo "configure:2039: checking how to recognise dependant libraries" >&5 2043 2039 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then 2044 2040 echo $ac_n "(cached) $ac_c" 1>&6 … … 2115 2111 hppa*) 2116 2112 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 2117 lt_cv_file_magic_cmd=/usr/bin/file2118 lt_cv_file_magic_test_file=/usr/lib/libc.sl2113 lt_cv_file_magic_cmd=/usr/bin/file 2114 lt_cv_file_magic_test_file=/usr/lib/libc.sl 2119 2115 ;; 2120 2116 ia64*) … … 2122 2118 lt_cv_file_magic_cmd=/usr/bin/file 2123 2119 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 2124 ;;2120 ;; 2125 2121 esac 2126 2122 ;; … … 2150 2146 linux-gnu*) 2151 2147 case $host_cpu in 2152 alpha* | mips* |hppa* | i*86 | powerpc* | sparc* | ia64* )2148 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* ) 2153 2149 lt_cv_deplibs_check_method=pass_all ;; 2154 2150 *) … … 2217 2213 2218 2214 echo $ac_n "checking for object suffix""... $ac_c" 1>&6 2219 echo "configure:22 20: checking for object suffix" >&52215 echo "configure:2216: checking for object suffix" >&5 2220 2216 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then 2221 2217 echo $ac_n "(cached) $ac_c" 1>&6 … … 2223 2219 rm -f conftest* 2224 2220 echo 'int i = 1;' > conftest.$ac_ext 2225 if { (eval echo configure:222 6: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2221 if { (eval echo configure:2222: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2226 2222 for ac_file in conftest.*; do 2227 2223 case $ac_file in … … 2247 2243 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 2248 2244 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6 2249 echo "configure:22 50: checking for ${ac_tool_prefix}file" >&52245 echo "configure:2246: checking for ${ac_tool_prefix}file" >&5 2250 2246 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 2251 2247 echo $ac_n "(cached) $ac_c" 1>&6 … … 2309 2305 if test -n "$ac_tool_prefix"; then 2310 2306 echo $ac_n "checking for file""... $ac_c" 1>&6 2311 echo "configure:23 12: checking for file" >&52307 echo "configure:2308: checking for file" >&5 2312 2308 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 2313 2309 echo $ac_n "(cached) $ac_c" 1>&6 … … 2380 2376 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2381 2377 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2382 echo "configure:23 83: checking for $ac_word" >&52378 echo "configure:2379: checking for $ac_word" >&5 2383 2379 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 2384 2380 echo $ac_n "(cached) $ac_c" 1>&6 … … 2413 2409 set dummy ranlib; ac_word=$2 2414 2410 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2415 echo "configure:241 6: checking for $ac_word" >&52411 echo "configure:2412: checking for $ac_word" >&5 2416 2412 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 2417 2413 echo $ac_n "(cached) $ac_c" 1>&6 … … 2449 2445 set dummy ${ac_tool_prefix}strip; ac_word=$2 2450 2446 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2451 echo "configure:24 52: checking for $ac_word" >&52447 echo "configure:2448: checking for $ac_word" >&5 2452 2448 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 2453 2449 echo $ac_n "(cached) $ac_c" 1>&6 … … 2482 2478 set dummy strip; ac_word=$2 2483 2479 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2484 echo "configure:248 5: checking for $ac_word" >&52480 echo "configure:2481: checking for $ac_word" >&5 2485 2481 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 2486 2482 echo $ac_n "(cached) $ac_c" 1>&6 … … 2550 2546 *-*-irix6*) 2551 2547 # Find out which ABI we are using. 2552 echo '#line 25 53"configure"' > conftest.$ac_ext2553 if { (eval echo configure:255 4: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2548 echo '#line 2549 "configure"' > conftest.$ac_ext 2549 if { (eval echo configure:2550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2554 2550 if test "$lt_cv_prog_gnu_ld" = yes; then 2555 2551 case `/usr/bin/file conftest.$ac_objext` in … … 2584 2580 # Find out which ABI we are using. 2585 2581 echo 'int i;' > conftest.$ac_ext 2586 if { (eval echo configure:258 7: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2582 if { (eval echo configure:2583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2587 2583 case "`/usr/bin/file conftest.o`" in 2588 2584 *ELF-32*) … … 2597 2593 ;; 2598 2594 2595 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) 2596 # Find out which ABI we are using. 2597 echo 'int i;' > conftest.$ac_ext 2598 if { (eval echo configure:2599: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2599 case "`/usr/bin/file conftest.o`" in 2600 *32-bit*) 2601 case $host in 2602 x86_64-*linux*) 2603 LD="${LD-ld} -m elf_i386" 2604 ;; 2605 ppc64-*linux*|powerpc64-*linux*) 2606 LD="${LD-ld} -m elf32ppclinux" 2607 ;; 2608 s390x-*linux*) 2609 LD="${LD-ld} -m elf_s390" 2610 ;; 2611 sparc64-*linux*) 2612 LD="${LD-ld} -m elf32_sparc" 2613 ;; 2614 esac 2615 ;; 2616 *64-bit*) 2617 case $host in 2618 x86_64-*linux*) 2619 LD="${LD-ld} -m elf_x86_64" 2620 ;; 2621 ppc*-*linux*|powerpc*-*linux*) 2622 LD="${LD-ld} -m elf64ppc" 2623 ;; 2624 s390*-*linux*) 2625 LD="${LD-ld} -m elf64_s390" 2626 ;; 2627 sparc*-*linux*) 2628 LD="${LD-ld} -m elf64_sparc" 2629 ;; 2630 esac 2631 ;; 2632 esac 2633 fi 2634 rm -rf conftest* 2635 ;; 2636 2599 2637 *-*-sco3.2v5*) 2600 2638 # On SCO OpenServer 5, we need -belf to get full-featured binaries. … … 2602 2640 CFLAGS="$CFLAGS -belf" 2603 2641 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 2604 echo "configure:26 05: checking whether the C compiler needs -belf" >&52642 echo "configure:2643: checking whether the C compiler needs -belf" >&5 2605 2643 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then 2606 2644 echo $ac_n "(cached) $ac_c" 1>&6 … … 2615 2653 2616 2654 cat > conftest.$ac_ext <<EOF 2617 #line 26 18"configure"2655 #line 2656 "configure" 2618 2656 #include "confdefs.h" 2619 2657 … … 2622 2660 ; return 0; } 2623 2661 EOF 2624 if { (eval echo configure:26 25: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2662 if { (eval echo configure:2663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2625 2663 rm -rf conftest* 2626 2664 lt_cv_cc_needs_belf=yes … … 2652 2690 2653 2691 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6 2654 echo "configure:26 55: checking how to run the C++ preprocessor" >&52692 echo "configure:2693: checking how to run the C++ preprocessor" >&5 2655 2693 if test -z "$CXXCPP"; then 2656 2694 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then … … 2666 2704 cat > conftest.$ac_ext <<EOF 2667 2705 #include <sys/types.h> 2668 #line 2 669"configure"2706 #line 2707 "configure" 2669 2707 #include "confdefs.h" 2670 2708 #include <stdlib.h> 2671 2709 EOF 2672 2710 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2673 { (eval echo configure:2 674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2711 { (eval echo configure:2712: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2674 2712 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2675 2713 if test -z "$ac_err"; then … … 2903 2941 2904 2942 fi 2943 INTERPRETER="$libgcj_interpreter" 2944 2905 2945 2906 2946 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6 2907 echo "configure:29 08: checking for exception model to use" >&52947 echo "configure:2948: checking for exception model to use" >&5 2908 2948 2909 2949 ac_ext=C … … 2920 2960 else 2921 2961 cat > conftest.$ac_ext << EOF 2922 #line 29 23 "configure"2962 #line 2963 "configure" 2923 2963 struct S { ~S(); }; 2924 2964 void bar(); … … 2931 2971 old_CXXFLAGS="$CXXFLAGS" 2932 2972 CXXFLAGS=-S 2933 if { (eval echo configure:29 34: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2973 if { (eval echo configure:2974: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2934 2974 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then 2935 2975 enable_sjlj_exceptions=yes … … 3004 3044 3005 3045 LIBFFI=../libffi/libffi_convenience.la 3006 LIBFFIINCS='-I$(top_srcdir)/../libffi/include -I $(MULTIBUILDTOP)../libffi/include'3046 LIBFFIINCS='-I$(top_srcdir)/../libffi/include -I../libffi/include' 3007 3047 fi 3008 3048 … … 3039 3079 PLATFORMOBJS=win32.lo 3040 3080 PLATFORMH=win32.h 3081 3082 echo $ac_n "checking whether 'ld' is at least 2.13""... $ac_c" 1>&6 3083 echo "configure:3084: checking whether 'ld' is at least 2.13" >&5 3084 LD_PROG=`$CC --print-prog-name=ld` 3085 LD_VERSION=`$LD_PROG --version` 3086 LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4` 3087 LD_VERSION_MINOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2` 3088 if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then 3089 LD_OK="ok" 3090 else 3091 if expr "$LD_VERSION_MAJOR" = 2 && expr "$LD_VERSION_MINOR" \>= 13 > /dev/null; then 3092 LD_OK="ok" 3093 fi 3094 fi 3095 if test "x$LD_OK" != x; then 3096 echo "$ac_t""yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" 1>&6 3097 else 3098 echo "$ac_t""no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" 1>&6 3099 echo "configure: warning: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." 1>&2 3100 cat >> confdefs.h <<\EOF 3101 #define JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS 1 3102 EOF 3103 3104 fi 3041 3105 ;; 3042 3106 *) … … 3061 3125 3062 3126 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 3063 echo "configure:3 064: checking how to run the C preprocessor" >&53127 echo "configure:3128: checking how to run the C preprocessor" >&5 3064 3128 # On Suns, sometimes $CPP names a directory. 3065 3129 if test -n "$CPP" && test -d "$CPP"; then … … 3077 3141 cat > conftest.$ac_ext <<EOF 3078 3142 #include <sys/types.h> 3079 #line 3 080"configure"3143 #line 3144 "configure" 3080 3144 #include "confdefs.h" 3081 3145 #include <assert.h> … … 3083 3147 EOF 3084 3148 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3085 { (eval echo configure:3 086: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3149 { (eval echo configure:3150: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3086 3150 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3087 3151 if test -z "$ac_err"; then … … 3095 3159 cat > conftest.$ac_ext <<EOF 3096 3160 #include <sys/types.h> 3097 #line 3 098"configure"3161 #line 3162 "configure" 3098 3162 #include "confdefs.h" 3099 3163 #include <assert.h> … … 3101 3165 EOF 3102 3166 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3103 { (eval echo configure:31 04: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3167 { (eval echo configure:3168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3104 3168 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3105 3169 if test -z "$ac_err"; then … … 3113 3177 cat > conftest.$ac_ext <<EOF 3114 3178 #include <sys/types.h> 3115 #line 31 16"configure"3179 #line 3180 "configure" 3116 3180 #include "confdefs.h" 3117 3181 #include <assert.h> … … 3119 3183 EOF 3120 3184 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3121 { (eval echo configure:31 22: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3185 { (eval echo configure:3186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3122 3186 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3123 3187 if test -z "$ac_err"; then … … 3144 3208 3145 3209 cat > conftest.$ac_ext <<EOF 3146 #line 3 147"configure"3210 #line 3211 "configure" 3147 3211 #include "confdefs.h" 3148 3212 #include <stdint.h> … … 3159 3223 3160 3224 cat > conftest.$ac_ext <<EOF 3161 #line 3 162"configure"3225 #line 3226 "configure" 3162 3226 #include "confdefs.h" 3163 3227 #include <inttypes.h> … … 3174 3238 3175 3239 cat > conftest.$ac_ext <<EOF 3176 #line 3 177"configure"3240 #line 3241 "configure" 3177 3241 #include "confdefs.h" 3178 3242 #include <sys/types.h> … … 3189 3253 3190 3254 cat > conftest.$ac_ext <<EOF 3191 #line 3 192"configure"3255 #line 3256 "configure" 3192 3256 #include "confdefs.h" 3193 3257 #include <sys/config.h> … … 3206 3270 3207 3271 cat > conftest.$ac_ext <<EOF 3208 #line 32 09"configure"3272 #line 3273 "configure" 3209 3273 #include "confdefs.h" 3210 3274 #include <time.h> … … 3221 3285 3222 3286 cat > conftest.$ac_ext <<EOF 3223 #line 32 24"configure"3287 #line 3288 "configure" 3224 3288 #include "confdefs.h" 3225 3289 #include <time.h> … … 3256 3320 3257 3321 3258 LIBGCJTESTSPEC="-L` pwd`/.libs -rpath `pwd`/.libs"3322 LIBGCJTESTSPEC="-L`${PWDCMD-pwd}`/.libs -rpath `${PWDCMD-pwd}`/.libs" 3259 3323 3260 3324 … … 3273 3337 3274 3338 echo $ac_n "checking for garbage collector to use""... $ac_c" 1>&6 3275 echo "configure:3 276: checking for garbage collector to use" >&53339 echo "configure:3340: checking for garbage collector to use" >&5 3276 3340 # Check whether --enable-java-gc or --disable-java-gc was given. 3277 3341 if test "${enable_java_gc+set}" = set; then … … 3296 3360 GCINCS='-I$(top_srcdir)/../boehm-gc/include' 3297 3361 JC1GCSPEC='-fuse-boehm-gc' 3298 GCTESTSPEC="-L` pwd`/../boehm-gc/.libs -rpath `pwd`/../boehm-gc/.libs"3362 GCTESTSPEC="-L`${PWDCMD-pwd}`/../boehm-gc/.libs -rpath `${PWDCMD-pwd}`/../boehm-gc/.libs" 3299 3363 3300 3364 GCINCS="$GCINCS `cat ../boehm-gc/boehm-cflags`" … … 3326 3390 3327 3391 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6 3328 echo "configure:33 29: checking for thread model used by GCC" >&53392 echo "configure:3393: checking for thread model used by GCC" >&5 3329 3393 THREADS=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'` 3330 3394 echo "$ac_t""$THREADS" 1>&6 … … 3441 3505 HASH_SYNC_SPEC= 3442 3506 # Hash synchronization is only useful with posix threads right now. 3443 if test "$enable_hash_synchronization" = yes && test "$THREADS" = "posix"; then3507 if test "$enable_hash_synchronization" = yes && test "$THREADS" != "none"; then 3444 3508 HASH_SYNC_SPEC=-fhash-synchronization 3445 3509 cat >> confdefs.h <<\EOF … … 3476 3540 3477 3541 3478 if test -n "${with_cross_host}"; then3542 if test "x${with_newlib}" = "xyes"; then 3479 3543 # We are being configured with a cross compiler. AC_REPLACE_FUNCS 3480 3544 # may not work correctly, because the compiler may not be able to … … 3523 3587 # If Canadian cross, then don't pick up tools from the build 3524 3588 # directory. 3525 if test x"$build" != x"$with_cross_host" && x"$build" != x"$target"; then 3589 if test x"$build" != x"$with_cross_host" \ 3590 && test x"$build" != x"$target"; then 3526 3591 CANADIAN=yes 3527 3592 GCC_UNWIND_INCLUDE= … … 3533 3598 do 3534 3599 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3535 echo "configure:3 536: checking for $ac_func" >&53600 echo "configure:3601: checking for $ac_func" >&5 3536 3601 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3537 3602 echo $ac_n "(cached) $ac_c" 1>&6 3538 3603 else 3539 3604 cat > conftest.$ac_ext <<EOF 3540 #line 3 541"configure"3605 #line 3606 "configure" 3541 3606 #include "confdefs.h" 3542 3607 /* System header to define __stub macros and hopefully few prototypes, … … 3561 3626 ; return 0; } 3562 3627 EOF 3563 if { (eval echo configure:3 564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3628 if { (eval echo configure:3629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3564 3629 rm -rf conftest* 3565 3630 eval "ac_cv_func_$ac_func=yes" … … 3588 3653 do 3589 3654 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3590 echo "configure:3 591: checking for $ac_func" >&53655 echo "configure:3656: checking for $ac_func" >&5 3591 3656 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3592 3657 echo $ac_n "(cached) $ac_c" 1>&6 3593 3658 else 3594 3659 cat > conftest.$ac_ext <<EOF 3595 #line 3 596"configure"3660 #line 3661 "configure" 3596 3661 #include "confdefs.h" 3597 3662 /* System header to define __stub macros and hopefully few prototypes, … … 3616 3681 ; return 0; } 3617 3682 EOF 3618 if { (eval echo configure:36 19: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3683 if { (eval echo configure:3684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3619 3684 rm -rf conftest* 3620 3685 eval "ac_cv_func_$ac_func=yes" … … 3643 3708 do 3644 3709 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3645 echo "configure:3 646: checking for $ac_func" >&53710 echo "configure:3711: checking for $ac_func" >&5 3646 3711 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3647 3712 echo $ac_n "(cached) $ac_c" 1>&6 3648 3713 else 3649 3714 cat > conftest.$ac_ext <<EOF 3650 #line 3 651"configure"3715 #line 3716 "configure" 3651 3716 #include "confdefs.h" 3652 3717 /* System header to define __stub macros and hopefully few prototypes, … … 3671 3736 ; return 0; } 3672 3737 EOF 3673 if { (eval echo configure:3 674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3738 if { (eval echo configure:3739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3674 3739 rm -rf conftest* 3675 3740 eval "ac_cv_func_$ac_func=yes" … … 3698 3763 do 3699 3764 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3700 echo "configure:37 01: checking for $ac_func" >&53765 echo "configure:3766: checking for $ac_func" >&5 3701 3766 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3702 3767 echo $ac_n "(cached) $ac_c" 1>&6 3703 3768 else 3704 3769 cat > conftest.$ac_ext <<EOF 3705 #line 37 06"configure"3770 #line 3771 "configure" 3706 3771 #include "confdefs.h" 3707 3772 /* System header to define __stub macros and hopefully few prototypes, … … 3726 3791 ; return 0; } 3727 3792 EOF 3728 if { (eval echo configure:37 29: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3793 if { (eval echo configure:3794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3729 3794 rm -rf conftest* 3730 3795 eval "ac_cv_func_$ac_func=yes" … … 3753 3818 do 3754 3819 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3755 echo "configure:3 756: checking for $ac_func" >&53820 echo "configure:3821: checking for $ac_func" >&5 3756 3821 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3757 3822 echo $ac_n "(cached) $ac_c" 1>&6 3758 3823 else 3759 3824 cat > conftest.$ac_ext <<EOF 3760 #line 3 761"configure"3825 #line 3826 "configure" 3761 3826 #include "confdefs.h" 3762 3827 /* System header to define __stub macros and hopefully few prototypes, … … 3781 3846 ; return 0; } 3782 3847 EOF 3783 if { (eval echo configure:3 784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3848 if { (eval echo configure:3849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3784 3849 rm -rf conftest* 3785 3850 eval "ac_cv_func_$ac_func=yes" … … 3808 3873 do 3809 3874 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3810 echo "configure:38 11: checking for $ac_func" >&53875 echo "configure:3876: checking for $ac_func" >&5 3811 3876 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3812 3877 echo $ac_n "(cached) $ac_c" 1>&6 3813 3878 else 3814 3879 cat > conftest.$ac_ext <<EOF 3815 #line 38 16"configure"3880 #line 3881 "configure" 3816 3881 #include "confdefs.h" 3817 3882 /* System header to define __stub macros and hopefully few prototypes, … … 3836 3901 ; return 0; } 3837 3902 EOF 3838 if { (eval echo configure:3 839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3903 if { (eval echo configure:3904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3839 3904 rm -rf conftest* 3840 3905 eval "ac_cv_func_$ac_func=yes" … … 3860 3925 done 3861 3926 3862 for ac_func in fork execvp pipe sigaction 3927 for ac_func in fork execvp pipe sigaction ftruncate 3863 3928 do 3864 3929 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3865 echo "configure:3 866: checking for $ac_func" >&53930 echo "configure:3931: checking for $ac_func" >&5 3866 3931 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3867 3932 echo $ac_n "(cached) $ac_c" 1>&6 3868 3933 else 3869 3934 cat > conftest.$ac_ext <<EOF 3870 #line 3 871"configure"3935 #line 3936 "configure" 3871 3936 #include "confdefs.h" 3872 3937 /* System header to define __stub macros and hopefully few prototypes, … … 3891 3956 ; return 0; } 3892 3957 EOF 3893 if { (eval echo configure:3 894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3958 if { (eval echo configure:3959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3894 3959 rm -rf conftest* 3895 3960 eval "ac_cv_func_$ac_func=yes" … … 3919 3984 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3920 3985 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3921 echo "configure:39 22: checking for $ac_hdr" >&53986 echo "configure:3987: checking for $ac_hdr" >&5 3922 3987 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3923 3988 echo $ac_n "(cached) $ac_c" 1>&6 … … 3925 3990 cat > conftest.$ac_ext <<EOF 3926 3991 #include <sys/types.h> 3927 #line 39 28"configure"3992 #line 3993 "configure" 3928 3993 #include "confdefs.h" 3929 3994 #include <$ac_hdr> 3930 3995 EOF 3931 3996 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3932 { (eval echo configure:39 33: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3997 { (eval echo configure:3998: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3933 3998 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3934 3999 if test -z "$ac_err"; then … … 3957 4022 3958 4023 echo $ac_n "checking for backtrace""... $ac_c" 1>&6 3959 echo "configure: 3960: checking for backtrace" >&54024 echo "configure:4025: checking for backtrace" >&5 3960 4025 if eval "test \"`echo '$''{'ac_cv_func_backtrace'+set}'`\" = set"; then 3961 4026 echo $ac_n "(cached) $ac_c" 1>&6 3962 4027 else 3963 4028 cat > conftest.$ac_ext <<EOF 3964 #line 3965"configure"4029 #line 4030 "configure" 3965 4030 #include "confdefs.h" 3966 4031 /* System header to define __stub macros and hopefully few prototypes, … … 3985 4050 ; return 0; } 3986 4051 EOF 3987 if { (eval echo configure: 3988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4052 if { (eval echo configure:4053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3988 4053 rm -rf conftest* 3989 4054 eval "ac_cv_func_backtrace=yes" … … 4014 4079 else 4015 4080 echo "$ac_t""no" 1>&6 4081 4082 case "$host" in 4083 *mingw*) 4084 # Has backtrace() defined in libgcj itself 4085 cat >> confdefs.h <<\EOF 4086 #define HAVE_BACKTRACE 1 4087 EOF 4088 4089 ;; 4090 esac 4091 4016 4092 fi 4017 4093 4018 4094 4019 4095 echo $ac_n "checking for dladdr in -ldl""... $ac_c" 1>&6 4020 echo "configure:40 21: checking for dladdr in -ldl" >&54096 echo "configure:4097: checking for dladdr in -ldl" >&5 4021 4097 ac_lib_var=`echo dl'_'dladdr | sed 'y%./+-%__p_%'` 4022 4098 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4026 4102 LIBS="-ldl $LIBS" 4027 4103 cat > conftest.$ac_ext <<EOF 4028 #line 4 029"configure"4104 #line 4105 "configure" 4029 4105 #include "confdefs.h" 4030 4106 /* Override any gcc2 internal prototype to avoid an error. */ … … 4037 4113 ; return 0; } 4038 4114 EOF 4039 if { (eval echo configure:4 040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4115 if { (eval echo configure:4116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4040 4116 rm -rf conftest* 4041 4117 eval "ac_cv_lib_$ac_lib_var=yes" … … 4061 4137 fi 4062 4138 4063 for ac_file in /proc/self/exe 4139 if test x"$build" = x"$host"; then 4140 for ac_file in /proc/self/exe 4064 4141 do 4065 4142 4066 4143 ac_safe=`echo "$ac_file" | sed 'y%./+-%__p_%'` 4067 4144 echo $ac_n "checking for $ac_file""... $ac_c" 1>&6 4068 echo "configure:4 069: checking for $ac_file" >&54145 echo "configure:4146: checking for $ac_file" >&5 4069 4146 if eval "test \"`echo '$''{'ac_cv_file_$ac_safe'+set}'`\" = set"; then 4070 4147 echo $ac_n "(cached) $ac_c" 1>&6 … … 4087 4164 EOF 4088 4165 4089 cat >> confdefs.h <<\EOF4166 cat >> confdefs.h <<\EOF 4090 4167 #define HAVE_PROC_SELF_EXE 1 4091 4168 EOF … … 4097 4174 done 4098 4175 4176 else 4177 case $host in 4178 *-linux*) 4179 cat >> confdefs.h <<\EOF 4180 #define HAVE_PROC_SELF_EXE 1 4181 EOF 4182 4183 ;; 4184 esac 4185 fi 4099 4186 4100 4187 … … 4114 4201 4115 4202 echo $ac_n "checking for iconv""... $ac_c" 1>&6 4116 echo "configure:4 117: checking for iconv" >&54203 echo "configure:4204: checking for iconv" >&5 4117 4204 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then 4118 4205 echo $ac_n "(cached) $ac_c" 1>&6 … … 4122 4209 am_cv_lib_iconv=no 4123 4210 cat > conftest.$ac_ext <<EOF 4124 #line 4 125"configure"4211 #line 4212 "configure" 4125 4212 #include "confdefs.h" 4126 4213 #include <stdlib.h> … … 4132 4219 ; return 0; } 4133 4220 EOF 4134 if { (eval echo configure:4 135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4221 if { (eval echo configure:4222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4135 4222 rm -rf conftest* 4136 4223 am_cv_func_iconv=yes … … 4144 4231 LIBS="$LIBS $am_cv_libiconv_ldpath -liconv" 4145 4232 cat > conftest.$ac_ext <<EOF 4146 #line 4 147"configure"4233 #line 4234 "configure" 4147 4234 #include "confdefs.h" 4148 4235 #include <stdlib.h> … … 4154 4241 ; return 0; } 4155 4242 EOF 4156 if { (eval echo configure:4 157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4243 if { (eval echo configure:4244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4157 4244 rm -rf conftest* 4158 4245 am_cv_lib_iconv=yes … … 4175 4262 4176 4263 echo $ac_n "checking for iconv declaration""... $ac_c" 1>&6 4177 echo "configure:4 178: checking for iconv declaration" >&54264 echo "configure:4265: checking for iconv declaration" >&5 4178 4265 if eval "test \"`echo '$''{'am_cv_proto_iconv'+set}'`\" = set"; then 4179 4266 echo $ac_n "(cached) $ac_c" 1>&6 … … 4181 4268 4182 4269 cat > conftest.$ac_ext <<EOF 4183 #line 4 184"configure"4270 #line 4271 "configure" 4184 4271 #include "confdefs.h" 4185 4272 … … 4200 4287 ; return 0; } 4201 4288 EOF 4202 if { (eval echo configure:42 03: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4289 if { (eval echo configure:4290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4203 4290 rm -rf conftest* 4204 4291 am_cv_proto_iconv_arg1="" … … 4229 4316 if test $ac_cv_header_locale_h = yes; then 4230 4317 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 4231 echo "configure:4 232: checking for LC_MESSAGES" >&54318 echo "configure:4319: checking for LC_MESSAGES" >&5 4232 4319 if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then 4233 4320 echo $ac_n "(cached) $ac_c" 1>&6 4234 4321 else 4235 4322 cat > conftest.$ac_ext <<EOF 4236 #line 4 237"configure"4323 #line 4324 "configure" 4237 4324 #include "confdefs.h" 4238 4325 #include <locale.h> … … 4241 4328 ; return 0; } 4242 4329 EOF 4243 if { (eval echo configure:4 244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4330 if { (eval echo configure:4331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4244 4331 rm -rf conftest* 4245 4332 am_cv_val_LC_MESSAGES=yes … … 4262 4349 fi 4263 4350 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 4264 echo "configure:4 265: checking whether struct tm is in sys/time.h or time.h" >&54351 echo "configure:4352: checking whether struct tm is in sys/time.h or time.h" >&5 4265 4352 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 4266 4353 echo $ac_n "(cached) $ac_c" 1>&6 4267 4354 else 4268 4355 cat > conftest.$ac_ext <<EOF 4269 #line 4 270"configure"4356 #line 4357 "configure" 4270 4357 #include "confdefs.h" 4271 4358 #include <sys/types.h> … … 4275 4362 ; return 0; } 4276 4363 EOF 4277 if { (eval echo configure:4 278: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4364 if { (eval echo configure:4365: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4278 4365 rm -rf conftest* 4279 4366 ac_cv_struct_tm=time.h … … 4296 4383 4297 4384 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 4298 echo "configure:4 299: checking for tm_zone in struct tm" >&54385 echo "configure:4386: checking for tm_zone in struct tm" >&5 4299 4386 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then 4300 4387 echo $ac_n "(cached) $ac_c" 1>&6 4301 4388 else 4302 4389 cat > conftest.$ac_ext <<EOF 4303 #line 43 04"configure"4390 #line 4391 "configure" 4304 4391 #include "confdefs.h" 4305 4392 #include <sys/types.h> … … 4309 4396 ; return 0; } 4310 4397 EOF 4311 if { (eval echo configure:43 12: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4398 if { (eval echo configure:4399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4312 4399 rm -rf conftest* 4313 4400 ac_cv_struct_tm_zone=yes … … 4329 4416 else 4330 4417 echo $ac_n "checking for tzname""... $ac_c" 1>&6 4331 echo "configure:4 332: checking for tzname" >&54418 echo "configure:4419: checking for tzname" >&5 4332 4419 if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then 4333 4420 echo $ac_n "(cached) $ac_c" 1>&6 4334 4421 else 4335 4422 cat > conftest.$ac_ext <<EOF 4336 #line 4 337"configure"4423 #line 4424 "configure" 4337 4424 #include "confdefs.h" 4338 4425 #include <time.h> … … 4344 4431 ; return 0; } 4345 4432 EOF 4346 if { (eval echo configure:4 347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4433 if { (eval echo configure:4434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4347 4434 rm -rf conftest* 4348 4435 ac_cv_var_tzname=yes … … 4369 4456 do 4370 4457 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4371 echo "configure:4 372: checking for $ac_func" >&54458 echo "configure:4459: checking for $ac_func" >&5 4372 4459 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4373 4460 echo $ac_n "(cached) $ac_c" 1>&6 4374 4461 else 4375 4462 cat > conftest.$ac_ext <<EOF 4376 #line 4 377"configure"4463 #line 4464 "configure" 4377 4464 #include "confdefs.h" 4378 4465 /* System header to define __stub macros and hopefully few prototypes, … … 4397 4484 ; return 0; } 4398 4485 EOF 4399 if { (eval echo configure:44 00: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4486 if { (eval echo configure:4487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4400 4487 rm -rf conftest* 4401 4488 eval "ac_cv_func_$ac_func=yes" … … 4424 4511 # Hopefully this check is robust enough. 4425 4512 cat > conftest.$ac_ext <<EOF 4426 #line 4 427"configure"4513 #line 4514 "configure" 4427 4514 #include "confdefs.h" 4428 4515 #include <netdb.h> … … 4444 4531 *) 4445 4532 echo $ac_n "checking whether gethostbyname_r declaration requires -D_REENTRANT""... $ac_c" 1>&6 4446 echo "configure:4 447: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&54533 echo "configure:4534: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&5 4447 4534 if eval "test \"`echo '$''{'libjava_cv_gethostbyname_r_needs_reentrant'+set}'`\" = set"; then 4448 4535 echo $ac_n "(cached) $ac_c" 1>&6 … … 4457 4544 4458 4545 cat > conftest.$ac_ext <<EOF 4459 #line 4 460"configure"4546 #line 4547 "configure" 4460 4547 #include "confdefs.h" 4461 4548 #include <netdb.h> … … 4464 4551 ; return 0; } 4465 4552 EOF 4466 if { (eval echo configure:4 467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4553 if { (eval echo configure:4554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4467 4554 rm -rf conftest* 4468 4555 libjava_cv_gethostbyname_r_needs_reentrant=no … … 4474 4561 CPPFLAGS="$CPPFLAGS -D_REENTRANT" 4475 4562 cat > conftest.$ac_ext <<EOF 4476 #line 4 477"configure"4563 #line 4564 "configure" 4477 4564 #include "confdefs.h" 4478 4565 #include <netdb.h> … … 4481 4568 ; return 0; } 4482 4569 EOF 4483 if { (eval echo configure:4 484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4570 if { (eval echo configure:4571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4484 4571 rm -rf conftest* 4485 4572 libjava_cv_gethostbyname_r_needs_reentrant=yes … … 4516 4603 4517 4604 echo $ac_n "checking for struct hostent_data""... $ac_c" 1>&6 4518 echo "configure:4 519: checking for struct hostent_data" >&54605 echo "configure:4606: checking for struct hostent_data" >&5 4519 4606 if eval "test \"`echo '$''{'libjava_cv_struct_hostent_data'+set}'`\" = set"; then 4520 4607 echo $ac_n "(cached) $ac_c" 1>&6 4521 4608 else 4522 4609 cat > conftest.$ac_ext <<EOF 4523 #line 4 524"configure"4610 #line 4611 "configure" 4524 4611 #include "confdefs.h" 4525 4612 … … 4532 4619 ; return 0; } 4533 4620 EOF 4534 if { (eval echo configure:4 535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4621 if { (eval echo configure:4622: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4535 4622 rm -rf conftest* 4536 4623 libjava_cv_struct_hostent_data=yes … … 4564 4651 # linkage check is enough, yet C++ code requires proper prototypes.) 4565 4652 cat > conftest.$ac_ext <<EOF 4566 #line 4 567"configure"4653 #line 4654 "configure" 4567 4654 #include "confdefs.h" 4568 4655 #include <netdb.h> … … 4575 4662 do 4576 4663 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4577 echo "configure:4 578: checking for $ac_func" >&54664 echo "configure:4665: checking for $ac_func" >&5 4578 4665 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4579 4666 echo $ac_n "(cached) $ac_c" 1>&6 4580 4667 else 4581 4668 cat > conftest.$ac_ext <<EOF 4582 #line 4 583"configure"4669 #line 4670 "configure" 4583 4670 #include "confdefs.h" 4584 4671 /* System header to define __stub macros and hopefully few prototypes, … … 4603 4690 ; return 0; } 4604 4691 EOF 4605 if { (eval echo configure:46 06: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4692 if { (eval echo configure:4693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4606 4693 rm -rf conftest* 4607 4694 eval "ac_cv_func_$ac_func=yes" … … 4630 4717 # Hopefully this check is robust enough. 4631 4718 cat > conftest.$ac_ext <<EOF 4632 #line 4 633"configure"4719 #line 4720 "configure" 4633 4720 #include "confdefs.h" 4634 4721 #include <netdb.h> … … 4657 4744 do 4658 4745 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4659 echo "configure:4 660: checking for $ac_func" >&54746 echo "configure:4747: checking for $ac_func" >&5 4660 4747 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4661 4748 echo $ac_n "(cached) $ac_c" 1>&6 4662 4749 else 4663 4750 cat > conftest.$ac_ext <<EOF 4664 #line 4 665"configure"4751 #line 4752 "configure" 4665 4752 #include "confdefs.h" 4666 4753 /* System header to define __stub macros and hopefully few prototypes, … … 4685 4772 ; return 0; } 4686 4773 EOF 4687 if { (eval echo configure:4 688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4774 if { (eval echo configure:4775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4688 4775 rm -rf conftest* 4689 4776 eval "ac_cv_func_$ac_func=yes" … … 4709 4796 4710 4797 cat > conftest.$ac_ext <<EOF 4711 #line 47 12"configure"4798 #line 4799 "configure" 4712 4799 #include "confdefs.h" 4713 4800 #include <unistd.h> … … 4740 4827 do 4741 4828 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4742 echo "configure:4 743: checking for $ac_func" >&54829 echo "configure:4830: checking for $ac_func" >&5 4743 4830 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4744 4831 echo $ac_n "(cached) $ac_c" 1>&6 4745 4832 else 4746 4833 cat > conftest.$ac_ext <<EOF 4747 #line 4 748"configure"4834 #line 4835 "configure" 4748 4835 #include "confdefs.h" 4749 4836 /* System header to define __stub macros and hopefully few prototypes, … … 4768 4855 ; return 0; } 4769 4856 EOF 4770 if { (eval echo configure:4 771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4857 if { (eval echo configure:4858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4771 4858 rm -rf conftest* 4772 4859 eval "ac_cv_func_$ac_func=yes" … … 4798 4885 do 4799 4886 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4800 echo "configure:48 01: checking for $ac_func" >&54887 echo "configure:4888: checking for $ac_func" >&5 4801 4888 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4802 4889 echo $ac_n "(cached) $ac_c" 1>&6 4803 4890 else 4804 4891 cat > conftest.$ac_ext <<EOF 4805 #line 48 06"configure"4892 #line 4893 "configure" 4806 4893 #include "confdefs.h" 4807 4894 /* System header to define __stub macros and hopefully few prototypes, … … 4826 4913 ; return 0; } 4827 4914 EOF 4828 if { (eval echo configure:4 829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4915 if { (eval echo configure:4916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4829 4916 rm -rf conftest* 4830 4917 eval "ac_cv_func_$ac_func=yes" … … 4848 4935 echo "$ac_t""no" 1>&6 4849 4936 echo $ac_n "checking for sched_yield in -lrt""... $ac_c" 1>&6 4850 echo "configure:4 851: checking for sched_yield in -lrt" >&54937 echo "configure:4938: checking for sched_yield in -lrt" >&5 4851 4938 ac_lib_var=`echo rt'_'sched_yield | sed 'y%./+-%__p_%'` 4852 4939 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4856 4943 LIBS="-lrt $LIBS" 4857 4944 cat > conftest.$ac_ext <<EOF 4858 #line 4 859"configure"4945 #line 4946 "configure" 4859 4946 #include "confdefs.h" 4860 4947 /* Override any gcc2 internal prototype to avoid an error. */ … … 4867 4954 ; return 0; } 4868 4955 EOF 4869 if { (eval echo configure:4 870: \"$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 4870 4957 rm -rf conftest* 4871 4958 eval "ac_cv_lib_$ac_lib_var=yes" … … 4893 4980 4894 4981 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6 4895 echo "configure:4 896: checking for sched_yield in -lposix4" >&54982 echo "configure:4983: checking for sched_yield in -lposix4" >&5 4896 4983 ac_lib_var=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'` 4897 4984 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4901 4988 LIBS="-lposix4 $LIBS" 4902 4989 cat > conftest.$ac_ext <<EOF 4903 #line 49 04"configure"4990 #line 4991 "configure" 4904 4991 #include "confdefs.h" 4905 4992 /* Override any gcc2 internal prototype to avoid an error. */ … … 4912 4999 ; return 0; } 4913 5000 EOF 4914 if { (eval echo configure: 4915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5001 if { (eval echo configure:5002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4915 5002 rm -rf conftest* 4916 5003 eval "ac_cv_lib_$ac_lib_var=yes" … … 4948 5035 # or __m_count. This is a nice hack for Linux. 4949 5036 cat > conftest.$ac_ext <<EOF 4950 #line 4951"configure"5037 #line 5038 "configure" 4951 5038 #include "confdefs.h" 4952 5039 #include <pthread.h> … … 4957 5044 ; return 0; } 4958 5045 EOF 4959 if { (eval echo configure: 4960: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5046 if { (eval echo configure:5047: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4960 5047 rm -rf conftest* 4961 5048 cat >> confdefs.h <<\EOF … … 4969 5056 4970 5057 cat > conftest.$ac_ext <<EOF 4971 #line 4972"configure"5058 #line 5059 "configure" 4972 5059 #include "confdefs.h" 4973 5060 #include <pthread.h> … … 4978 5065 ; return 0; } 4979 5066 EOF 4980 if { (eval echo configure: 4981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5067 if { (eval echo configure:5068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4981 5068 rm -rf conftest* 4982 5069 cat >> confdefs.h <<\EOF … … 4998 5085 do 4999 5086 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5000 echo "configure:50 01: checking for $ac_func" >&55087 echo "configure:5088: checking for $ac_func" >&5 5001 5088 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5002 5089 echo $ac_n "(cached) $ac_c" 1>&6 5003 5090 else 5004 5091 cat > conftest.$ac_ext <<EOF 5005 #line 50 06"configure"5092 #line 5093 "configure" 5006 5093 #include "confdefs.h" 5007 5094 /* System header to define __stub macros and hopefully few prototypes, … … 5026 5113 ; return 0; } 5027 5114 EOF 5028 if { (eval echo configure:5 029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5115 if { (eval echo configure:5116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5029 5116 rm -rf conftest* 5030 5117 eval "ac_cv_func_$ac_func=yes" … … 5057 5144 do 5058 5145 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5059 echo "configure:5 060: checking for $ac_func" >&55146 echo "configure:5147: checking for $ac_func" >&5 5060 5147 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5061 5148 echo $ac_n "(cached) $ac_c" 1>&6 5062 5149 else 5063 5150 cat > conftest.$ac_ext <<EOF 5064 #line 5 065"configure"5151 #line 5152 "configure" 5065 5152 #include "confdefs.h" 5066 5153 /* System header to define __stub macros and hopefully few prototypes, … … 5085 5172 ; return 0; } 5086 5173 EOF 5087 if { (eval echo configure:5 088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5174 if { (eval echo configure:5175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5088 5175 rm -rf conftest* 5089 5176 eval "ac_cv_func_$ac_func=yes" … … 5115 5202 do 5116 5203 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5117 echo "configure:5 118: checking for $ac_func" >&55204 echo "configure:5205: checking for $ac_func" >&5 5118 5205 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5119 5206 echo $ac_n "(cached) $ac_c" 1>&6 5120 5207 else 5121 5208 cat > conftest.$ac_ext <<EOF 5122 #line 5 123"configure"5209 #line 5210 "configure" 5123 5210 #include "confdefs.h" 5124 5211 /* System header to define __stub macros and hopefully few prototypes, … … 5143 5230 ; return 0; } 5144 5231 EOF 5145 if { (eval echo configure:5 146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5232 if { (eval echo configure:5233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5146 5233 rm -rf conftest* 5147 5234 eval "ac_cv_func_$ac_func=yes" … … 5172 5259 5173 5260 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 5174 echo "configure:5 175: checking for dlopen in -ldl" >&55261 echo "configure:5262: checking for dlopen in -ldl" >&5 5175 5262 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` 5176 5263 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 5180 5267 LIBS="-ldl $LIBS" 5181 5268 cat > conftest.$ac_ext <<EOF 5182 #line 5 183"configure"5269 #line 5270 "configure" 5183 5270 #include "confdefs.h" 5184 5271 /* Override any gcc2 internal prototype to avoid an error. */ … … 5191 5278 ; return 0; } 5192 5279 EOF 5193 if { (eval echo configure:5 194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5280 if { (eval echo configure:5281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5194 5281 rm -rf conftest* 5195 5282 eval "ac_cv_lib_$ac_lib_var=yes" … … 5236 5323 5237 5324 echo $ac_n "checking for socket libraries""... $ac_c" 1>&6 5238 echo "configure:5 239: checking for socket libraries" >&55325 echo "configure:5326: checking for socket libraries" >&5 5239 5326 if eval "test \"`echo '$''{'gcj_cv_lib_sockets'+set}'`\" = set"; then 5240 5327 echo $ac_n "(cached) $ac_c" 1>&6 … … 5244 5331 unset ac_cv_func_connect 5245 5332 echo $ac_n "checking for connect""... $ac_c" 1>&6 5246 echo "configure:5 247: checking for connect" >&55333 echo "configure:5334: checking for connect" >&5 5247 5334 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then 5248 5335 echo $ac_n "(cached) $ac_c" 1>&6 5249 5336 else 5250 5337 cat > conftest.$ac_ext <<EOF 5251 #line 5 252"configure"5338 #line 5339 "configure" 5252 5339 #include "confdefs.h" 5253 5340 /* System header to define __stub macros and hopefully few prototypes, … … 5272 5359 ; return 0; } 5273 5360 EOF 5274 if { (eval echo configure:5 275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5361 if { (eval echo configure:5362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5275 5362 rm -rf conftest* 5276 5363 eval "ac_cv_func_connect=yes" … … 5295 5382 unset ac_cv_func_connect 5296 5383 echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 5297 echo "configure:5 298: checking for main in -lsocket" >&55384 echo "configure:5385: checking for main in -lsocket" >&5 5298 5385 ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` 5299 5386 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 5303 5390 LIBS="-lsocket $LIBS" 5304 5391 cat > conftest.$ac_ext <<EOF 5305 #line 53 06"configure"5392 #line 5393 "configure" 5306 5393 #include "confdefs.h" 5307 5394 … … 5310 5397 ; return 0; } 5311 5398 EOF 5312 if { (eval echo configure:5 313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5399 if { (eval echo configure:5400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5313 5400 rm -rf conftest* 5314 5401 eval "ac_cv_lib_$ac_lib_var=yes" … … 5337 5424 unset ac_cv_func_accept 5338 5425 echo $ac_n "checking for accept""... $ac_c" 1>&6 5339 echo "configure:5 340: checking for accept" >&55426 echo "configure:5427: checking for accept" >&5 5340 5427 if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then 5341 5428 echo $ac_n "(cached) $ac_c" 1>&6 5342 5429 else 5343 5430 cat > conftest.$ac_ext <<EOF 5344 #line 5 345"configure"5431 #line 5432 "configure" 5345 5432 #include "confdefs.h" 5346 5433 /* System header to define __stub macros and hopefully few prototypes, … … 5365 5452 ; return 0; } 5366 5453 EOF 5367 if { (eval echo configure:5 368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5454 if { (eval echo configure:5455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5368 5455 rm -rf conftest* 5369 5456 eval "ac_cv_func_accept=yes" … … 5392 5479 LIBS="$LIBS $gcj_cv_lib_sockets" 5393 5480 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 5394 echo "configure:5 395: checking for gethostbyname" >&55481 echo "configure:5482: checking for gethostbyname" >&5 5395 5482 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then 5396 5483 echo $ac_n "(cached) $ac_c" 1>&6 5397 5484 else 5398 5485 cat > conftest.$ac_ext <<EOF 5399 #line 54 00"configure"5486 #line 5487 "configure" 5400 5487 #include "confdefs.h" 5401 5488 /* System header to define __stub macros and hopefully few prototypes, … … 5420 5507 ; return 0; } 5421 5508 EOF 5422 if { (eval echo configure:5 423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5509 if { (eval echo configure:5510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5423 5510 rm -rf conftest* 5424 5511 eval "ac_cv_func_gethostbyname=yes" … … 5438 5525 echo "$ac_t""no" 1>&6 5439 5526 echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 5440 echo "configure:5 441: checking for main in -lnsl" >&55527 echo "configure:5528: checking for main in -lnsl" >&5 5441 5528 ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` 5442 5529 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 5446 5533 LIBS="-lnsl $LIBS" 5447 5534 cat > conftest.$ac_ext <<EOF 5448 #line 5 449"configure"5535 #line 5536 "configure" 5449 5536 #include "confdefs.h" 5450 5537 … … 5453 5540 ; return 0; } 5454 5541 EOF 5455 if { (eval echo configure:5 456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5542 if { (eval echo configure:5543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5456 5543 rm -rf conftest* 5457 5544 eval "ac_cv_lib_$ac_lib_var=yes" … … 5485 5572 if test "$with_system_zlib" = yes; then 5486 5573 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6 5487 echo "configure:5 488: checking for deflate in -lz" >&55574 echo "configure:5575: checking for deflate in -lz" >&5 5488 5575 ac_lib_var=`echo z'_'deflate | sed 'y%./+-%__p_%'` 5489 5576 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 5493 5580 LIBS="-lz $LIBS" 5494 5581 cat > conftest.$ac_ext <<EOF 5495 #line 5 496"configure"5582 #line 5583 "configure" 5496 5583 #include "confdefs.h" 5497 5584 /* Override any gcc2 internal prototype to avoid an error. */ … … 5504 5591 ; return 0; } 5505 5592 EOF 5506 if { (eval echo configure:55 07: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5593 if { (eval echo configure:5594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5507 5594 rm -rf conftest* 5508 5595 eval "ac_cv_lib_$ac_lib_var=yes" … … 5531 5618 if test "$GC" = boehm; then 5532 5619 echo $ac_n "checking for main in -ldl""... $ac_c" 1>&6 5533 echo "configure:5 534: checking for main in -ldl" >&55620 echo "configure:5621: checking for main in -ldl" >&5 5534 5621 ac_lib_var=`echo dl'_'main | sed 'y%./+-%__p_%'` 5535 5622 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 5539 5626 LIBS="-ldl $LIBS" 5540 5627 cat > conftest.$ac_ext <<EOF 5541 #line 5 542"configure"5628 #line 5629 "configure" 5542 5629 #include "confdefs.h" 5543 5630 … … 5546 5633 ; return 0; } 5547 5634 EOF 5548 if { (eval echo configure:5 549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5635 if { (eval echo configure:5636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5549 5636 rm -rf conftest* 5550 5637 eval "ac_cv_lib_$ac_lib_var=yes" … … 5576 5663 fi 5577 5664 if test -x "${builddotdot}/../../gcc/gcj"; then 5578 dir="`cd ${builddotdot}/../../gcc && pwd`"5579 GCJ="$dir/gcj -B` pwd`/ -B$dir/"5665 dir="`cd ${builddotdot}/../../gcc && ${PWDCMD-pwd}`" 5666 GCJ="$dir/gcj -B`${PWDCMD-pwd}`/ -B$dir/" 5580 5667 else 5581 5668 CANADIAN=yes 5582 5669 NULL_TARGET=yes 5583 GCJ="gcj -B` pwd`/"5670 GCJ="gcj -B`${PWDCMD-pwd}`/" 5584 5671 fi 5585 5672 fi … … 5591 5678 # have libgcj.jar nor java/lang/*.class 5592 5679 GCJ_SAVE_CPPFLAGS=$CPPFLAGS 5593 CPPFLAGS="$CPPFLAGS -I` pwd` -I`cd $srcdir && pwd`"5680 CPPFLAGS="$CPPFLAGS -I`${PWDCMD-pwd}` -I`cd $srcdir && ${PWDCMD-pwd}`" 5594 5681 5595 5682 # Since some classes depend on this one, we need its source available … … 5612 5699 set dummy ${ac_tool_prefix}gcj; ac_word=$2 5613 5700 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 5614 echo "configure:5 615: checking for $ac_word" >&55701 echo "configure:5702: checking for $ac_word" >&5 5615 5702 if eval "test \"`echo '$''{'ac_cv_prog_GCJ'+set}'`\" = set"; then 5616 5703 echo $ac_n "(cached) $ac_c" 1>&6 … … 5645 5732 set dummy gcj; ac_word=$2 5646 5733 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 5647 echo "configure:5 648: checking for $ac_word" >&55734 echo "configure:5735: checking for $ac_word" >&5 5648 5735 if eval "test \"`echo '$''{'ac_cv_prog_GCJ'+set}'`\" = set"; then 5649 5736 echo $ac_n "(cached) $ac_c" 1>&6 … … 5708 5795 5709 5796 echo $ac_n "checking size of void *""... $ac_c" 1>&6 5710 echo "configure:57 11: checking size of void *" >&55797 echo "configure:5798: checking size of void *" >&5 5711 5798 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then 5712 5799 echo $ac_n "(cached) $ac_c" 1>&6 … … 5714 5801 for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence. 5715 5802 cat > conftest.$ac_ext <<EOF 5716 #line 5 717"configure"5803 #line 5804 "configure" 5717 5804 #include "confdefs.h" 5718 5805 #include "confdefs.h" … … 5724 5811 ; return 0; } 5725 5812 EOF 5726 if { (eval echo configure:5 727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5813 if { (eval echo configure:5814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5727 5814 rm -rf conftest* 5728 5815 ac_cv_sizeof_void_p=$ac_size … … 5768 5855 5769 5856 5857 5770 5858 if test "$CANADIAN" = yes; then 5771 5859 CANADIAN_TRUE= … … 5817 5905 5818 5906 5819 5820 5821 5907 # Determine gcj version number. 5822 5908 … … 5831 5917 5832 5918 echo $ac_n "checking for g++ -ffloat-store bug""... $ac_c" 1>&6 5833 echo "configure:5 834: checking for g++ -ffloat-store bug" >&55919 echo "configure:5920: checking for g++ -ffloat-store bug" >&5 5834 5920 save_CFLAGS="$CFLAGS" 5835 5921 CFLAGS="-x c++ -O2 -ffloat-store" 5836 5922 cat > conftest.$ac_ext <<EOF 5837 #line 5 838"configure"5923 #line 5924 "configure" 5838 5924 #include "confdefs.h" 5839 5925 #include <math.h> … … 5842 5928 ; return 0; } 5843 5929 EOF 5844 if { (eval echo configure:5 845: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5930 if { (eval echo configure:5931: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5845 5931 rm -rf conftest* 5846 5932 echo "$ac_t""no" 1>&6 … … 5858 5944 CFLAGS="$save_CFLAGS" 5859 5945 5860 for ac_hdr in unistd.h bstring.h sys/time.h sys/types.h fcntl.h sys/ioctl.h sys/filio.h sys/stat.h sys/select.h sys/socket.h netinet/in.h arpa/inet.h netdb.h pwd.h sys/config.h stdint.h langinfo.h locale.h5946 for ac_hdr in unistd.h bstring.h sys/time.h sys/types.h fcntl.h sys/ioctl.h sys/filio.h sys/stat.h sys/select.h sys/socket.h netinet/in.h arpa/inet.h netdb.h net/if.h pwd.h sys/config.h stdint.h langinfo.h locale.h 5861 5947 do 5862 5948 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5863 5949 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5864 echo "configure:5 865: checking for $ac_hdr" >&55950 echo "configure:5951: checking for $ac_hdr" >&5 5865 5951 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5866 5952 echo $ac_n "(cached) $ac_c" 1>&6 … … 5868 5954 cat > conftest.$ac_ext <<EOF 5869 5955 #include <sys/types.h> 5870 #line 5 871"configure"5956 #line 5957 "configure" 5871 5957 #include "confdefs.h" 5872 5958 #include <$ac_hdr> 5873 5959 EOF 5874 5960 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5875 { (eval echo configure:5 876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }5961 { (eval echo configure:5962: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5876 5962 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5877 5963 if test -z "$ac_err"; then … … 5903 5989 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5904 5990 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5905 echo "configure:59 06: checking for $ac_hdr" >&55991 echo "configure:5992: checking for $ac_hdr" >&5 5906 5992 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5907 5993 echo $ac_n "(cached) $ac_c" 1>&6 … … 5909 5995 cat > conftest.$ac_ext <<EOF 5910 5996 #include <sys/types.h> 5911 #line 59 12"configure"5997 #line 5998 "configure" 5912 5998 #include "confdefs.h" 5913 5999 #include <$ac_hdr> 5914 6000 EOF 5915 6001 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5916 { (eval echo configure: 5917: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }6002 { (eval echo configure:6003: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5917 6003 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5918 6004 if test -z "$ac_err"; then … … 5944 6030 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5945 6031 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5946 echo "configure: 5947: checking for $ac_hdr" >&56032 echo "configure:6033: checking for $ac_hdr" >&5 5947 6033 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5948 6034 echo $ac_n "(cached) $ac_c" 1>&6 … … 5950 6036 cat > conftest.$ac_ext <<EOF 5951 6037 #include <sys/types.h> 5952 #line 5953"configure"6038 #line 6039 "configure" 5953 6039 #include "confdefs.h" 5954 6040 #include <$ac_hdr> 5955 6041 EOF 5956 6042 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5957 { (eval echo configure: 5958: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }6043 { (eval echo configure:6044: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5958 6044 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5959 6045 if test -z "$ac_err"; then … … 5991 6077 5992 6078 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 5993 echo "configure: 5994: checking for sys/wait.h that is POSIX.1 compatible" >&56079 echo "configure:6080: checking for sys/wait.h that is POSIX.1 compatible" >&5 5994 6080 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then 5995 6081 echo $ac_n "(cached) $ac_c" 1>&6 5996 6082 else 5997 6083 cat > conftest.$ac_ext <<EOF 5998 #line 5999"configure"6084 #line 6085 "configure" 5999 6085 #include "confdefs.h" 6000 6086 #include <sys/types.h> … … 6012 6098 ; return 0; } 6013 6099 EOF 6014 if { (eval echo configure:6 015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then6100 if { (eval echo configure:6101: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6015 6101 rm -rf conftest* 6016 6102 ac_cv_header_sys_wait_h=yes … … 6034 6120 6035 6121 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 6036 echo "configure:6 037: checking for ANSI C header files" >&56122 echo "configure:6123: checking for ANSI C header files" >&5 6037 6123 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 6038 6124 echo $ac_n "(cached) $ac_c" 1>&6 … … 6040 6126 cat > conftest.$ac_ext <<EOF 6041 6127 #include <sys/types.h> 6042 #line 6 043"configure"6128 #line 6129 "configure" 6043 6129 #include "confdefs.h" 6044 6130 #include <stdlib.h> … … 6048 6134 EOF 6049 6135 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6050 { (eval echo configure:6 051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }6136 { (eval echo configure:6137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6051 6137 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6052 6138 if test -z "$ac_err"; then … … 6065 6151 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6066 6152 cat > conftest.$ac_ext <<EOF 6067 #line 6 068"configure"6153 #line 6154 "configure" 6068 6154 #include "confdefs.h" 6069 6155 #include <string.h> … … 6083 6169 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6084 6170 cat > conftest.$ac_ext <<EOF 6085 #line 6 086"configure"6171 #line 6172 "configure" 6086 6172 #include "confdefs.h" 6087 6173 #include <stdlib.h> … … 6104 6190 else 6105 6191 cat > conftest.$ac_ext <<EOF 6106 #line 61 07"configure"6192 #line 6193 "configure" 6107 6193 #include "confdefs.h" 6108 6194 #include <ctype.h> … … 6115 6201 6116 6202 EOF 6117 if { (eval echo configure:6 118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null6203 if { (eval echo configure:6204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 6118 6204 then 6119 6205 : … … 6139 6225 6140 6226 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 6141 echo "configure:6 142: checking for ssize_t" >&56227 echo "configure:6228: checking for ssize_t" >&5 6142 6228 if eval "test \"`echo '$''{'ac_cv_type_ssize_t'+set}'`\" = set"; then 6143 6229 echo $ac_n "(cached) $ac_c" 1>&6 6144 6230 else 6145 6231 cat > conftest.$ac_ext <<EOF 6146 #line 6 147"configure"6232 #line 6233 "configure" 6147 6233 #include "confdefs.h" 6148 6234 #include <sys/types.h> … … 6173 6259 6174 6260 echo $ac_n "checking for in_addr_t""... $ac_c" 1>&6 6175 echo "configure:6 176: checking for in_addr_t" >&56261 echo "configure:6262: checking for in_addr_t" >&5 6176 6262 cat > conftest.$ac_ext <<EOF 6177 #line 6 178"configure"6263 #line 6264 "configure" 6178 6264 #include "confdefs.h" 6179 6265 #include <sys/types.h> … … 6189 6275 ; return 0; } 6190 6276 EOF 6191 if { (eval echo configure:6 192: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then6277 if { (eval echo configure:6278: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6192 6278 rm -rf conftest* 6193 6279 cat >> confdefs.h <<\EOF … … 6205 6291 6206 6292 echo $ac_n "checking whether struct ip_mreq is in netinet/in.h""... $ac_c" 1>&6 6207 echo "configure:62 08: checking whether struct ip_mreq is in netinet/in.h" >&56293 echo "configure:6294: checking whether struct ip_mreq is in netinet/in.h" >&5 6208 6294 cat > conftest.$ac_ext <<EOF 6209 #line 62 10"configure"6295 #line 6296 "configure" 6210 6296 #include "confdefs.h" 6211 6297 #include <netinet/in.h> … … 6214 6300 ; return 0; } 6215 6301 EOF 6216 if { (eval echo configure:6 217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then6302 if { (eval echo configure:6303: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6217 6303 rm -rf conftest* 6218 6304 cat >> confdefs.h <<\EOF … … 6230 6316 6231 6317 echo $ac_n "checking whether struct ipv6_mreq is in netinet/in.h""... $ac_c" 1>&6 6232 echo "configure:6 233: checking whether struct ipv6_mreq is in netinet/in.h" >&56318 echo "configure:6319: checking whether struct ipv6_mreq is in netinet/in.h" >&5 6233 6319 cat > conftest.$ac_ext <<EOF 6234 #line 6 235"configure"6320 #line 6321 "configure" 6235 6321 #include "confdefs.h" 6236 6322 #include <netinet/in.h> … … 6239 6325 ; return 0; } 6240 6326 EOF 6241 if { (eval echo configure:6 242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then6327 if { (eval echo configure:6328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6242 6328 rm -rf conftest* 6243 6329 cat >> confdefs.h <<\EOF … … 6255 6341 6256 6342 echo $ac_n "checking whether struct sockaddr_in6 is in netinet/in.h""... $ac_c" 1>&6 6257 echo "configure:6 258: checking whether struct sockaddr_in6 is in netinet/in.h" >&56343 echo "configure:6344: checking whether struct sockaddr_in6 is in netinet/in.h" >&5 6258 6344 cat > conftest.$ac_ext <<EOF 6259 #line 6 260"configure"6345 #line 6346 "configure" 6260 6346 #include "confdefs.h" 6261 6347 #include <netinet/in.h> … … 6264 6350 ; return 0; } 6265 6351 EOF 6266 if { (eval echo configure:6 267: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then6352 if { (eval echo configure:6353: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6267 6353 rm -rf conftest* 6268 6354 cat >> confdefs.h <<\EOF … … 6280 6366 6281 6367 echo $ac_n "checking for socklen_t in sys/socket.h""... $ac_c" 1>&6 6282 echo "configure:6 283: checking for socklen_t in sys/socket.h" >&56368 echo "configure:6369: checking for socklen_t in sys/socket.h" >&5 6283 6369 cat > conftest.$ac_ext <<EOF 6284 #line 6 285"configure"6370 #line 6371 "configure" 6285 6371 #include "confdefs.h" 6286 6372 #define _POSIX_PII_SOCKET … … 6291 6377 ; return 0; } 6292 6378 EOF 6293 if { (eval echo configure:6 294: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then6379 if { (eval echo configure:6380: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6294 6380 rm -rf conftest* 6295 6381 cat >> confdefs.h <<\EOF … … 6307 6393 6308 6394 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 6309 echo "configure:63 10: checking for tm_gmtoff in struct tm" >&56395 echo "configure:6396: checking for tm_gmtoff in struct tm" >&5 6310 6396 cat > conftest.$ac_ext <<EOF 6311 #line 63 12"configure"6397 #line 6398 "configure" 6312 6398 #include "confdefs.h" 6313 6399 #include <time.h> … … 6316 6402 ; return 0; } 6317 6403 EOF 6318 if { (eval echo configure:6 319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then6404 if { (eval echo configure:6405: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6319 6405 rm -rf conftest* 6320 6406 cat >> confdefs.h <<\EOF … … 6329 6415 echo "$ac_t""no" 1>&6 6330 6416 echo $ac_n "checking for global timezone variable""... $ac_c" 1>&6 6331 echo "configure:6 332: checking for global timezone variable" >&56332 cat > conftest.$ac_ext <<EOF6333 #line 6 334"configure"6417 echo "configure:6418: checking for global timezone variable" >&5 6418 cat > conftest.$ac_ext <<EOF 6419 #line 6420 "configure" 6334 6420 #include "confdefs.h" 6335 6421 #include <time.h> 6336 6422 int main() { 6337 long z2 = timezone; 6423 void i(){long z2 = 2*timezone;} 6338 6424 ; return 0; } 6339 6425 EOF 6340 if { (eval echo configure:6 341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then6426 if { (eval echo configure:6427: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6341 6427 rm -rf conftest* 6342 6428 cat >> confdefs.h <<\EOF … … 6350 6436 rm -rf conftest* 6351 6437 echo "$ac_t""no" 1>&6 6438 echo $ac_n "checking for global _timezone variable""... $ac_c" 1>&6 6439 echo "configure:6440: checking for global _timezone variable" >&5 6440 cat > conftest.$ac_ext <<EOF 6441 #line 6442 "configure" 6442 #include "confdefs.h" 6443 #include <time.h> 6444 int main() { 6445 long z2 = _timezone; 6446 ; return 0; } 6447 EOF 6448 if { (eval echo configure:6449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6449 rm -rf conftest* 6450 cat >> confdefs.h <<\EOF 6451 #define HAVE_UNDERSCORE_TIMEZONE 1 6452 EOF 6453 6454 echo "$ac_t""yes" 1>&6 6455 else 6456 echo "configure: failed program was:" >&5 6457 cat conftest.$ac_ext >&5 6458 rm -rf conftest* 6459 echo "$ac_t""no" 1>&6 6460 fi 6461 rm -f conftest* 6352 6462 fi 6353 6463 rm -f conftest* … … 6358 6468 # for constant arguments. Useless! 6359 6469 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 6360 echo "configure:6 361: checking for working alloca.h" >&56470 echo "configure:6471: checking for working alloca.h" >&5 6361 6471 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 6362 6472 echo $ac_n "(cached) $ac_c" 1>&6 6363 6473 else 6364 6474 cat > conftest.$ac_ext <<EOF 6365 #line 6 366 "configure"6475 #line 6476 "configure" 6366 6476 #include "confdefs.h" 6367 6477 #include <alloca.h> … … 6370 6480 ; return 0; } 6371 6481 EOF 6372 if { (eval echo configure:6 373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6482 if { (eval echo configure:6483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6373 6483 rm -rf conftest* 6374 6484 ac_cv_header_alloca_h=yes … … 6391 6501 6392 6502 echo $ac_n "checking for alloca""... $ac_c" 1>&6 6393 echo "configure:6 394: checking for alloca" >&56503 echo "configure:6504: checking for alloca" >&5 6394 6504 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 6395 6505 echo $ac_n "(cached) $ac_c" 1>&6 6396 6506 else 6397 6507 cat > conftest.$ac_ext <<EOF 6398 #line 6 399 "configure"6508 #line 6509 "configure" 6399 6509 #include "confdefs.h" 6400 6510 … … 6424 6534 ; return 0; } 6425 6535 EOF 6426 if { (eval echo configure:6 427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6536 if { (eval echo configure:6537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6427 6537 rm -rf conftest* 6428 6538 ac_cv_func_alloca_works=yes … … 6456 6566 6457 6567 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 6458 echo "configure:6 459: checking whether alloca needs Cray hooks" >&56568 echo "configure:6569: checking whether alloca needs Cray hooks" >&5 6459 6569 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 6460 6570 echo $ac_n "(cached) $ac_c" 1>&6 6461 6571 else 6462 6572 cat > conftest.$ac_ext <<EOF 6463 #line 6 464 "configure"6573 #line 6574 "configure" 6464 6574 #include "confdefs.h" 6465 6575 #if defined(CRAY) && ! defined(CRAY2) … … 6486 6596 for ac_func in _getb67 GETB67 getb67; do 6487 6597 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6488 echo "configure:6 489: checking for $ac_func" >&56598 echo "configure:6599: checking for $ac_func" >&5 6489 6599 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6490 6600 echo $ac_n "(cached) $ac_c" 1>&6 6491 6601 else 6492 6602 cat > conftest.$ac_ext <<EOF 6493 #line 6 494 "configure"6603 #line 6604 "configure" 6494 6604 #include "confdefs.h" 6495 6605 /* System header to define __stub macros and hopefully few prototypes, … … 6514 6624 ; return 0; } 6515 6625 EOF 6516 if { (eval echo configure:6 517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6626 if { (eval echo configure:6627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6517 6627 rm -rf conftest* 6518 6628 eval "ac_cv_func_$ac_func=yes" … … 6541 6651 6542 6652 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 6543 echo "configure:6 544: checking stack direction for C alloca" >&56653 echo "configure:6654: checking stack direction for C alloca" >&5 6544 6654 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 6545 6655 echo $ac_n "(cached) $ac_c" 1>&6 … … 6549 6659 else 6550 6660 cat > conftest.$ac_ext <<EOF 6551 #line 6 552 "configure"6661 #line 6662 "configure" 6552 6662 #include "confdefs.h" 6553 6663 find_stack_direction () … … 6568 6678 } 6569 6679 EOF 6570 if { (eval echo configure:6 571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null6680 if { (eval echo configure:6681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 6571 6681 then 6572 6682 ac_cv_c_stack_direction=1 … … 6595 6705 set dummy $ac_prog; ac_word=$2 6596 6706 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 6597 echo "configure:6 598: checking for $ac_word" >&56707 echo "configure:6708: checking for $ac_word" >&5 6598 6708 if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then 6599 6709 echo $ac_n "(cached) $ac_c" 1>&6 … … 6644 6754 ;; 6645 6755 powerpc-*-linux*) 6646 SIGNAL_HANDLER=include/ dwarf2-signal.h6756 SIGNAL_HANDLER=include/powerpc-signal.h 6647 6757 ;; 6648 6758 alpha*-*-linux*) 6649 6759 SIGNAL_HANDLER=include/dwarf2-signal.h 6760 ;; 6761 s390*-*-linux*) 6762 SIGNAL_HANDLER=include/s390-signal.h 6763 ;; 6764 x86_64*-*-linux*) 6765 SIGNAL_HANDLER=include/x86_64-signal.h 6650 6766 ;; 6651 6767 sparc*-*-linux*) … … 6665 6781 fi 6666 6782 6783 # Define here any compiler flags that you need in order to make backtrace() work. 6784 BACKTRACESPEC= 6785 case "${host}" in 6786 x86_64*-*-linux*) 6787 BACKTRACESPEC=-fno-omit-frame-pointer 6788 ;; 6789 esac 6790 6791 6667 6792 6668 6793 … … 6680 6805 # --without-x overrides everything else, but does not touch the cache. 6681 6806 echo $ac_n "checking for X""... $ac_c" 1>&6 6682 echo "configure:6 683: checking for X" >&56807 echo "configure:6808: checking for X" >&5 6683 6808 6684 6809 # Check whether --with-x or --without-x was given. … … 6743 6868 cat > conftest.$ac_ext <<EOF 6744 6869 #include <sys/types.h> 6745 #line 6 746"configure"6870 #line 6871 "configure" 6746 6871 #include "confdefs.h" 6747 6872 #include <$x_direct_test_include> 6748 6873 EOF 6749 6874 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6750 { (eval echo configure:6 751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }6875 { (eval echo configure:6876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6751 6876 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6752 6877 if test -z "$ac_err"; then … … 6817 6942 LIBS="-l$x_direct_test_library $LIBS" 6818 6943 cat > conftest.$ac_ext <<EOF 6819 #line 6 820"configure"6944 #line 6945 "configure" 6820 6945 #include "confdefs.h" 6821 6946 … … 6824 6949 ; return 0; } 6825 6950 EOF 6826 if { (eval echo configure:6 827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6951 if { (eval echo configure:6952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6827 6952 rm -rf conftest* 6828 6953 LIBS="$ac_save_LIBS" … … 6931 7056 "SunOS 5"*) 6932 7057 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 6933 echo "configure: 6934: checking whether -R must be followed by a space" >&57058 echo "configure:7059: checking whether -R must be followed by a space" >&5 6934 7059 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" 6935 7060 cat > conftest.$ac_ext <<EOF 6936 #line 6937"configure"7061 #line 7062 "configure" 6937 7062 #include "confdefs.h" 6938 7063 … … 6941 7066 ; return 0; } 6942 7067 EOF 6943 if { (eval echo configure: 6944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then7068 if { (eval echo configure:7069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6944 7069 rm -rf conftest* 6945 7070 ac_R_nospace=yes … … 6957 7082 LIBS="$ac_xsave_LIBS -R $x_libraries" 6958 7083 cat > conftest.$ac_ext <<EOF 6959 #line 6960"configure"7084 #line 7085 "configure" 6960 7085 #include "confdefs.h" 6961 7086 … … 6964 7089 ; return 0; } 6965 7090 EOF 6966 if { (eval echo configure: 6967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then7091 if { (eval echo configure:7092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6967 7092 rm -rf conftest* 6968 7093 ac_R_space=yes … … 6996 7121 # the Alpha needs dnet_stub (dnet does not exist). 6997 7122 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 6998 echo "configure: 6999: checking for dnet_ntoa in -ldnet" >&57123 echo "configure:7124: checking for dnet_ntoa in -ldnet" >&5 6999 7124 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` 7000 7125 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 7004 7129 LIBS="-ldnet $LIBS" 7005 7130 cat > conftest.$ac_ext <<EOF 7006 #line 7 007"configure"7131 #line 7132 "configure" 7007 7132 #include "confdefs.h" 7008 7133 /* Override any gcc2 internal prototype to avoid an error. */ … … 7015 7140 ; return 0; } 7016 7141 EOF 7017 if { (eval echo configure:7 018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then7142 if { (eval echo configure:7143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7018 7143 rm -rf conftest* 7019 7144 eval "ac_cv_lib_$ac_lib_var=yes" … … 7037 7162 if test $ac_cv_lib_dnet_dnet_ntoa = no; then 7038 7163 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 7039 echo "configure:7 040: checking for dnet_ntoa in -ldnet_stub" >&57164 echo "configure:7165: checking for dnet_ntoa in -ldnet_stub" >&5 7040 7165 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` 7041 7166 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 7045 7170 LIBS="-ldnet_stub $LIBS" 7046 7171 cat > conftest.$ac_ext <<EOF 7047 #line 7 048"configure"7172 #line 7173 "configure" 7048 7173 #include "confdefs.h" 7049 7174 /* Override any gcc2 internal prototype to avoid an error. */ … … 7056 7181 ; return 0; } 7057 7182 EOF 7058 if { (eval echo configure:7 059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then7183 if { (eval echo configure:7184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7059 7184 rm -rf conftest* 7060 7185 eval "ac_cv_lib_$ac_lib_var=yes" … … 7085 7210 # on Irix 5.2, according to dickey@clark.net. 7086 7211 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 7087 echo "configure:7 088: checking for gethostbyname" >&57212 echo "configure:7213: checking for gethostbyname" >&5 7088 7213 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then 7089 7214 echo $ac_n "(cached) $ac_c" 1>&6 7090 7215 else 7091 7216 cat > conftest.$ac_ext <<EOF 7092 #line 7 093"configure"7217 #line 7218 "configure" 7093 7218 #include "confdefs.h" 7094 7219 /* System header to define __stub macros and hopefully few prototypes, … … 7113 7238 ; return 0; } 7114 7239 EOF 7115 if { (eval echo configure:7 116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then7240 if { (eval echo configure:7241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7116 7241 rm -rf conftest* 7117 7242 eval "ac_cv_func_gethostbyname=yes" … … 7134 7259 if test $ac_cv_func_gethostbyname = no; then 7135 7260 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 7136 echo "configure:7 137: checking for gethostbyname in -lnsl" >&57261 echo "configure:7262: checking for gethostbyname in -lnsl" >&5 7137 7262 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 7138 7263 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 7142 7267 LIBS="-lnsl $LIBS" 7143 7268 cat > conftest.$ac_ext <<EOF 7144 #line 7 145"configure"7269 #line 7270 "configure" 7145 7270 #include "confdefs.h" 7146 7271 /* Override any gcc2 internal prototype to avoid an error. */ … … 7153 7278 ; return 0; } 7154 7279 EOF 7155 if { (eval echo configure:7 156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then7280 if { (eval echo configure:7281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7156 7281 rm -rf conftest* 7157 7282 eval "ac_cv_lib_$ac_lib_var=yes" … … 7183 7308 # We assume that if connect needs -lnsl, so does gethostbyname. 7184 7309 echo $ac_n "checking for connect""... $ac_c" 1>&6 7185 echo "configure:7 186: checking for connect" >&57310 echo "configure:7311: checking for connect" >&5 7186 7311 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then 7187 7312 echo $ac_n "(cached) $ac_c" 1>&6 7188 7313 else 7189 7314 cat > conftest.$ac_ext <<EOF 7190 #line 7 191"configure"7315 #line 7316 "configure" 7191 7316 #include "confdefs.h" 7192 7317 /* System header to define __stub macros and hopefully few prototypes, … … 7211 7336 ; return 0; } 7212 7337 EOF 7213 if { (eval echo configure:7 214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then7338 if { (eval echo configure:7339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7214 7339 rm -rf conftest* 7215 7340 eval "ac_cv_func_connect=yes" … … 7232 7357 if test $ac_cv_func_connect = no; then 7233 7358 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 7234 echo "configure:7 235: checking for connect in -lsocket" >&57359 echo "configure:7360: checking for connect in -lsocket" >&5 7235 7360 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` 7236 7361 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 7240 7365 LIBS="-lsocket $X_EXTRA_LIBS $LIBS" 7241 7366 cat > conftest.$ac_ext <<EOF 7242 #line 7 243"configure"7367 #line 7368 "configure" 7243 7368 #include "confdefs.h" 7244 7369 /* Override any gcc2 internal prototype to avoid an error. */ … … 7251 7376 ; return 0; } 7252 7377 EOF 7253 if { (eval echo configure:7 254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then7378 if { (eval echo configure:7379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7254 7379 rm -rf conftest* 7255 7380 eval "ac_cv_lib_$ac_lib_var=yes" … … 7275 7400 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. 7276 7401 echo $ac_n "checking for remove""... $ac_c" 1>&6 7277 echo "configure:7 278: checking for remove" >&57402 echo "configure:7403: checking for remove" >&5 7278 7403 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then 7279 7404 echo $ac_n "(cached) $ac_c" 1>&6 7280 7405 else 7281 7406 cat > conftest.$ac_ext <<EOF 7282 #line 7 283"configure"7407 #line 7408 "configure" 7283 7408 #include "confdefs.h" 7284 7409 /* System header to define __stub macros and hopefully few prototypes, … … 7303 7428 ; return 0; } 7304 7429 EOF 7305 if { (eval echo configure:7 306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then7430 if { (eval echo configure:7431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7306 7431 rm -rf conftest* 7307 7432 eval "ac_cv_func_remove=yes" … … 7324 7449 if test $ac_cv_func_remove = no; then 7325 7450 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 7326 echo "configure:7 327: checking for remove in -lposix" >&57451 echo "configure:7452: checking for remove in -lposix" >&5 7327 7452 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` 7328 7453 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 7332 7457 LIBS="-lposix $LIBS" 7333 7458 cat > conftest.$ac_ext <<EOF 7334 #line 7 335"configure"7459 #line 7460 "configure" 7335 7460 #include "confdefs.h" 7336 7461 /* Override any gcc2 internal prototype to avoid an error. */ … … 7343 7468 ; return 0; } 7344 7469 EOF 7345 if { (eval echo configure:7 346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then7470 if { (eval echo configure:7471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7346 7471 rm -rf conftest* 7347 7472 eval "ac_cv_lib_$ac_lib_var=yes" … … 7367 7492 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 7368 7493 echo $ac_n "checking for shmat""... $ac_c" 1>&6 7369 echo "configure:7 370: checking for shmat" >&57494 echo "configure:7495: checking for shmat" >&5 7370 7495 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then 7371 7496 echo $ac_n "(cached) $ac_c" 1>&6 7372 7497 else 7373 7498 cat > conftest.$ac_ext <<EOF 7374 #line 7 375"configure"7499 #line 7500 "configure" 7375 7500 #include "confdefs.h" 7376 7501 /* System header to define __stub macros and hopefully few prototypes, … … 7395 7520 ; return 0; } 7396 7521 EOF 7397 if { (eval echo configure:7 398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then7522 if { (eval echo configure:7523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7398 7523 rm -rf conftest* 7399 7524 eval "ac_cv_func_shmat=yes" … … 7416 7541 if test $ac_cv_func_shmat = no; then 7417 7542 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 7418 echo "configure:7 419: checking for shmat in -lipc" >&57543 echo "configure:7544: checking for shmat in -lipc" >&5 7419 7544 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` 7420 7545 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 7424 7549 LIBS="-lipc $LIBS" 7425 7550 cat > conftest.$ac_ext <<EOF 7426 #line 7 427"configure"7551 #line 7552 "configure" 7427 7552 #include "confdefs.h" 7428 7553 /* Override any gcc2 internal prototype to avoid an error. */ … … 7435 7560 ; return 0; } 7436 7561 EOF 7437 if { (eval echo configure:7 438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then7562 if { (eval echo configure:7563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7438 7563 rm -rf conftest* 7439 7564 eval "ac_cv_lib_$ac_lib_var=yes" … … 7459 7584 if test $ac_cv_func_shmat = no; then 7460 7585 echo $ac_n "checking for shmat in -lshm""... $ac_c" 1>&6 7461 echo "configure:7 462: checking for shmat in -lshm" >&57586 echo "configure:7587: checking for shmat in -lshm" >&5 7462 7587 ac_lib_var=`echo shm'_'shmat | sed 'y%./+-%__p_%'` 7463 7588 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 7467 7592 LIBS="-lshm $LIBS" 7468 7593 cat > conftest.$ac_ext <<EOF 7469 #line 7 470"configure"7594 #line 7595 "configure" 7470 7595 #include "confdefs.h" 7471 7596 /* Override any gcc2 internal prototype to avoid an error. */ … … 7478 7603 ; return 0; } 7479 7604 EOF 7480 if { (eval echo configure:7 481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then7605 if { (eval echo configure:7606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7481 7606 rm -rf conftest* 7482 7607 eval "ac_cv_lib_$ac_lib_var=yes" … … 7511 7636 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. 7512 7637 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 7513 echo "configure:7 514: checking for IceConnectionNumber in -lICE" >&57638 echo "configure:7639: checking for IceConnectionNumber in -lICE" >&5 7514 7639 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` 7515 7640 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 7519 7644 LIBS="-lICE $X_EXTRA_LIBS $LIBS" 7520 7645 cat > conftest.$ac_ext <<EOF 7521 #line 7 522"configure"7646 #line 7647 "configure" 7522 7647 #include "confdefs.h" 7523 7648 /* Override any gcc2 internal prototype to avoid an error. */ … … 7530 7655 ; return 0; } 7531 7656 EOF 7532 if { (eval echo configure:7 533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then7657 if { (eval echo configure:7658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7533 7658 rm -rf conftest* 7534 7659 eval "ac_cv_lib_$ac_lib_var=yes" … … 7610 7735 7611 7736 7612 here=` pwd`7737 here=`${PWDCMD-pwd}` 7613 7738 7614 7739 … … 7809 7934 s%@TESTSUBDIR_FALSE@%$TESTSUBDIR_FALSE%g 7810 7935 s%@LIBGCJDEBUG@%$LIBGCJDEBUG%g 7936 s%@INTERPRETER@%$INTERPRETER%g 7811 7937 s%@LIBFFI@%$LIBFFI%g 7812 7938 s%@LIBFFIINCS@%$LIBFFIINCS%g … … 7844 7970 s%@CHECKREFSPEC@%$CHECKREFSPEC%g 7845 7971 s%@EXCEPTIONSPEC@%$EXCEPTIONSPEC%g 7972 s%@IEEESPEC@%$IEEESPEC%g 7846 7973 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g 7847 7974 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g … … 7856 7983 s%@toolexecmainlibdir@%$toolexecmainlibdir%g 7857 7984 s%@toolexeclibdir@%$toolexeclibdir%g 7858 s%@AM_RUNTESTFLAGS@%$AM_RUNTESTFLAGS%g7859 7985 s%@GCJVERSION@%$GCJVERSION%g 7860 7986 s%@ALLOCA@%$ALLOCA%g 7861 7987 s%@PERL@%$PERL%g 7988 s%@BACKTRACESPEC@%$BACKTRACESPEC%g 7862 7989 s%@SYSDEP_SOURCES@%$SYSDEP_SOURCES%g 7863 7990 s%@X_CFLAGS@%$X_CFLAGS%g … … 8138 8265 CC="${CC}" 8139 8266 CXX="${CXX}" 8267 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}" 8140 8268 8141 8269 EOF … … 8160 8288 # Make subdirectories and `.d' files. Look in both srcdir and 8161 8289 # builddir for the .java files. 8162 h=` pwd`8290 h=`${PWDCMD-pwd}` 8163 8291 : > deps.mk 8164 8292 ( (cd $srcdir && find . \( -name '*.java' -o -name '*.cc' \) -print) ; -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.