Changeset 1391 for branches/GNU/src/gcc/libjava/configure
- Timestamp:
- Apr 27, 2004, 8:39:34 PM (21 years ago)
- Location:
- branches/GNU/src/gcc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/gcc
- Property svn:ignore
-
old new 26 26 configure.vr 27 27 configure.vrs 28 dir.info 28 29 Makefile 29 dir.info30 30 lost+found 31 31 update.out
-
- Property svn:ignore
-
branches/GNU/src/gcc/libjava/configure
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 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)" … … 582 584 583 585 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 584 echo "configure:58 5: checking whether ln -s works" >&5586 echo "configure:587: checking whether ln -s works" >&5 585 587 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 586 588 echo $ac_n "(cached) $ac_c" 1>&6 … … 612 614 if test "${with_cross_host+set}" = set; then 613 615 withval="$with_cross_host" 616 : 617 fi 618 619 620 # Check whether --with-newlib or --without-newlib was given. 621 if test "${with_newlib+set}" = set; then 622 withval="$with_newlib" 614 623 : 615 624 fi … … 628 637 # ./install, which can be erroneously created by make from ./install.sh. 629 638 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 630 echo "configure:6 31: checking for a BSD compatible install" >&5639 echo "configure:640: checking for a BSD compatible install" >&5 631 640 if test -z "$INSTALL"; then 632 641 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 681 690 682 691 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 683 echo "configure:6 84: checking whether build environment is sane" >&5692 echo "configure:693: checking whether build environment is sane" >&5 684 693 # Just in case 685 694 sleep 1 … … 738 747 739 748 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 740 echo "configure:7 41: checking whether ${MAKE-make} sets \${MAKE}" >&5749 echo "configure:750: checking whether ${MAKE-make} sets \${MAKE}" >&5 741 750 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 742 751 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 771 780 772 781 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 773 echo "configure:7 74: checking for Cygwin environment" >&5782 echo "configure:783: checking for Cygwin environment" >&5 774 783 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 775 784 echo $ac_n "(cached) $ac_c" 1>&6 776 785 else 777 786 cat > conftest.$ac_ext <<EOF 778 #line 7 79"configure"787 #line 788 "configure" 779 788 #include "confdefs.h" 780 789 … … 787 796 ; return 0; } 788 797 EOF 789 if { (eval echo configure:79 0: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then798 if { (eval echo configure:799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 790 799 rm -rf conftest* 791 800 ac_cv_cygwin=yes … … 804 813 test "$ac_cv_cygwin" = yes && CYGWIN=yes 805 814 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 806 echo "configure:8 07: checking for mingw32 environment" >&5815 echo "configure:816: checking for mingw32 environment" >&5 807 816 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 808 817 echo $ac_n "(cached) $ac_c" 1>&6 809 818 else 810 819 cat > conftest.$ac_ext <<EOF 811 #line 8 12"configure"820 #line 821 "configure" 812 821 #include "confdefs.h" 813 822 … … 816 825 ; return 0; } 817 826 EOF 818 if { (eval echo configure:8 19: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then827 if { (eval echo configure:828: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 819 828 rm -rf conftest* 820 829 ac_cv_mingw32=yes … … 912 921 913 922 # This works around an automake problem. 914 mkinstalldirs="`cd $ac_aux_dir && pwd`/mkinstalldirs"923 mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs" 915 924 916 925 … … 943 952 944 953 echo $ac_n "checking host system type""... $ac_c" 1>&6 945 echo "configure:9 46: checking host system type" >&5954 echo "configure:955: checking host system type" >&5 946 955 947 956 host_alias=$host … … 964 973 965 974 echo $ac_n "checking target system type""... $ac_c" 1>&6 966 echo "configure:9 67: checking target system type" >&5975 echo "configure:976: checking target system type" >&5 967 976 968 977 target_alias=$target … … 982 991 983 992 echo $ac_n "checking build system type""... $ac_c" 1>&6 984 echo "configure:9 85: checking build system type" >&5993 echo "configure:994: checking build system type" >&5 985 994 986 995 build_alias=$build … … 1011 1020 set dummy gcc; ac_word=$2 1012 1021 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1013 echo "configure:10 14: checking for $ac_word" >&51022 echo "configure:1023: checking for $ac_word" >&5 1014 1023 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1015 1024 echo $ac_n "(cached) $ac_c" 1>&6 … … 1041 1050 set dummy cc; ac_word=$2 1042 1051 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1043 echo "configure:10 44: checking for $ac_word" >&51052 echo "configure:1053: checking for $ac_word" >&5 1044 1053 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1045 1054 echo $ac_n "(cached) $ac_c" 1>&6 … … 1092 1101 set dummy cl; ac_word=$2 1093 1102 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1094 echo "configure:1 095: checking for $ac_word" >&51103 echo "configure:1104: checking for $ac_word" >&5 1095 1104 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1096 1105 echo $ac_n "(cached) $ac_c" 1>&6 … … 1125 1134 1126 1135 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1127 echo "configure:11 28: checking whether we are using GNU C" >&51136 echo "configure:1137: checking whether we are using GNU C" >&5 1128 1137 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1129 1138 echo $ac_n "(cached) $ac_c" 1>&6 … … 1134 1143 #endif 1135 1144 EOF 1136 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:11 37: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1145 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1146: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1137 1146 ac_cv_prog_gcc=yes 1138 1147 else … … 1153 1162 CFLAGS= 1154 1163 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1155 echo "configure:11 56: checking whether ${CC-cc} accepts -g" >&51164 echo "configure:1165: checking whether ${CC-cc} accepts -g" >&5 1156 1165 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1157 1166 echo $ac_n "(cached) $ac_c" 1>&6 … … 1202 1211 set dummy $ac_prog; ac_word=$2 1203 1212 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1204 echo "configure:12 05: checking for $ac_word" >&51213 echo "configure:1214: checking for $ac_word" >&5 1205 1214 if eval "test \"`echo '$''{'ac_cv_prog_glibjava_CXX'+set}'`\" = set"; then 1206 1215 echo $ac_n "(cached) $ac_c" 1>&6 … … 1237 1246 1238 1247 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 1239 echo "configure:124 0: checking whether we are using GNU C++" >&51248 echo "configure:1249: checking whether we are using GNU C++" >&5 1240 1249 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then 1241 1250 echo $ac_n "(cached) $ac_c" 1>&6 … … 1246 1255 #endif 1247 1256 EOF 1248 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:12 49: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1257 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1258: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1249 1258 ac_cv_prog_gxx=yes 1250 1259 else … … 1261 1270 CXXFLAGS= 1262 1271 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 1263 echo "configure:12 64: checking whether ${CXX-g++} accepts -g" >&51272 echo "configure:1273: checking whether ${CXX-g++} accepts -g" >&5 1264 1273 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then 1265 1274 echo $ac_n "(cached) $ac_c" 1>&6 … … 1310 1319 missing_dir=`cd $ac_aux_dir && pwd` 1311 1320 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 1312 echo "configure:13 13: checking for working aclocal" >&51321 echo "configure:1322: checking for working aclocal" >&5 1313 1322 # Run test in a subshell; some versions of sh will print an error if 1314 1323 # an executable is not found, even if stderr is redirected. … … 1323 1332 1324 1333 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 1325 echo "configure:13 26: checking for working autoconf" >&51334 echo "configure:1335: checking for working autoconf" >&5 1326 1335 # Run test in a subshell; some versions of sh will print an error if 1327 1336 # an executable is not found, even if stderr is redirected. … … 1336 1345 1337 1346 echo $ac_n "checking for working automake""... $ac_c" 1>&6 1338 echo "configure:13 39: checking for working automake" >&51347 echo "configure:1348: checking for working automake" >&5 1339 1348 # Run test in a subshell; some versions of sh will print an error if 1340 1349 # an executable is not found, even if stderr is redirected. … … 1349 1358 1350 1359 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 1351 echo "configure:13 52: checking for working autoheader" >&51360 echo "configure:1361: checking for working autoheader" >&5 1352 1361 # Run test in a subshell; some versions of sh will print an error if 1353 1362 # an executable is not found, even if stderr is redirected. … … 1362 1371 1363 1372 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 1364 echo "configure:13 65: checking for working makeinfo" >&51373 echo "configure:1374: checking for working makeinfo" >&5 1365 1374 # Run test in a subshell; some versions of sh will print an error if 1366 1375 # an executable is not found, even if stderr is redirected. … … 1381 1390 # be run before AC_CANONICAL_HOST. 1382 1391 echo $ac_n "checking build system type""... $ac_c" 1>&6 1383 echo "configure:13 84: checking build system type" >&51392 echo "configure:1393: checking build system type" >&5 1384 1393 1385 1394 build_alias=$build … … 1402 1411 set dummy ${ac_tool_prefix}as; ac_word=$2 1403 1412 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1404 echo "configure:14 05: checking for $ac_word" >&51413 echo "configure:1414: checking for $ac_word" >&5 1405 1414 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then 1406 1415 echo $ac_n "(cached) $ac_c" 1>&6 … … 1434 1443 set dummy ${ac_tool_prefix}ar; ac_word=$2 1435 1444 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1436 echo "configure:14 37: checking for $ac_word" >&51445 echo "configure:1446: checking for $ac_word" >&5 1437 1446 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then 1438 1447 echo $ac_n "(cached) $ac_c" 1>&6 … … 1466 1475 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1467 1476 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1468 echo "configure:14 69: checking for $ac_word" >&51477 echo "configure:1478: checking for $ac_word" >&5 1469 1478 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1470 1479 echo $ac_n "(cached) $ac_c" 1>&6 … … 1498 1507 set dummy ranlib; ac_word=$2 1499 1508 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1500 echo "configure:15 01: checking for $ac_word" >&51509 echo "configure:1510: checking for $ac_word" >&5 1501 1510 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1502 1511 echo $ac_n "(cached) $ac_c" 1>&6 … … 1543 1552 # ./install, which can be erroneously created by make from ./install.sh. 1544 1553 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 1545 echo "configure:15 46: checking for a BSD compatible install" >&51554 echo "configure:1555: checking for a BSD compatible install" >&5 1546 1555 if test -z "$INSTALL"; then 1547 1556 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 1597 1606 1598 1607 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 1599 echo "configure:160 0: checking whether to enable maintainer-specific portions of Makefiles" >&51608 echo "configure:1609: checking whether to enable maintainer-specific portions of Makefiles" >&5 1600 1609 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 1601 1610 if test "${enable_maintainer_mode+set}" = set; then … … 1620 1629 1621 1630 1622 # We need AC_EXEEXT to keep automake happy in cygnus mode. However, 1623 # at least currently, we never actually build a program, so we never 1624 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally 1625 # fails, because we are probably configuring with a cross compiler 1626 # which cant create executables. So we include AC_EXEEXT to keep 1627 # automake happy, but we don't execute it, since we don't care about 1628 # the result. 1629 if false; then 1630 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands 1631 # to nothing, so nothing would remain between `then' and `fi' if it 1632 # were not for the `:' below. 1633 : 1634 1631 1635 1632 1636 1633 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 1637 echo "configure:163 8: checking for executable suffix" >&51634 echo "configure:1635: checking for executable suffix" >&5 1638 1635 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 1639 1636 echo $ac_n "(cached) $ac_c" 1>&6 … … 1645 1642 echo 'int main () { return 0; }' > conftest.$ac_ext 1646 1643 ac_cv_exeext= 1647 if { (eval echo configure:164 8: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1644 if { (eval echo configure:1645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1648 1645 for file in conftest.*; do 1649 1646 case $file in … … 1665 1662 ac_exeext=$EXEEXT 1666 1663 1667 fi1668 1664 1669 1665 # configure.host sets the following important variables … … 1709 1705 INCLTDL="-I\$(top_srcdir)/libltdl $INCLTDL" 1710 1706 # FIXME: this is a hack. 1711 sub_auxdir="`cd $ac_aux_dir && pwd`"1707 sub_auxdir="`cd $ac_aux_dir && ${PWDCMD-pwd}`" 1712 1708 ac_configure_args="$ac_configure_args --with-auxdir=$sub_auxdir" 1713 1709 fi … … 1796 1792 # Check if gcc -print-prog-name=ld gives a path. 1797 1793 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 1798 echo "configure:179 9: checking for ld used by GCC" >&51794 echo "configure:1795: checking for ld used by GCC" >&5 1799 1795 case $host in 1800 1796 *-*-mingw*) … … 1826 1822 elif test "$with_gnu_ld" = yes; then 1827 1823 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 1828 echo "configure:182 9: checking for GNU ld" >&51824 echo "configure:1825: checking for GNU ld" >&5 1829 1825 else 1830 1826 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 1831 echo "configure:18 32: checking for non-GNU ld" >&51827 echo "configure:1828: checking for non-GNU ld" >&5 1832 1828 fi 1833 1829 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then … … 1864 1860 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } 1865 1861 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 1866 echo "configure:186 7: checking if the linker ($LD) is GNU ld" >&51862 echo "configure:1863: checking if the linker ($LD) is GNU ld" >&5 1867 1863 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then 1868 1864 echo $ac_n "(cached) $ac_c" 1>&6 … … 1881 1877 1882 1878 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6 1883 echo "configure:188 4: checking for $LD option to reload object files" >&51879 echo "configure:1880: checking for $LD option to reload object files" >&5 1884 1880 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then 1885 1881 echo $ac_n "(cached) $ac_c" 1>&6 … … 1893 1889 1894 1890 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 1895 echo "configure:189 6: checking for BSD-compatible nm" >&51891 echo "configure:1892: checking for BSD-compatible nm" >&5 1896 1892 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then 1897 1893 echo $ac_n "(cached) $ac_c" 1>&6 … … 1931 1927 1932 1928 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6 1933 echo "configure:193 4: checking how to recognise dependant libraries" >&51929 echo "configure:1930: checking how to recognise dependant libraries" >&5 1934 1930 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then 1935 1931 echo $ac_n "(cached) $ac_c" 1>&6 … … 2003 1999 2004 2000 hpux10.20*|hpux11*) 2005 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 2006 lt_cv_file_magic_cmd=/usr/bin/file 2007 lt_cv_file_magic_test_file=/usr/lib/libc.sl 2001 case $host_cpu in 2002 hppa*) 2003 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 2004 lt_cv_file_magic_cmd=/usr/bin/file 2005 lt_cv_file_magic_test_file=/usr/lib/libc.sl 2006 ;; 2007 ia64*) 2008 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 2009 lt_cv_file_magic_cmd=/usr/bin/file 2010 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 2011 ;; 2012 esac 2008 2013 ;; 2009 2014 … … 2095 2100 2096 2101 echo $ac_n "checking for object suffix""... $ac_c" 1>&6 2097 echo "configure:2 098: checking for object suffix" >&52102 echo "configure:2103: checking for object suffix" >&5 2098 2103 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then 2099 2104 echo $ac_n "(cached) $ac_c" 1>&6 … … 2101 2106 rm -f conftest* 2102 2107 echo 'int i = 1;' > conftest.$ac_ext 2103 if { (eval echo configure:210 4: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2108 if { (eval echo configure:2109: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2104 2109 for ac_file in conftest.*; do 2105 2110 case $ac_file in … … 2125 2130 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 2126 2131 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6 2127 echo "configure:21 28: checking for ${ac_tool_prefix}file" >&52132 echo "configure:2133: checking for ${ac_tool_prefix}file" >&5 2128 2133 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 2129 2134 echo $ac_n "(cached) $ac_c" 1>&6 … … 2187 2192 if test -n "$ac_tool_prefix"; then 2188 2193 echo $ac_n "checking for file""... $ac_c" 1>&6 2189 echo "configure:219 0: checking for file" >&52194 echo "configure:2195: checking for file" >&5 2190 2195 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 2191 2196 echo $ac_n "(cached) $ac_c" 1>&6 … … 2258 2263 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2259 2264 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2260 echo "configure:226 1: checking for $ac_word" >&52265 echo "configure:2266: checking for $ac_word" >&5 2261 2266 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 2262 2267 echo $ac_n "(cached) $ac_c" 1>&6 … … 2290 2295 set dummy ranlib; ac_word=$2 2291 2296 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2292 echo "configure:229 3: checking for $ac_word" >&52297 echo "configure:2298: checking for $ac_word" >&5 2293 2298 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 2294 2299 echo $ac_n "(cached) $ac_c" 1>&6 … … 2325 2330 set dummy ${ac_tool_prefix}strip; ac_word=$2 2326 2331 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2327 echo "configure:23 28: checking for $ac_word" >&52332 echo "configure:2333: checking for $ac_word" >&5 2328 2333 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 2329 2334 echo $ac_n "(cached) $ac_c" 1>&6 … … 2357 2362 set dummy strip; ac_word=$2 2358 2363 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2359 echo "configure:236 0: checking for $ac_word" >&52364 echo "configure:2365: checking for $ac_word" >&5 2360 2365 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 2361 2366 echo $ac_n "(cached) $ac_c" 1>&6 … … 2424 2429 *-*-irix6*) 2425 2430 # Find out which ABI we are using. 2426 echo '#line 2427 "configure"' > conftest.$ac_ext 2427 if { (eval echo configure:2428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2431 echo '#line 2432 "configure"' > conftest.$ac_ext 2432 if { (eval echo configure:2433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2433 if test "$lt_cv_prog_gnu_ld" = yes; then 2434 case `/usr/bin/file conftest.$ac_objext` in 2435 *32-bit*) 2436 LD="${LD-ld} -melf32bsmip" 2437 ;; 2438 *N32*) 2439 LD="${LD-ld} -melf32bmipn32" 2440 ;; 2441 *64-bit*) 2442 LD="${LD-ld} -melf64bmip" 2443 ;; 2444 esac 2445 else 2428 2446 case `/usr/bin/file conftest.$ac_objext` in 2429 2447 *32-bit*) … … 2437 2455 ;; 2438 2456 esac 2457 fi 2458 fi 2459 rm -rf conftest* 2460 ;; 2461 2462 ia64-*-hpux*) 2463 # Find out which ABI we are using. 2464 echo 'int i;' > conftest.$ac_ext 2465 if { (eval echo configure:2466: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2466 case "`/usr/bin/file conftest.o`" in 2467 *ELF-32*) 2468 HPUX_IA64_MODE="32" 2469 ;; 2470 *ELF-64*) 2471 HPUX_IA64_MODE="64" 2472 ;; 2473 esac 2474 fi 2475 rm -rf conftest* 2476 ;; 2477 2478 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) 2479 # Find out which ABI we are using. 2480 echo 'int i;' > conftest.$ac_ext 2481 if { (eval echo configure:2482: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2482 case "`/usr/bin/file conftest.o`" in 2483 *32-bit*) 2484 case $host in 2485 x86_64-*linux*) 2486 LD="${LD-ld} -m elf_i386" 2487 ;; 2488 ppc64-*linux*|powerpc64-*linux*) 2489 LD="${LD-ld} -m elf32ppclinux" 2490 ;; 2491 s390x-*linux*) 2492 LD="${LD-ld} -m elf_s390" 2493 ;; 2494 sparc64-*linux*) 2495 LD="${LD-ld} -m elf32_sparc" 2496 ;; 2497 esac 2498 ;; 2499 *64-bit*) 2500 case $host in 2501 x86_64-*linux*) 2502 LD="${LD-ld} -m elf_x86_64" 2503 ;; 2504 ppc*-*linux*|powerpc*-*linux*) 2505 LD="${LD-ld} -m elf64ppc" 2506 ;; 2507 s390*-*linux*) 2508 LD="${LD-ld} -m elf64_s390" 2509 ;; 2510 sparc*-*linux*) 2511 LD="${LD-ld} -m elf64_sparc" 2512 ;; 2513 esac 2514 ;; 2515 esac 2439 2516 fi 2440 2517 rm -rf conftest* … … 2446 2523 CFLAGS="$CFLAGS -belf" 2447 2524 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 2448 echo "configure:2 449: checking whether the C compiler needs -belf" >&52525 echo "configure:2526: checking whether the C compiler needs -belf" >&5 2449 2526 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then 2450 2527 echo $ac_n "(cached) $ac_c" 1>&6 … … 2459 2536 2460 2537 cat > conftest.$ac_ext <<EOF 2461 #line 2 462"configure"2538 #line 2539 "configure" 2462 2539 #include "confdefs.h" 2463 2540 … … 2466 2543 ; return 0; } 2467 2544 EOF 2468 if { (eval echo configure:2 469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2545 if { (eval echo configure:2546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2469 2546 rm -rf conftest* 2470 2547 lt_cv_cc_needs_belf=yes … … 2496 2573 2497 2574 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6 2498 echo "configure:2 499: checking how to run the C++ preprocessor" >&52575 echo "configure:2576: checking how to run the C++ preprocessor" >&5 2499 2576 if test -z "$CXXCPP"; then 2500 2577 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then … … 2509 2586 CXXCPP="${CXX-g++} -E" 2510 2587 cat > conftest.$ac_ext <<EOF 2511 #line 25 12"configure"2588 #line 2589 "configure" 2512 2589 #include "confdefs.h" 2513 2590 #include <stdlib.h> 2514 2591 EOF 2515 2592 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2516 { (eval echo configure:25 17: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2593 { (eval echo configure:2594: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2517 2594 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2518 2595 if test -z "$ac_err"; then … … 2746 2823 2747 2824 fi 2825 INTERPRETER="$libgcj_interpreter" 2826 2748 2827 2749 2828 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6 2750 echo "configure:2 751: checking for exception model to use" >&52829 echo "configure:2830: checking for exception model to use" >&5 2751 2830 2752 2831 ac_ext=C … … 2763 2842 else 2764 2843 cat > conftest.$ac_ext << EOF 2765 #line 2 766"configure"2844 #line 2845 "configure" 2766 2845 struct S { ~S(); }; 2767 2846 void bar(); … … 2774 2853 old_CXXFLAGS="$CXXFLAGS" 2775 2854 CXXFLAGS=-S 2776 if { (eval echo configure:2 777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2855 if { (eval echo configure:2856: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2777 2856 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then 2778 2857 enable_sjlj_exceptions=yes … … 2847 2926 2848 2927 LIBFFI=../libffi/libffi_convenience.la 2849 LIBFFIINCS='-I$(top_srcdir)/../libffi/include -I $(MULTIBUILDTOP)../libffi/include'2928 LIBFFIINCS='-I$(top_srcdir)/../libffi/include -I../libffi/include' 2850 2929 fi 2851 2930 … … 2882 2961 PLATFORMOBJS=win32.lo 2883 2962 PLATFORMH=win32.h 2963 2964 echo $ac_n "checking whether 'ld' is at least 2.13""... $ac_c" 1>&6 2965 echo "configure:2966: checking whether 'ld' is at least 2.13" >&5 2966 LD_PROG=`$CC --print-prog-name=ld` 2967 LD_VERSION=`$LD_PROG --version` 2968 LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4` 2969 LD_VERSION_MINOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2` 2970 if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then 2971 LD_OK="ok" 2972 else 2973 if expr "$LD_VERSION_MAJOR" = 2 && expr "$LD_VERSION_MINOR" \>= 13 > /dev/null; then 2974 LD_OK="ok" 2975 fi 2976 fi 2977 if test "x$LD_OK" != x; then 2978 echo "$ac_t""yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" 1>&6 2979 else 2980 echo "$ac_t""no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" 1>&6 2981 echo "configure: warning: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." 1>&2 2982 cat >> confdefs.h <<\EOF 2983 #define JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS 1 2984 EOF 2985 2986 fi 2884 2987 ;; 2885 2988 *) … … 2904 3007 2905 3008 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 2906 echo "configure: 2907: checking how to run the C preprocessor" >&53009 echo "configure:3010: checking how to run the C preprocessor" >&5 2907 3010 # On Suns, sometimes $CPP names a directory. 2908 3011 if test -n "$CPP" && test -d "$CPP"; then … … 2919 3022 # not just through cpp. 2920 3023 cat > conftest.$ac_ext <<EOF 2921 #line 2922"configure"3024 #line 3025 "configure" 2922 3025 #include "confdefs.h" 2923 3026 #include <assert.h> … … 2925 3028 EOF 2926 3029 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2927 { (eval echo configure: 2928: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3030 { (eval echo configure:3031: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2928 3031 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2929 3032 if test -z "$ac_err"; then … … 2936 3039 CPP="${CC-cc} -E -traditional-cpp" 2937 3040 cat > conftest.$ac_ext <<EOF 2938 #line 2939"configure"3041 #line 3042 "configure" 2939 3042 #include "confdefs.h" 2940 3043 #include <assert.h> … … 2942 3045 EOF 2943 3046 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2944 { (eval echo configure: 2945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3047 { (eval echo configure:3048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2945 3048 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2946 3049 if test -z "$ac_err"; then … … 2953 3056 CPP="${CC-cc} -nologo -E" 2954 3057 cat > conftest.$ac_ext <<EOF 2955 #line 2956"configure"3058 #line 3059 "configure" 2956 3059 #include "confdefs.h" 2957 3060 #include <assert.h> … … 2959 3062 EOF 2960 3063 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2961 { (eval echo configure: 2962: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3064 { (eval echo configure:3065: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2962 3065 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2963 3066 if test -z "$ac_err"; then … … 2984 3087 2985 3088 cat > conftest.$ac_ext <<EOF 2986 #line 2987"configure"3089 #line 3090 "configure" 2987 3090 #include "confdefs.h" 2988 3091 #include <stdint.h> … … 2999 3102 3000 3103 cat > conftest.$ac_ext <<EOF 3001 #line 3 002"configure"3104 #line 3105 "configure" 3002 3105 #include "confdefs.h" 3003 3106 #include <inttypes.h> … … 3014 3117 3015 3118 cat > conftest.$ac_ext <<EOF 3016 #line 3 017"configure"3119 #line 3120 "configure" 3017 3120 #include "confdefs.h" 3018 3121 #include <sys/types.h> … … 3029 3132 3030 3133 cat > conftest.$ac_ext <<EOF 3031 #line 3 032"configure"3134 #line 3135 "configure" 3032 3135 #include "confdefs.h" 3033 3136 #include <sys/config.h> … … 3046 3149 3047 3150 cat > conftest.$ac_ext <<EOF 3048 #line 3 049"configure"3151 #line 3152 "configure" 3049 3152 #include "confdefs.h" 3050 3153 #include <time.h> … … 3061 3164 3062 3165 cat > conftest.$ac_ext <<EOF 3063 #line 3 064"configure"3166 #line 3167 "configure" 3064 3167 #include "confdefs.h" 3065 3168 #include <time.h> … … 3096 3199 3097 3200 3098 LIBGCJTESTSPEC="-L` pwd`/.libs -rpath `pwd`/.libs"3201 LIBGCJTESTSPEC="-L`${PWDCMD-pwd}`/.libs -rpath `${PWDCMD-pwd}`/.libs" 3099 3202 3100 3203 … … 3113 3216 3114 3217 echo $ac_n "checking for garbage collector to use""... $ac_c" 1>&6 3115 echo "configure:3 116: checking for garbage collector to use" >&53218 echo "configure:3219: checking for garbage collector to use" >&5 3116 3219 # Check whether --enable-java-gc or --disable-java-gc was given. 3117 3220 if test "${enable_java_gc+set}" = set; then … … 3136 3239 GCINCS='-I$(top_srcdir)/../boehm-gc/include' 3137 3240 JC1GCSPEC='-fuse-boehm-gc' 3138 GCTESTSPEC="-L` pwd`/../boehm-gc/.libs -rpath `pwd`/../boehm-gc/.libs"3241 GCTESTSPEC="-L`${PWDCMD-pwd}`/../boehm-gc/.libs -rpath `${PWDCMD-pwd}`/../boehm-gc/.libs" 3139 3242 3140 3243 GCINCS="$GCINCS `cat ../boehm-gc/boehm-cflags`" … … 3166 3269 3167 3270 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6 3168 echo "configure:3 169: checking for thread model used by GCC" >&53271 echo "configure:3272: checking for thread model used by GCC" >&5 3169 3272 THREADS=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'` 3170 3273 echo "$ac_t""$THREADS" 1>&6 … … 3281 3384 HASH_SYNC_SPEC= 3282 3385 # Hash synchronization is only useful with posix threads right now. 3283 if test "$enable_hash_synchronization" = yes && test "$THREADS" = "posix"; then3386 if test "$enable_hash_synchronization" = yes && test "$THREADS" != "none"; then 3284 3387 HASH_SYNC_SPEC=-fhash-synchronization 3285 3388 cat >> confdefs.h <<\EOF … … 3316 3419 3317 3420 3318 if test -n "${with_cross_host}"; then3421 if test "x${with_newlib}" = "xyes"; then 3319 3422 # We are being configured with a cross compiler. AC_REPLACE_FUNCS 3320 3423 # may not work correctly, because the compiler may not be able to … … 3363 3466 # If Canadian cross, then don't pick up tools from the build 3364 3467 # directory. 3365 if test x"$build" != x"$with_cross_host" && x"$build" != x"$target"; then 3468 if test x"$build" != x"$with_cross_host" \ 3469 && test x"$build" != x"$target"; then 3366 3470 CANADIAN=yes 3367 3471 GCC_UNWIND_INCLUDE= … … 3373 3477 do 3374 3478 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3375 echo "configure:3 376: checking for $ac_func" >&53479 echo "configure:3480: checking for $ac_func" >&5 3376 3480 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3377 3481 echo $ac_n "(cached) $ac_c" 1>&6 3378 3482 else 3379 3483 cat > conftest.$ac_ext <<EOF 3380 #line 3 381"configure"3484 #line 3485 "configure" 3381 3485 #include "confdefs.h" 3382 3486 /* System header to define __stub macros and hopefully few prototypes, … … 3401 3505 ; return 0; } 3402 3506 EOF 3403 if { (eval echo configure:3 404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3507 if { (eval echo configure:3508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3404 3508 rm -rf conftest* 3405 3509 eval "ac_cv_func_$ac_func=yes" … … 3428 3532 do 3429 3533 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3430 echo "configure:3 431: checking for $ac_func" >&53534 echo "configure:3535: checking for $ac_func" >&5 3431 3535 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3432 3536 echo $ac_n "(cached) $ac_c" 1>&6 3433 3537 else 3434 3538 cat > conftest.$ac_ext <<EOF 3435 #line 3 436"configure"3539 #line 3540 "configure" 3436 3540 #include "confdefs.h" 3437 3541 /* System header to define __stub macros and hopefully few prototypes, … … 3456 3560 ; return 0; } 3457 3561 EOF 3458 if { (eval echo configure:3 459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3562 if { (eval echo configure:3563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3459 3563 rm -rf conftest* 3460 3564 eval "ac_cv_func_$ac_func=yes" … … 3483 3587 do 3484 3588 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3485 echo "configure:3 486: checking for $ac_func" >&53589 echo "configure:3590: checking for $ac_func" >&5 3486 3590 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3487 3591 echo $ac_n "(cached) $ac_c" 1>&6 3488 3592 else 3489 3593 cat > conftest.$ac_ext <<EOF 3490 #line 3 491"configure"3594 #line 3595 "configure" 3491 3595 #include "confdefs.h" 3492 3596 /* System header to define __stub macros and hopefully few prototypes, … … 3511 3615 ; return 0; } 3512 3616 EOF 3513 if { (eval echo configure:3 514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3617 if { (eval echo configure:3618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3514 3618 rm -rf conftest* 3515 3619 eval "ac_cv_func_$ac_func=yes" … … 3538 3642 do 3539 3643 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3540 echo "configure:3 541: checking for $ac_func" >&53644 echo "configure:3645: checking for $ac_func" >&5 3541 3645 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3542 3646 echo $ac_n "(cached) $ac_c" 1>&6 3543 3647 else 3544 3648 cat > conftest.$ac_ext <<EOF 3545 #line 3 546"configure"3649 #line 3650 "configure" 3546 3650 #include "confdefs.h" 3547 3651 /* System header to define __stub macros and hopefully few prototypes, … … 3566 3670 ; return 0; } 3567 3671 EOF 3568 if { (eval echo configure:3 569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3672 if { (eval echo configure:3673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3569 3673 rm -rf conftest* 3570 3674 eval "ac_cv_func_$ac_func=yes" … … 3593 3697 do 3594 3698 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3595 echo "configure:3 596: checking for $ac_func" >&53699 echo "configure:3700: checking for $ac_func" >&5 3596 3700 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3597 3701 echo $ac_n "(cached) $ac_c" 1>&6 3598 3702 else 3599 3703 cat > conftest.$ac_ext <<EOF 3600 #line 3 601"configure"3704 #line 3705 "configure" 3601 3705 #include "confdefs.h" 3602 3706 /* System header to define __stub macros and hopefully few prototypes, … … 3621 3725 ; return 0; } 3622 3726 EOF 3623 if { (eval echo configure:3 624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3727 if { (eval echo configure:3728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3624 3728 rm -rf conftest* 3625 3729 eval "ac_cv_func_$ac_func=yes" … … 3648 3752 do 3649 3753 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3650 echo "configure:3 651: checking for $ac_func" >&53754 echo "configure:3755: checking for $ac_func" >&5 3651 3755 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3652 3756 echo $ac_n "(cached) $ac_c" 1>&6 3653 3757 else 3654 3758 cat > conftest.$ac_ext <<EOF 3655 #line 3 656"configure"3759 #line 3760 "configure" 3656 3760 #include "confdefs.h" 3657 3761 /* System header to define __stub macros and hopefully few prototypes, … … 3676 3780 ; return 0; } 3677 3781 EOF 3678 if { (eval echo configure:3 679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3782 if { (eval echo configure:3783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3679 3783 rm -rf conftest* 3680 3784 eval "ac_cv_func_$ac_func=yes" … … 3700 3804 done 3701 3805 3702 for ac_func in fork execvp pipe sigaction 3806 for ac_func in fork execvp pipe sigaction ftruncate 3703 3807 do 3704 3808 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3705 echo "configure:3 706: checking for $ac_func" >&53809 echo "configure:3810: checking for $ac_func" >&5 3706 3810 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3707 3811 echo $ac_n "(cached) $ac_c" 1>&6 3708 3812 else 3709 3813 cat > conftest.$ac_ext <<EOF 3710 #line 3 711"configure"3814 #line 3815 "configure" 3711 3815 #include "confdefs.h" 3712 3816 /* System header to define __stub macros and hopefully few prototypes, … … 3731 3835 ; return 0; } 3732 3836 EOF 3733 if { (eval echo configure:3 734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3837 if { (eval echo configure:3838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3734 3838 rm -rf conftest* 3735 3839 eval "ac_cv_func_$ac_func=yes" … … 3759 3863 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3760 3864 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3761 echo "configure:3 762: checking for $ac_hdr" >&53865 echo "configure:3866: checking for $ac_hdr" >&5 3762 3866 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3763 3867 echo $ac_n "(cached) $ac_c" 1>&6 3764 3868 else 3765 3869 cat > conftest.$ac_ext <<EOF 3766 #line 3 767"configure"3870 #line 3871 "configure" 3767 3871 #include "confdefs.h" 3768 3872 #include <$ac_hdr> 3769 3873 EOF 3770 3874 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3771 { (eval echo configure:3 772: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3875 { (eval echo configure:3876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3772 3876 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3773 3877 if test -z "$ac_err"; then … … 3796 3900 3797 3901 echo $ac_n "checking for backtrace""... $ac_c" 1>&6 3798 echo "configure:3 799: checking for backtrace" >&53902 echo "configure:3903: checking for backtrace" >&5 3799 3903 if eval "test \"`echo '$''{'ac_cv_func_backtrace'+set}'`\" = set"; then 3800 3904 echo $ac_n "(cached) $ac_c" 1>&6 3801 3905 else 3802 3906 cat > conftest.$ac_ext <<EOF 3803 #line 3 804"configure"3907 #line 3908 "configure" 3804 3908 #include "confdefs.h" 3805 3909 /* System header to define __stub macros and hopefully few prototypes, … … 3824 3928 ; return 0; } 3825 3929 EOF 3826 if { (eval echo configure:3 827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3930 if { (eval echo configure:3931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3827 3931 rm -rf conftest* 3828 3932 eval "ac_cv_func_backtrace=yes" … … 3853 3957 else 3854 3958 echo "$ac_t""no" 1>&6 3959 3960 case "$host" in 3961 *mingw*) 3962 # Has backtrace() defined in libgcj itself 3963 cat >> confdefs.h <<\EOF 3964 #define HAVE_BACKTRACE 1 3965 EOF 3966 3967 ;; 3968 esac 3969 3855 3970 fi 3856 3971 3857 3972 3858 3973 echo $ac_n "checking for dladdr in -ldl""... $ac_c" 1>&6 3859 echo "configure:3 860: checking for dladdr in -ldl" >&53974 echo "configure:3975: checking for dladdr in -ldl" >&5 3860 3975 ac_lib_var=`echo dl'_'dladdr | sed 'y%./+-%__p_%'` 3861 3976 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3865 3980 LIBS="-ldl $LIBS" 3866 3981 cat > conftest.$ac_ext <<EOF 3867 #line 3 868"configure"3982 #line 3983 "configure" 3868 3983 #include "confdefs.h" 3869 3984 /* Override any gcc2 internal prototype to avoid an error. */ … … 3876 3991 ; return 0; } 3877 3992 EOF 3878 if { (eval echo configure:3 879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3993 if { (eval echo configure:3994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3879 3994 rm -rf conftest* 3880 3995 eval "ac_cv_lib_$ac_lib_var=yes" … … 3900 4015 fi 3901 4016 3902 for ac_file in /proc/self/exe 4017 if test x"$build" = x"$host"; then 4018 for ac_file in /proc/self/exe 3903 4019 do 3904 4020 3905 4021 ac_safe=`echo "$ac_file" | sed 'y%./+-%__p_%'` 3906 4022 echo $ac_n "checking for $ac_file""... $ac_c" 1>&6 3907 echo "configure: 3908: checking for $ac_file" >&54023 echo "configure:4024: checking for $ac_file" >&5 3908 4024 if eval "test \"`echo '$''{'ac_cv_file_$ac_safe'+set}'`\" = set"; then 3909 4025 echo $ac_n "(cached) $ac_c" 1>&6 … … 3926 4042 EOF 3927 4043 3928 cat >> confdefs.h <<\EOF4044 cat >> confdefs.h <<\EOF 3929 4045 #define HAVE_PROC_SELF_EXE 1 3930 4046 EOF … … 3936 4052 done 3937 4053 4054 else 4055 case $host in 4056 *-linux*) 4057 cat >> confdefs.h <<\EOF 4058 #define HAVE_PROC_SELF_EXE 1 4059 EOF 4060 4061 ;; 4062 esac 4063 fi 3938 4064 3939 4065 … … 3953 4079 3954 4080 echo $ac_n "checking for iconv""... $ac_c" 1>&6 3955 echo "configure: 3956: checking for iconv" >&54081 echo "configure:4082: checking for iconv" >&5 3956 4082 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then 3957 4083 echo $ac_n "(cached) $ac_c" 1>&6 … … 3961 4087 am_cv_lib_iconv=no 3962 4088 cat > conftest.$ac_ext <<EOF 3963 #line 3964"configure"4089 #line 4090 "configure" 3964 4090 #include "confdefs.h" 3965 4091 #include <stdlib.h> … … 3971 4097 ; return 0; } 3972 4098 EOF 3973 if { (eval echo configure: 3974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4099 if { (eval echo configure:4100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3974 4100 rm -rf conftest* 3975 4101 am_cv_func_iconv=yes … … 3983 4109 LIBS="$LIBS $am_cv_libiconv_ldpath -liconv" 3984 4110 cat > conftest.$ac_ext <<EOF 3985 #line 3986"configure"4111 #line 4112 "configure" 3986 4112 #include "confdefs.h" 3987 4113 #include <stdlib.h> … … 3993 4119 ; return 0; } 3994 4120 EOF 3995 if { (eval echo configure: 3996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4121 if { (eval echo configure:4122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3996 4122 rm -rf conftest* 3997 4123 am_cv_lib_iconv=yes … … 4014 4140 4015 4141 echo $ac_n "checking for iconv declaration""... $ac_c" 1>&6 4016 echo "configure:4 017: checking for iconv declaration" >&54142 echo "configure:4143: checking for iconv declaration" >&5 4017 4143 if eval "test \"`echo '$''{'am_cv_proto_iconv'+set}'`\" = set"; then 4018 4144 echo $ac_n "(cached) $ac_c" 1>&6 … … 4020 4146 4021 4147 cat > conftest.$ac_ext <<EOF 4022 #line 4 023"configure"4148 #line 4149 "configure" 4023 4149 #include "confdefs.h" 4024 4150 … … 4039 4165 ; return 0; } 4040 4166 EOF 4041 if { (eval echo configure:4 042: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4167 if { (eval echo configure:4168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4042 4168 rm -rf conftest* 4043 4169 am_cv_proto_iconv_arg1="" … … 4068 4194 if test $ac_cv_header_locale_h = yes; then 4069 4195 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 4070 echo "configure:4 071: checking for LC_MESSAGES" >&54196 echo "configure:4197: checking for LC_MESSAGES" >&5 4071 4197 if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then 4072 4198 echo $ac_n "(cached) $ac_c" 1>&6 4073 4199 else 4074 4200 cat > conftest.$ac_ext <<EOF 4075 #line 4 076"configure"4201 #line 4202 "configure" 4076 4202 #include "confdefs.h" 4077 4203 #include <locale.h> … … 4080 4206 ; return 0; } 4081 4207 EOF 4082 if { (eval echo configure:4 083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4208 if { (eval echo configure:4209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4083 4209 rm -rf conftest* 4084 4210 am_cv_val_LC_MESSAGES=yes … … 4101 4227 fi 4102 4228 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 4103 echo "configure:4 104: checking whether struct tm is in sys/time.h or time.h" >&54229 echo "configure:4230: checking whether struct tm is in sys/time.h or time.h" >&5 4104 4230 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 4105 4231 echo $ac_n "(cached) $ac_c" 1>&6 4106 4232 else 4107 4233 cat > conftest.$ac_ext <<EOF 4108 #line 4 109"configure"4234 #line 4235 "configure" 4109 4235 #include "confdefs.h" 4110 4236 #include <sys/types.h> … … 4114 4240 ; return 0; } 4115 4241 EOF 4116 if { (eval echo configure:4 117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4242 if { (eval echo configure:4243: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4117 4243 rm -rf conftest* 4118 4244 ac_cv_struct_tm=time.h … … 4135 4261 4136 4262 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 4137 echo "configure:4 138: checking for tm_zone in struct tm" >&54263 echo "configure:4264: checking for tm_zone in struct tm" >&5 4138 4264 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then 4139 4265 echo $ac_n "(cached) $ac_c" 1>&6 4140 4266 else 4141 4267 cat > conftest.$ac_ext <<EOF 4142 #line 4 143"configure"4268 #line 4269 "configure" 4143 4269 #include "confdefs.h" 4144 4270 #include <sys/types.h> … … 4148 4274 ; return 0; } 4149 4275 EOF 4150 if { (eval echo configure:4 151: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4276 if { (eval echo configure:4277: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4151 4277 rm -rf conftest* 4152 4278 ac_cv_struct_tm_zone=yes … … 4168 4294 else 4169 4295 echo $ac_n "checking for tzname""... $ac_c" 1>&6 4170 echo "configure:4 171: checking for tzname" >&54296 echo "configure:4297: checking for tzname" >&5 4171 4297 if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then 4172 4298 echo $ac_n "(cached) $ac_c" 1>&6 4173 4299 else 4174 4300 cat > conftest.$ac_ext <<EOF 4175 #line 4 176"configure"4301 #line 4302 "configure" 4176 4302 #include "confdefs.h" 4177 4303 #include <time.h> … … 4183 4309 ; return 0; } 4184 4310 EOF 4185 if { (eval echo configure:4 186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4311 if { (eval echo configure:4312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4186 4312 rm -rf conftest* 4187 4313 ac_cv_var_tzname=yes … … 4208 4334 do 4209 4335 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4210 echo "configure:4 211: checking for $ac_func" >&54336 echo "configure:4337: checking for $ac_func" >&5 4211 4337 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4212 4338 echo $ac_n "(cached) $ac_c" 1>&6 4213 4339 else 4214 4340 cat > conftest.$ac_ext <<EOF 4215 #line 4 216"configure"4341 #line 4342 "configure" 4216 4342 #include "confdefs.h" 4217 4343 /* System header to define __stub macros and hopefully few prototypes, … … 4236 4362 ; return 0; } 4237 4363 EOF 4238 if { (eval echo configure:4 239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4364 if { (eval echo configure:4365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4239 4365 rm -rf conftest* 4240 4366 eval "ac_cv_func_$ac_func=yes" … … 4263 4389 # Hopefully this check is robust enough. 4264 4390 cat > conftest.$ac_ext <<EOF 4265 #line 4 266"configure"4391 #line 4392 "configure" 4266 4392 #include "confdefs.h" 4267 4393 #include <netdb.h> … … 4283 4409 *) 4284 4410 echo $ac_n "checking whether gethostbyname_r declaration requires -D_REENTRANT""... $ac_c" 1>&6 4285 echo "configure:4 286: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&54411 echo "configure:4412: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&5 4286 4412 if eval "test \"`echo '$''{'libjava_cv_gethostbyname_r_needs_reentrant'+set}'`\" = set"; then 4287 4413 echo $ac_n "(cached) $ac_c" 1>&6 … … 4296 4422 4297 4423 cat > conftest.$ac_ext <<EOF 4298 #line 4 299"configure"4424 #line 4425 "configure" 4299 4425 #include "confdefs.h" 4300 4426 #include <netdb.h> … … 4303 4429 ; return 0; } 4304 4430 EOF 4305 if { (eval echo configure:4 306: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4431 if { (eval echo configure:4432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4306 4432 rm -rf conftest* 4307 4433 libjava_cv_gethostbyname_r_needs_reentrant=no … … 4313 4439 CPPFLAGS="$CPPFLAGS -D_REENTRANT" 4314 4440 cat > conftest.$ac_ext <<EOF 4315 #line 4 316"configure"4441 #line 4442 "configure" 4316 4442 #include "confdefs.h" 4317 4443 #include <netdb.h> … … 4320 4446 ; return 0; } 4321 4447 EOF 4322 if { (eval echo configure:4 323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4448 if { (eval echo configure:4449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4323 4449 rm -rf conftest* 4324 4450 libjava_cv_gethostbyname_r_needs_reentrant=yes … … 4355 4481 4356 4482 echo $ac_n "checking for struct hostent_data""... $ac_c" 1>&6 4357 echo "configure:4 358: checking for struct hostent_data" >&54483 echo "configure:4484: checking for struct hostent_data" >&5 4358 4484 if eval "test \"`echo '$''{'libjava_cv_struct_hostent_data'+set}'`\" = set"; then 4359 4485 echo $ac_n "(cached) $ac_c" 1>&6 4360 4486 else 4361 4487 cat > conftest.$ac_ext <<EOF 4362 #line 4 363"configure"4488 #line 4489 "configure" 4363 4489 #include "confdefs.h" 4364 4490 … … 4371 4497 ; return 0; } 4372 4498 EOF 4373 if { (eval echo configure:4 374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4499 if { (eval echo configure:4500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4374 4500 rm -rf conftest* 4375 4501 libjava_cv_struct_hostent_data=yes … … 4403 4529 # linkage check is enough, yet C++ code requires proper prototypes.) 4404 4530 cat > conftest.$ac_ext <<EOF 4405 #line 4 406"configure"4531 #line 4532 "configure" 4406 4532 #include "confdefs.h" 4407 4533 #include <netdb.h> … … 4414 4540 do 4415 4541 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4416 echo "configure:4 417: checking for $ac_func" >&54542 echo "configure:4543: checking for $ac_func" >&5 4417 4543 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4418 4544 echo $ac_n "(cached) $ac_c" 1>&6 4419 4545 else 4420 4546 cat > conftest.$ac_ext <<EOF 4421 #line 4 422"configure"4547 #line 4548 "configure" 4422 4548 #include "confdefs.h" 4423 4549 /* System header to define __stub macros and hopefully few prototypes, … … 4442 4568 ; return 0; } 4443 4569 EOF 4444 if { (eval echo configure:4 445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4570 if { (eval echo configure:4571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4445 4571 rm -rf conftest* 4446 4572 eval "ac_cv_func_$ac_func=yes" … … 4469 4595 # Hopefully this check is robust enough. 4470 4596 cat > conftest.$ac_ext <<EOF 4471 #line 4 472"configure"4597 #line 4598 "configure" 4472 4598 #include "confdefs.h" 4473 4599 #include <netdb.h> … … 4496 4622 do 4497 4623 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4498 echo "configure:4 499: checking for $ac_func" >&54624 echo "configure:4625: checking for $ac_func" >&5 4499 4625 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4500 4626 echo $ac_n "(cached) $ac_c" 1>&6 4501 4627 else 4502 4628 cat > conftest.$ac_ext <<EOF 4503 #line 4 504"configure"4629 #line 4630 "configure" 4504 4630 #include "confdefs.h" 4505 4631 /* System header to define __stub macros and hopefully few prototypes, … … 4524 4650 ; return 0; } 4525 4651 EOF 4526 if { (eval echo configure:4 527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4652 if { (eval echo configure:4653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4527 4653 rm -rf conftest* 4528 4654 eval "ac_cv_func_$ac_func=yes" … … 4548 4674 4549 4675 cat > conftest.$ac_ext <<EOF 4550 #line 4 551"configure"4676 #line 4677 "configure" 4551 4677 #include "confdefs.h" 4552 4678 #include <unistd.h> … … 4579 4705 do 4580 4706 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4581 echo "configure:4 582: checking for $ac_func" >&54707 echo "configure:4708: checking for $ac_func" >&5 4582 4708 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4583 4709 echo $ac_n "(cached) $ac_c" 1>&6 4584 4710 else 4585 4711 cat > conftest.$ac_ext <<EOF 4586 #line 4 587"configure"4712 #line 4713 "configure" 4587 4713 #include "confdefs.h" 4588 4714 /* System header to define __stub macros and hopefully few prototypes, … … 4607 4733 ; return 0; } 4608 4734 EOF 4609 if { (eval echo configure:4 610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4735 if { (eval echo configure:4736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4610 4736 rm -rf conftest* 4611 4737 eval "ac_cv_func_$ac_func=yes" … … 4637 4763 do 4638 4764 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4639 echo "configure:4 640: checking for $ac_func" >&54765 echo "configure:4766: checking for $ac_func" >&5 4640 4766 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4641 4767 echo $ac_n "(cached) $ac_c" 1>&6 4642 4768 else 4643 4769 cat > conftest.$ac_ext <<EOF 4644 #line 4 645"configure"4770 #line 4771 "configure" 4645 4771 #include "confdefs.h" 4646 4772 /* System header to define __stub macros and hopefully few prototypes, … … 4665 4791 ; return 0; } 4666 4792 EOF 4667 if { (eval echo configure:4 668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4793 if { (eval echo configure:4794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4668 4794 rm -rf conftest* 4669 4795 eval "ac_cv_func_$ac_func=yes" … … 4687 4813 echo "$ac_t""no" 1>&6 4688 4814 echo $ac_n "checking for sched_yield in -lrt""... $ac_c" 1>&6 4689 echo "configure:4 690: checking for sched_yield in -lrt" >&54815 echo "configure:4816: checking for sched_yield in -lrt" >&5 4690 4816 ac_lib_var=`echo rt'_'sched_yield | sed 'y%./+-%__p_%'` 4691 4817 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4695 4821 LIBS="-lrt $LIBS" 4696 4822 cat > conftest.$ac_ext <<EOF 4697 #line 4 698"configure"4823 #line 4824 "configure" 4698 4824 #include "confdefs.h" 4699 4825 /* Override any gcc2 internal prototype to avoid an error. */ … … 4706 4832 ; return 0; } 4707 4833 EOF 4708 if { (eval echo configure:4 709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4834 if { (eval echo configure:4835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4709 4835 rm -rf conftest* 4710 4836 eval "ac_cv_lib_$ac_lib_var=yes" … … 4732 4858 4733 4859 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6 4734 echo "configure:4 735: checking for sched_yield in -lposix4" >&54860 echo "configure:4861: checking for sched_yield in -lposix4" >&5 4735 4861 ac_lib_var=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'` 4736 4862 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4740 4866 LIBS="-lposix4 $LIBS" 4741 4867 cat > conftest.$ac_ext <<EOF 4742 #line 4 743"configure"4868 #line 4869 "configure" 4743 4869 #include "confdefs.h" 4744 4870 /* Override any gcc2 internal prototype to avoid an error. */ … … 4751 4877 ; return 0; } 4752 4878 EOF 4753 if { (eval echo configure:4 754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4879 if { (eval echo configure:4880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4754 4880 rm -rf conftest* 4755 4881 eval "ac_cv_lib_$ac_lib_var=yes" … … 4787 4913 # or __m_count. This is a nice hack for Linux. 4788 4914 cat > conftest.$ac_ext <<EOF 4789 #line 4 790"configure"4915 #line 4916 "configure" 4790 4916 #include "confdefs.h" 4791 4917 #include <pthread.h> … … 4796 4922 ; return 0; } 4797 4923 EOF 4798 if { (eval echo configure:4 799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4924 if { (eval echo configure:4925: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4799 4925 rm -rf conftest* 4800 4926 cat >> confdefs.h <<\EOF … … 4808 4934 4809 4935 cat > conftest.$ac_ext <<EOF 4810 #line 4 811"configure"4936 #line 4937 "configure" 4811 4937 #include "confdefs.h" 4812 4938 #include <pthread.h> … … 4817 4943 ; return 0; } 4818 4944 EOF 4819 if { (eval echo configure:4 820: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4945 if { (eval echo configure:4946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4820 4946 rm -rf conftest* 4821 4947 cat >> confdefs.h <<\EOF … … 4837 4963 do 4838 4964 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4839 echo "configure:4 840: checking for $ac_func" >&54965 echo "configure:4966: checking for $ac_func" >&5 4840 4966 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4841 4967 echo $ac_n "(cached) $ac_c" 1>&6 4842 4968 else 4843 4969 cat > conftest.$ac_ext <<EOF 4844 #line 4 845"configure"4970 #line 4971 "configure" 4845 4971 #include "confdefs.h" 4846 4972 /* System header to define __stub macros and hopefully few prototypes, … … 4865 4991 ; return 0; } 4866 4992 EOF 4867 if { (eval echo configure:4 868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4993 if { (eval echo configure:4994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4868 4994 rm -rf conftest* 4869 4995 eval "ac_cv_func_$ac_func=yes" … … 4896 5022 do 4897 5023 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4898 echo "configure: 4899: checking for $ac_func" >&55024 echo "configure:5025: checking for $ac_func" >&5 4899 5025 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4900 5026 echo $ac_n "(cached) $ac_c" 1>&6 4901 5027 else 4902 5028 cat > conftest.$ac_ext <<EOF 4903 #line 4904"configure"5029 #line 5030 "configure" 4904 5030 #include "confdefs.h" 4905 5031 /* System header to define __stub macros and hopefully few prototypes, … … 4924 5050 ; return 0; } 4925 5051 EOF 4926 if { (eval echo configure: 4927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5052 if { (eval echo configure:5053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4927 5053 rm -rf conftest* 4928 5054 eval "ac_cv_func_$ac_func=yes" … … 4954 5080 do 4955 5081 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4956 echo "configure: 4957: checking for $ac_func" >&55082 echo "configure:5083: checking for $ac_func" >&5 4957 5083 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4958 5084 echo $ac_n "(cached) $ac_c" 1>&6 4959 5085 else 4960 5086 cat > conftest.$ac_ext <<EOF 4961 #line 4962"configure"5087 #line 5088 "configure" 4962 5088 #include "confdefs.h" 4963 5089 /* System header to define __stub macros and hopefully few prototypes, … … 4982 5108 ; return 0; } 4983 5109 EOF 4984 if { (eval echo configure: 4985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5110 if { (eval echo configure:5111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4985 5111 rm -rf conftest* 4986 5112 eval "ac_cv_func_$ac_func=yes" … … 5011 5137 5012 5138 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 5013 echo "configure:5 014: checking for dlopen in -ldl" >&55139 echo "configure:5140: checking for dlopen in -ldl" >&5 5014 5140 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` 5015 5141 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 5019 5145 LIBS="-ldl $LIBS" 5020 5146 cat > conftest.$ac_ext <<EOF 5021 #line 5 022"configure"5147 #line 5148 "configure" 5022 5148 #include "confdefs.h" 5023 5149 /* Override any gcc2 internal prototype to avoid an error. */ … … 5030 5156 ; return 0; } 5031 5157 EOF 5032 if { (eval echo configure:5 033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5158 if { (eval echo configure:5159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5033 5159 rm -rf conftest* 5034 5160 eval "ac_cv_lib_$ac_lib_var=yes" … … 5075 5201 5076 5202 echo $ac_n "checking for socket libraries""... $ac_c" 1>&6 5077 echo "configure:5 078: checking for socket libraries" >&55203 echo "configure:5204: checking for socket libraries" >&5 5078 5204 if eval "test \"`echo '$''{'gcj_cv_lib_sockets'+set}'`\" = set"; then 5079 5205 echo $ac_n "(cached) $ac_c" 1>&6 … … 5083 5209 unset ac_cv_func_connect 5084 5210 echo $ac_n "checking for connect""... $ac_c" 1>&6 5085 echo "configure:5 086: checking for connect" >&55211 echo "configure:5212: checking for connect" >&5 5086 5212 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then 5087 5213 echo $ac_n "(cached) $ac_c" 1>&6 5088 5214 else 5089 5215 cat > conftest.$ac_ext <<EOF 5090 #line 5 091"configure"5216 #line 5217 "configure" 5091 5217 #include "confdefs.h" 5092 5218 /* System header to define __stub macros and hopefully few prototypes, … … 5111 5237 ; return 0; } 5112 5238 EOF 5113 if { (eval echo configure:5 114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5239 if { (eval echo configure:5240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5114 5240 rm -rf conftest* 5115 5241 eval "ac_cv_func_connect=yes" … … 5134 5260 unset ac_cv_func_connect 5135 5261 echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 5136 echo "configure:5 137: checking for main in -lsocket" >&55262 echo "configure:5263: checking for main in -lsocket" >&5 5137 5263 ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` 5138 5264 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 5142 5268 LIBS="-lsocket $LIBS" 5143 5269 cat > conftest.$ac_ext <<EOF 5144 #line 5 145"configure"5270 #line 5271 "configure" 5145 5271 #include "confdefs.h" 5146 5272 … … 5149 5275 ; return 0; } 5150 5276 EOF 5151 if { (eval echo configure:5 152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5277 if { (eval echo configure:5278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5152 5278 rm -rf conftest* 5153 5279 eval "ac_cv_lib_$ac_lib_var=yes" … … 5176 5302 unset ac_cv_func_accept 5177 5303 echo $ac_n "checking for accept""... $ac_c" 1>&6 5178 echo "configure:5 179: checking for accept" >&55304 echo "configure:5305: checking for accept" >&5 5179 5305 if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then 5180 5306 echo $ac_n "(cached) $ac_c" 1>&6 5181 5307 else 5182 5308 cat > conftest.$ac_ext <<EOF 5183 #line 5 184"configure"5309 #line 5310 "configure" 5184 5310 #include "confdefs.h" 5185 5311 /* System header to define __stub macros and hopefully few prototypes, … … 5204 5330 ; return 0; } 5205 5331 EOF 5206 if { (eval echo configure:5 207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5332 if { (eval echo configure:5333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5207 5333 rm -rf conftest* 5208 5334 eval "ac_cv_func_accept=yes" … … 5231 5357 LIBS="$LIBS $gcj_cv_lib_sockets" 5232 5358 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 5233 echo "configure:5 234: checking for gethostbyname" >&55359 echo "configure:5360: checking for gethostbyname" >&5 5234 5360 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then 5235 5361 echo $ac_n "(cached) $ac_c" 1>&6 5236 5362 else 5237 5363 cat > conftest.$ac_ext <<EOF 5238 #line 5 239"configure"5364 #line 5365 "configure" 5239 5365 #include "confdefs.h" 5240 5366 /* System header to define __stub macros and hopefully few prototypes, … … 5259 5385 ; return 0; } 5260 5386 EOF 5261 if { (eval echo configure:5 262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5387 if { (eval echo configure:5388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5262 5388 rm -rf conftest* 5263 5389 eval "ac_cv_func_gethostbyname=yes" … … 5277 5403 echo "$ac_t""no" 1>&6 5278 5404 echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 5279 echo "configure:5 280: checking for main in -lnsl" >&55405 echo "configure:5406: checking for main in -lnsl" >&5 5280 5406 ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` 5281 5407 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 5285 5411 LIBS="-lnsl $LIBS" 5286 5412 cat > conftest.$ac_ext <<EOF 5287 #line 5 288"configure"5413 #line 5414 "configure" 5288 5414 #include "confdefs.h" 5289 5415 … … 5292 5418 ; return 0; } 5293 5419 EOF 5294 if { (eval echo configure:5 295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5420 if { (eval echo configure:5421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5295 5421 rm -rf conftest* 5296 5422 eval "ac_cv_lib_$ac_lib_var=yes" … … 5324 5450 if test "$with_system_zlib" = yes; then 5325 5451 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6 5326 echo "configure:5 327: checking for deflate in -lz" >&55452 echo "configure:5453: checking for deflate in -lz" >&5 5327 5453 ac_lib_var=`echo z'_'deflate | sed 'y%./+-%__p_%'` 5328 5454 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 5332 5458 LIBS="-lz $LIBS" 5333 5459 cat > conftest.$ac_ext <<EOF 5334 #line 5 335"configure"5460 #line 5461 "configure" 5335 5461 #include "confdefs.h" 5336 5462 /* Override any gcc2 internal prototype to avoid an error. */ … … 5343 5469 ; return 0; } 5344 5470 EOF 5345 if { (eval echo configure:5 346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5471 if { (eval echo configure:5472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5346 5472 rm -rf conftest* 5347 5473 eval "ac_cv_lib_$ac_lib_var=yes" … … 5370 5496 if test "$GC" = boehm; then 5371 5497 echo $ac_n "checking for main in -ldl""... $ac_c" 1>&6 5372 echo "configure:5 373: checking for main in -ldl" >&55498 echo "configure:5499: checking for main in -ldl" >&5 5373 5499 ac_lib_var=`echo dl'_'main | sed 'y%./+-%__p_%'` 5374 5500 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 5378 5504 LIBS="-ldl $LIBS" 5379 5505 cat > conftest.$ac_ext <<EOF 5380 #line 5 381"configure"5506 #line 5507 "configure" 5381 5507 #include "confdefs.h" 5382 5508 … … 5385 5511 ; return 0; } 5386 5512 EOF 5387 if { (eval echo configure:5 388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5513 if { (eval echo configure:5514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5388 5514 rm -rf conftest* 5389 5515 eval "ac_cv_lib_$ac_lib_var=yes" … … 5415 5541 fi 5416 5542 if test -x "${builddotdot}/../../gcc/gcj"; then 5417 dir="`cd ${builddotdot}/../../gcc && pwd`"5418 GCJ="$dir/gcj -B` pwd`/ -B$dir/"5543 dir="`cd ${builddotdot}/../../gcc && ${PWDCMD-pwd}`" 5544 GCJ="$dir/gcj -B`${PWDCMD-pwd}`/ -B$dir/" 5419 5545 else 5420 5546 CANADIAN=yes 5421 5547 NULL_TARGET=yes 5422 GCJ="gcj -B` pwd`/"5548 GCJ="gcj -B`${PWDCMD-pwd}`/" 5423 5549 fi 5424 5550 fi … … 5430 5556 # have libgcj.jar nor java/lang/*.class 5431 5557 GCJ_SAVE_CPPFLAGS=$CPPFLAGS 5432 CPPFLAGS="$CPPFLAGS -I` pwd` -I`cd $srcdir && pwd`"5558 CPPFLAGS="$CPPFLAGS -I`${PWDCMD-pwd}` -I`cd $srcdir && ${PWDCMD-pwd}`" 5433 5559 5434 5560 # Since some classes depend on this one, we need its source available … … 5451 5577 set dummy ${ac_tool_prefix}gcj; ac_word=$2 5452 5578 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 5453 echo "configure:5 454: checking for $ac_word" >&55579 echo "configure:5580: checking for $ac_word" >&5 5454 5580 if eval "test \"`echo '$''{'ac_cv_prog_GCJ'+set}'`\" = set"; then 5455 5581 echo $ac_n "(cached) $ac_c" 1>&6 … … 5483 5609 set dummy gcj; ac_word=$2 5484 5610 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 5485 echo "configure:5 486: checking for $ac_word" >&55611 echo "configure:5612: checking for $ac_word" >&5 5486 5612 if eval "test \"`echo '$''{'ac_cv_prog_GCJ'+set}'`\" = set"; then 5487 5613 echo $ac_n "(cached) $ac_c" 1>&6 … … 5545 5671 5546 5672 echo $ac_n "checking size of void *""... $ac_c" 1>&6 5547 echo "configure:5 548: checking size of void *" >&55673 echo "configure:5674: checking size of void *" >&5 5548 5674 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then 5549 5675 echo $ac_n "(cached) $ac_c" 1>&6 … … 5551 5677 for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence. 5552 5678 cat > conftest.$ac_ext <<EOF 5553 #line 5 554"configure"5679 #line 5680 "configure" 5554 5680 #include "confdefs.h" 5555 5681 #include "confdefs.h" … … 5561 5687 ; return 0; } 5562 5688 EOF 5563 if { (eval echo configure:5 564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5689 if { (eval echo configure:5690: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5564 5690 rm -rf conftest* 5565 5691 ac_cv_sizeof_void_p=$ac_size … … 5605 5731 5606 5732 5733 5607 5734 if test "$CANADIAN" = yes; then 5608 5735 CANADIAN_TRUE= … … 5654 5781 5655 5782 5656 5657 5658 5783 # Determine gcj version number. 5659 5784 … … 5668 5793 5669 5794 echo $ac_n "checking for g++ -ffloat-store bug""... $ac_c" 1>&6 5670 echo "configure:5 671: checking for g++ -ffloat-store bug" >&55795 echo "configure:5796: checking for g++ -ffloat-store bug" >&5 5671 5796 save_CFLAGS="$CFLAGS" 5672 5797 CFLAGS="-x c++ -O2 -ffloat-store" 5673 5798 cat > conftest.$ac_ext <<EOF 5674 #line 5 675"configure"5799 #line 5800 "configure" 5675 5800 #include "confdefs.h" 5676 5801 #include <math.h> … … 5679 5804 ; return 0; } 5680 5805 EOF 5681 if { (eval echo configure:5 682: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5806 if { (eval echo configure:5807: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5682 5807 rm -rf conftest* 5683 5808 echo "$ac_t""no" 1>&6 … … 5695 5820 CFLAGS="$save_CFLAGS" 5696 5821 5697 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.h5822 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 5698 5823 do 5699 5824 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5700 5825 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5701 echo "configure:5 702: checking for $ac_hdr" >&55826 echo "configure:5827: checking for $ac_hdr" >&5 5702 5827 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5703 5828 echo $ac_n "(cached) $ac_c" 1>&6 5704 5829 else 5705 5830 cat > conftest.$ac_ext <<EOF 5706 #line 5 707"configure"5831 #line 5832 "configure" 5707 5832 #include "confdefs.h" 5708 5833 #include <$ac_hdr> 5709 5834 EOF 5710 5835 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5711 { (eval echo configure:5 712: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }5836 { (eval echo configure:5837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5712 5837 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5713 5838 if test -z "$ac_err"; then … … 5739 5864 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5740 5865 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5741 echo "configure:5 742: checking for $ac_hdr" >&55866 echo "configure:5867: checking for $ac_hdr" >&5 5742 5867 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5743 5868 echo $ac_n "(cached) $ac_c" 1>&6 5744 5869 else 5745 5870 cat > conftest.$ac_ext <<EOF 5746 #line 5 747"configure"5871 #line 5872 "configure" 5747 5872 #include "confdefs.h" 5748 5873 #include <$ac_hdr> 5749 5874 EOF 5750 5875 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5751 { (eval echo configure:5 752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }5876 { (eval echo configure:5877: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5752 5877 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5753 5878 if test -z "$ac_err"; then … … 5779 5904 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5780 5905 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5781 echo "configure:5 782: checking for $ac_hdr" >&55906 echo "configure:5907: checking for $ac_hdr" >&5 5782 5907 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5783 5908 echo $ac_n "(cached) $ac_c" 1>&6 5784 5909 else 5785 5910 cat > conftest.$ac_ext <<EOF 5786 #line 5 787"configure"5911 #line 5912 "configure" 5787 5912 #include "confdefs.h" 5788 5913 #include <$ac_hdr> 5789 5914 EOF 5790 5915 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5791 { (eval echo configure:5 792: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }5916 { (eval echo configure:5917: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5792 5917 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5793 5918 if test -z "$ac_err"; then … … 5825 5950 5826 5951 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 5827 echo "configure:5 828: checking for sys/wait.h that is POSIX.1 compatible" >&55952 echo "configure:5953: checking for sys/wait.h that is POSIX.1 compatible" >&5 5828 5953 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then 5829 5954 echo $ac_n "(cached) $ac_c" 1>&6 5830 5955 else 5831 5956 cat > conftest.$ac_ext <<EOF 5832 #line 5 833"configure"5957 #line 5958 "configure" 5833 5958 #include "confdefs.h" 5834 5959 #include <sys/types.h> … … 5846 5971 ; return 0; } 5847 5972 EOF 5848 if { (eval echo configure:5 849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5973 if { (eval echo configure:5974: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5849 5974 rm -rf conftest* 5850 5975 ac_cv_header_sys_wait_h=yes … … 5868 5993 5869 5994 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 5870 echo "configure:5 871: checking for ANSI C header files" >&55995 echo "configure:5996: checking for ANSI C header files" >&5 5871 5996 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 5872 5997 echo $ac_n "(cached) $ac_c" 1>&6 5873 5998 else 5874 5999 cat > conftest.$ac_ext <<EOF 5875 #line 5876"configure"6000 #line 6001 "configure" 5876 6001 #include "confdefs.h" 5877 6002 #include <stdlib.h> … … 5881 6006 EOF 5882 6007 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5883 { (eval echo configure: 5884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }6008 { (eval echo configure:6009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5884 6009 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5885 6010 if test -z "$ac_err"; then … … 5898 6023 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 5899 6024 cat > conftest.$ac_ext <<EOF 5900 #line 5901"configure"6025 #line 6026 "configure" 5901 6026 #include "confdefs.h" 5902 6027 #include <string.h> … … 5916 6041 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 5917 6042 cat > conftest.$ac_ext <<EOF 5918 #line 5919"configure"6043 #line 6044 "configure" 5919 6044 #include "confdefs.h" 5920 6045 #include <stdlib.h> … … 5937 6062 else 5938 6063 cat > conftest.$ac_ext <<EOF 5939 #line 5940"configure"6064 #line 6065 "configure" 5940 6065 #include "confdefs.h" 5941 6066 #include <ctype.h> … … 5948 6073 5949 6074 EOF 5950 if { (eval echo configure: 5951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null6075 if { (eval echo configure:6076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5951 6076 then 5952 6077 : … … 5972 6097 5973 6098 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 5974 echo "configure: 5975: checking for ssize_t" >&56099 echo "configure:6100: checking for ssize_t" >&5 5975 6100 if eval "test \"`echo '$''{'ac_cv_type_ssize_t'+set}'`\" = set"; then 5976 6101 echo $ac_n "(cached) $ac_c" 1>&6 5977 6102 else 5978 6103 cat > conftest.$ac_ext <<EOF 5979 #line 5980"configure"6104 #line 6105 "configure" 5980 6105 #include "confdefs.h" 5981 6106 #include <sys/types.h> … … 6006 6131 6007 6132 echo $ac_n "checking for in_addr_t""... $ac_c" 1>&6 6008 echo "configure:6 009: checking for in_addr_t" >&56133 echo "configure:6134: checking for in_addr_t" >&5 6009 6134 cat > conftest.$ac_ext <<EOF 6010 #line 6 011"configure"6135 #line 6136 "configure" 6011 6136 #include "confdefs.h" 6012 6137 #include <sys/types.h> … … 6022 6147 ; return 0; } 6023 6148 EOF 6024 if { (eval echo configure:6 025: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then6149 if { (eval echo configure:6150: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6025 6150 rm -rf conftest* 6026 6151 cat >> confdefs.h <<\EOF … … 6038 6163 6039 6164 echo $ac_n "checking whether struct ip_mreq is in netinet/in.h""... $ac_c" 1>&6 6040 echo "configure:6 041: checking whether struct ip_mreq is in netinet/in.h" >&56165 echo "configure:6166: checking whether struct ip_mreq is in netinet/in.h" >&5 6041 6166 cat > conftest.$ac_ext <<EOF 6042 #line 6 043"configure"6167 #line 6168 "configure" 6043 6168 #include "confdefs.h" 6044 6169 #include <netinet/in.h> … … 6047 6172 ; return 0; } 6048 6173 EOF 6049 if { (eval echo configure:6 050: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then6174 if { (eval echo configure:6175: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6050 6175 rm -rf conftest* 6051 6176 cat >> confdefs.h <<\EOF … … 6063 6188 6064 6189 echo $ac_n "checking whether struct ipv6_mreq is in netinet/in.h""... $ac_c" 1>&6 6065 echo "configure:6 066: checking whether struct ipv6_mreq is in netinet/in.h" >&56190 echo "configure:6191: checking whether struct ipv6_mreq is in netinet/in.h" >&5 6066 6191 cat > conftest.$ac_ext <<EOF 6067 #line 6 068"configure"6192 #line 6193 "configure" 6068 6193 #include "confdefs.h" 6069 6194 #include <netinet/in.h> … … 6072 6197 ; return 0; } 6073 6198 EOF 6074 if { (eval echo configure:6 075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then6199 if { (eval echo configure:6200: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6075 6200 rm -rf conftest* 6076 6201 cat >> confdefs.h <<\EOF … … 6088 6213 6089 6214 echo $ac_n "checking whether struct sockaddr_in6 is in netinet/in.h""... $ac_c" 1>&6 6090 echo "configure:6 091: checking whether struct sockaddr_in6 is in netinet/in.h" >&56215 echo "configure:6216: checking whether struct sockaddr_in6 is in netinet/in.h" >&5 6091 6216 cat > conftest.$ac_ext <<EOF 6092 #line 6 093"configure"6217 #line 6218 "configure" 6093 6218 #include "confdefs.h" 6094 6219 #include <netinet/in.h> … … 6097 6222 ; return 0; } 6098 6223 EOF 6099 if { (eval echo configure:6 100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then6224 if { (eval echo configure:6225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6100 6225 rm -rf conftest* 6101 6226 cat >> confdefs.h <<\EOF … … 6113 6238 6114 6239 echo $ac_n "checking for socklen_t in sys/socket.h""... $ac_c" 1>&6 6115 echo "configure:6 116: checking for socklen_t in sys/socket.h" >&56240 echo "configure:6241: checking for socklen_t in sys/socket.h" >&5 6116 6241 cat > conftest.$ac_ext <<EOF 6117 #line 6 118"configure"6242 #line 6243 "configure" 6118 6243 #include "confdefs.h" 6119 6244 #define _POSIX_PII_SOCKET … … 6124 6249 ; return 0; } 6125 6250 EOF 6126 if { (eval echo configure:6 127: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then6251 if { (eval echo configure:6252: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6127 6252 rm -rf conftest* 6128 6253 cat >> confdefs.h <<\EOF … … 6140 6265 6141 6266 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 6142 echo "configure:6 143: checking for tm_gmtoff in struct tm" >&56267 echo "configure:6268: checking for tm_gmtoff in struct tm" >&5 6143 6268 cat > conftest.$ac_ext <<EOF 6144 #line 6 145"configure"6269 #line 6270 "configure" 6145 6270 #include "confdefs.h" 6146 6271 #include <time.h> … … 6149 6274 ; return 0; } 6150 6275 EOF 6151 if { (eval echo configure:6 152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then6276 if { (eval echo configure:6277: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6152 6277 rm -rf conftest* 6153 6278 cat >> confdefs.h <<\EOF … … 6162 6287 echo "$ac_t""no" 1>&6 6163 6288 echo $ac_n "checking for global timezone variable""... $ac_c" 1>&6 6164 echo "configure:6 165: checking for global timezone variable" >&56165 cat > conftest.$ac_ext <<EOF6166 #line 6 167"configure"6289 echo "configure:6290: checking for global timezone variable" >&5 6290 cat > conftest.$ac_ext <<EOF 6291 #line 6292 "configure" 6167 6292 #include "confdefs.h" 6168 6293 #include <time.h> 6169 6294 int main() { 6170 long z2 = timezone; 6295 void i(){long z2 = 2*timezone;} 6171 6296 ; return 0; } 6172 6297 EOF 6173 if { (eval echo configure:6 174: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then6298 if { (eval echo configure:6299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6174 6299 rm -rf conftest* 6175 6300 cat >> confdefs.h <<\EOF … … 6183 6308 rm -rf conftest* 6184 6309 echo "$ac_t""no" 1>&6 6310 echo $ac_n "checking for global _timezone variable""... $ac_c" 1>&6 6311 echo "configure:6312: checking for global _timezone variable" >&5 6312 cat > conftest.$ac_ext <<EOF 6313 #line 6314 "configure" 6314 #include "confdefs.h" 6315 #include <time.h> 6316 int main() { 6317 long z2 = _timezone; 6318 ; return 0; } 6319 EOF 6320 if { (eval echo configure:6321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6321 rm -rf conftest* 6322 cat >> confdefs.h <<\EOF 6323 #define HAVE_UNDERSCORE_TIMEZONE 1 6324 EOF 6325 6326 echo "$ac_t""yes" 1>&6 6327 else 6328 echo "configure: failed program was:" >&5 6329 cat conftest.$ac_ext >&5 6330 rm -rf conftest* 6331 echo "$ac_t""no" 1>&6 6332 fi 6333 rm -f conftest* 6185 6334 fi 6186 6335 rm -f conftest* … … 6191 6340 # for constant arguments. Useless! 6192 6341 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 6193 echo "configure:6 194: checking for working alloca.h" >&56342 echo "configure:6343: checking for working alloca.h" >&5 6194 6343 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 6195 6344 echo $ac_n "(cached) $ac_c" 1>&6 6196 6345 else 6197 6346 cat > conftest.$ac_ext <<EOF 6198 #line 6 199"configure"6347 #line 6348 "configure" 6199 6348 #include "confdefs.h" 6200 6349 #include <alloca.h> … … 6203 6352 ; return 0; } 6204 6353 EOF 6205 if { (eval echo configure:6 206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6354 if { (eval echo configure:6355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6206 6355 rm -rf conftest* 6207 6356 ac_cv_header_alloca_h=yes … … 6224 6373 6225 6374 echo $ac_n "checking for alloca""... $ac_c" 1>&6 6226 echo "configure:6 227: checking for alloca" >&56375 echo "configure:6376: checking for alloca" >&5 6227 6376 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 6228 6377 echo $ac_n "(cached) $ac_c" 1>&6 6229 6378 else 6230 6379 cat > conftest.$ac_ext <<EOF 6231 #line 6 232"configure"6380 #line 6381 "configure" 6232 6381 #include "confdefs.h" 6233 6382 … … 6257 6406 ; return 0; } 6258 6407 EOF 6259 if { (eval echo configure:6 260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6408 if { (eval echo configure:6409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6260 6409 rm -rf conftest* 6261 6410 ac_cv_func_alloca_works=yes … … 6289 6438 6290 6439 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 6291 echo "configure:6 292: checking whether alloca needs Cray hooks" >&56440 echo "configure:6441: checking whether alloca needs Cray hooks" >&5 6292 6441 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 6293 6442 echo $ac_n "(cached) $ac_c" 1>&6 6294 6443 else 6295 6444 cat > conftest.$ac_ext <<EOF 6296 #line 6 297"configure"6445 #line 6446 "configure" 6297 6446 #include "confdefs.h" 6298 6447 #if defined(CRAY) && ! defined(CRAY2) … … 6319 6468 for ac_func in _getb67 GETB67 getb67; do 6320 6469 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6321 echo "configure:6 322: checking for $ac_func" >&56470 echo "configure:6471: checking for $ac_func" >&5 6322 6471 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6323 6472 echo $ac_n "(cached) $ac_c" 1>&6 6324 6473 else 6325 6474 cat > conftest.$ac_ext <<EOF 6326 #line 6 327"configure"6475 #line 6476 "configure" 6327 6476 #include "confdefs.h" 6328 6477 /* System header to define __stub macros and hopefully few prototypes, … … 6347 6496 ; return 0; } 6348 6497 EOF 6349 if { (eval echo configure:6 350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6498 if { (eval echo configure:6499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6350 6499 rm -rf conftest* 6351 6500 eval "ac_cv_func_$ac_func=yes" … … 6374 6523 6375 6524 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 6376 echo "configure:6 377: checking stack direction for C alloca" >&56525 echo "configure:6526: checking stack direction for C alloca" >&5 6377 6526 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 6378 6527 echo $ac_n "(cached) $ac_c" 1>&6 … … 6382 6531 else 6383 6532 cat > conftest.$ac_ext <<EOF 6384 #line 6 385"configure"6533 #line 6534 "configure" 6385 6534 #include "confdefs.h" 6386 6535 find_stack_direction () … … 6401 6550 } 6402 6551 EOF 6403 if { (eval echo configure:6 404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null6552 if { (eval echo configure:6553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 6404 6553 then 6405 6554 ac_cv_c_stack_direction=1 … … 6428 6577 set dummy $ac_prog; ac_word=$2 6429 6578 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 6430 echo "configure:6 431: checking for $ac_word" >&56579 echo "configure:6580: checking for $ac_word" >&5 6431 6580 if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then 6432 6581 echo $ac_n "(cached) $ac_c" 1>&6 … … 6476 6625 ;; 6477 6626 powerpc-*-linux*) 6478 SIGNAL_HANDLER=include/ dwarf2-signal.h6627 SIGNAL_HANDLER=include/powerpc-signal.h 6479 6628 ;; 6480 6629 alpha*-*-linux*) 6481 6630 SIGNAL_HANDLER=include/dwarf2-signal.h 6631 ;; 6632 s390*-*-linux*) 6633 SIGNAL_HANDLER=include/s390-signal.h 6634 ;; 6635 x86_64*-*-linux*) 6636 SIGNAL_HANDLER=include/x86_64-signal.h 6482 6637 ;; 6483 6638 sparc*-*-linux*) … … 6497 6652 fi 6498 6653 6654 # Define here any compiler flags that you need in order to make backtrace() work. 6655 BACKTRACESPEC= 6656 case "${host}" in 6657 x86_64*-*-linux*) 6658 BACKTRACESPEC=-fno-omit-frame-pointer 6659 ;; 6660 esac 6661 6662 6499 6663 6500 6664 … … 6512 6676 # --without-x overrides everything else, but does not touch the cache. 6513 6677 echo $ac_n "checking for X""... $ac_c" 1>&6 6514 echo "configure:6 515: checking for X" >&56678 echo "configure:6679: checking for X" >&5 6515 6679 6516 6680 # Check whether --with-x or --without-x was given. … … 6574 6738 # First, try using that file with no special directory specified. 6575 6739 cat > conftest.$ac_ext <<EOF 6576 #line 6 577"configure"6740 #line 6741 "configure" 6577 6741 #include "confdefs.h" 6578 6742 #include <$x_direct_test_include> 6579 6743 EOF 6580 6744 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6581 { (eval echo configure:6 582: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }6745 { (eval echo configure:6746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6582 6746 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6583 6747 if test -z "$ac_err"; then … … 6648 6812 LIBS="-l$x_direct_test_library $LIBS" 6649 6813 cat > conftest.$ac_ext <<EOF 6650 #line 6 651"configure"6814 #line 6815 "configure" 6651 6815 #include "confdefs.h" 6652 6816 … … 6655 6819 ; return 0; } 6656 6820 EOF 6657 if { (eval echo configure:6 658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6821 if { (eval echo configure:6822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6658 6822 rm -rf conftest* 6659 6823 LIBS="$ac_save_LIBS" … … 6761 6925 "SunOS 5"*) 6762 6926 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 6763 echo "configure:6 764: checking whether -R must be followed by a space" >&56927 echo "configure:6928: checking whether -R must be followed by a space" >&5 6764 6928 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" 6765 6929 cat > conftest.$ac_ext <<EOF 6766 #line 6 767"configure"6930 #line 6931 "configure" 6767 6931 #include "confdefs.h" 6768 6932 … … 6771 6935 ; return 0; } 6772 6936 EOF 6773 if { (eval echo configure:6 774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6937 if { (eval echo configure:6938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6774 6938 rm -rf conftest* 6775 6939 ac_R_nospace=yes … … 6787 6951 LIBS="$ac_xsave_LIBS -R $x_libraries" 6788 6952 cat > conftest.$ac_ext <<EOF 6789 #line 6 790"configure"6953 #line 6954 "configure" 6790 6954 #include "confdefs.h" 6791 6955 … … 6794 6958 ; return 0; } 6795 6959 EOF 6796 if { (eval echo configure:6 797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6960 if { (eval echo configure:6961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6797 6961 rm -rf conftest* 6798 6962 ac_R_space=yes … … 6826 6990 # the Alpha needs dnet_stub (dnet does not exist). 6827 6991 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 6828 echo "configure:6 829: checking for dnet_ntoa in -ldnet" >&56992 echo "configure:6993: checking for dnet_ntoa in -ldnet" >&5 6829 6993 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` 6830 6994 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 6834 6998 LIBS="-ldnet $LIBS" 6835 6999 cat > conftest.$ac_ext <<EOF 6836 #line 6837"configure"7000 #line 7001 "configure" 6837 7001 #include "confdefs.h" 6838 7002 /* Override any gcc2 internal prototype to avoid an error. */ … … 6845 7009 ; return 0; } 6846 7010 EOF 6847 if { (eval echo configure: 6848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then7011 if { (eval echo configure:7012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6848 7012 rm -rf conftest* 6849 7013 eval "ac_cv_lib_$ac_lib_var=yes" … … 6867 7031 if test $ac_cv_lib_dnet_dnet_ntoa = no; then 6868 7032 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 6869 echo "configure: 6870: checking for dnet_ntoa in -ldnet_stub" >&57033 echo "configure:7034: checking for dnet_ntoa in -ldnet_stub" >&5 6870 7034 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` 6871 7035 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 6875 7039 LIBS="-ldnet_stub $LIBS" 6876 7040 cat > conftest.$ac_ext <<EOF 6877 #line 6878"configure"7041 #line 7042 "configure" 6878 7042 #include "confdefs.h" 6879 7043 /* Override any gcc2 internal prototype to avoid an error. */ … … 6886 7050 ; return 0; } 6887 7051 EOF 6888 if { (eval echo configure: 6889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then7052 if { (eval echo configure:7053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6889 7053 rm -rf conftest* 6890 7054 eval "ac_cv_lib_$ac_lib_var=yes" … … 6915 7079 # on Irix 5.2, according to dickey@clark.net. 6916 7080 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 6917 echo "configure: 6918: checking for gethostbyname" >&57081 echo "configure:7082: checking for gethostbyname" >&5 6918 7082 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then 6919 7083 echo $ac_n "(cached) $ac_c" 1>&6 6920 7084 else 6921 7085 cat > conftest.$ac_ext <<EOF 6922 #line 6923"configure"7086 #line 7087 "configure" 6923 7087 #include "confdefs.h" 6924 7088 /* System header to define __stub macros and hopefully few prototypes, … … 6943 7107 ; return 0; } 6944 7108 EOF 6945 if { (eval echo configure: 6946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then7109 if { (eval echo configure:7110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6946 7110 rm -rf conftest* 6947 7111 eval "ac_cv_func_gethostbyname=yes" … … 6964 7128 if test $ac_cv_func_gethostbyname = no; then 6965 7129 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 6966 echo "configure: 6967: checking for gethostbyname in -lnsl" >&57130 echo "configure:7131: checking for gethostbyname in -lnsl" >&5 6967 7131 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 6968 7132 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 6972 7136 LIBS="-lnsl $LIBS" 6973 7137 cat > conftest.$ac_ext <<EOF 6974 #line 6975"configure"7138 #line 7139 "configure" 6975 7139 #include "confdefs.h" 6976 7140 /* Override any gcc2 internal prototype to avoid an error. */ … … 6983 7147 ; return 0; } 6984 7148 EOF 6985 if { (eval echo configure: 6986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then7149 if { (eval echo configure:7150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6986 7150 rm -rf conftest* 6987 7151 eval "ac_cv_lib_$ac_lib_var=yes" … … 7013 7177 # We assume that if connect needs -lnsl, so does gethostbyname. 7014 7178 echo $ac_n "checking for connect""... $ac_c" 1>&6 7015 echo "configure:7 016: checking for connect" >&57179 echo "configure:7180: checking for connect" >&5 7016 7180 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then 7017 7181 echo $ac_n "(cached) $ac_c" 1>&6 7018 7182 else 7019 7183 cat > conftest.$ac_ext <<EOF 7020 #line 7 021"configure"7184 #line 7185 "configure" 7021 7185 #include "confdefs.h" 7022 7186 /* System header to define __stub macros and hopefully few prototypes, … … 7041 7205 ; return 0; } 7042 7206 EOF 7043 if { (eval echo configure:7 044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then7207 if { (eval echo configure:7208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7044 7208 rm -rf conftest* 7045 7209 eval "ac_cv_func_connect=yes" … … 7062 7226 if test $ac_cv_func_connect = no; then 7063 7227 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 7064 echo "configure:7 065: checking for connect in -lsocket" >&57228 echo "configure:7229: checking for connect in -lsocket" >&5 7065 7229 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` 7066 7230 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 7070 7234 LIBS="-lsocket $X_EXTRA_LIBS $LIBS" 7071 7235 cat > conftest.$ac_ext <<EOF 7072 #line 7 073"configure"7236 #line 7237 "configure" 7073 7237 #include "confdefs.h" 7074 7238 /* Override any gcc2 internal prototype to avoid an error. */ … … 7081 7245 ; return 0; } 7082 7246 EOF 7083 if { (eval echo configure:7 084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then7247 if { (eval echo configure:7248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7084 7248 rm -rf conftest* 7085 7249 eval "ac_cv_lib_$ac_lib_var=yes" … … 7105 7269 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. 7106 7270 echo $ac_n "checking for remove""... $ac_c" 1>&6 7107 echo "configure:7 108: checking for remove" >&57271 echo "configure:7272: checking for remove" >&5 7108 7272 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then 7109 7273 echo $ac_n "(cached) $ac_c" 1>&6 7110 7274 else 7111 7275 cat > conftest.$ac_ext <<EOF 7112 #line 7 113"configure"7276 #line 7277 "configure" 7113 7277 #include "confdefs.h" 7114 7278 /* System header to define __stub macros and hopefully few prototypes, … … 7133 7297 ; return 0; } 7134 7298 EOF 7135 if { (eval echo configure:7 136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then7299 if { (eval echo configure:7300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7136 7300 rm -rf conftest* 7137 7301 eval "ac_cv_func_remove=yes" … … 7154 7318 if test $ac_cv_func_remove = no; then 7155 7319 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 7156 echo "configure:7 157: checking for remove in -lposix" >&57320 echo "configure:7321: checking for remove in -lposix" >&5 7157 7321 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` 7158 7322 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 7162 7326 LIBS="-lposix $LIBS" 7163 7327 cat > conftest.$ac_ext <<EOF 7164 #line 7 165"configure"7328 #line 7329 "configure" 7165 7329 #include "confdefs.h" 7166 7330 /* Override any gcc2 internal prototype to avoid an error. */ … … 7173 7337 ; return 0; } 7174 7338 EOF 7175 if { (eval echo configure:7 176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then7339 if { (eval echo configure:7340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7176 7340 rm -rf conftest* 7177 7341 eval "ac_cv_lib_$ac_lib_var=yes" … … 7197 7361 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 7198 7362 echo $ac_n "checking for shmat""... $ac_c" 1>&6 7199 echo "configure:7 200: checking for shmat" >&57363 echo "configure:7364: checking for shmat" >&5 7200 7364 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then 7201 7365 echo $ac_n "(cached) $ac_c" 1>&6 7202 7366 else 7203 7367 cat > conftest.$ac_ext <<EOF 7204 #line 7 205"configure"7368 #line 7369 "configure" 7205 7369 #include "confdefs.h" 7206 7370 /* System header to define __stub macros and hopefully few prototypes, … … 7225 7389 ; return 0; } 7226 7390 EOF 7227 if { (eval echo configure:7 228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then7391 if { (eval echo configure:7392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7228 7392 rm -rf conftest* 7229 7393 eval "ac_cv_func_shmat=yes" … … 7246 7410 if test $ac_cv_func_shmat = no; then 7247 7411 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 7248 echo "configure:7 249: checking for shmat in -lipc" >&57412 echo "configure:7413: checking for shmat in -lipc" >&5 7249 7413 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` 7250 7414 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 7254 7418 LIBS="-lipc $LIBS" 7255 7419 cat > conftest.$ac_ext <<EOF 7256 #line 7 257"configure"7420 #line 7421 "configure" 7257 7421 #include "confdefs.h" 7258 7422 /* Override any gcc2 internal prototype to avoid an error. */ … … 7265 7429 ; return 0; } 7266 7430 EOF 7267 if { (eval echo configure:7 268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then7431 if { (eval echo configure:7432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7268 7432 rm -rf conftest* 7269 7433 eval "ac_cv_lib_$ac_lib_var=yes" … … 7298 7462 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. 7299 7463 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 7300 echo "configure:7 301: checking for IceConnectionNumber in -lICE" >&57464 echo "configure:7465: checking for IceConnectionNumber in -lICE" >&5 7301 7465 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` 7302 7466 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 7306 7470 LIBS="-lICE $X_EXTRA_LIBS $LIBS" 7307 7471 cat > conftest.$ac_ext <<EOF 7308 #line 7 309"configure"7472 #line 7473 "configure" 7309 7473 #include "confdefs.h" 7310 7474 /* Override any gcc2 internal prototype to avoid an error. */ … … 7317 7481 ; return 0; } 7318 7482 EOF 7319 if { (eval echo configure:7 320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then7483 if { (eval echo configure:7484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7320 7484 rm -rf conftest* 7321 7485 eval "ac_cv_lib_$ac_lib_var=yes" … … 7397 7561 7398 7562 7399 here=` pwd`7563 here=`${PWDCMD-pwd}` 7400 7564 7401 7565 … … 7590 7754 s%@TESTSUBDIR_FALSE@%$TESTSUBDIR_FALSE%g 7591 7755 s%@LIBGCJDEBUG@%$LIBGCJDEBUG%g 7756 s%@INTERPRETER@%$INTERPRETER%g 7592 7757 s%@LIBFFI@%$LIBFFI%g 7593 7758 s%@LIBFFIINCS@%$LIBFFIINCS%g … … 7625 7790 s%@CHECKREFSPEC@%$CHECKREFSPEC%g 7626 7791 s%@EXCEPTIONSPEC@%$EXCEPTIONSPEC%g 7792 s%@IEEESPEC@%$IEEESPEC%g 7627 7793 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g 7628 7794 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g … … 7637 7803 s%@toolexecmainlibdir@%$toolexecmainlibdir%g 7638 7804 s%@toolexeclibdir@%$toolexeclibdir%g 7639 s%@AM_RUNTESTFLAGS@%$AM_RUNTESTFLAGS%g7640 7805 s%@GCJVERSION@%$GCJVERSION%g 7641 7806 s%@ALLOCA@%$ALLOCA%g 7642 7807 s%@PERL@%$PERL%g 7808 s%@BACKTRACESPEC@%$BACKTRACESPEC%g 7643 7809 s%@SYSDEP_SOURCES@%$SYSDEP_SOURCES%g 7644 7810 s%@X_CFLAGS@%$X_CFLAGS%g … … 7915 8081 CC="${CC}" 7916 8082 CXX="${CXX}" 8083 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}" 7917 8084 7918 8085 EOF … … 7937 8104 # Make subdirectories and `.d' files. Look in both srcdir and 7938 8105 # builddir for the .java files. 7939 h=` pwd`8106 h=`${PWDCMD-pwd}` 7940 8107 : > deps.mk 7941 8108 ( (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.