Changeset 107
- Timestamp:
- May 8, 2003, 3:43:43 AM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/binutils/bfd/configure
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
r106 r107 37 37 --enable-maintainer-mode enable make rules and dependencies not useful 38 38 (and sometimes confusing) to the casual installer" 39 ac_help="$ac_help 40 --disable-nls do not use Native Language Support" 41 ac_help="$ac_help 42 --with-included-gettext use the GNU gettext library included here" 39 43 40 44 # Initialize some variables set by options. … … 547 551 548 552 echo $ac_n "checking for path separator""... $ac_c" 1>&6 549 echo "configure:55 0: checking for path separator" >&5553 echo "configure:554: checking for path separator" >&5 550 554 # Filter path to get backslahes into forwardslashes 551 555 case "`uname -s 2> /dev/null`" in … … 561 565 562 566 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 563 echo "configure:56 4: checking for Cygwin environment" >&5567 echo "configure:568: checking for Cygwin environment" >&5 564 568 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 565 569 echo $ac_n "(cached) $ac_c" 1>&6 566 570 else 567 571 cat > conftest.$ac_ext <<EOF 568 #line 5 69"configure"572 #line 573 "configure" 569 573 #include "confdefs.h" 570 574 … … 577 581 ; return 0; } 578 582 EOF 579 if { (eval echo configure:58 0: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then583 if { (eval echo configure:584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 580 584 rm -rf conftest* 581 585 ac_cv_cygwin=yes … … 594 598 test "$ac_cv_cygwin" = yes && CYGWIN=yes 595 599 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 596 echo "configure: 597: checking for mingw32 environment" >&5600 echo "configure:601: checking for mingw32 environment" >&5 597 601 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 598 602 echo $ac_n "(cached) $ac_c" 1>&6 599 603 else 600 604 cat > conftest.$ac_ext <<EOF 601 #line 60 2"configure"605 #line 606 "configure" 602 606 #include "confdefs.h" 603 607 … … 606 610 ; return 0; } 607 611 EOF 608 if { (eval echo configure:6 09: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then612 if { (eval echo configure:613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 609 613 rm -rf conftest* 610 614 ac_cv_mingw32=yes … … 623 627 test "$ac_cv_mingw32" = yes && MINGW32=yes 624 628 echo $ac_n "checking for EMX/OS2 environment""... $ac_c" 1>&6 625 echo "configure:6 26: checking for EMX/OS2 environment" >&5629 echo "configure:630: checking for EMX/OS2 environment" >&5 626 630 if eval "test \"`echo '$''{'ac_cv_emxos2'+set}'`\" = set"; then 627 631 echo $ac_n "(cached) $ac_c" 1>&6 … … 629 633 : ${CC=gcc.exe} 630 634 cat > conftest.$ac_ext <<EOF 631 #line 63 2"configure"635 #line 636 "configure" 632 636 #include "confdefs.h" 633 637 … … 636 640 ; return 0; } 637 641 EOF 638 if { (eval echo configure:6 39: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then642 if { (eval echo configure:643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 639 643 rm -rf conftest* 640 644 ac_cv_emxos2=yes … … 667 671 668 672 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 669 echo "configure:67 0: checking for executable suffix" >&5673 echo "configure:674: checking for executable suffix" >&5 670 674 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 671 675 echo $ac_n "(cached) $ac_c" 1>&6 … … 677 681 echo 'int main () { return 0; }' > conftest.$ac_ext 678 682 ac_cv_exeext= 679 if { (eval echo configure:68 0: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then683 if { (eval echo configure:684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 680 684 for file in conftest.*; do 681 685 case $file in … … 746 750 747 751 echo $ac_n "checking host system type""... $ac_c" 1>&6 748 echo "configure:7 49: checking host system type" >&5752 echo "configure:753: checking host system type" >&5 749 753 750 754 host_alias=$host … … 767 771 768 772 echo $ac_n "checking target system type""... $ac_c" 1>&6 769 echo "configure:77 0: checking target system type" >&5773 echo "configure:774: checking target system type" >&5 770 774 771 775 target_alias=$target … … 785 789 786 790 echo $ac_n "checking build system type""... $ac_c" 1>&6 787 echo "configure:7 88: checking build system type" >&5791 echo "configure:792: checking build system type" >&5 788 792 789 793 build_alias=$build … … 810 814 set dummy gcc; ac_word=$2 811 815 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 812 echo "configure:81 3: checking for $ac_word" >&5816 echo "configure:817: checking for $ac_word" >&5 813 817 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 814 818 echo $ac_n "(cached) $ac_c" 1>&6 … … 841 845 set dummy cc; ac_word=$2 842 846 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 843 echo "configure:84 4: checking for $ac_word" >&5847 echo "configure:848: checking for $ac_word" >&5 844 848 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 845 849 echo $ac_n "(cached) $ac_c" 1>&6 … … 894 898 set dummy cl; ac_word=$2 895 899 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 896 echo "configure: 897: checking for $ac_word" >&5900 echo "configure:901: checking for $ac_word" >&5 897 901 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 898 902 echo $ac_n "(cached) $ac_c" 1>&6 … … 927 931 928 932 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 929 echo "configure:93 0: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5933 echo "configure:934: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 930 934 931 935 ac_ext=c … … 938 942 cat > conftest.$ac_ext << EOF 939 943 940 #line 94 1"configure"944 #line 945 "configure" 941 945 #include "confdefs.h" 942 946 943 947 main(){return(0);} 944 948 EOF 945 if { (eval echo configure:9 46: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then949 if { (eval echo configure:950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 946 950 ac_cv_prog_cc_works=yes 947 951 # If we can't run a trivial program, we are probably using a cross compiler. … … 969 973 fi 970 974 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 971 echo "configure:97 2: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5975 echo "configure:976: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 972 976 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 973 977 cross_compiling=$ac_cv_prog_cc_cross 974 978 975 979 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 976 echo "configure:9 77: checking whether we are using GNU C" >&5980 echo "configure:981: checking whether we are using GNU C" >&5 977 981 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 978 982 echo $ac_n "(cached) $ac_c" 1>&6 … … 983 987 #endif 984 988 EOF 985 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:9 86: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then989 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 986 990 ac_cv_prog_gcc=yes 987 991 else … … 1002 1006 CFLAGS= 1003 1007 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1004 echo "configure:100 5: checking whether ${CC-cc} accepts -g" >&51008 echo "configure:1009: checking whether ${CC-cc} accepts -g" >&5 1005 1009 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1006 1010 echo $ac_n "(cached) $ac_c" 1>&6 … … 1034 1038 1035 1039 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 1036 echo "configure:10 37: checking for POSIXized ISC" >&51040 echo "configure:1041: checking for POSIXized ISC" >&5 1037 1041 if test -d /etc/conf/kconfig.d && 1038 1042 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 … … 1067 1071 # ./install, which can be erroneously created by make from ./install.sh. 1068 1072 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 1069 echo "configure:107 0: checking for a BSD compatible install" >&51073 echo "configure:1074: checking for a BSD compatible install" >&5 1070 1074 if test -z "$INSTALL"; then 1071 1075 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 1122 1126 1123 1127 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 1124 echo "configure:112 5: checking whether build environment is sane" >&51128 echo "configure:1129: checking whether build environment is sane" >&5 1125 1129 # Just in case 1126 1130 sleep 1 … … 1179 1183 1180 1184 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 1181 echo "configure:118 2: checking whether ${MAKE-make} sets \${MAKE}" >&51185 echo "configure:1186: checking whether ${MAKE-make} sets \${MAKE}" >&5 1182 1186 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 1183 1187 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 1225 1229 missing_dir=`cd $ac_aux_dir && pwd` 1226 1230 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 1227 echo "configure:12 28: checking for working aclocal" >&51231 echo "configure:1232: checking for working aclocal" >&5 1228 1232 # Run test in a subshell; some versions of sh will print an error if 1229 1233 # an executable is not found, even if stderr is redirected. … … 1238 1242 1239 1243 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 1240 echo "configure:124 1: checking for working autoconf" >&51244 echo "configure:1245: checking for working autoconf" >&5 1241 1245 # Run test in a subshell; some versions of sh will print an error if 1242 1246 # an executable is not found, even if stderr is redirected. … … 1251 1255 1252 1256 echo $ac_n "checking for working automake""... $ac_c" 1>&6 1253 echo "configure:125 4: checking for working automake" >&51257 echo "configure:1258: checking for working automake" >&5 1254 1258 # Run test in a subshell; some versions of sh will print an error if 1255 1259 # an executable is not found, even if stderr is redirected. … … 1264 1268 1265 1269 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 1266 echo "configure:12 67: checking for working autoheader" >&51270 echo "configure:1271: checking for working autoheader" >&5 1267 1271 # Run test in a subshell; some versions of sh will print an error if 1268 1272 # an executable is not found, even if stderr is redirected. … … 1277 1281 1278 1282 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 1279 echo "configure:128 0: checking for working makeinfo" >&51283 echo "configure:1284: checking for working makeinfo" >&5 1280 1284 # Run test in a subshell; some versions of sh will print an error if 1281 1285 # an executable is not found, even if stderr is redirected. … … 1300 1304 set dummy ${ac_tool_prefix}ar; ac_word=$2 1301 1305 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1302 echo "configure:130 3: checking for $ac_word" >&51306 echo "configure:1307: checking for $ac_word" >&5 1303 1307 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then 1304 1308 echo $ac_n "(cached) $ac_c" 1>&6 … … 1333 1337 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1334 1338 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1335 echo "configure:13 36: checking for $ac_word" >&51339 echo "configure:1340: checking for $ac_word" >&5 1336 1340 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1337 1341 echo $ac_n "(cached) $ac_c" 1>&6 … … 1366 1370 set dummy ranlib; ac_word=$2 1367 1371 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1368 echo "configure:13 69: checking for $ac_word" >&51372 echo "configure:1373: checking for $ac_word" >&5 1369 1373 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1370 1374 echo $ac_n "(cached) $ac_c" 1>&6 … … 1404 1408 enableval="$enable_shared" 1405 1409 p=${PACKAGE-default} 1406 case $enablevalin1410 case "$enableval" in 1407 1411 yes) enable_shared=yes ;; 1408 1412 no) enable_shared=no ;; … … 1428 1432 enableval="$enable_static" 1429 1433 p=${PACKAGE-default} 1430 case $enablevalin1434 case "$enableval" in 1431 1435 yes) enable_static=yes ;; 1432 1436 no) enable_static=no ;; … … 1451 1455 enableval="$enable_fast_install" 1452 1456 p=${PACKAGE-default} 1453 case $enablevalin1457 case "$enableval" in 1454 1458 yes) enable_fast_install=yes ;; 1455 1459 no) enable_fast_install=no ;; … … 1479 1483 1480 1484 ac_prog=ld 1481 if test "$ GCC" = yes; then1485 if test "$ac_cv_prog_gcc" = yes; then 1482 1486 # Check if gcc -print-prog-name=ld gives a path. 1483 1487 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 1484 echo "configure:148 5: checking for ld used by GCC" >&51488 echo "configure:1489: checking for ld used by GCC" >&5 1485 1489 case $host in 1486 1490 *-*-mingw*) … … 1490 1494 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 1491 1495 esac 1492 case $ac_progin1496 case "$ac_prog" in 1493 1497 # Accept absolute paths. 1494 1498 [\\/]* | [A-Za-z]:[\\/]*) … … 1512 1516 elif test "$with_gnu_ld" = yes; then 1513 1517 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 1514 echo "configure:151 5: checking for GNU ld" >&51518 echo "configure:1519: checking for GNU ld" >&5 1515 1519 else 1516 1520 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 1517 echo "configure:15 18: checking for non-GNU ld" >&51518 fi 1519 if eval "test \"`echo '$''{' lt_cv_path_LD'+set}'`\" = set"; then1521 echo "configure:1522: checking for non-GNU ld" >&5 1522 fi 1523 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then 1520 1524 echo $ac_n "(cached) $ac_c" 1>&6 1521 1525 else … … 1525 1529 test -z "$ac_dir" && ac_dir=. 1526 1530 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 1527 lt_cv_path_LD="$ac_dir/$ac_prog"1531 ac_cv_path_LD="$ac_dir/$ac_prog" 1528 1532 # Check to see if the program is GNU ld. I'd rather use --version, 1529 1533 # but apparently some GNU ld's only accept -v. 1530 1534 # Break only if it was the GNU/non-GNU ld that we prefer. 1531 if "$ lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then1535 if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then 1532 1536 test "$with_gnu_ld" != no && break 1533 1537 else … … 1538 1542 IFS="$ac_save_ifs" 1539 1543 else 1540 lt_cv_path_LD="$LD" # Let the user override the test with a path.1541 fi 1542 fi 1543 1544 LD="$ lt_cv_path_LD"1544 ac_cv_path_LD="$LD" # Let the user override the test with a path. 1545 fi 1546 fi 1547 1548 LD="$ac_cv_path_LD" 1545 1549 if test -n "$LD"; then 1546 1550 echo "$ac_t""$LD" 1>&6 … … 1550 1554 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } 1551 1555 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 1552 echo "configure:155 3: checking if the linker ($LD) is GNU ld" >&51553 if eval "test \"`echo '$''{' lt_cv_prog_gnu_ld'+set}'`\" = set"; then1556 echo "configure:1557: checking if the linker ($LD) is GNU ld" >&5 1557 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then 1554 1558 echo $ac_n "(cached) $ac_c" 1>&6 1555 1559 else 1556 1560 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 1557 1561 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 1558 lt_cv_prog_gnu_ld=yes1559 else 1560 lt_cv_prog_gnu_ld=no1561 fi 1562 fi 1563 1564 echo "$ac_t""$ lt_cv_prog_gnu_ld" 1>&61565 with_gnu_ld=$ lt_cv_prog_gnu_ld1562 ac_cv_prog_gnu_ld=yes 1563 else 1564 ac_cv_prog_gnu_ld=no 1565 fi 1566 fi 1567 1568 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6 1569 with_gnu_ld=$ac_cv_prog_gnu_ld 1566 1570 1567 1571 1568 1572 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6 1569 echo "configure:157 0: checking for $LD option to reload object files" >&51573 echo "configure:1574: checking for $LD option to reload object files" >&5 1570 1574 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then 1571 1575 echo $ac_n "(cached) $ac_c" 1>&6 … … 1579 1583 1580 1584 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 1581 echo "configure:158 2: checking for BSD-compatible nm" >&51582 if eval "test \"`echo '$''{' lt_cv_path_NM'+set}'`\" = set"; then1585 echo "configure:1586: checking for BSD-compatible nm" >&5 1586 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then 1583 1587 echo $ac_n "(cached) $ac_c" 1>&6 1584 1588 else 1585 1589 if test -n "$NM"; then 1586 1590 # Let the user override the test. 1587 lt_cv_path_NM="$NM"1591 ac_cv_path_NM="$NM" 1588 1592 else 1589 1593 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" … … 1597 1601 # Tru64's nm complains that /dev/null is an invalid object file 1598 1602 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then 1599 lt_cv_path_NM="$tmp_nm -B"1603 ac_cv_path_NM="$tmp_nm -B" 1600 1604 break 1601 1605 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then 1602 lt_cv_path_NM="$tmp_nm -p"1606 ac_cv_path_NM="$tmp_nm -p" 1603 1607 break 1604 1608 else 1605 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but1609 ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but 1606 1610 continue # so that we can try to find one that supports BSD flags 1607 1611 fi … … 1609 1613 done 1610 1614 IFS="$ac_save_ifs" 1611 test -z "$ lt_cv_path_NM" && lt_cv_path_NM=nm1612 fi 1613 fi 1614 1615 NM="$ lt_cv_path_NM"1615 test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm 1616 fi 1617 fi 1618 1619 NM="$ac_cv_path_NM" 1616 1620 echo "$ac_t""$NM" 1>&6 1617 1621 1618 1622 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1619 echo "configure:162 0: checking whether ln -s works" >&51623 echo "configure:1624: checking whether ln -s works" >&5 1620 1624 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1621 1625 echo $ac_n "(cached) $ac_c" 1>&6 … … 1644 1648 1645 1649 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6 1646 echo "configure:16 47: checking how to recognise dependant libraries" >&51650 echo "configure:1651: checking how to recognise dependant libraries" >&5 1647 1651 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then 1648 1652 echo $ac_n "(cached) $ac_c" 1>&6 … … 1662 1666 # whether `pass_all' will *always* work, you probably want this one. 1663 1667 1664 case $host_osin1665 aix *)1668 case "$host_os" in 1669 aix4*) 1666 1670 lt_cv_deplibs_check_method=pass_all 1667 1671 ;; … … 1672 1676 1673 1677 bsdi4*) 1674 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'1675 lt_cv_file_magic_cmd='/usr/bin/file -L'1678 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 1679 lt_cv_file_magic_cmd='/usr/bin/file -L' 1676 1680 lt_cv_file_magic_test_file=/shlib/libc.so 1677 1681 ;; … … 1682 1686 ;; 1683 1687 1684 darwin* | rhapsody*)1685 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'1686 lt_cv_file_magic_cmd='/usr/bin/file -L'1687 case "$host_os" in1688 rhapsody* | darwin1.012)1689 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'1690 ;;1691 *) # Darwin 1.3 on1692 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'1693 ;;1694 esac1695 ;;1696 1697 1688 freebsd* ) 1698 1689 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 1699 case $host_cpuin1690 case "$host_cpu" in 1700 1691 i*86 ) 1701 1692 # Not sure whether the presence of OpenBSD here was a mistake. 1702 1693 # Let's accept both of them until this is cleared up. 1703 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'1704 lt_cv_file_magic_cmd=/usr/bin/file1694 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' 1695 lt_cv_file_magic_cmd=/usr/bin/file 1705 1696 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 1706 1697 ;; … … 1715 1706 ;; 1716 1707 1717 hpux10.20*|hpux11*) 1718 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 1708 hpux10.20*) 1709 # TODO: Does this work for hpux-11 too? 1710 lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library' 1719 1711 lt_cv_file_magic_cmd=/usr/bin/file 1720 1712 lt_cv_file_magic_test_file=/usr/lib/libc.sl … … 1722 1714 1723 1715 irix5* | irix6*) 1724 case $host_osin1716 case "$host_os" in 1725 1717 irix5*) 1726 1718 # this will be overridden with pass_all, but let us keep it just in case … … 1728 1720 ;; 1729 1721 *) 1730 case $LDin1722 case "$LD" in 1731 1723 *-32|*"-32 ") libmagic=32-bit;; 1732 1724 *-n32|*"-n32 ") libmagic=N32;; … … 1735 1727 esac 1736 1728 # this will be overridden with pass_all, but let us keep it just in case 1737 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"1738 ;;1729 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" 1730 ;; 1739 1731 esac 1740 1732 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` … … 1744 1736 # This must be Linux ELF. 1745 1737 linux-gnu*) 1746 case $host_cpuin1747 alpha* | hppa* |i*86 | powerpc* | sparc* | ia64* )1738 case "$host_cpu" in 1739 alpha* | i*86 | powerpc* | sparc* | ia64* ) 1748 1740 lt_cv_deplibs_check_method=pass_all ;; 1749 1741 *) 1750 1742 # glibc up to 2.1.1 does not perform some relocations on ARM 1751 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;1752 esac1743 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; 1744 esac 1753 1745 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` 1754 1746 ;; 1755 1747 1756 1748 netbsd*) 1757 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 1758 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' 1749 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then : 1759 1750 else 1760 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' 1751 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' 1752 lt_cv_file_magic_cmd='/usr/bin/file -L' 1753 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 1761 1754 fi 1762 ;;1763 1764 newsos6)1765 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'1766 lt_cv_file_magic_cmd=/usr/bin/file1767 lt_cv_file_magic_test_file=/usr/lib/libnls.so1768 1755 ;; 1769 1756 … … 1784 1771 ;; 1785 1772 1786 sysv5uw[78]* | sysv4*uw2*)1787 lt_cv_deplibs_check_method=pass_all1788 ;;1789 1790 1773 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 1791 case $host_vendorin1774 case "$host_vendor" in 1792 1775 ncr) 1793 1776 lt_cv_deplibs_check_method=pass_all 1794 1777 ;; 1795 1778 motorola) 1796 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'1797 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`1779 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' 1780 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 1798 1781 ;; 1799 1782 esac … … 1808 1791 1809 1792 echo $ac_n "checking for object suffix""... $ac_c" 1>&6 1810 echo "configure:1 811: checking for object suffix" >&51793 echo "configure:1794: checking for object suffix" >&5 1811 1794 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then 1812 1795 echo $ac_n "(cached) $ac_c" 1>&6 … … 1814 1797 rm -f conftest* 1815 1798 echo 'int i = 1;' > conftest.$ac_ext 1816 if { (eval echo configure:18 17: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1799 if { (eval echo configure:1800: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1817 1800 for ac_file in conftest.*; do 1818 1801 case $ac_file in … … 1834 1817 1835 1818 # Only perform the check for file, if the check method requires it 1836 case $deplibs_check_methodin1819 case "$deplibs_check_method" in 1837 1820 file_magic*) 1838 1821 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 1839 1822 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6 1840 echo "configure:18 41: checking for ${ac_tool_prefix}file" >&51823 echo "configure:1824: checking for ${ac_tool_prefix}file" >&5 1841 1824 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1842 1825 echo $ac_n "(cached) $ac_c" 1>&6 1843 1826 else 1844 case $MAGIC_CMDin1827 case "$MAGIC_CMD" in 1845 1828 /*) 1846 1829 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. … … 1858 1841 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 1859 1842 if test -n "$file_magic_test_file"; then 1860 case $deplibs_check_methodin1843 case "$deplibs_check_method" in 1861 1844 "file_magic "*) 1862 1845 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" … … 1900 1883 if test -n "$ac_tool_prefix"; then 1901 1884 echo $ac_n "checking for file""... $ac_c" 1>&6 1902 echo "configure:1 903: checking for file" >&51885 echo "configure:1886: checking for file" >&5 1903 1886 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1904 1887 echo $ac_n "(cached) $ac_c" 1>&6 1905 1888 else 1906 case $MAGIC_CMDin1889 case "$MAGIC_CMD" in 1907 1890 /*) 1908 1891 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. … … 1920 1903 lt_cv_path_MAGIC_CMD="$ac_dir/file" 1921 1904 if test -n "$file_magic_test_file"; then 1922 case $deplibs_check_methodin1905 case "$deplibs_check_method" in 1923 1906 "file_magic "*) 1924 1907 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" … … 1971 1954 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1972 1955 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1973 echo "configure:19 74: checking for $ac_word" >&51956 echo "configure:1957: checking for $ac_word" >&5 1974 1957 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1975 1958 echo $ac_n "(cached) $ac_c" 1>&6 … … 2004 1987 set dummy ranlib; ac_word=$2 2005 1988 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2006 echo "configure: 2007: checking for $ac_word" >&51989 echo "configure:1990: checking for $ac_word" >&5 2007 1990 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 2008 1991 echo $ac_n "(cached) $ac_c" 1>&6 … … 2040 2023 set dummy ${ac_tool_prefix}strip; ac_word=$2 2041 2024 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2042 echo "configure:20 43: checking for $ac_word" >&52025 echo "configure:2026: checking for $ac_word" >&5 2043 2026 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 2044 2027 echo $ac_n "(cached) $ac_c" 1>&6 … … 2073 2056 set dummy strip; ac_word=$2 2074 2057 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2075 echo "configure:20 76: checking for $ac_word" >&52058 echo "configure:2059: checking for $ac_word" >&5 2076 2059 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 2077 2060 echo $ac_n "(cached) $ac_c" 1>&6 … … 2112 2095 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static" 2113 2096 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install" 2114 test "$ GCC" = yes && libtool_flags="$libtool_flags --with-gcc"2115 test "$ lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"2097 test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc" 2098 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld" 2116 2099 2117 2100 … … 2138 2121 # Some flags need to be propagated to the compiler or linker for good 2139 2122 # libtool support. 2140 case $hostin2123 case "$host" in 2141 2124 *-*-irix6*) 2142 2125 # Find out which ABI we are using. 2143 echo '#line 21 44"configure"' > conftest.$ac_ext2144 if { (eval echo configure:21 45: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2145 case `/usr/bin/file conftest.$ac_objext`in2126 echo '#line 2127 "configure"' > conftest.$ac_ext 2127 if { (eval echo configure:2128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2128 case "`/usr/bin/file conftest.o`" in 2146 2129 *32-bit*) 2147 2130 LD="${LD-ld} -32" … … 2163 2146 CFLAGS="$CFLAGS -belf" 2164 2147 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 2165 echo "configure:21 66: checking whether the C compiler needs -belf" >&52148 echo "configure:2149: checking whether the C compiler needs -belf" >&5 2166 2149 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then 2167 2150 echo $ac_n "(cached) $ac_c" 1>&6 … … 2176 2159 2177 2160 cat > conftest.$ac_ext <<EOF 2178 #line 21 79"configure"2161 #line 2162 "configure" 2179 2162 #include "confdefs.h" 2180 2163 … … 2183 2166 ; return 0; } 2184 2167 EOF 2185 if { (eval echo configure:21 86: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2168 if { (eval echo configure:2169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2186 2169 rm -rf conftest* 2187 2170 lt_cv_cc_needs_belf=yes … … 2293 2276 exec 5>>./config.log 2294 2277 2278 2295 2279 2296 2280 … … 2392 2376 2393 2377 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 2394 echo "configure:23 95: checking whether to enable maintainer-specific portions of Makefiles" >&52378 echo "configure:2379: checking whether to enable maintainer-specific portions of Makefiles" >&5 2395 2379 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 2396 2380 if test "${enable_maintainer_mode+set}" = set; then … … 2418 2402 2419 2403 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 2420 echo "configure:24 21: checking for executable suffix" >&52404 echo "configure:2405: checking for executable suffix" >&5 2421 2405 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 2422 2406 echo $ac_n "(cached) $ac_c" 1>&6 … … 2428 2412 echo 'int main () { return 0; }' > conftest.$ac_ext 2429 2413 ac_cv_exeext= 2430 if { (eval echo configure:24 31: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2414 if { (eval echo configure:2415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 2431 2415 for file in conftest.*; do 2432 2416 case $file in … … 2457 2441 set dummy gcc; ac_word=$2 2458 2442 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2459 echo "configure:24 60: checking for $ac_word" >&52443 echo "configure:2444: checking for $ac_word" >&5 2460 2444 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2461 2445 echo $ac_n "(cached) $ac_c" 1>&6 … … 2488 2472 set dummy cc; ac_word=$2 2489 2473 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2490 echo "configure:24 91: checking for $ac_word" >&52474 echo "configure:2475: checking for $ac_word" >&5 2491 2475 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2492 2476 echo $ac_n "(cached) $ac_c" 1>&6 … … 2541 2525 set dummy cl; ac_word=$2 2542 2526 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2543 echo "configure:25 44: checking for $ac_word" >&52527 echo "configure:2528: checking for $ac_word" >&5 2544 2528 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2545 2529 echo $ac_n "(cached) $ac_c" 1>&6 … … 2574 2558 2575 2559 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 2576 echo "configure:25 77: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&52560 echo "configure:2561: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 2577 2561 2578 2562 ac_ext=c … … 2585 2569 cat > conftest.$ac_ext << EOF 2586 2570 2587 #line 25 88"configure"2571 #line 2572 "configure" 2588 2572 #include "confdefs.h" 2589 2573 2590 2574 main(){return(0);} 2591 2575 EOF 2592 if { (eval echo configure:25 93: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2576 if { (eval echo configure:2577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2593 2577 ac_cv_prog_cc_works=yes 2594 2578 # If we can't run a trivial program, we are probably using a cross compiler. … … 2616 2600 fi 2617 2601 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 2618 echo "configure:26 19: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&52602 echo "configure:2603: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 2619 2603 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 2620 2604 cross_compiling=$ac_cv_prog_cc_cross 2621 2605 2622 2606 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 2623 echo "configure:26 24: checking whether we are using GNU C" >&52607 echo "configure:2608: checking whether we are using GNU C" >&5 2624 2608 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 2625 2609 echo $ac_n "(cached) $ac_c" 1>&6 … … 2630 2614 #endif 2631 2615 EOF 2632 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:26 33: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then2616 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2617: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 2633 2617 ac_cv_prog_gcc=yes 2634 2618 else … … 2649 2633 CFLAGS= 2650 2634 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 2651 echo "configure:26 52: checking whether ${CC-cc} accepts -g" >&52635 echo "configure:2636: checking whether ${CC-cc} accepts -g" >&5 2652 2636 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 2653 2637 echo $ac_n "(cached) $ac_c" 1>&6 … … 2682 2666 2683 2667 ALL_LINGUAS= 2684 CY_GNU_GETTEXT 2668 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 2669 echo "configure:2670: checking how to run the C preprocessor" >&5 2670 # On Suns, sometimes $CPP names a directory. 2671 if test -n "$CPP" && test -d "$CPP"; then 2672 CPP= 2673 fi 2674 if test -z "$CPP"; then 2675 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then 2676 echo $ac_n "(cached) $ac_c" 1>&6 2677 else 2678 # This must be in double quotes, not single quotes, because CPP may get 2679 # substituted into the Makefile and "${CC-cc}" will confuse make. 2680 CPP="${CC-cc} -E" 2681 # On the NeXT, cc -E runs the code through the compiler's parser, 2682 # not just through cpp. 2683 cat > conftest.$ac_ext <<EOF 2684 #include <sys/types.h> 2685 #line 2686 "configure" 2686 #include "confdefs.h" 2687 #include <assert.h> 2688 Syntax Error 2689 EOF 2690 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2691 { (eval echo configure:2692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2692 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2693 if test -z "$ac_err"; then 2694 : 2695 else 2696 echo "$ac_err" >&5 2697 echo "configure: failed program was:" >&5 2698 cat conftest.$ac_ext >&5 2699 rm -rf conftest* 2700 CPP="${CC-cc} -E -traditional-cpp" 2701 cat > conftest.$ac_ext <<EOF 2702 #include <sys/types.h> 2703 #line 2704 "configure" 2704 #include "confdefs.h" 2705 #include <assert.h> 2706 Syntax Error 2707 EOF 2708 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2709 { (eval echo configure:2710: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2710 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2711 if test -z "$ac_err"; then 2712 : 2713 else 2714 echo "$ac_err" >&5 2715 echo "configure: failed program was:" >&5 2716 cat conftest.$ac_ext >&5 2717 rm -rf conftest* 2718 CPP="${CC-cc} -nologo -E" 2719 cat > conftest.$ac_ext <<EOF 2720 #include <sys/types.h> 2721 #line 2722 "configure" 2722 #include "confdefs.h" 2723 #include <assert.h> 2724 Syntax Error 2725 EOF 2726 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2727 { (eval echo configure:2728: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2728 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2729 if test -z "$ac_err"; then 2730 : 2731 else 2732 echo "$ac_err" >&5 2733 echo "configure: failed program was:" >&5 2734 cat conftest.$ac_ext >&5 2735 rm -rf conftest* 2736 CPP=/lib/cpp 2737 fi 2738 rm -f conftest* 2739 fi 2740 rm -f conftest* 2741 fi 2742 rm -f conftest* 2743 ac_cv_prog_CPP="$CPP" 2744 fi 2745 CPP="$ac_cv_prog_CPP" 2746 else 2747 ac_cv_prog_CPP="$CPP" 2748 fi 2749 echo "$ac_t""$CPP" 1>&6 2750 2751 # Extract the first word of "ranlib", so it can be a program name with args. 2752 set dummy ranlib; ac_word=$2 2753 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2754 echo "configure:2755: checking for $ac_word" >&5 2755 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 2756 echo $ac_n "(cached) $ac_c" 1>&6 2757 else 2758 if test -n "$RANLIB"; then 2759 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 2760 else 2761 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 2762 ac_dummy="$PATH" 2763 for ac_dir in $ac_dummy; do 2764 test -z "$ac_dir" && ac_dir=. 2765 if test -f $ac_dir/$ac_word -o \ 2766 -f $ac_dir/$ac_word$ac_exeext ; then 2767 ac_cv_prog_RANLIB="ranlib" 2768 break 2769 fi 2770 done 2771 IFS="$ac_save_ifs" 2772 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" 2773 fi 2774 fi 2775 RANLIB="$ac_cv_prog_RANLIB" 2776 if test -n "$RANLIB"; then 2777 echo "$ac_t""$RANLIB" 1>&6 2778 else 2779 echo "$ac_t""no" 1>&6 2780 fi 2781 2782 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2783 echo "configure:2784: checking for ANSI C header files" >&5 2784 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2785 echo $ac_n "(cached) $ac_c" 1>&6 2786 else 2787 cat > conftest.$ac_ext <<EOF 2788 #include <sys/types.h> 2789 #line 2790 "configure" 2790 #include "confdefs.h" 2791 #include <stdlib.h> 2792 #include <stdarg.h> 2793 #include <string.h> 2794 #include <float.h> 2795 EOF 2796 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2797 { (eval echo configure:2798: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2798 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2799 if test -z "$ac_err"; then 2800 rm -rf conftest* 2801 ac_cv_header_stdc=yes 2802 else 2803 echo "$ac_err" >&5 2804 echo "configure: failed program was:" >&5 2805 cat conftest.$ac_ext >&5 2806 rm -rf conftest* 2807 ac_cv_header_stdc=no 2808 fi 2809 rm -f conftest* 2810 2811 if test $ac_cv_header_stdc = yes; then 2812 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2813 cat > conftest.$ac_ext <<EOF 2814 #line 2815 "configure" 2815 #include "confdefs.h" 2816 #include <string.h> 2817 EOF 2818 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2819 egrep "memchr" >/dev/null 2>&1; then 2820 : 2821 else 2822 rm -rf conftest* 2823 ac_cv_header_stdc=no 2824 fi 2825 rm -f conftest* 2826 2827 fi 2828 2829 if test $ac_cv_header_stdc = yes; then 2830 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2831 cat > conftest.$ac_ext <<EOF 2832 #line 2833 "configure" 2833 #include "confdefs.h" 2834 #include <stdlib.h> 2835 EOF 2836 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2837 egrep "free" >/dev/null 2>&1; then 2838 : 2839 else 2840 rm -rf conftest* 2841 ac_cv_header_stdc=no 2842 fi 2843 rm -f conftest* 2844 2845 fi 2846 2847 if test $ac_cv_header_stdc = yes; then 2848 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 2849 if test "$cross_compiling" = yes; then 2850 : 2851 else 2852 cat > conftest.$ac_ext <<EOF 2853 #line 2854 "configure" 2854 #include "confdefs.h" 2855 #include <ctype.h> 2856 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 2857 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 2858 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 2859 int main () { int i; for (i = 0; i < 256; i++) 2860 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); 2861 exit (0); } 2862 2863 EOF 2864 if { (eval echo configure:2865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2865 then 2866 : 2867 else 2868 echo "configure: failed program was:" >&5 2869 cat conftest.$ac_ext >&5 2870 rm -fr conftest* 2871 ac_cv_header_stdc=no 2872 fi 2873 rm -fr conftest* 2874 fi 2875 2876 fi 2877 fi 2878 2879 echo "$ac_t""$ac_cv_header_stdc" 1>&6 2880 if test $ac_cv_header_stdc = yes; then 2881 cat >> confdefs.h <<\EOF 2882 #define STDC_HEADERS 1 2883 EOF 2884 2885 fi 2886 2887 echo $ac_n "checking for working const""... $ac_c" 1>&6 2888 echo "configure:2889: checking for working const" >&5 2889 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 2890 echo $ac_n "(cached) $ac_c" 1>&6 2891 else 2892 cat > conftest.$ac_ext <<EOF 2893 #line 2894 "configure" 2894 #include "confdefs.h" 2895 2896 int main() { 2897 2898 /* Ultrix mips cc rejects this. */ 2899 typedef int charset[2]; const charset x; 2900 /* SunOS 4.1.1 cc rejects this. */ 2901 char const *const *ccp; 2902 char **p; 2903 /* NEC SVR4.0.2 mips cc rejects this. */ 2904 struct point {int x, y;}; 2905 static struct point const zero = {0,0}; 2906 /* AIX XL C 1.02.0.0 rejects this. 2907 It does not let you subtract one const X* pointer from another in an arm 2908 of an if-expression whose if-part is not a constant expression */ 2909 const char *g = "string"; 2910 ccp = &g + (g ? g-g : 0); 2911 /* HPUX 7.0 cc rejects these. */ 2912 ++ccp; 2913 p = (char**) ccp; 2914 ccp = (char const *const *) p; 2915 { /* SCO 3.2v4 cc rejects this. */ 2916 char *t; 2917 char const *s = 0 ? (char *) 0 : (char const *) 0; 2918 2919 *t++ = 0; 2920 } 2921 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 2922 int x[] = {25, 17}; 2923 const int *foo = &x[0]; 2924 ++foo; 2925 } 2926 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 2927 typedef const int *iptr; 2928 iptr p = 0; 2929 ++p; 2930 } 2931 { /* AIX XL C 1.02.0.0 rejects this saying 2932 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 2933 struct s { int j; const int *ap[3]; }; 2934 struct s *b; b->j = 5; 2935 } 2936 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 2937 const int foo = 10; 2938 } 2939 2940 ; return 0; } 2941 EOF 2942 if { (eval echo configure:2943: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2943 rm -rf conftest* 2944 ac_cv_c_const=yes 2945 else 2946 echo "configure: failed program was:" >&5 2947 cat conftest.$ac_ext >&5 2948 rm -rf conftest* 2949 ac_cv_c_const=no 2950 fi 2951 rm -f conftest* 2952 fi 2953 2954 echo "$ac_t""$ac_cv_c_const" 1>&6 2955 if test $ac_cv_c_const = no; then 2956 cat >> confdefs.h <<\EOF 2957 #define const 2958 EOF 2959 2960 fi 2961 2962 echo $ac_n "checking for inline""... $ac_c" 1>&6 2963 echo "configure:2964: checking for inline" >&5 2964 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 2965 echo $ac_n "(cached) $ac_c" 1>&6 2966 else 2967 ac_cv_c_inline=no 2968 for ac_kw in inline __inline__ __inline; do 2969 cat > conftest.$ac_ext <<EOF 2970 #line 2971 "configure" 2971 #include "confdefs.h" 2972 2973 int main() { 2974 } $ac_kw foo() { 2975 ; return 0; } 2976 EOF 2977 if { (eval echo configure:2978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2978 rm -rf conftest* 2979 ac_cv_c_inline=$ac_kw; break 2980 else 2981 echo "configure: failed program was:" >&5 2982 cat conftest.$ac_ext >&5 2983 fi 2984 rm -f conftest* 2985 done 2986 2987 fi 2988 2989 echo "$ac_t""$ac_cv_c_inline" 1>&6 2990 case "$ac_cv_c_inline" in 2991 inline | yes) ;; 2992 no) cat >> confdefs.h <<\EOF 2993 #define inline 2994 EOF 2995 ;; 2996 *) cat >> confdefs.h <<EOF 2997 #define inline $ac_cv_c_inline 2998 EOF 2999 ;; 3000 esac 3001 3002 echo $ac_n "checking for off_t""... $ac_c" 1>&6 3003 echo "configure:3004: checking for off_t" >&5 3004 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then 3005 echo $ac_n "(cached) $ac_c" 1>&6 3006 else 3007 cat > conftest.$ac_ext <<EOF 3008 #line 3009 "configure" 3009 #include "confdefs.h" 3010 #include <sys/types.h> 3011 #if STDC_HEADERS 3012 #include <stdlib.h> 3013 #include <stddef.h> 3014 #endif 3015 EOF 3016 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3017 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then 3018 rm -rf conftest* 3019 ac_cv_type_off_t=yes 3020 else 3021 rm -rf conftest* 3022 ac_cv_type_off_t=no 3023 fi 3024 rm -f conftest* 3025 3026 fi 3027 echo "$ac_t""$ac_cv_type_off_t" 1>&6 3028 if test $ac_cv_type_off_t = no; then 3029 cat >> confdefs.h <<\EOF 3030 #define off_t long 3031 EOF 3032 3033 fi 3034 3035 echo $ac_n "checking for size_t""... $ac_c" 1>&6 3036 echo "configure:3037: checking for size_t" >&5 3037 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 3038 echo $ac_n "(cached) $ac_c" 1>&6 3039 else 3040 cat > conftest.$ac_ext <<EOF 3041 #line 3042 "configure" 3042 #include "confdefs.h" 3043 #include <sys/types.h> 3044 #if STDC_HEADERS 3045 #include <stdlib.h> 3046 #include <stddef.h> 3047 #endif 3048 EOF 3049 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3050 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then 3051 rm -rf conftest* 3052 ac_cv_type_size_t=yes 3053 else 3054 rm -rf conftest* 3055 ac_cv_type_size_t=no 3056 fi 3057 rm -f conftest* 3058 3059 fi 3060 echo "$ac_t""$ac_cv_type_size_t" 1>&6 3061 if test $ac_cv_type_size_t = no; then 3062 cat >> confdefs.h <<\EOF 3063 #define size_t unsigned 3064 EOF 3065 3066 fi 3067 3068 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 3069 # for constant arguments. Useless! 3070 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 3071 echo "configure:3072: checking for working alloca.h" >&5 3072 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 3073 echo $ac_n "(cached) $ac_c" 1>&6 3074 else 3075 cat > conftest.$ac_ext <<EOF 3076 #line 3077 "configure" 3077 #include "confdefs.h" 3078 #include <alloca.h> 3079 int main() { 3080 char *p = alloca(2 * sizeof(int)); 3081 ; return 0; } 3082 EOF 3083 if { (eval echo configure:3084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3084 rm -rf conftest* 3085 ac_cv_header_alloca_h=yes 3086 else 3087 echo "configure: failed program was:" >&5 3088 cat conftest.$ac_ext >&5 3089 rm -rf conftest* 3090 ac_cv_header_alloca_h=no 3091 fi 3092 rm -f conftest* 3093 fi 3094 3095 echo "$ac_t""$ac_cv_header_alloca_h" 1>&6 3096 if test $ac_cv_header_alloca_h = yes; then 3097 cat >> confdefs.h <<\EOF 3098 #define HAVE_ALLOCA_H 1 3099 EOF 3100 3101 fi 3102 3103 echo $ac_n "checking for alloca""... $ac_c" 1>&6 3104 echo "configure:3105: checking for alloca" >&5 3105 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 3106 echo $ac_n "(cached) $ac_c" 1>&6 3107 else 3108 cat > conftest.$ac_ext <<EOF 3109 #line 3110 "configure" 3110 #include "confdefs.h" 3111 3112 #ifdef __GNUC__ 3113 # define alloca __builtin_alloca 3114 #else 3115 # ifdef _MSC_VER 3116 # include <malloc.h> 3117 # define alloca _alloca 3118 # else 3119 # if HAVE_ALLOCA_H 3120 # include <alloca.h> 3121 # else 3122 # ifdef _AIX 3123 #pragma alloca 3124 # else 3125 # ifndef alloca /* predefined by HP cc +Olibcalls */ 3126 char *alloca (); 3127 # endif 3128 # endif 3129 # endif 3130 # endif 3131 #endif 3132 3133 int main() { 3134 char *p = (char *) alloca(1); 3135 ; return 0; } 3136 EOF 3137 if { (eval echo configure:3138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3138 rm -rf conftest* 3139 ac_cv_func_alloca_works=yes 3140 else 3141 echo "configure: failed program was:" >&5 3142 cat conftest.$ac_ext >&5 3143 rm -rf conftest* 3144 ac_cv_func_alloca_works=no 3145 fi 3146 rm -f conftest* 3147 fi 3148 3149 echo "$ac_t""$ac_cv_func_alloca_works" 1>&6 3150 if test $ac_cv_func_alloca_works = yes; then 3151 cat >> confdefs.h <<\EOF 3152 #define HAVE_ALLOCA 1 3153 EOF 3154 3155 fi 3156 3157 if test $ac_cv_func_alloca_works = no; then 3158 # The SVR3 libPW and SVR4 libucb both contain incompatible functions 3159 # that cause trouble. Some versions do not even contain alloca or 3160 # contain a buggy version. If you still want to use their alloca, 3161 # use ar to extract alloca.o from them instead of compiling alloca.c. 3162 ALLOCA=alloca.${ac_objext} 3163 cat >> confdefs.h <<\EOF 3164 #define C_ALLOCA 1 3165 EOF 3166 3167 3168 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 3169 echo "configure:3170: checking whether alloca needs Cray hooks" >&5 3170 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 3171 echo $ac_n "(cached) $ac_c" 1>&6 3172 else 3173 cat > conftest.$ac_ext <<EOF 3174 #line 3175 "configure" 3175 #include "confdefs.h" 3176 #if defined(CRAY) && ! defined(CRAY2) 3177 webecray 3178 #else 3179 wenotbecray 3180 #endif 3181 3182 EOF 3183 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3184 egrep "webecray" >/dev/null 2>&1; then 3185 rm -rf conftest* 3186 ac_cv_os_cray=yes 3187 else 3188 rm -rf conftest* 3189 ac_cv_os_cray=no 3190 fi 3191 rm -f conftest* 3192 3193 fi 3194 3195 echo "$ac_t""$ac_cv_os_cray" 1>&6 3196 if test $ac_cv_os_cray = yes; then 3197 for ac_func in _getb67 GETB67 getb67; do 3198 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3199 echo "configure:3200: checking for $ac_func" >&5 3200 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3201 echo $ac_n "(cached) $ac_c" 1>&6 3202 else 3203 cat > conftest.$ac_ext <<EOF 3204 #line 3205 "configure" 3205 #include "confdefs.h" 3206 /* System header to define __stub macros and hopefully few prototypes, 3207 which can conflict with char $ac_func(); below. */ 3208 #include <assert.h> 3209 /* Override any gcc2 internal prototype to avoid an error. */ 3210 /* We use char because int might match the return type of a gcc2 3211 builtin and then its argument prototype would still apply. */ 3212 char $ac_func(); 3213 3214 int main() { 3215 3216 /* The GNU C library defines this for functions which it implements 3217 to always fail with ENOSYS. Some functions are actually named 3218 something starting with __ and the normal name is an alias. */ 3219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 3220 choke me 3221 #else 3222 $ac_func(); 3223 #endif 3224 3225 ; return 0; } 3226 EOF 3227 if { (eval echo configure:3228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3228 rm -rf conftest* 3229 eval "ac_cv_func_$ac_func=yes" 3230 else 3231 echo "configure: failed program was:" >&5 3232 cat conftest.$ac_ext >&5 3233 rm -rf conftest* 3234 eval "ac_cv_func_$ac_func=no" 3235 fi 3236 rm -f conftest* 3237 fi 3238 3239 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then 3240 echo "$ac_t""yes" 1>&6 3241 cat >> confdefs.h <<EOF 3242 #define CRAY_STACKSEG_END $ac_func 3243 EOF 3244 3245 break 3246 else 3247 echo "$ac_t""no" 1>&6 3248 fi 3249 3250 done 3251 fi 3252 3253 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 3254 echo "configure:3255: checking stack direction for C alloca" >&5 3255 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 3256 echo $ac_n "(cached) $ac_c" 1>&6 3257 else 3258 if test "$cross_compiling" = yes; then 3259 ac_cv_c_stack_direction=0 3260 else 3261 cat > conftest.$ac_ext <<EOF 3262 #line 3263 "configure" 3263 #include "confdefs.h" 3264 find_stack_direction () 3265 { 3266 static char *addr = 0; 3267 auto char dummy; 3268 if (addr == 0) 3269 { 3270 addr = &dummy; 3271 return find_stack_direction (); 3272 } 3273 else 3274 return (&dummy > addr) ? 1 : -1; 3275 } 3276 main () 3277 { 3278 exit (find_stack_direction() < 0); 3279 } 3280 EOF 3281 if { (eval echo configure:3282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3282 then 3283 ac_cv_c_stack_direction=1 3284 else 3285 echo "configure: failed program was:" >&5 3286 cat conftest.$ac_ext >&5 3287 rm -fr conftest* 3288 ac_cv_c_stack_direction=-1 3289 fi 3290 rm -fr conftest* 3291 fi 3292 3293 fi 3294 3295 echo "$ac_t""$ac_cv_c_stack_direction" 1>&6 3296 cat >> confdefs.h <<EOF 3297 #define STACK_DIRECTION $ac_cv_c_stack_direction 3298 EOF 3299 3300 fi 3301 3302 for ac_hdr in unistd.h 3303 do 3304 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3305 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3306 echo "configure:3307: checking for $ac_hdr" >&5 3307 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3308 echo $ac_n "(cached) $ac_c" 1>&6 3309 else 3310 cat > conftest.$ac_ext <<EOF 3311 #include <sys/types.h> 3312 #line 3313 "configure" 3313 #include "confdefs.h" 3314 #include <$ac_hdr> 3315 EOF 3316 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3317 { (eval echo configure:3318: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3318 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3319 if test -z "$ac_err"; then 3320 rm -rf conftest* 3321 eval "ac_cv_header_$ac_safe=yes" 3322 else 3323 echo "$ac_err" >&5 3324 echo "configure: failed program was:" >&5 3325 cat conftest.$ac_ext >&5 3326 rm -rf conftest* 3327 eval "ac_cv_header_$ac_safe=no" 3328 fi 3329 rm -f conftest* 3330 fi 3331 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 3332 echo "$ac_t""yes" 1>&6 3333 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 3334 cat >> confdefs.h <<EOF 3335 #define $ac_tr_hdr 1 3336 EOF 3337 3338 else 3339 echo "$ac_t""no" 1>&6 3340 fi 3341 done 3342 3343 for ac_func in getpagesize 3344 do 3345 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3346 echo "configure:3347: checking for $ac_func" >&5 3347 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3348 echo $ac_n "(cached) $ac_c" 1>&6 3349 else 3350 cat > conftest.$ac_ext <<EOF 3351 #line 3352 "configure" 3352 #include "confdefs.h" 3353 /* System header to define __stub macros and hopefully few prototypes, 3354 which can conflict with char $ac_func(); below. */ 3355 #include <assert.h> 3356 /* Override any gcc2 internal prototype to avoid an error. */ 3357 /* We use char because int might match the return type of a gcc2 3358 builtin and then its argument prototype would still apply. */ 3359 char $ac_func(); 3360 3361 int main() { 3362 3363 /* The GNU C library defines this for functions which it implements 3364 to always fail with ENOSYS. Some functions are actually named 3365 something starting with __ and the normal name is an alias. */ 3366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 3367 choke me 3368 #else 3369 $ac_func(); 3370 #endif 3371 3372 ; return 0; } 3373 EOF 3374 if { (eval echo configure:3375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3375 rm -rf conftest* 3376 eval "ac_cv_func_$ac_func=yes" 3377 else 3378 echo "configure: failed program was:" >&5 3379 cat conftest.$ac_ext >&5 3380 rm -rf conftest* 3381 eval "ac_cv_func_$ac_func=no" 3382 fi 3383 rm -f conftest* 3384 fi 3385 3386 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then 3387 echo "$ac_t""yes" 1>&6 3388 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 3389 cat >> confdefs.h <<EOF 3390 #define $ac_tr_func 1 3391 EOF 3392 3393 else 3394 echo "$ac_t""no" 1>&6 3395 fi 3396 done 3397 3398 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 3399 echo "configure:3400: checking for working mmap" >&5 3400 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 3401 echo $ac_n "(cached) $ac_c" 1>&6 3402 else 3403 if test "$cross_compiling" = yes; then 3404 ac_cv_func_mmap_fixed_mapped=no 3405 else 3406 cat > conftest.$ac_ext <<EOF 3407 #line 3408 "configure" 3408 #include "confdefs.h" 3409 3410 /* Thanks to Mike Haertel and Jim Avera for this test. 3411 Here is a matrix of mmap possibilities: 3412 mmap private not fixed 3413 mmap private fixed at somewhere currently unmapped 3414 mmap private fixed at somewhere already mapped 3415 mmap shared not fixed 3416 mmap shared fixed at somewhere currently unmapped 3417 mmap shared fixed at somewhere already mapped 3418 For private mappings, we should verify that changes cannot be read() 3419 back from the file, nor mmap's back from the file at a different 3420 address. (There have been systems where private was not correctly 3421 implemented like the infamous i386 svr4.0, and systems where the 3422 VM page cache was not coherent with the filesystem buffer cache 3423 like early versions of FreeBSD and possibly contemporary NetBSD.) 3424 For shared mappings, we should conversely verify that changes get 3425 propogated back to all the places they're supposed to be. 3426 3427 Grep wants private fixed already mapped. 3428 The main things grep needs to know about mmap are: 3429 * does it exist and is it safe to write into the mmap'd area 3430 * how to use it (BSD variants) */ 3431 #include <sys/types.h> 3432 #include <fcntl.h> 3433 #include <sys/mman.h> 3434 3435 /* This mess was copied from the GNU getpagesize.h. */ 3436 #ifndef HAVE_GETPAGESIZE 3437 # ifdef HAVE_UNISTD_H 3438 # include <unistd.h> 3439 # endif 3440 3441 /* Assume that all systems that can run configure have sys/param.h. */ 3442 # ifndef HAVE_SYS_PARAM_H 3443 # define HAVE_SYS_PARAM_H 1 3444 # endif 3445 3446 # ifdef _SC_PAGESIZE 3447 # define getpagesize() sysconf(_SC_PAGESIZE) 3448 # else /* no _SC_PAGESIZE */ 3449 # ifdef HAVE_SYS_PARAM_H 3450 # include <sys/param.h> 3451 # ifdef EXEC_PAGESIZE 3452 # define getpagesize() EXEC_PAGESIZE 3453 # else /* no EXEC_PAGESIZE */ 3454 # ifdef NBPG 3455 # define getpagesize() NBPG * CLSIZE 3456 # ifndef CLSIZE 3457 # define CLSIZE 1 3458 # endif /* no CLSIZE */ 3459 # else /* no NBPG */ 3460 # ifdef NBPC 3461 # define getpagesize() NBPC 3462 # else /* no NBPC */ 3463 # ifdef PAGESIZE 3464 # define getpagesize() PAGESIZE 3465 # endif /* PAGESIZE */ 3466 # endif /* no NBPC */ 3467 # endif /* no NBPG */ 3468 # endif /* no EXEC_PAGESIZE */ 3469 # else /* no HAVE_SYS_PARAM_H */ 3470 # define getpagesize() 8192 /* punt totally */ 3471 # endif /* no HAVE_SYS_PARAM_H */ 3472 # endif /* no _SC_PAGESIZE */ 3473 3474 #endif /* no HAVE_GETPAGESIZE */ 3475 3476 #ifdef __cplusplus 3477 extern "C" { void *malloc(unsigned); } 3478 #else 3479 char *malloc(); 3480 #endif 3481 3482 int 3483 main() 3484 { 3485 char *data, *data2, *data3; 3486 int i, pagesize; 3487 int fd; 3488 3489 pagesize = getpagesize(); 3490 3491 /* 3492 * First, make a file with some known garbage in it. 3493 */ 3494 data = malloc(pagesize); 3495 if (!data) 3496 exit(1); 3497 for (i = 0; i < pagesize; ++i) 3498 *(data + i) = rand(); 3499 umask(0); 3500 fd = creat("conftestmmap", 0600); 3501 if (fd < 0) 3502 exit(1); 3503 if (write(fd, data, pagesize) != pagesize) 3504 exit(1); 3505 close(fd); 3506 3507 /* 3508 * Next, try to mmap the file at a fixed address which 3509 * already has something else allocated at it. If we can, 3510 * also make sure that we see the same garbage. 3511 */ 3512 fd = open("conftestmmap", O_RDWR); 3513 if (fd < 0) 3514 exit(1); 3515 data2 = malloc(2 * pagesize); 3516 if (!data2) 3517 exit(1); 3518 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); 3519 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE, 3520 MAP_PRIVATE | MAP_FIXED, fd, 0L)) 3521 exit(1); 3522 for (i = 0; i < pagesize; ++i) 3523 if (*(data + i) != *(data2 + i)) 3524 exit(1); 3525 3526 /* 3527 * Finally, make sure that changes to the mapped area 3528 * do not percolate back to the file as seen by read(). 3529 * (This is a bug on some variants of i386 svr4.0.) 3530 */ 3531 for (i = 0; i < pagesize; ++i) 3532 *(data2 + i) = *(data2 + i) + 1; 3533 data3 = malloc(pagesize); 3534 if (!data3) 3535 exit(1); 3536 if (read(fd, data3, pagesize) != pagesize) 3537 exit(1); 3538 for (i = 0; i < pagesize; ++i) 3539 if (*(data + i) != *(data3 + i)) 3540 exit(1); 3541 close(fd); 3542 unlink("conftestmmap"); 3543 exit(0); 3544 } 3545 3546 EOF 3547 if { (eval echo configure:3548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3548 then 3549 ac_cv_func_mmap_fixed_mapped=yes 3550 else 3551 echo "configure: failed program was:" >&5 3552 cat conftest.$ac_ext >&5 3553 rm -fr conftest* 3554 ac_cv_func_mmap_fixed_mapped=no 3555 fi 3556 rm -fr conftest* 3557 fi 3558 3559 fi 3560 3561 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6 3562 if test $ac_cv_func_mmap_fixed_mapped = yes; then 3563 cat >> confdefs.h <<\EOF 3564 #define HAVE_MMAP 1 3565 EOF 3566 3567 fi 3568 3569 3570 for ac_hdr in argz.h limits.h locale.h nl_types.h malloc.h string.h \ 3571 unistd.h values.h sys/param.h 3572 do 3573 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3574 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3575 echo "configure:3576: checking for $ac_hdr" >&5 3576 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3577 echo $ac_n "(cached) $ac_c" 1>&6 3578 else 3579 cat > conftest.$ac_ext <<EOF 3580 #include <sys/types.h> 3581 #line 3582 "configure" 3582 #include "confdefs.h" 3583 #include <$ac_hdr> 3584 EOF 3585 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3586 { (eval echo configure:3587: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3587 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3588 if test -z "$ac_err"; then 3589 rm -rf conftest* 3590 eval "ac_cv_header_$ac_safe=yes" 3591 else 3592 echo "$ac_err" >&5 3593 echo "configure: failed program was:" >&5 3594 cat conftest.$ac_ext >&5 3595 rm -rf conftest* 3596 eval "ac_cv_header_$ac_safe=no" 3597 fi 3598 rm -f conftest* 3599 fi 3600 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 3601 echo "$ac_t""yes" 1>&6 3602 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 3603 cat >> confdefs.h <<EOF 3604 #define $ac_tr_hdr 1 3605 EOF 3606 3607 else 3608 echo "$ac_t""no" 1>&6 3609 fi 3610 done 3611 3612 for ac_func in getcwd munmap putenv setenv setlocale strchr strcasecmp \ 3613 __argz_count __argz_stringify __argz_next 3614 do 3615 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3616 echo "configure:3617: checking for $ac_func" >&5 3617 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3618 echo $ac_n "(cached) $ac_c" 1>&6 3619 else 3620 cat > conftest.$ac_ext <<EOF 3621 #line 3622 "configure" 3622 #include "confdefs.h" 3623 /* System header to define __stub macros and hopefully few prototypes, 3624 which can conflict with char $ac_func(); below. */ 3625 #include <assert.h> 3626 /* Override any gcc2 internal prototype to avoid an error. */ 3627 /* We use char because int might match the return type of a gcc2 3628 builtin and then its argument prototype would still apply. */ 3629 char $ac_func(); 3630 3631 int main() { 3632 3633 /* The GNU C library defines this for functions which it implements 3634 to always fail with ENOSYS. Some functions are actually named 3635 something starting with __ and the normal name is an alias. */ 3636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 3637 choke me 3638 #else 3639 $ac_func(); 3640 #endif 3641 3642 ; return 0; } 3643 EOF 3644 if { (eval echo configure:3645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3645 rm -rf conftest* 3646 eval "ac_cv_func_$ac_func=yes" 3647 else 3648 echo "configure: failed program was:" >&5 3649 cat conftest.$ac_ext >&5 3650 rm -rf conftest* 3651 eval "ac_cv_func_$ac_func=no" 3652 fi 3653 rm -f conftest* 3654 fi 3655 3656 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then 3657 echo "$ac_t""yes" 1>&6 3658 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 3659 cat >> confdefs.h <<EOF 3660 #define $ac_tr_func 1 3661 EOF 3662 3663 else 3664 echo "$ac_t""no" 1>&6 3665 fi 3666 done 3667 3668 3669 if test "${ac_cv_func_stpcpy+set}" != "set"; then 3670 for ac_func in stpcpy 3671 do 3672 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3673 echo "configure:3674: checking for $ac_func" >&5 3674 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3675 echo $ac_n "(cached) $ac_c" 1>&6 3676 else 3677 cat > conftest.$ac_ext <<EOF 3678 #line 3679 "configure" 3679 #include "confdefs.h" 3680 /* System header to define __stub macros and hopefully few prototypes, 3681 which can conflict with char $ac_func(); below. */ 3682 #include <assert.h> 3683 /* Override any gcc2 internal prototype to avoid an error. */ 3684 /* We use char because int might match the return type of a gcc2 3685 builtin and then its argument prototype would still apply. */ 3686 char $ac_func(); 3687 3688 int main() { 3689 3690 /* The GNU C library defines this for functions which it implements 3691 to always fail with ENOSYS. Some functions are actually named 3692 something starting with __ and the normal name is an alias. */ 3693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 3694 choke me 3695 #else 3696 $ac_func(); 3697 #endif 3698 3699 ; return 0; } 3700 EOF 3701 if { (eval echo configure:3702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3702 rm -rf conftest* 3703 eval "ac_cv_func_$ac_func=yes" 3704 else 3705 echo "configure: failed program was:" >&5 3706 cat conftest.$ac_ext >&5 3707 rm -rf conftest* 3708 eval "ac_cv_func_$ac_func=no" 3709 fi 3710 rm -f conftest* 3711 fi 3712 3713 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then 3714 echo "$ac_t""yes" 1>&6 3715 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 3716 cat >> confdefs.h <<EOF 3717 #define $ac_tr_func 1 3718 EOF 3719 3720 else 3721 echo "$ac_t""no" 1>&6 3722 fi 3723 done 3724 3725 fi 3726 if test "${ac_cv_func_stpcpy}" = "yes"; then 3727 cat >> confdefs.h <<\EOF 3728 #define HAVE_STPCPY 1 3729 EOF 3730 3731 fi 3732 3733 if test $ac_cv_header_locale_h = yes; then 3734 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 3735 echo "configure:3736: checking for LC_MESSAGES" >&5 3736 if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then 3737 echo $ac_n "(cached) $ac_c" 1>&6 3738 else 3739 cat > conftest.$ac_ext <<EOF 3740 #line 3741 "configure" 3741 #include "confdefs.h" 3742 #include <locale.h> 3743 int main() { 3744 return LC_MESSAGES 3745 ; return 0; } 3746 EOF 3747 if { (eval echo configure:3748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3748 rm -rf conftest* 3749 am_cv_val_LC_MESSAGES=yes 3750 else 3751 echo "configure: failed program was:" >&5 3752 cat conftest.$ac_ext >&5 3753 rm -rf conftest* 3754 am_cv_val_LC_MESSAGES=no 3755 fi 3756 rm -f conftest* 3757 fi 3758 3759 echo "$ac_t""$am_cv_val_LC_MESSAGES" 1>&6 3760 if test $am_cv_val_LC_MESSAGES = yes; then 3761 cat >> confdefs.h <<\EOF 3762 #define HAVE_LC_MESSAGES 1 3763 EOF 3764 3765 fi 3766 fi 3767 echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 3768 echo "configure:3769: checking whether NLS is requested" >&5 3769 # Check whether --enable-nls or --disable-nls was given. 3770 if test "${enable_nls+set}" = set; then 3771 enableval="$enable_nls" 3772 USE_NLS=$enableval 3773 else 3774 USE_NLS=yes 3775 fi 3776 3777 echo "$ac_t""$USE_NLS" 1>&6 3778 3779 3780 USE_INCLUDED_LIBINTL=no 3781 3782 if test "$USE_NLS" = "yes"; then 3783 cat >> confdefs.h <<\EOF 3784 #define ENABLE_NLS 1 3785 EOF 3786 3787 echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6 3788 echo "configure:3789: checking whether included gettext is requested" >&5 3789 # Check whether --with-included-gettext or --without-included-gettext was given. 3790 if test "${with_included_gettext+set}" = set; then 3791 withval="$with_included_gettext" 3792 nls_cv_force_use_gnu_gettext=$withval 3793 else 3794 nls_cv_force_use_gnu_gettext=no 3795 fi 3796 3797 echo "$ac_t""$nls_cv_force_use_gnu_gettext" 1>&6 3798 3799 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" 3800 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then 3801 nls_cv_header_intl= 3802 nls_cv_header_libgt= 3803 CATOBJEXT=NONE 3804 3805 ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'` 3806 echo $ac_n "checking for libintl.h""... $ac_c" 1>&6 3807 echo "configure:3808: checking for libintl.h" >&5 3808 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3809 echo $ac_n "(cached) $ac_c" 1>&6 3810 else 3811 cat > conftest.$ac_ext <<EOF 3812 #include <sys/types.h> 3813 #line 3814 "configure" 3814 #include "confdefs.h" 3815 #include <libintl.h> 3816 EOF 3817 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3818 { (eval echo configure:3819: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3819 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3820 if test -z "$ac_err"; then 3821 rm -rf conftest* 3822 eval "ac_cv_header_$ac_safe=yes" 3823 else 3824 echo "$ac_err" >&5 3825 echo "configure: failed program was:" >&5 3826 cat conftest.$ac_ext >&5 3827 rm -rf conftest* 3828 eval "ac_cv_header_$ac_safe=no" 3829 fi 3830 rm -f conftest* 3831 fi 3832 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 3833 echo "$ac_t""yes" 1>&6 3834 echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6 3835 echo "configure:3836: checking for gettext in libc" >&5 3836 if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then 3837 echo $ac_n "(cached) $ac_c" 1>&6 3838 else 3839 cat > conftest.$ac_ext <<EOF 3840 #line 3841 "configure" 3841 #include "confdefs.h" 3842 #include <libintl.h> 3843 int main() { 3844 return (int) gettext ("") 3845 ; return 0; } 3846 EOF 3847 if { (eval echo configure:3848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3848 rm -rf conftest* 3849 gt_cv_func_gettext_libc=yes 3850 else 3851 echo "configure: failed program was:" >&5 3852 cat conftest.$ac_ext >&5 3853 rm -rf conftest* 3854 gt_cv_func_gettext_libc=no 3855 fi 3856 rm -f conftest* 3857 fi 3858 3859 echo "$ac_t""$gt_cv_func_gettext_libc" 1>&6 3860 3861 if test "$gt_cv_func_gettext_libc" != "yes"; then 3862 echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6 3863 echo "configure:3864: checking for bindtextdomain in -lintl" >&5 3864 ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'` 3865 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3866 echo $ac_n "(cached) $ac_c" 1>&6 3867 else 3868 ac_save_LIBS="$LIBS" 3869 LIBS="-lintl $LIBS" 3870 cat > conftest.$ac_ext <<EOF 3871 #line 3872 "configure" 3872 #include "confdefs.h" 3873 /* Override any gcc2 internal prototype to avoid an error. */ 3874 /* We use char because int might match the return type of a gcc2 3875 builtin and then its argument prototype would still apply. */ 3876 char bindtextdomain(); 3877 3878 int main() { 3879 bindtextdomain() 3880 ; return 0; } 3881 EOF 3882 if { (eval echo configure:3883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3883 rm -rf conftest* 3884 eval "ac_cv_lib_$ac_lib_var=yes" 3885 else 3886 echo "configure: failed program was:" >&5 3887 cat conftest.$ac_ext >&5 3888 rm -rf conftest* 3889 eval "ac_cv_lib_$ac_lib_var=no" 3890 fi 3891 rm -f conftest* 3892 LIBS="$ac_save_LIBS" 3893 3894 fi 3895 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 3896 echo "$ac_t""yes" 1>&6 3897 echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6 3898 echo "configure:3899: checking for gettext in libintl" >&5 3899 if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then 3900 echo $ac_n "(cached) $ac_c" 1>&6 3901 else 3902 cat > conftest.$ac_ext <<EOF 3903 #line 3904 "configure" 3904 #include "confdefs.h" 3905 3906 int main() { 3907 return (int) gettext ("") 3908 ; return 0; } 3909 EOF 3910 if { (eval echo configure:3911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3911 rm -rf conftest* 3912 gt_cv_func_gettext_libintl=yes 3913 else 3914 echo "configure: failed program was:" >&5 3915 cat conftest.$ac_ext >&5 3916 rm -rf conftest* 3917 gt_cv_func_gettext_libintl=no 3918 fi 3919 rm -f conftest* 3920 fi 3921 3922 echo "$ac_t""$gt_cv_func_gettext_libintl" 1>&6 3923 else 3924 echo "$ac_t""no" 1>&6 3925 fi 3926 3927 fi 3928 3929 if test "$gt_cv_func_gettext_libc" = "yes" \ 3930 || test "$gt_cv_func_gettext_libintl" = "yes"; then 3931 cat >> confdefs.h <<\EOF 3932 #define HAVE_GETTEXT 1 3933 EOF 3934 3935 # Extract the first word of "msgfmt", so it can be a program name with args. 3936 set dummy msgfmt; ac_word=$2 3937 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3938 echo "configure:3939: checking for $ac_word" >&5 3939 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then 3940 echo $ac_n "(cached) $ac_c" 1>&6 3941 else 3942 case "$MSGFMT" in 3943 /*) 3944 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 3945 ;; 3946 *) 3947 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${PATH_IFS}" 3948 for ac_dir in $PATH; do 3949 test -z "$ac_dir" && ac_dir=. 3950 if test -f $ac_dir/$ac_word; then 3951 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then 3952 ac_cv_path_MSGFMT="$ac_dir/$ac_word" 3953 break 3954 fi 3955 fi 3956 done 3957 IFS="$ac_save_ifs" 3958 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" 3959 ;; 3960 esac 3961 fi 3962 MSGFMT="$ac_cv_path_MSGFMT" 3963 if test -n "$MSGFMT"; then 3964 echo "$ac_t""$MSGFMT" 1>&6 3965 else 3966 echo "$ac_t""no" 1>&6 3967 fi 3968 if test "$MSGFMT" != "no"; then 3969 for ac_func in dcgettext 3970 do 3971 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3972 echo "configure:3973: checking for $ac_func" >&5 3973 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3974 echo $ac_n "(cached) $ac_c" 1>&6 3975 else 3976 cat > conftest.$ac_ext <<EOF 3977 #line 3978 "configure" 3978 #include "confdefs.h" 3979 /* System header to define __stub macros and hopefully few prototypes, 3980 which can conflict with char $ac_func(); below. */ 3981 #include <assert.h> 3982 /* Override any gcc2 internal prototype to avoid an error. */ 3983 /* We use char because int might match the return type of a gcc2 3984 builtin and then its argument prototype would still apply. */ 3985 char $ac_func(); 3986 3987 int main() { 3988 3989 /* The GNU C library defines this for functions which it implements 3990 to always fail with ENOSYS. Some functions are actually named 3991 something starting with __ and the normal name is an alias. */ 3992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 3993 choke me 3994 #else 3995 $ac_func(); 3996 #endif 3997 3998 ; return 0; } 3999 EOF 4000 if { (eval echo configure:4001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4001 rm -rf conftest* 4002 eval "ac_cv_func_$ac_func=yes" 4003 else 4004 echo "configure: failed program was:" >&5 4005 cat conftest.$ac_ext >&5 4006 rm -rf conftest* 4007 eval "ac_cv_func_$ac_func=no" 4008 fi 4009 rm -f conftest* 4010 fi 4011 4012 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then 4013 echo "$ac_t""yes" 1>&6 4014 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 4015 cat >> confdefs.h <<EOF 4016 #define $ac_tr_func 1 4017 EOF 4018 4019 else 4020 echo "$ac_t""no" 1>&6 4021 fi 4022 done 4023 4024 # Extract the first word of "gmsgfmt", so it can be a program name with args. 4025 set dummy gmsgfmt; ac_word=$2 4026 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4027 echo "configure:4028: checking for $ac_word" >&5 4028 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then 4029 echo $ac_n "(cached) $ac_c" 1>&6 4030 else 4031 case "$GMSGFMT" in 4032 /* | [a-zA-Z]:*) 4033 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 4034 ;; 4035 ?:/*) 4036 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path. 4037 ;; 4038 *) 4039 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 4040 ac_dummy="$PATH" 4041 for ac_dir in $ac_dummy; do 4042 test -z "$ac_dir" && ac_dir=. 4043 if test -f $ac_dir/$ac_word; then 4044 ac_cv_path_GMSGFMT="$ac_dir/$ac_word" 4045 break 4046 fi 4047 if test -f $ac_dir/$ac_word$ac_exeext; then 4048 ac_cv_path_GMSGFMT="$ac_dir/$ac_word$ac_exeext" 4049 break 4050 fi 4051 done 4052 IFS="$ac_save_ifs" 4053 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 4054 ;; 4055 esac 4056 fi 4057 GMSGFMT="$ac_cv_path_GMSGFMT" 4058 if test -n "$GMSGFMT"; then 4059 echo "$ac_t""$GMSGFMT" 1>&6 4060 else 4061 echo "$ac_t""no" 1>&6 4062 fi 4063 4064 # Extract the first word of "xgettext", so it can be a program name with args. 4065 set dummy xgettext; ac_word=$2 4066 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4067 echo "configure:4068: checking for $ac_word" >&5 4068 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then 4069 echo $ac_n "(cached) $ac_c" 1>&6 4070 else 4071 case "$XGETTEXT" in 4072 /*) 4073 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 4074 ;; 4075 *) 4076 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${PATH_IFS}" 4077 for ac_dir in $PATH; do 4078 test -z "$ac_dir" && ac_dir=. 4079 if test -f $ac_dir/$ac_word; then 4080 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then 4081 ac_cv_path_XGETTEXT="$ac_dir/$ac_word" 4082 break 4083 fi 4084 fi 4085 done 4086 IFS="$ac_save_ifs" 4087 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 4088 ;; 4089 esac 4090 fi 4091 XGETTEXT="$ac_cv_path_XGETTEXT" 4092 if test -n "$XGETTEXT"; then 4093 echo "$ac_t""$XGETTEXT" 1>&6 4094 else 4095 echo "$ac_t""no" 1>&6 4096 fi 4097 4098 cat > conftest.$ac_ext <<EOF 4099 #line 4100 "configure" 4100 #include "confdefs.h" 4101 4102 int main() { 4103 extern int _nl_msg_cat_cntr; 4104 return _nl_msg_cat_cntr 4105 ; return 0; } 4106 EOF 4107 if { (eval echo configure:4108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4108 rm -rf conftest* 4109 CATOBJEXT=.gmo 4110 DATADIRNAME=share 4111 else 4112 echo "configure: failed program was:" >&5 4113 cat conftest.$ac_ext >&5 4114 rm -rf conftest* 4115 CATOBJEXT=.mo 4116 DATADIRNAME=lib 4117 fi 4118 rm -f conftest* 4119 INSTOBJEXT=.mo 4120 fi 4121 fi 4122 4123 else 4124 echo "$ac_t""no" 1>&6 4125 fi 4126 4127 4128 4129 if test "$CATOBJEXT" = "NONE"; then 4130 nls_cv_use_gnu_gettext=yes 4131 fi 4132 fi 4133 4134 if test "$nls_cv_use_gnu_gettext" = "yes"; then 4135 INTLOBJS="\$(GETTOBJS)" 4136 # Extract the first word of "msgfmt", so it can be a program name with args. 4137 set dummy msgfmt; ac_word=$2 4138 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4139 echo "configure:4140: checking for $ac_word" >&5 4140 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then 4141 echo $ac_n "(cached) $ac_c" 1>&6 4142 else 4143 case "$MSGFMT" in 4144 /*) 4145 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 4146 ;; 4147 *) 4148 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${PATH_IFS}" 4149 for ac_dir in $PATH; do 4150 test -z "$ac_dir" && ac_dir=. 4151 if test -f $ac_dir/$ac_word; then 4152 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then 4153 ac_cv_path_MSGFMT="$ac_dir/$ac_word" 4154 break 4155 fi 4156 fi 4157 done 4158 IFS="$ac_save_ifs" 4159 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="msgfmt" 4160 ;; 4161 esac 4162 fi 4163 MSGFMT="$ac_cv_path_MSGFMT" 4164 if test -n "$MSGFMT"; then 4165 echo "$ac_t""$MSGFMT" 1>&6 4166 else 4167 echo "$ac_t""no" 1>&6 4168 fi 4169 4170 # Extract the first word of "gmsgfmt", so it can be a program name with args. 4171 set dummy gmsgfmt; ac_word=$2 4172 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4173 echo "configure:4174: checking for $ac_word" >&5 4174 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then 4175 echo $ac_n "(cached) $ac_c" 1>&6 4176 else 4177 case "$GMSGFMT" in 4178 /* | [a-zA-Z]:*) 4179 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 4180 ;; 4181 ?:/*) 4182 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path. 4183 ;; 4184 *) 4185 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 4186 ac_dummy="$PATH" 4187 for ac_dir in $ac_dummy; do 4188 test -z "$ac_dir" && ac_dir=. 4189 if test -f $ac_dir/$ac_word; then 4190 ac_cv_path_GMSGFMT="$ac_dir/$ac_word" 4191 break 4192 fi 4193 if test -f $ac_dir/$ac_word$ac_exeext; then 4194 ac_cv_path_GMSGFMT="$ac_dir/$ac_word$ac_exeext" 4195 break 4196 fi 4197 done 4198 IFS="$ac_save_ifs" 4199 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 4200 ;; 4201 esac 4202 fi 4203 GMSGFMT="$ac_cv_path_GMSGFMT" 4204 if test -n "$GMSGFMT"; then 4205 echo "$ac_t""$GMSGFMT" 1>&6 4206 else 4207 echo "$ac_t""no" 1>&6 4208 fi 4209 4210 # Extract the first word of "xgettext", so it can be a program name with args. 4211 set dummy xgettext; ac_word=$2 4212 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4213 echo "configure:4214: checking for $ac_word" >&5 4214 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then 4215 echo $ac_n "(cached) $ac_c" 1>&6 4216 else 4217 case "$XGETTEXT" in 4218 /*) 4219 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 4220 ;; 4221 *) 4222 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${PATH_IFS}" 4223 for ac_dir in $PATH; do 4224 test -z "$ac_dir" && ac_dir=. 4225 if test -f $ac_dir/$ac_word; then 4226 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then 4227 ac_cv_path_XGETTEXT="$ac_dir/$ac_word" 4228 break 4229 fi 4230 fi 4231 done 4232 IFS="$ac_save_ifs" 4233 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 4234 ;; 4235 esac 4236 fi 4237 XGETTEXT="$ac_cv_path_XGETTEXT" 4238 if test -n "$XGETTEXT"; then 4239 echo "$ac_t""$XGETTEXT" 1>&6 4240 else 4241 echo "$ac_t""no" 1>&6 4242 fi 4243 4244 4245 USE_INCLUDED_LIBINTL=yes 4246 CATOBJEXT=.gmo 4247 INSTOBJEXT=.mo 4248 DATADIRNAME=share 4249 INTLDEPS='$(top_builddir)/../intl/libintl.a' 4250 INTLLIBS=$INTLDEPS 4251 LIBS=`echo $LIBS | sed -e 's/-lintl//'` 4252 nls_cv_header_intl=libintl.h 4253 nls_cv_header_libgt=libgettext.h 4254 fi 4255 4256 if test "$XGETTEXT" != ":"; then 4257 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then 4258 : ; 4259 else 4260 echo "$ac_t""found xgettext programs is not GNU xgettext; ignore it" 1>&6 4261 XGETTEXT=":" 4262 fi 4263 fi 4264 4265 # We need to process the po/ directory. 4266 POSUB=po 4267 else 4268 DATADIRNAME=share 4269 nls_cv_header_intl=libintl.h 4270 nls_cv_header_libgt=libgettext.h 4271 fi 4272 4273 # If this is used in GNU gettext we have to set USE_NLS to `yes' 4274 # because some of the sources are only built for this goal. 4275 if test "$PACKAGE" = gettext; then 4276 USE_NLS=yes 4277 USE_INCLUDED_LIBINTL=yes 4278 fi 4279 4280 for lang in $ALL_LINGUAS; do 4281 GMOFILES="$GMOFILES $lang.gmo" 4282 POFILES="$POFILES $lang.po" 4283 done 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 if test "x$CATOBJEXT" != "x"; then 4299 if test "x$ALL_LINGUAS" = "x"; then 4300 LINGUAS= 4301 else 4302 echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 4303 echo "configure:4304: checking for catalogs to be installed" >&5 4304 NEW_LINGUAS= 4305 for lang in ${LINGUAS=$ALL_LINGUAS}; do 4306 case "$ALL_LINGUAS" in 4307 *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;; 4308 esac 4309 done 4310 LINGUAS=$NEW_LINGUAS 4311 echo "$ac_t""$LINGUAS" 1>&6 4312 fi 4313 4314 if test -n "$LINGUAS"; then 4315 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done 4316 fi 4317 fi 4318 4319 if test $ac_cv_header_locale_h = yes; then 4320 INCLUDE_LOCALE_H="#include <locale.h>" 4321 else 4322 INCLUDE_LOCALE_H="\ 4323 /* The system does not provide the header <locale.h>. Take care yourself. */" 4324 fi 4325 4326 4327 if test -f $srcdir/po2tbl.sed.in; then 4328 if test "$CATOBJEXT" = ".cat"; then 4329 ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'` 4330 echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6 4331 echo "configure:4332: checking for linux/version.h" >&5 4332 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4333 echo $ac_n "(cached) $ac_c" 1>&6 4334 else 4335 cat > conftest.$ac_ext <<EOF 4336 #include <sys/types.h> 4337 #line 4338 "configure" 4338 #include "confdefs.h" 4339 #include <linux/version.h> 4340 EOF 4341 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4342 { (eval echo configure:4343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4343 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4344 if test -z "$ac_err"; then 4345 rm -rf conftest* 4346 eval "ac_cv_header_$ac_safe=yes" 4347 else 4348 echo "$ac_err" >&5 4349 echo "configure: failed program was:" >&5 4350 cat conftest.$ac_ext >&5 4351 rm -rf conftest* 4352 eval "ac_cv_header_$ac_safe=no" 4353 fi 4354 rm -f conftest* 4355 fi 4356 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4357 echo "$ac_t""yes" 1>&6 4358 msgformat=linux 4359 else 4360 echo "$ac_t""no" 1>&6 4361 msgformat=xopen 4362 fi 4363 4364 4365 sed -e '/^#/d' $srcdir/$msgformat-msg.sed > po2msg.sed 4366 fi 4367 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \ 4368 $srcdir/po2tbl.sed.in > po2tbl.sed 4369 fi 4370 4371 if test "$PACKAGE" = "gettext"; then 4372 GT_NO="#NO#" 4373 GT_YES= 4374 else 4375 GT_NO= 4376 GT_YES="#YES#" 4377 fi 4378 4379 4380 4381 MKINSTALLDIRS="\$(srcdir)/../../mkinstalldirs" 4382 4383 4384 l= 4385 4386 4387 if test -d $srcdir/po; then 4388 test -d po || mkdir po 4389 if test "x$srcdir" != "x."; then 4390 if test "x`echo $srcdir | sed -e 's@.\:/.*@@' -e 's@/.*@@' `" = "x"; then 4391 posrcprefix="$srcdir/" 4392 else 4393 posrcprefix="../$srcdir/" 4394 fi 4395 else 4396 posrcprefix="../" 4397 fi 4398 rm -f po/POTFILES 4399 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ 4400 < $srcdir/po/POTFILES.in > po/POTFILES 4401 fi 4402 2685 4403 2686 4404 # Permit host specific settings. … … 2700 4418 # ./install, which can be erroneously created by make from ./install.sh. 2701 4419 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 2702 echo "configure: 2703: checking for a BSD compatible install" >&54420 echo "configure:4421: checking for a BSD compatible install" >&5 2703 4421 if test -z "$INSTALL"; then 2704 4422 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 2785 4503 else 2786 4504 echo $ac_n "checking for build system executable suffix""... $ac_c" 1>&6 2787 echo "configure: 2788: checking for build system executable suffix" >&54505 echo "configure:4506: checking for build system executable suffix" >&5 2788 4506 if eval "test \"`echo '$''{'bfd_cv_build_exeext'+set}'`\" = set"; then 2789 4507 echo $ac_n "(cached) $ac_c" 1>&6 … … 2809 4527 2810 4528 2811 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&62812 echo "configure:2813: checking how to run the C preprocessor" >&52813 # On Suns, sometimes $CPP names a directory.2814 if test -n "$CPP" && test -d "$CPP"; then2815 CPP=2816 fi2817 if test -z "$CPP"; then2818 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then2819 echo $ac_n "(cached) $ac_c" 1>&62820 else2821 # This must be in double quotes, not single quotes, because CPP may get2822 # substituted into the Makefile and "${CC-cc}" will confuse make.2823 CPP="${CC-cc} -E"2824 # On the NeXT, cc -E runs the code through the compiler's parser,2825 # not just through cpp.2826 cat > conftest.$ac_ext <<EOF2827 #include <sys/types.h>2828 #line 2829 "configure"2829 #include "confdefs.h"2830 #include <assert.h>2831 Syntax Error2832 EOF2833 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"2834 { (eval echo configure:2835: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2835 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`2836 if test -z "$ac_err"; then2837 :2838 else2839 echo "$ac_err" >&52840 echo "configure: failed program was:" >&52841 cat conftest.$ac_ext >&52842 rm -rf conftest*2843 CPP="${CC-cc} -E -traditional-cpp"2844 cat > conftest.$ac_ext <<EOF2845 #include <sys/types.h>2846 #line 2847 "configure"2847 #include "confdefs.h"2848 #include <assert.h>2849 Syntax Error2850 EOF2851 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"2852 { (eval echo configure:2853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2853 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`2854 if test -z "$ac_err"; then2855 :2856 else2857 echo "$ac_err" >&52858 echo "configure: failed program was:" >&52859 cat conftest.$ac_ext >&52860 rm -rf conftest*2861 CPP="${CC-cc} -nologo -E"2862 cat > conftest.$ac_ext <<EOF2863 #include <sys/types.h>2864 #line 2865 "configure"2865 #include "confdefs.h"2866 #include <assert.h>2867 Syntax Error2868 EOF2869 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"2870 { (eval echo configure:2871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2871 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`2872 if test -z "$ac_err"; then2873 :2874 else2875 echo "$ac_err" >&52876 echo "configure: failed program was:" >&52877 cat conftest.$ac_ext >&52878 rm -rf conftest*2879 CPP=/lib/cpp2880 fi2881 rm -f conftest*2882 fi2883 rm -f conftest*2884 fi2885 rm -f conftest*2886 ac_cv_prog_CPP="$CPP"2887 fi2888 CPP="$ac_cv_prog_CPP"2889 else2890 ac_cv_prog_CPP="$CPP"2891 fi2892 echo "$ac_t""$CPP" 1>&62893 2894 4529 for ac_hdr in stddef.h string.h strings.h stdlib.h time.h unistd.h 2895 4530 do 2896 4531 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2897 4532 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2898 echo "configure: 2899: checking for $ac_hdr" >&54533 echo "configure:4534: checking for $ac_hdr" >&5 2899 4534 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2900 4535 echo $ac_n "(cached) $ac_c" 1>&6 … … 2902 4537 cat > conftest.$ac_ext <<EOF 2903 4538 #include <sys/types.h> 2904 #line 2905"configure"4539 #line 4540 "configure" 2905 4540 #include "confdefs.h" 2906 4541 #include <$ac_hdr> 2907 4542 EOF 2908 4543 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2909 { (eval echo configure: 2910: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4544 { (eval echo configure:4545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2910 4545 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2911 4546 if test -z "$ac_err"; then … … 2937 4572 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2938 4573 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2939 echo "configure: 2940: checking for $ac_hdr" >&54574 echo "configure:4575: checking for $ac_hdr" >&5 2940 4575 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2941 4576 echo $ac_n "(cached) $ac_c" 1>&6 … … 2943 4578 cat > conftest.$ac_ext <<EOF 2944 4579 #include <sys/types.h> 2945 #line 2946"configure"4580 #line 4581 "configure" 2946 4581 #include "confdefs.h" 2947 4582 #include <$ac_hdr> 2948 4583 EOF 2949 4584 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2950 { (eval echo configure: 2951: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4585 { (eval echo configure:4586: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2951 4586 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2952 4587 if test -z "$ac_err"; then … … 2975 4610 2976 4611 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 2977 echo "configure: 2978: checking whether time.h and sys/time.h may both be included" >&54612 echo "configure:4613: checking whether time.h and sys/time.h may both be included" >&5 2978 4613 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 2979 4614 echo $ac_n "(cached) $ac_c" 1>&6 2980 4615 else 2981 4616 cat > conftest.$ac_ext <<EOF 2982 #line 2983"configure"4617 #line 4618 "configure" 2983 4618 #include "confdefs.h" 2984 4619 #include <sys/types.h> … … 2989 4624 ; return 0; } 2990 4625 EOF 2991 if { (eval echo configure: 2992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4626 if { (eval echo configure:4627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2992 4627 rm -rf conftest* 2993 4628 ac_cv_header_time=yes … … 3014 4649 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3015 4650 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 3016 echo "configure: 3017: checking for $ac_hdr that defines DIR" >&54651 echo "configure:4652: checking for $ac_hdr that defines DIR" >&5 3017 4652 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then 3018 4653 echo $ac_n "(cached) $ac_c" 1>&6 3019 4654 else 3020 4655 cat > conftest.$ac_ext <<EOF 3021 #line 3022"configure"4656 #line 4657 "configure" 3022 4657 #include "confdefs.h" 3023 4658 #include <sys/types.h> … … 3027 4662 ; return 0; } 3028 4663 EOF 3029 if { (eval echo configure: 3030: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4664 if { (eval echo configure:4665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3030 4665 rm -rf conftest* 3031 4666 eval "ac_cv_header_dirent_$ac_safe=yes" … … 3052 4687 if test $ac_header_dirent = dirent.h; then 3053 4688 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 3054 echo "configure: 3055: checking for opendir in -ldir" >&54689 echo "configure:4690: checking for opendir in -ldir" >&5 3055 4690 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` 3056 4691 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3060 4695 LIBS="-ldir $LIBS" 3061 4696 cat > conftest.$ac_ext <<EOF 3062 #line 3063"configure"4697 #line 4698 "configure" 3063 4698 #include "confdefs.h" 3064 4699 /* Override any gcc2 internal prototype to avoid an error. */ … … 3071 4706 ; return 0; } 3072 4707 EOF 3073 if { (eval echo configure: 3074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4708 if { (eval echo configure:4709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3074 4709 rm -rf conftest* 3075 4710 eval "ac_cv_lib_$ac_lib_var=yes" … … 3093 4728 else 3094 4729 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 3095 echo "configure: 3096: checking for opendir in -lx" >&54730 echo "configure:4731: checking for opendir in -lx" >&5 3096 4731 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` 3097 4732 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3101 4736 LIBS="-lx $LIBS" 3102 4737 cat > conftest.$ac_ext <<EOF 3103 #line 3104"configure"4738 #line 4739 "configure" 3104 4739 #include "confdefs.h" 3105 4740 /* Override any gcc2 internal prototype to avoid an error. */ … … 3112 4747 ; return 0; } 3113 4748 EOF 3114 if { (eval echo configure: 3115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4749 if { (eval echo configure:4750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3115 4750 rm -rf conftest* 3116 4751 eval "ac_cv_lib_$ac_lib_var=yes" … … 3137 4772 do 3138 4773 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3139 echo "configure: 3140: checking for $ac_func" >&54774 echo "configure:4775: checking for $ac_func" >&5 3140 4775 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3141 4776 echo $ac_n "(cached) $ac_c" 1>&6 3142 4777 else 3143 4778 cat > conftest.$ac_ext <<EOF 3144 #line 3145"configure"4779 #line 4780 "configure" 3145 4780 #include "confdefs.h" 3146 4781 /* System header to define __stub macros and hopefully few prototypes, … … 3165 4800 ; return 0; } 3166 4801 EOF 3167 if { (eval echo configure: 3168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4802 if { (eval echo configure:4803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3168 4803 rm -rf conftest* 3169 4804 eval "ac_cv_func_$ac_func=yes" … … 3200 4835 3201 4836 echo $ac_n "checking whether strstr must be declared""... $ac_c" 1>&6 3202 echo "configure: 3203: checking whether strstr must be declared" >&54837 echo "configure:4838: checking whether strstr must be declared" >&5 3203 4838 if eval "test \"`echo '$''{'bfd_cv_decl_needed_strstr'+set}'`\" = set"; then 3204 4839 echo $ac_n "(cached) $ac_c" 1>&6 3205 4840 else 3206 4841 cat > conftest.$ac_ext <<EOF 3207 #line 3208"configure"4842 #line 4843 "configure" 3208 4843 #include "confdefs.h" 3209 4844 … … 3226 4861 ; return 0; } 3227 4862 EOF 3228 if { (eval echo configure: 3229: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4863 if { (eval echo configure:4864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3229 4864 rm -rf conftest* 3230 4865 bfd_cv_decl_needed_strstr=no … … 3247 4882 3248 4883 echo $ac_n "checking whether malloc must be declared""... $ac_c" 1>&6 3249 echo "configure: 3250: checking whether malloc must be declared" >&54884 echo "configure:4885: checking whether malloc must be declared" >&5 3250 4885 if eval "test \"`echo '$''{'bfd_cv_decl_needed_malloc'+set}'`\" = set"; then 3251 4886 echo $ac_n "(cached) $ac_c" 1>&6 3252 4887 else 3253 4888 cat > conftest.$ac_ext <<EOF 3254 #line 3255"configure"4889 #line 4890 "configure" 3255 4890 #include "confdefs.h" 3256 4891 … … 3273 4908 ; return 0; } 3274 4909 EOF 3275 if { (eval echo configure: 3276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4910 if { (eval echo configure:4911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3276 4911 rm -rf conftest* 3277 4912 bfd_cv_decl_needed_malloc=no … … 3294 4929 3295 4930 echo $ac_n "checking whether realloc must be declared""... $ac_c" 1>&6 3296 echo "configure: 3297: checking whether realloc must be declared" >&54931 echo "configure:4932: checking whether realloc must be declared" >&5 3297 4932 if eval "test \"`echo '$''{'bfd_cv_decl_needed_realloc'+set}'`\" = set"; then 3298 4933 echo $ac_n "(cached) $ac_c" 1>&6 3299 4934 else 3300 4935 cat > conftest.$ac_ext <<EOF 3301 #line 3302"configure"4936 #line 4937 "configure" 3302 4937 #include "confdefs.h" 3303 4938 … … 3320 4955 ; return 0; } 3321 4956 EOF 3322 if { (eval echo configure: 3323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4957 if { (eval echo configure:4958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3323 4958 rm -rf conftest* 3324 4959 bfd_cv_decl_needed_realloc=no … … 3341 4976 3342 4977 echo $ac_n "checking whether free must be declared""... $ac_c" 1>&6 3343 echo "configure: 3344: checking whether free must be declared" >&54978 echo "configure:4979: checking whether free must be declared" >&5 3344 4979 if eval "test \"`echo '$''{'bfd_cv_decl_needed_free'+set}'`\" = set"; then 3345 4980 echo $ac_n "(cached) $ac_c" 1>&6 3346 4981 else 3347 4982 cat > conftest.$ac_ext <<EOF 3348 #line 3349"configure"4983 #line 4984 "configure" 3349 4984 #include "confdefs.h" 3350 4985 … … 3367 5002 ; return 0; } 3368 5003 EOF 3369 if { (eval echo configure: 3370: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5004 if { (eval echo configure:5005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3370 5005 rm -rf conftest* 3371 5006 bfd_cv_decl_needed_free=no … … 3388 5023 3389 5024 echo $ac_n "checking whether getenv must be declared""... $ac_c" 1>&6 3390 echo "configure: 3391: checking whether getenv must be declared" >&55025 echo "configure:5026: checking whether getenv must be declared" >&5 3391 5026 if eval "test \"`echo '$''{'bfd_cv_decl_needed_getenv'+set}'`\" = set"; then 3392 5027 echo $ac_n "(cached) $ac_c" 1>&6 3393 5028 else 3394 5029 cat > conftest.$ac_ext <<EOF 3395 #line 3396"configure"5030 #line 5031 "configure" 3396 5031 #include "confdefs.h" 3397 5032 … … 3414 5049 ; return 0; } 3415 5050 EOF 3416 if { (eval echo configure: 3417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5051 if { (eval echo configure:5052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3417 5052 rm -rf conftest* 3418 5053 bfd_cv_decl_needed_getenv=no … … 3640 5275 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3641 5276 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3642 echo "configure: 3643: checking for $ac_hdr" >&55277 echo "configure:5278: checking for $ac_hdr" >&5 3643 5278 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3644 5279 echo $ac_n "(cached) $ac_c" 1>&6 … … 3646 5281 cat > conftest.$ac_ext <<EOF 3647 5282 #include <sys/types.h> 3648 #line 3649"configure"5283 #line 5284 "configure" 3649 5284 #include "confdefs.h" 3650 5285 #include <$ac_hdr> 3651 5286 EOF 3652 5287 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3653 { (eval echo configure: 3654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }5288 { (eval echo configure:5289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3654 5289 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3655 5290 if test -z "$ac_err"; then … … 3679 5314 if test "$ac_cv_header_sys_procfs_h" = yes; then 3680 5315 echo $ac_n "checking for prstatus_t in sys/procfs.h""... $ac_c" 1>&6 3681 echo "configure: 3682: checking for prstatus_t in sys/procfs.h" >&55316 echo "configure:5317: checking for prstatus_t in sys/procfs.h" >&5 3682 5317 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prstatus_t'+set}'`\" = set"; then 3683 5318 echo $ac_n "(cached) $ac_c" 1>&6 3684 5319 else 3685 5320 cat > conftest.$ac_ext <<EOF 3686 #line 3687"configure"5321 #line 5322 "configure" 3687 5322 #include "confdefs.h" 3688 5323 … … 3693 5328 ; return 0; } 3694 5329 EOF 3695 if { (eval echo configure: 3696: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5330 if { (eval echo configure:5331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3696 5331 rm -rf conftest* 3697 5332 bfd_cv_have_sys_procfs_type_prstatus_t=yes … … 3715 5350 3716 5351 echo $ac_n "checking for prstatus32_t in sys/procfs.h""... $ac_c" 1>&6 3717 echo "configure: 3718: checking for prstatus32_t in sys/procfs.h" >&55352 echo "configure:5353: checking for prstatus32_t in sys/procfs.h" >&5 3718 5353 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prstatus32_t'+set}'`\" = set"; then 3719 5354 echo $ac_n "(cached) $ac_c" 1>&6 3720 5355 else 3721 5356 cat > conftest.$ac_ext <<EOF 3722 #line 3723"configure"5357 #line 5358 "configure" 3723 5358 #include "confdefs.h" 3724 5359 … … 3729 5364 ; return 0; } 3730 5365 EOF 3731 if { (eval echo configure: 3732: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5366 if { (eval echo configure:5367: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3732 5367 rm -rf conftest* 3733 5368 bfd_cv_have_sys_procfs_type_prstatus32_t=yes … … 3751 5386 3752 5387 echo $ac_n "checking for prstatus_t.pr_who in sys/procfs.h""... $ac_c" 1>&6 3753 echo "configure: 3754: checking for prstatus_t.pr_who in sys/procfs.h" >&55388 echo "configure:5389: checking for prstatus_t.pr_who in sys/procfs.h" >&5 3754 5389 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who'+set}'`\" = set"; then 3755 5390 echo $ac_n "(cached) $ac_c" 1>&6 3756 5391 else 3757 5392 cat > conftest.$ac_ext <<EOF 3758 #line 3759"configure"5393 #line 5394 "configure" 3759 5394 #include "confdefs.h" 3760 5395 … … 3765 5400 ; return 0; } 3766 5401 EOF 3767 if { (eval echo configure: 3768: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5402 if { (eval echo configure:5403: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3768 5403 rm -rf conftest* 3769 5404 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=yes … … 3787 5422 3788 5423 echo $ac_n "checking for prstatus32_t.pr_who in sys/procfs.h""... $ac_c" 1>&6 3789 echo "configure: 3790: checking for prstatus32_t.pr_who in sys/procfs.h" >&55424 echo "configure:5425: checking for prstatus32_t.pr_who in sys/procfs.h" >&5 3790 5425 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who'+set}'`\" = set"; then 3791 5426 echo $ac_n "(cached) $ac_c" 1>&6 3792 5427 else 3793 5428 cat > conftest.$ac_ext <<EOF 3794 #line 3795"configure"5429 #line 5430 "configure" 3795 5430 #include "confdefs.h" 3796 5431 … … 3801 5436 ; return 0; } 3802 5437 EOF 3803 if { (eval echo configure: 3804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5438 if { (eval echo configure:5439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3804 5439 rm -rf conftest* 3805 5440 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=yes … … 3823 5458 3824 5459 echo $ac_n "checking for pstatus_t in sys/procfs.h""... $ac_c" 1>&6 3825 echo "configure: 3826: checking for pstatus_t in sys/procfs.h" >&55460 echo "configure:5461: checking for pstatus_t in sys/procfs.h" >&5 3826 5461 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pstatus_t'+set}'`\" = set"; then 3827 5462 echo $ac_n "(cached) $ac_c" 1>&6 3828 5463 else 3829 5464 cat > conftest.$ac_ext <<EOF 3830 #line 3831"configure"5465 #line 5466 "configure" 3831 5466 #include "confdefs.h" 3832 5467 … … 3837 5472 ; return 0; } 3838 5473 EOF 3839 if { (eval echo configure: 3840: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5474 if { (eval echo configure:5475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3840 5475 rm -rf conftest* 3841 5476 bfd_cv_have_sys_procfs_type_pstatus_t=yes … … 3859 5494 3860 5495 echo $ac_n "checking for pxstatus_t in sys/procfs.h""... $ac_c" 1>&6 3861 echo "configure: 3862: checking for pxstatus_t in sys/procfs.h" >&55496 echo "configure:5497: checking for pxstatus_t in sys/procfs.h" >&5 3862 5497 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pxstatus_t'+set}'`\" = set"; then 3863 5498 echo $ac_n "(cached) $ac_c" 1>&6 3864 5499 else 3865 5500 cat > conftest.$ac_ext <<EOF 3866 #line 3867"configure"5501 #line 5502 "configure" 3867 5502 #include "confdefs.h" 3868 5503 … … 3873 5508 ; return 0; } 3874 5509 EOF 3875 if { (eval echo configure: 3876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5510 if { (eval echo configure:5511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3876 5511 rm -rf conftest* 3877 5512 bfd_cv_have_sys_procfs_type_pxstatus_t=yes … … 3895 5530 3896 5531 echo $ac_n "checking for pstatus32_t in sys/procfs.h""... $ac_c" 1>&6 3897 echo "configure: 3898: checking for pstatus32_t in sys/procfs.h" >&55532 echo "configure:5533: checking for pstatus32_t in sys/procfs.h" >&5 3898 5533 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pstatus32_t'+set}'`\" = set"; then 3899 5534 echo $ac_n "(cached) $ac_c" 1>&6 3900 5535 else 3901 5536 cat > conftest.$ac_ext <<EOF 3902 #line 3903"configure"5537 #line 5538 "configure" 3903 5538 #include "confdefs.h" 3904 5539 … … 3909 5544 ; return 0; } 3910 5545 EOF 3911 if { (eval echo configure: 3912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5546 if { (eval echo configure:5547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3912 5547 rm -rf conftest* 3913 5548 bfd_cv_have_sys_procfs_type_pstatus32_t=yes … … 3931 5566 3932 5567 echo $ac_n "checking for prpsinfo_t in sys/procfs.h""... $ac_c" 1>&6 3933 echo "configure: 3934: checking for prpsinfo_t in sys/procfs.h" >&55568 echo "configure:5569: checking for prpsinfo_t in sys/procfs.h" >&5 3934 5569 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prpsinfo_t'+set}'`\" = set"; then 3935 5570 echo $ac_n "(cached) $ac_c" 1>&6 3936 5571 else 3937 5572 cat > conftest.$ac_ext <<EOF 3938 #line 3939"configure"5573 #line 5574 "configure" 3939 5574 #include "confdefs.h" 3940 5575 … … 3945 5580 ; return 0; } 3946 5581 EOF 3947 if { (eval echo configure: 3948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5582 if { (eval echo configure:5583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3948 5583 rm -rf conftest* 3949 5584 bfd_cv_have_sys_procfs_type_prpsinfo_t=yes … … 3967 5602 3968 5603 echo $ac_n "checking for prpsinfo32_t in sys/procfs.h""... $ac_c" 1>&6 3969 echo "configure: 3970: checking for prpsinfo32_t in sys/procfs.h" >&55604 echo "configure:5605: checking for prpsinfo32_t in sys/procfs.h" >&5 3970 5605 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prpsinfo32_t'+set}'`\" = set"; then 3971 5606 echo $ac_n "(cached) $ac_c" 1>&6 3972 5607 else 3973 5608 cat > conftest.$ac_ext <<EOF 3974 #line 3975"configure"5609 #line 5610 "configure" 3975 5610 #include "confdefs.h" 3976 5611 … … 3981 5616 ; return 0; } 3982 5617 EOF 3983 if { (eval echo configure: 3984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5618 if { (eval echo configure:5619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3984 5619 rm -rf conftest* 3985 5620 bfd_cv_have_sys_procfs_type_prpsinfo32_t=yes … … 4003 5638 4004 5639 echo $ac_n "checking for psinfo_t in sys/procfs.h""... $ac_c" 1>&6 4005 echo "configure: 4006: checking for psinfo_t in sys/procfs.h" >&55640 echo "configure:5641: checking for psinfo_t in sys/procfs.h" >&5 4006 5641 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_psinfo_t'+set}'`\" = set"; then 4007 5642 echo $ac_n "(cached) $ac_c" 1>&6 4008 5643 else 4009 5644 cat > conftest.$ac_ext <<EOF 4010 #line 4011"configure"5645 #line 5646 "configure" 4011 5646 #include "confdefs.h" 4012 5647 … … 4017 5652 ; return 0; } 4018 5653 EOF 4019 if { (eval echo configure: 4020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5654 if { (eval echo configure:5655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4020 5655 rm -rf conftest* 4021 5656 bfd_cv_have_sys_procfs_type_psinfo_t=yes … … 4039 5674 4040 5675 echo $ac_n "checking for psinfo32_t in sys/procfs.h""... $ac_c" 1>&6 4041 echo "configure: 4042: checking for psinfo32_t in sys/procfs.h" >&55676 echo "configure:5677: checking for psinfo32_t in sys/procfs.h" >&5 4042 5677 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_psinfo32_t'+set}'`\" = set"; then 4043 5678 echo $ac_n "(cached) $ac_c" 1>&6 4044 5679 else 4045 5680 cat > conftest.$ac_ext <<EOF 4046 #line 4047"configure"5681 #line 5682 "configure" 4047 5682 #include "confdefs.h" 4048 5683 … … 4053 5688 ; return 0; } 4054 5689 EOF 4055 if { (eval echo configure: 4056: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5690 if { (eval echo configure:5691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4056 5691 rm -rf conftest* 4057 5692 bfd_cv_have_sys_procfs_type_psinfo32_t=yes … … 4075 5710 4076 5711 echo $ac_n "checking for lwpstatus_t in sys/procfs.h""... $ac_c" 1>&6 4077 echo "configure: 4078: checking for lwpstatus_t in sys/procfs.h" >&55712 echo "configure:5713: checking for lwpstatus_t in sys/procfs.h" >&5 4078 5713 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_lwpstatus_t'+set}'`\" = set"; then 4079 5714 echo $ac_n "(cached) $ac_c" 1>&6 4080 5715 else 4081 5716 cat > conftest.$ac_ext <<EOF 4082 #line 4083"configure"5717 #line 5718 "configure" 4083 5718 #include "confdefs.h" 4084 5719 … … 4089 5724 ; return 0; } 4090 5725 EOF 4091 if { (eval echo configure: 4092: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5726 if { (eval echo configure:5727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4092 5727 rm -rf conftest* 4093 5728 bfd_cv_have_sys_procfs_type_lwpstatus_t=yes … … 4111 5746 4112 5747 echo $ac_n "checking for lwpxstatus_t in sys/procfs.h""... $ac_c" 1>&6 4113 echo "configure: 4114: checking for lwpxstatus_t in sys/procfs.h" >&55748 echo "configure:5749: checking for lwpxstatus_t in sys/procfs.h" >&5 4114 5749 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_lwpxstatus_t'+set}'`\" = set"; then 4115 5750 echo $ac_n "(cached) $ac_c" 1>&6 4116 5751 else 4117 5752 cat > conftest.$ac_ext <<EOF 4118 #line 4119"configure"5753 #line 5754 "configure" 4119 5754 #include "confdefs.h" 4120 5755 … … 4125 5760 ; return 0; } 4126 5761 EOF 4127 if { (eval echo configure: 4128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5762 if { (eval echo configure:5763: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4128 5763 rm -rf conftest* 4129 5764 bfd_cv_have_sys_procfs_type_lwpxstatus_t=yes … … 4147 5782 4148 5783 echo $ac_n "checking for lwpstatus_t.pr_context in sys/procfs.h""... $ac_c" 1>&6 4149 echo "configure: 4150: checking for lwpstatus_t.pr_context in sys/procfs.h" >&55784 echo "configure:5785: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5 4150 5785 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context'+set}'`\" = set"; then 4151 5786 echo $ac_n "(cached) $ac_c" 1>&6 4152 5787 else 4153 5788 cat > conftest.$ac_ext <<EOF 4154 #line 4155"configure"5789 #line 5790 "configure" 4155 5790 #include "confdefs.h" 4156 5791 … … 4161 5796 ; return 0; } 4162 5797 EOF 4163 if { (eval echo configure: 4164: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5798 if { (eval echo configure:5799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4164 5799 rm -rf conftest* 4165 5800 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=yes … … 4183 5818 4184 5819 echo $ac_n "checking for lwpstatus_t.pr_reg in sys/procfs.h""... $ac_c" 1>&6 4185 echo "configure: 4186: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&55820 echo "configure:5821: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5 4186 5821 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg'+set}'`\" = set"; then 4187 5822 echo $ac_n "(cached) $ac_c" 1>&6 4188 5823 else 4189 5824 cat > conftest.$ac_ext <<EOF 4190 #line 4191"configure"5825 #line 5826 "configure" 4191 5826 #include "confdefs.h" 4192 5827 … … 4197 5832 ; return 0; } 4198 5833 EOF 4199 if { (eval echo configure: 4200: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5834 if { (eval echo configure:5835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4200 5835 rm -rf conftest* 4201 5836 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=yes … … 4219 5854 4220 5855 echo $ac_n "checking for win32_pstatus_t in sys/procfs.h""... $ac_c" 1>&6 4221 echo "configure: 4222: checking for win32_pstatus_t in sys/procfs.h" >&55856 echo "configure:5857: checking for win32_pstatus_t in sys/procfs.h" >&5 4222 5857 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_win32_pstatus_t'+set}'`\" = set"; then 4223 5858 echo $ac_n "(cached) $ac_c" 1>&6 4224 5859 else 4225 5860 cat > conftest.$ac_ext <<EOF 4226 #line 4227"configure"5861 #line 5862 "configure" 4227 5862 #include "confdefs.h" 4228 5863 … … 4233 5868 ; return 0; } 4234 5869 EOF 4235 if { (eval echo configure: 4236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5870 if { (eval echo configure:5871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4236 5871 rm -rf conftest* 4237 5872 bfd_cv_have_sys_procfs_type_win32_pstatus_t=yes … … 4632 6267 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4633 6268 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4634 echo "configure: 4635: checking for $ac_hdr" >&56269 echo "configure:6270: checking for $ac_hdr" >&5 4635 6270 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4636 6271 echo $ac_n "(cached) $ac_c" 1>&6 … … 4638 6273 cat > conftest.$ac_ext <<EOF 4639 6274 #include <sys/types.h> 4640 #line 4641"configure"6275 #line 6276 "configure" 4641 6276 #include "confdefs.h" 4642 6277 #include <$ac_hdr> 4643 6278 EOF 4644 6279 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4645 { (eval echo configure: 4646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }6280 { (eval echo configure:6281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4646 6281 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4647 6282 if test -z "$ac_err"; then … … 4672 6307 do 4673 6308 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4674 echo "configure: 4675: checking for $ac_func" >&56309 echo "configure:6310: checking for $ac_func" >&5 4675 6310 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4676 6311 echo $ac_n "(cached) $ac_c" 1>&6 4677 6312 else 4678 6313 cat > conftest.$ac_ext <<EOF 4679 #line 4680"configure"6314 #line 6315 "configure" 4680 6315 #include "confdefs.h" 4681 6316 /* System header to define __stub macros and hopefully few prototypes, … … 4700 6335 ; return 0; } 4701 6336 EOF 4702 if { (eval echo configure: 4703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6337 if { (eval echo configure:6338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4703 6338 rm -rf conftest* 4704 6339 eval "ac_cv_func_$ac_func=yes" … … 4725 6360 4726 6361 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 4727 echo "configure: 4728: checking for working mmap" >&56362 echo "configure:6363: checking for working mmap" >&5 4728 6363 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 4729 6364 echo $ac_n "(cached) $ac_c" 1>&6 … … 4733 6368 else 4734 6369 cat > conftest.$ac_ext <<EOF 4735 #line 4736"configure"6370 #line 6371 "configure" 4736 6371 #include "confdefs.h" 4737 6372 … … 4873 6508 4874 6509 EOF 4875 if { (eval echo configure: 4876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null6510 if { (eval echo configure:6511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 4876 6511 then 4877 6512 ac_cv_func_mmap_fixed_mapped=yes … … 4898 6533 do 4899 6534 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4900 echo "configure: 4901: checking for $ac_func" >&56535 echo "configure:6536: checking for $ac_func" >&5 4901 6536 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4902 6537 echo $ac_n "(cached) $ac_c" 1>&6 4903 6538 else 4904 6539 cat > conftest.$ac_ext <<EOF 4905 #line 4906"configure"6540 #line 6541 "configure" 4906 6541 #include "confdefs.h" 4907 6542 /* System header to define __stub macros and hopefully few prototypes, … … 4926 6561 ; return 0; } 4927 6562 EOF 4928 if { (eval echo configure: 4929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then6563 if { (eval echo configure:6564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4929 6564 rm -rf conftest* 4930 6565 eval "ac_cv_func_$ac_func=yes" … … 5135 6770 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g 5136 6771 s%@MAINT@%$MAINT%g 6772 s%@CPP@%$CPP%g 6773 s%@ALLOCA@%$ALLOCA%g 6774 s%@USE_NLS@%$USE_NLS%g 6775 s%@MSGFMT@%$MSGFMT%g 6776 s%@GMSGFMT@%$GMSGFMT%g 6777 s%@XGETTEXT@%$XGETTEXT%g 6778 s%@USE_INCLUDED_LIBINTL@%$USE_INCLUDED_LIBINTL%g 6779 s%@CATALOGS@%$CATALOGS%g 6780 s%@CATOBJEXT@%$CATOBJEXT%g 6781 s%@DATADIRNAME@%$DATADIRNAME%g 6782 s%@GMOFILES@%$GMOFILES%g 6783 s%@INSTOBJEXT@%$INSTOBJEXT%g 6784 s%@INTLDEPS@%$INTLDEPS%g 6785 s%@INTLLIBS@%$INTLLIBS%g 6786 s%@INTLOBJS@%$INTLOBJS%g 6787 s%@POFILES@%$POFILES%g 6788 s%@POSUB@%$POSUB%g 6789 s%@INCLUDE_LOCALE_H@%$INCLUDE_LOCALE_H%g 6790 s%@GT_NO@%$GT_NO%g 6791 s%@GT_YES@%$GT_YES%g 6792 s%@MKINSTALLDIRS@%$MKINSTALLDIRS%g 6793 s%@l@%$l%g 5137 6794 s%@HDEFINES@%$HDEFINES%g 5138 6795 s%@BFD_HOST_64BIT_LONG@%$BFD_HOST_64BIT_LONG%g … … 5142 6799 s%@CC_FOR_BUILD@%$CC_FOR_BUILD%g 5143 6800 s%@EXEEXT_FOR_BUILD@%$EXEEXT_FOR_BUILD%g 5144 s%@CPP@%$CPP%g5145 6801 s%@COREFILE@%$COREFILE%g 5146 6802 s%@COREFLAG@%$COREFLAG%g -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.