Changeset 106
- Timestamp:
- May 8, 2003, 2:53:44 AM (22 years ago)
- Location:
- trunk/src/binutils/bfd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/binutils/bfd/aclocal.m4
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r105 r106 1 dnl aclocal.m4 generated automatically by aclocal 1.4 2 3 dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.1 dnl aclocal.m4 generated automatically by aclocal 1.4-p5 2 3 dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. 4 4 dnl This file is free software; the Free Software Foundation 5 5 dnl gives unlimited permission to copy and/or distribute it, … … 16 16 case "${host}" in 17 17 changequote(,)dnl 18 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows* )18 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows* | *-*-os2*) 19 19 changequote([,])dnl 20 20 AC_DEFINE(USE_BINARY_FOPEN, 1, [Use b modifier when opening binary files?]) ;; … … 146 146 dnl AM_INIT_AUTOMAKE(package,version, [no-define]) 147 147 148 AC_DEFUN( AM_INIT_AUTOMAKE,148 AC_DEFUN([AM_INIT_AUTOMAKE], 149 149 [AC_REQUIRE([AC_PROG_INSTALL]) 150 150 PACKAGE=[$1] … … 174 174 # 175 175 176 AC_DEFUN( AM_SANITY_CHECK,176 AC_DEFUN([AM_SANITY_CHECK], 177 177 [AC_MSG_CHECKING([whether build environment is sane]) 178 178 # Just in case … … 215 215 dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY) 216 216 dnl The program must properly implement --version. 217 AC_DEFUN( AM_MISSING_PROG,217 AC_DEFUN([AM_MISSING_PROG], 218 218 [AC_MSG_CHECKING(for working $2) 219 219 # Run test in a subshell; some versions of sh will print an error if … … 231 231 # Like AC_CONFIG_HEADER, but automatically create stamp file. 232 232 233 AC_DEFUN( AM_CONFIG_HEADER,233 AC_DEFUN([AM_CONFIG_HEADER], 234 234 [AC_PREREQ([2.12]) 235 235 AC_CONFIG_HEADER([$1]) … … 257 257 # serial 1 258 258 259 AC_DEFUN( AM_MAINTAINER_MODE,259 AC_DEFUN([AM_MAINTAINER_MODE], 260 260 [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) 261 261 dnl maintainer-mode is disabled by default … … 274 274 # Define a conditional. 275 275 276 AC_DEFUN( AM_CONDITIONAL,276 AC_DEFUN([AM_CONDITIONAL], 277 277 [AC_SUBST($1_TRUE) 278 278 AC_SUBST($1_FALSE) -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/binutils/bfd/configure
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r105 r106 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_help40 --disable-nls do not use Native Language Support"41 ac_help="$ac_help42 --with-included-gettext use the GNU gettext library included here"43 39 44 40 # Initialize some variables set by options. … … 551 547 552 548 echo $ac_n "checking for path separator""... $ac_c" 1>&6 553 echo "configure:55 4: checking for path separator" >&5549 echo "configure:550: checking for path separator" >&5 554 550 # Filter path to get backslahes into forwardslashes 555 551 case "`uname -s 2> /dev/null`" in … … 565 561 566 562 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 567 echo "configure:56 8: checking for Cygwin environment" >&5563 echo "configure:564: checking for Cygwin environment" >&5 568 564 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 569 565 echo $ac_n "(cached) $ac_c" 1>&6 570 566 else 571 567 cat > conftest.$ac_ext <<EOF 572 #line 5 73"configure"568 #line 569 "configure" 573 569 #include "confdefs.h" 574 570 … … 581 577 ; return 0; } 582 578 EOF 583 if { (eval echo configure:58 4: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then579 if { (eval echo configure:580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 584 580 rm -rf conftest* 585 581 ac_cv_cygwin=yes … … 598 594 test "$ac_cv_cygwin" = yes && CYGWIN=yes 599 595 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 600 echo "configure: 601: checking for mingw32 environment" >&5596 echo "configure:597: checking for mingw32 environment" >&5 601 597 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 602 598 echo $ac_n "(cached) $ac_c" 1>&6 603 599 else 604 600 cat > conftest.$ac_ext <<EOF 605 #line 60 6"configure"601 #line 602 "configure" 606 602 #include "confdefs.h" 607 603 … … 610 606 ; return 0; } 611 607 EOF 612 if { (eval echo configure:6 13: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then608 if { (eval echo configure:609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 613 609 rm -rf conftest* 614 610 ac_cv_mingw32=yes … … 627 623 test "$ac_cv_mingw32" = yes && MINGW32=yes 628 624 echo $ac_n "checking for EMX/OS2 environment""... $ac_c" 1>&6 629 echo "configure:6 30: checking for EMX/OS2 environment" >&5625 echo "configure:626: checking for EMX/OS2 environment" >&5 630 626 if eval "test \"`echo '$''{'ac_cv_emxos2'+set}'`\" = set"; then 631 627 echo $ac_n "(cached) $ac_c" 1>&6 … … 633 629 : ${CC=gcc.exe} 634 630 cat > conftest.$ac_ext <<EOF 635 #line 63 6"configure"631 #line 632 "configure" 636 632 #include "confdefs.h" 637 633 … … 640 636 ; return 0; } 641 637 EOF 642 if { (eval echo configure:6 43: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then638 if { (eval echo configure:639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 643 639 rm -rf conftest* 644 640 ac_cv_emxos2=yes … … 671 667 672 668 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 673 echo "configure:67 4: checking for executable suffix" >&5669 echo "configure:670: checking for executable suffix" >&5 674 670 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 675 671 echo $ac_n "(cached) $ac_c" 1>&6 … … 681 677 echo 'int main () { return 0; }' > conftest.$ac_ext 682 678 ac_cv_exeext= 683 if { (eval echo configure:68 4: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then679 if { (eval echo configure:680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 684 680 for file in conftest.*; do 685 681 case $file in … … 750 746 751 747 echo $ac_n "checking host system type""... $ac_c" 1>&6 752 echo "configure:7 53: checking host system type" >&5748 echo "configure:749: checking host system type" >&5 753 749 754 750 host_alias=$host … … 771 767 772 768 echo $ac_n "checking target system type""... $ac_c" 1>&6 773 echo "configure:77 4: checking target system type" >&5769 echo "configure:770: checking target system type" >&5 774 770 775 771 target_alias=$target … … 789 785 790 786 echo $ac_n "checking build system type""... $ac_c" 1>&6 791 echo "configure:7 92: checking build system type" >&5787 echo "configure:788: checking build system type" >&5 792 788 793 789 build_alias=$build … … 814 810 set dummy gcc; ac_word=$2 815 811 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 816 echo "configure:81 7: checking for $ac_word" >&5812 echo "configure:813: checking for $ac_word" >&5 817 813 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 818 814 echo $ac_n "(cached) $ac_c" 1>&6 … … 845 841 set dummy cc; ac_word=$2 846 842 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 847 echo "configure:84 8: checking for $ac_word" >&5843 echo "configure:844: checking for $ac_word" >&5 848 844 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 849 845 echo $ac_n "(cached) $ac_c" 1>&6 … … 898 894 set dummy cl; ac_word=$2 899 895 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 900 echo "configure: 901: checking for $ac_word" >&5896 echo "configure:897: checking for $ac_word" >&5 901 897 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 902 898 echo $ac_n "(cached) $ac_c" 1>&6 … … 931 927 932 928 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 933 echo "configure:93 4: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5929 echo "configure:930: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 934 930 935 931 ac_ext=c … … 942 938 cat > conftest.$ac_ext << EOF 943 939 944 #line 94 5"configure"940 #line 941 "configure" 945 941 #include "confdefs.h" 946 942 947 943 main(){return(0);} 948 944 EOF 949 if { (eval echo configure:9 50: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then945 if { (eval echo configure:946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 950 946 ac_cv_prog_cc_works=yes 951 947 # If we can't run a trivial program, we are probably using a cross compiler. … … 973 969 fi 974 970 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 975 echo "configure:97 6: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5971 echo "configure:972: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 976 972 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 977 973 cross_compiling=$ac_cv_prog_cc_cross 978 974 979 975 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 980 echo "configure:9 81: checking whether we are using GNU C" >&5976 echo "configure:977: checking whether we are using GNU C" >&5 981 977 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 982 978 echo $ac_n "(cached) $ac_c" 1>&6 … … 987 983 #endif 988 984 EOF 989 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:9 90: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then985 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 990 986 ac_cv_prog_gcc=yes 991 987 else … … 1006 1002 CFLAGS= 1007 1003 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1008 echo "configure:100 9: checking whether ${CC-cc} accepts -g" >&51004 echo "configure:1005: checking whether ${CC-cc} accepts -g" >&5 1009 1005 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1010 1006 echo $ac_n "(cached) $ac_c" 1>&6 … … 1038 1034 1039 1035 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 1040 echo "configure:10 41: checking for POSIXized ISC" >&51036 echo "configure:1037: checking for POSIXized ISC" >&5 1041 1037 if test -d /etc/conf/kconfig.d && 1042 1038 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 … … 1071 1067 # ./install, which can be erroneously created by make from ./install.sh. 1072 1068 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 1073 echo "configure:107 4: checking for a BSD compatible install" >&51069 echo "configure:1070: checking for a BSD compatible install" >&5 1074 1070 if test -z "$INSTALL"; then 1075 1071 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 1126 1122 1127 1123 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 1128 echo "configure:112 9: checking whether build environment is sane" >&51124 echo "configure:1125: checking whether build environment is sane" >&5 1129 1125 # Just in case 1130 1126 sleep 1 … … 1183 1179 1184 1180 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 1185 echo "configure:118 6: checking whether ${MAKE-make} sets \${MAKE}" >&51181 echo "configure:1182: checking whether ${MAKE-make} sets \${MAKE}" >&5 1186 1182 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 1187 1183 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 1229 1225 missing_dir=`cd $ac_aux_dir && pwd` 1230 1226 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 1231 echo "configure:12 32: checking for working aclocal" >&51227 echo "configure:1228: checking for working aclocal" >&5 1232 1228 # Run test in a subshell; some versions of sh will print an error if 1233 1229 # an executable is not found, even if stderr is redirected. … … 1242 1238 1243 1239 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 1244 echo "configure:124 5: checking for working autoconf" >&51240 echo "configure:1241: checking for working autoconf" >&5 1245 1241 # Run test in a subshell; some versions of sh will print an error if 1246 1242 # an executable is not found, even if stderr is redirected. … … 1255 1251 1256 1252 echo $ac_n "checking for working automake""... $ac_c" 1>&6 1257 echo "configure:125 8: checking for working automake" >&51253 echo "configure:1254: checking for working automake" >&5 1258 1254 # Run test in a subshell; some versions of sh will print an error if 1259 1255 # an executable is not found, even if stderr is redirected. … … 1268 1264 1269 1265 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 1270 echo "configure:12 71: checking for working autoheader" >&51266 echo "configure:1267: checking for working autoheader" >&5 1271 1267 # Run test in a subshell; some versions of sh will print an error if 1272 1268 # an executable is not found, even if stderr is redirected. … … 1281 1277 1282 1278 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 1283 echo "configure:128 4: checking for working makeinfo" >&51279 echo "configure:1280: checking for working makeinfo" >&5 1284 1280 # Run test in a subshell; some versions of sh will print an error if 1285 1281 # an executable is not found, even if stderr is redirected. … … 1304 1300 set dummy ${ac_tool_prefix}ar; ac_word=$2 1305 1301 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1306 echo "configure:130 7: checking for $ac_word" >&51302 echo "configure:1303: checking for $ac_word" >&5 1307 1303 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then 1308 1304 echo $ac_n "(cached) $ac_c" 1>&6 … … 1337 1333 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1338 1334 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1339 echo "configure:13 40: checking for $ac_word" >&51335 echo "configure:1336: checking for $ac_word" >&5 1340 1336 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1341 1337 echo $ac_n "(cached) $ac_c" 1>&6 … … 1370 1366 set dummy ranlib; ac_word=$2 1371 1367 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1372 echo "configure:13 73: checking for $ac_word" >&51368 echo "configure:1369: checking for $ac_word" >&5 1373 1369 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1374 1370 echo $ac_n "(cached) $ac_c" 1>&6 … … 1408 1404 enableval="$enable_shared" 1409 1405 p=${PACKAGE-default} 1410 case "$enableval"in1406 case $enableval in 1411 1407 yes) enable_shared=yes ;; 1412 1408 no) enable_shared=no ;; … … 1432 1428 enableval="$enable_static" 1433 1429 p=${PACKAGE-default} 1434 case "$enableval"in1430 case $enableval in 1435 1431 yes) enable_static=yes ;; 1436 1432 no) enable_static=no ;; … … 1455 1451 enableval="$enable_fast_install" 1456 1452 p=${PACKAGE-default} 1457 case "$enableval"in1453 case $enableval in 1458 1454 yes) enable_fast_install=yes ;; 1459 1455 no) enable_fast_install=no ;; … … 1483 1479 1484 1480 ac_prog=ld 1485 if test "$ ac_cv_prog_gcc" = yes; then1481 if test "$GCC" = yes; then 1486 1482 # Check if gcc -print-prog-name=ld gives a path. 1487 1483 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 1488 echo "configure:148 9: checking for ld used by GCC" >&51484 echo "configure:1485: checking for ld used by GCC" >&5 1489 1485 case $host in 1490 1486 *-*-mingw*) … … 1494 1490 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 1495 1491 esac 1496 case "$ac_prog"in1492 case $ac_prog in 1497 1493 # Accept absolute paths. 1498 1494 [\\/]* | [A-Za-z]:[\\/]*) … … 1516 1512 elif test "$with_gnu_ld" = yes; then 1517 1513 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 1518 echo "configure:151 9: checking for GNU ld" >&51514 echo "configure:1515: checking for GNU ld" >&5 1519 1515 else 1520 1516 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 1521 echo "configure:15 22: checking for non-GNU ld" >&51522 fi 1523 if eval "test \"`echo '$''{' ac_cv_path_LD'+set}'`\" = set"; then1517 echo "configure:1518: checking for non-GNU ld" >&5 1518 fi 1519 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then 1524 1520 echo $ac_n "(cached) $ac_c" 1>&6 1525 1521 else … … 1529 1525 test -z "$ac_dir" && ac_dir=. 1530 1526 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 1531 ac_cv_path_LD="$ac_dir/$ac_prog"1527 lt_cv_path_LD="$ac_dir/$ac_prog" 1532 1528 # Check to see if the program is GNU ld. I'd rather use --version, 1533 1529 # but apparently some GNU ld's only accept -v. 1534 1530 # Break only if it was the GNU/non-GNU ld that we prefer. 1535 if "$ ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then1531 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then 1536 1532 test "$with_gnu_ld" != no && break 1537 1533 else … … 1542 1538 IFS="$ac_save_ifs" 1543 1539 else 1544 ac_cv_path_LD="$LD" # Let the user override the test with a path.1545 fi 1546 fi 1547 1548 LD="$ ac_cv_path_LD"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" 1549 1545 if test -n "$LD"; then 1550 1546 echo "$ac_t""$LD" 1>&6 … … 1554 1550 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } 1555 1551 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 1556 echo "configure:155 7: checking if the linker ($LD) is GNU ld" >&51557 if eval "test \"`echo '$''{' ac_cv_prog_gnu_ld'+set}'`\" = set"; then1552 echo "configure:1553: checking if the linker ($LD) is GNU ld" >&5 1553 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then 1558 1554 echo $ac_n "(cached) $ac_c" 1>&6 1559 1555 else 1560 1556 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 1561 1557 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 1562 ac_cv_prog_gnu_ld=yes1563 else 1564 ac_cv_prog_gnu_ld=no1565 fi 1566 fi 1567 1568 echo "$ac_t""$ ac_cv_prog_gnu_ld" 1>&61569 with_gnu_ld=$ ac_cv_prog_gnu_ld1558 lt_cv_prog_gnu_ld=yes 1559 else 1560 lt_cv_prog_gnu_ld=no 1561 fi 1562 fi 1563 1564 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6 1565 with_gnu_ld=$lt_cv_prog_gnu_ld 1570 1566 1571 1567 1572 1568 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6 1573 echo "configure:157 4: checking for $LD option to reload object files" >&51569 echo "configure:1570: checking for $LD option to reload object files" >&5 1574 1570 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then 1575 1571 echo $ac_n "(cached) $ac_c" 1>&6 … … 1583 1579 1584 1580 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 1585 echo "configure:158 6: checking for BSD-compatible nm" >&51586 if eval "test \"`echo '$''{' ac_cv_path_NM'+set}'`\" = set"; then1581 echo "configure:1582: checking for BSD-compatible nm" >&5 1582 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then 1587 1583 echo $ac_n "(cached) $ac_c" 1>&6 1588 1584 else 1589 1585 if test -n "$NM"; then 1590 1586 # Let the user override the test. 1591 ac_cv_path_NM="$NM"1587 lt_cv_path_NM="$NM" 1592 1588 else 1593 1589 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" … … 1601 1597 # Tru64's nm complains that /dev/null is an invalid object file 1602 1598 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then 1603 ac_cv_path_NM="$tmp_nm -B"1599 lt_cv_path_NM="$tmp_nm -B" 1604 1600 break 1605 1601 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then 1606 ac_cv_path_NM="$tmp_nm -p"1602 lt_cv_path_NM="$tmp_nm -p" 1607 1603 break 1608 1604 else 1609 ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but1605 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 1610 1606 continue # so that we can try to find one that supports BSD flags 1611 1607 fi … … 1613 1609 done 1614 1610 IFS="$ac_save_ifs" 1615 test -z "$ ac_cv_path_NM" && ac_cv_path_NM=nm1616 fi 1617 fi 1618 1619 NM="$ ac_cv_path_NM"1611 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm 1612 fi 1613 fi 1614 1615 NM="$lt_cv_path_NM" 1620 1616 echo "$ac_t""$NM" 1>&6 1621 1617 1622 1618 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1623 echo "configure:162 4: checking whether ln -s works" >&51619 echo "configure:1620: checking whether ln -s works" >&5 1624 1620 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1625 1621 echo $ac_n "(cached) $ac_c" 1>&6 … … 1648 1644 1649 1645 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6 1650 echo "configure:16 51: checking how to recognise dependant libraries" >&51646 echo "configure:1647: checking how to recognise dependant libraries" >&5 1651 1647 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then 1652 1648 echo $ac_n "(cached) $ac_c" 1>&6 … … 1666 1662 # whether `pass_all' will *always* work, you probably want this one. 1667 1663 1668 case "$host_os"in1669 aix 4*)1664 case $host_os in 1665 aix*) 1670 1666 lt_cv_deplibs_check_method=pass_all 1671 1667 ;; … … 1676 1672 1677 1673 bsdi4*) 1678 1679 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' 1680 1676 lt_cv_file_magic_test_file=/shlib/libc.so 1681 1677 ;; … … 1686 1682 ;; 1687 1683 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" in 1688 rhapsody* | darwin1.012) 1689 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System' 1690 ;; 1691 *) # Darwin 1.3 on 1692 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' 1693 ;; 1694 esac 1695 ;; 1696 1688 1697 freebsd* ) 1689 1698 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 1690 case "$host_cpu"in1699 case $host_cpu in 1691 1700 i*86 ) 1692 1701 # Not sure whether the presence of OpenBSD here was a mistake. 1693 1702 # Let's accept both of them until this is cleared up. 1694 1695 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/file 1696 1705 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 1697 1706 ;; … … 1706 1715 ;; 1707 1716 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' 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' 1711 1719 lt_cv_file_magic_cmd=/usr/bin/file 1712 1720 lt_cv_file_magic_test_file=/usr/lib/libc.sl … … 1714 1722 1715 1723 irix5* | irix6*) 1716 case "$host_os"in1724 case $host_os in 1717 1725 irix5*) 1718 1726 # this will be overridden with pass_all, but let us keep it just in case … … 1720 1728 ;; 1721 1729 *) 1722 case "$LD"in1730 case $LD in 1723 1731 *-32|*"-32 ") libmagic=32-bit;; 1724 1732 *-n32|*"-n32 ") libmagic=N32;; … … 1727 1735 esac 1728 1736 # this will be overridden with pass_all, but let us keep it just in case 1729 1730 1737 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" 1738 ;; 1731 1739 esac 1732 1740 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` … … 1736 1744 # This must be Linux ELF. 1737 1745 linux-gnu*) 1738 case "$host_cpu"in1739 alpha* | i*86 | powerpc* | sparc* | ia64* )1746 case $host_cpu in 1747 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* ) 1740 1748 lt_cv_deplibs_check_method=pass_all ;; 1741 1749 *) 1742 1750 # glibc up to 2.1.1 does not perform some relocations on ARM 1743 1744 1751 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; 1752 esac 1745 1753 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` 1746 1754 ;; 1747 1755 1748 1756 netbsd*) 1749 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then : 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]+$' 1750 1759 else 1751 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' 1752 lt_cv_file_magic_cmd='/usr/bin/file -L' 1753 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 1760 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' 1754 1761 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/file 1767 lt_cv_file_magic_test_file=/usr/lib/libnls.so 1755 1768 ;; 1756 1769 … … 1771 1784 ;; 1772 1785 1786 sysv5uw[78]* | sysv4*uw2*) 1787 lt_cv_deplibs_check_method=pass_all 1788 ;; 1789 1773 1790 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 1774 case "$host_vendor"in1791 case $host_vendor in 1775 1792 ncr) 1776 1793 lt_cv_deplibs_check_method=pass_all 1777 1794 ;; 1778 1795 motorola) 1779 1780 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*` 1781 1798 ;; 1782 1799 esac … … 1791 1808 1792 1809 echo $ac_n "checking for object suffix""... $ac_c" 1>&6 1793 echo "configure:1 794: checking for object suffix" >&51810 echo "configure:1811: checking for object suffix" >&5 1794 1811 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then 1795 1812 echo $ac_n "(cached) $ac_c" 1>&6 … … 1797 1814 rm -f conftest* 1798 1815 echo 'int i = 1;' > conftest.$ac_ext 1799 if { (eval echo configure:18 00: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1816 if { (eval echo configure:1817: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1800 1817 for ac_file in conftest.*; do 1801 1818 case $ac_file in … … 1817 1834 1818 1835 # Only perform the check for file, if the check method requires it 1819 case "$deplibs_check_method"in1836 case $deplibs_check_method in 1820 1837 file_magic*) 1821 1838 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 1822 1839 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6 1823 echo "configure:18 24: checking for ${ac_tool_prefix}file" >&51840 echo "configure:1841: checking for ${ac_tool_prefix}file" >&5 1824 1841 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1825 1842 echo $ac_n "(cached) $ac_c" 1>&6 1826 1843 else 1827 case "$MAGIC_CMD"in1844 case $MAGIC_CMD in 1828 1845 /*) 1829 1846 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. … … 1841 1858 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 1842 1859 if test -n "$file_magic_test_file"; then 1843 case "$deplibs_check_method"in1860 case $deplibs_check_method in 1844 1861 "file_magic "*) 1845 1862 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" … … 1883 1900 if test -n "$ac_tool_prefix"; then 1884 1901 echo $ac_n "checking for file""... $ac_c" 1>&6 1885 echo "configure:1 886: checking for file" >&51902 echo "configure:1903: checking for file" >&5 1886 1903 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1887 1904 echo $ac_n "(cached) $ac_c" 1>&6 1888 1905 else 1889 case "$MAGIC_CMD"in1906 case $MAGIC_CMD in 1890 1907 /*) 1891 1908 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. … … 1903 1920 lt_cv_path_MAGIC_CMD="$ac_dir/file" 1904 1921 if test -n "$file_magic_test_file"; then 1905 case "$deplibs_check_method"in1922 case $deplibs_check_method in 1906 1923 "file_magic "*) 1907 1924 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" … … 1954 1971 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1955 1972 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1956 echo "configure:19 57: checking for $ac_word" >&51973 echo "configure:1974: checking for $ac_word" >&5 1957 1974 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1958 1975 echo $ac_n "(cached) $ac_c" 1>&6 … … 1987 2004 set dummy ranlib; ac_word=$2 1988 2005 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1989 echo "configure: 1990: checking for $ac_word" >&52006 echo "configure:2007: checking for $ac_word" >&5 1990 2007 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1991 2008 echo $ac_n "(cached) $ac_c" 1>&6 … … 2023 2040 set dummy ${ac_tool_prefix}strip; ac_word=$2 2024 2041 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2025 echo "configure:20 26: checking for $ac_word" >&52042 echo "configure:2043: checking for $ac_word" >&5 2026 2043 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 2027 2044 echo $ac_n "(cached) $ac_c" 1>&6 … … 2056 2073 set dummy strip; ac_word=$2 2057 2074 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2058 echo "configure:20 59: checking for $ac_word" >&52075 echo "configure:2076: checking for $ac_word" >&5 2059 2076 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 2060 2077 echo $ac_n "(cached) $ac_c" 1>&6 … … 2095 2112 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static" 2096 2113 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install" 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"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" 2099 2116 2100 2117 … … 2121 2138 # Some flags need to be propagated to the compiler or linker for good 2122 2139 # libtool support. 2123 case "$host"in2140 case $host in 2124 2141 *-*-irix6*) 2125 2142 # Find out which ABI we are using. 2126 echo '#line 21 27"configure"' > conftest.$ac_ext2127 if { (eval echo configure:21 28: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2128 case "`/usr/bin/file conftest.o`"in2143 echo '#line 2144 "configure"' > conftest.$ac_ext 2144 if { (eval echo configure:2145: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2145 case `/usr/bin/file conftest.$ac_objext` in 2129 2146 *32-bit*) 2130 2147 LD="${LD-ld} -32" … … 2146 2163 CFLAGS="$CFLAGS -belf" 2147 2164 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 2148 echo "configure:21 49: checking whether the C compiler needs -belf" >&52165 echo "configure:2166: checking whether the C compiler needs -belf" >&5 2149 2166 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then 2150 2167 echo $ac_n "(cached) $ac_c" 1>&6 … … 2159 2176 2160 2177 cat > conftest.$ac_ext <<EOF 2161 #line 21 62"configure"2178 #line 2179 "configure" 2162 2179 #include "confdefs.h" 2163 2180 … … 2166 2183 ; return 0; } 2167 2184 EOF 2168 if { (eval echo configure:21 69: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2185 if { (eval echo configure:2186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2169 2186 rm -rf conftest* 2170 2187 lt_cv_cc_needs_belf=yes … … 2276 2293 exec 5>>./config.log 2277 2294 2278 2279 2295 2280 2296 … … 2376 2392 2377 2393 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 2378 echo "configure:23 79: checking whether to enable maintainer-specific portions of Makefiles" >&52394 echo "configure:2395: checking whether to enable maintainer-specific portions of Makefiles" >&5 2379 2395 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 2380 2396 if test "${enable_maintainer_mode+set}" = set; then … … 2402 2418 2403 2419 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 2404 echo "configure:24 05: checking for executable suffix" >&52420 echo "configure:2421: checking for executable suffix" >&5 2405 2421 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 2406 2422 echo $ac_n "(cached) $ac_c" 1>&6 … … 2412 2428 echo 'int main () { return 0; }' > conftest.$ac_ext 2413 2429 ac_cv_exeext= 2414 if { (eval echo configure:24 15: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2430 if { (eval echo configure:2431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 2415 2431 for file in conftest.*; do 2416 2432 case $file in … … 2441 2457 set dummy gcc; ac_word=$2 2442 2458 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2443 echo "configure:24 44: checking for $ac_word" >&52459 echo "configure:2460: checking for $ac_word" >&5 2444 2460 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2445 2461 echo $ac_n "(cached) $ac_c" 1>&6 … … 2472 2488 set dummy cc; ac_word=$2 2473 2489 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2474 echo "configure:24 75: checking for $ac_word" >&52490 echo "configure:2491: checking for $ac_word" >&5 2475 2491 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2476 2492 echo $ac_n "(cached) $ac_c" 1>&6 … … 2525 2541 set dummy cl; ac_word=$2 2526 2542 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2527 echo "configure:25 28: checking for $ac_word" >&52543 echo "configure:2544: checking for $ac_word" >&5 2528 2544 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2529 2545 echo $ac_n "(cached) $ac_c" 1>&6 … … 2558 2574 2559 2575 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 2560 echo "configure:25 61: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&52576 echo "configure:2577: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 2561 2577 2562 2578 ac_ext=c … … 2569 2585 cat > conftest.$ac_ext << EOF 2570 2586 2571 #line 25 72"configure"2587 #line 2588 "configure" 2572 2588 #include "confdefs.h" 2573 2589 2574 2590 main(){return(0);} 2575 2591 EOF 2576 if { (eval echo configure:25 77: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2592 if { (eval echo configure:2593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2577 2593 ac_cv_prog_cc_works=yes 2578 2594 # If we can't run a trivial program, we are probably using a cross compiler. … … 2600 2616 fi 2601 2617 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 2602 echo "configure:26 03: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&52618 echo "configure:2619: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 2603 2619 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 2604 2620 cross_compiling=$ac_cv_prog_cc_cross 2605 2621 2606 2622 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 2607 echo "configure:26 08: checking whether we are using GNU C" >&52623 echo "configure:2624: checking whether we are using GNU C" >&5 2608 2624 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 2609 2625 echo $ac_n "(cached) $ac_c" 1>&6 … … 2614 2630 #endif 2615 2631 EOF 2616 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:26 17: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then2632 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2633: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 2617 2633 ac_cv_prog_gcc=yes 2618 2634 else … … 2633 2649 CFLAGS= 2634 2650 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 2635 echo "configure:26 36: checking whether ${CC-cc} accepts -g" >&52651 echo "configure:2652: checking whether ${CC-cc} accepts -g" >&5 2636 2652 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 2637 2653 echo $ac_n "(cached) $ac_c" 1>&6 … … 2666 2682 2667 2683 ALL_LINGUAS= 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 2684 CY_GNU_GETTEXT 4403 2685 4404 2686 # Permit host specific settings. … … 4418 2700 # ./install, which can be erroneously created by make from ./install.sh. 4419 2701 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 4420 echo "configure: 4421: checking for a BSD compatible install" >&52702 echo "configure:2703: checking for a BSD compatible install" >&5 4421 2703 if test -z "$INSTALL"; then 4422 2704 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 4503 2785 else 4504 2786 echo $ac_n "checking for build system executable suffix""... $ac_c" 1>&6 4505 echo "configure: 4506: checking for build system executable suffix" >&52787 echo "configure:2788: checking for build system executable suffix" >&5 4506 2788 if eval "test \"`echo '$''{'bfd_cv_build_exeext'+set}'`\" = set"; then 4507 2789 echo $ac_n "(cached) $ac_c" 1>&6 … … 4527 2809 4528 2810 2811 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 2812 echo "configure:2813: checking how to run the C preprocessor" >&5 2813 # On Suns, sometimes $CPP names a directory. 2814 if test -n "$CPP" && test -d "$CPP"; then 2815 CPP= 2816 fi 2817 if test -z "$CPP"; then 2818 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then 2819 echo $ac_n "(cached) $ac_c" 1>&6 2820 else 2821 # This must be in double quotes, not single quotes, because CPP may get 2822 # 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 <<EOF 2827 #include <sys/types.h> 2828 #line 2829 "configure" 2829 #include "confdefs.h" 2830 #include <assert.h> 2831 Syntax Error 2832 EOF 2833 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"; then 2837 : 2838 else 2839 echo "$ac_err" >&5 2840 echo "configure: failed program was:" >&5 2841 cat conftest.$ac_ext >&5 2842 rm -rf conftest* 2843 CPP="${CC-cc} -E -traditional-cpp" 2844 cat > conftest.$ac_ext <<EOF 2845 #include <sys/types.h> 2846 #line 2847 "configure" 2847 #include "confdefs.h" 2848 #include <assert.h> 2849 Syntax Error 2850 EOF 2851 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"; then 2855 : 2856 else 2857 echo "$ac_err" >&5 2858 echo "configure: failed program was:" >&5 2859 cat conftest.$ac_ext >&5 2860 rm -rf conftest* 2861 CPP="${CC-cc} -nologo -E" 2862 cat > conftest.$ac_ext <<EOF 2863 #include <sys/types.h> 2864 #line 2865 "configure" 2865 #include "confdefs.h" 2866 #include <assert.h> 2867 Syntax Error 2868 EOF 2869 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"; then 2873 : 2874 else 2875 echo "$ac_err" >&5 2876 echo "configure: failed program was:" >&5 2877 cat conftest.$ac_ext >&5 2878 rm -rf conftest* 2879 CPP=/lib/cpp 2880 fi 2881 rm -f conftest* 2882 fi 2883 rm -f conftest* 2884 fi 2885 rm -f conftest* 2886 ac_cv_prog_CPP="$CPP" 2887 fi 2888 CPP="$ac_cv_prog_CPP" 2889 else 2890 ac_cv_prog_CPP="$CPP" 2891 fi 2892 echo "$ac_t""$CPP" 1>&6 2893 4529 2894 for ac_hdr in stddef.h string.h strings.h stdlib.h time.h unistd.h 4530 2895 do 4531 2896 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4532 2897 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4533 echo "configure: 4534: checking for $ac_hdr" >&52898 echo "configure:2899: checking for $ac_hdr" >&5 4534 2899 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4535 2900 echo $ac_n "(cached) $ac_c" 1>&6 … … 4537 2902 cat > conftest.$ac_ext <<EOF 4538 2903 #include <sys/types.h> 4539 #line 4540"configure"2904 #line 2905 "configure" 4540 2905 #include "confdefs.h" 4541 2906 #include <$ac_hdr> 4542 2907 EOF 4543 2908 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4544 { (eval echo configure: 4545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2909 { (eval echo configure:2910: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4545 2910 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4546 2911 if test -z "$ac_err"; then … … 4572 2937 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4573 2938 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4574 echo "configure: 4575: checking for $ac_hdr" >&52939 echo "configure:2940: checking for $ac_hdr" >&5 4575 2940 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4576 2941 echo $ac_n "(cached) $ac_c" 1>&6 … … 4578 2943 cat > conftest.$ac_ext <<EOF 4579 2944 #include <sys/types.h> 4580 #line 4581"configure"2945 #line 2946 "configure" 4581 2946 #include "confdefs.h" 4582 2947 #include <$ac_hdr> 4583 2948 EOF 4584 2949 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4585 { (eval echo configure: 4586: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2950 { (eval echo configure:2951: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4586 2951 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4587 2952 if test -z "$ac_err"; then … … 4610 2975 4611 2976 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 4612 echo "configure: 4613: checking whether time.h and sys/time.h may both be included" >&52977 echo "configure:2978: checking whether time.h and sys/time.h may both be included" >&5 4613 2978 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 4614 2979 echo $ac_n "(cached) $ac_c" 1>&6 4615 2980 else 4616 2981 cat > conftest.$ac_ext <<EOF 4617 #line 4618"configure"2982 #line 2983 "configure" 4618 2983 #include "confdefs.h" 4619 2984 #include <sys/types.h> … … 4624 2989 ; return 0; } 4625 2990 EOF 4626 if { (eval echo configure: 4627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2991 if { (eval echo configure:2992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4627 2992 rm -rf conftest* 4628 2993 ac_cv_header_time=yes … … 4649 3014 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4650 3015 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 4651 echo "configure: 4652: checking for $ac_hdr that defines DIR" >&53016 echo "configure:3017: checking for $ac_hdr that defines DIR" >&5 4652 3017 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then 4653 3018 echo $ac_n "(cached) $ac_c" 1>&6 4654 3019 else 4655 3020 cat > conftest.$ac_ext <<EOF 4656 #line 4657"configure"3021 #line 3022 "configure" 4657 3022 #include "confdefs.h" 4658 3023 #include <sys/types.h> … … 4662 3027 ; return 0; } 4663 3028 EOF 4664 if { (eval echo configure: 4665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3029 if { (eval echo configure:3030: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4665 3030 rm -rf conftest* 4666 3031 eval "ac_cv_header_dirent_$ac_safe=yes" … … 4687 3052 if test $ac_header_dirent = dirent.h; then 4688 3053 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 4689 echo "configure: 4690: checking for opendir in -ldir" >&53054 echo "configure:3055: checking for opendir in -ldir" >&5 4690 3055 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` 4691 3056 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4695 3060 LIBS="-ldir $LIBS" 4696 3061 cat > conftest.$ac_ext <<EOF 4697 #line 4698"configure"3062 #line 3063 "configure" 4698 3063 #include "confdefs.h" 4699 3064 /* Override any gcc2 internal prototype to avoid an error. */ … … 4706 3071 ; return 0; } 4707 3072 EOF 4708 if { (eval echo configure: 4709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3073 if { (eval echo configure:3074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4709 3074 rm -rf conftest* 4710 3075 eval "ac_cv_lib_$ac_lib_var=yes" … … 4728 3093 else 4729 3094 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 4730 echo "configure: 4731: checking for opendir in -lx" >&53095 echo "configure:3096: checking for opendir in -lx" >&5 4731 3096 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` 4732 3097 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4736 3101 LIBS="-lx $LIBS" 4737 3102 cat > conftest.$ac_ext <<EOF 4738 #line 4739"configure"3103 #line 3104 "configure" 4739 3104 #include "confdefs.h" 4740 3105 /* Override any gcc2 internal prototype to avoid an error. */ … … 4747 3112 ; return 0; } 4748 3113 EOF 4749 if { (eval echo configure: 4750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3114 if { (eval echo configure:3115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4750 3115 rm -rf conftest* 4751 3116 eval "ac_cv_lib_$ac_lib_var=yes" … … 4772 3137 do 4773 3138 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4774 echo "configure: 4775: checking for $ac_func" >&53139 echo "configure:3140: checking for $ac_func" >&5 4775 3140 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4776 3141 echo $ac_n "(cached) $ac_c" 1>&6 4777 3142 else 4778 3143 cat > conftest.$ac_ext <<EOF 4779 #line 4780"configure"3144 #line 3145 "configure" 4780 3145 #include "confdefs.h" 4781 3146 /* System header to define __stub macros and hopefully few prototypes, … … 4800 3165 ; return 0; } 4801 3166 EOF 4802 if { (eval echo configure: 4803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3167 if { (eval echo configure:3168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4803 3168 rm -rf conftest* 4804 3169 eval "ac_cv_func_$ac_func=yes" … … 4827 3192 4828 3193 case "${host}" in 4829 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows* )3194 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows* | *-*-os2*) 4830 3195 cat >> confdefs.h <<\EOF 4831 3196 #define USE_BINARY_FOPEN 1 … … 4835 3200 4836 3201 echo $ac_n "checking whether strstr must be declared""... $ac_c" 1>&6 4837 echo "configure: 4838: checking whether strstr must be declared" >&53202 echo "configure:3203: checking whether strstr must be declared" >&5 4838 3203 if eval "test \"`echo '$''{'bfd_cv_decl_needed_strstr'+set}'`\" = set"; then 4839 3204 echo $ac_n "(cached) $ac_c" 1>&6 4840 3205 else 4841 3206 cat > conftest.$ac_ext <<EOF 4842 #line 4843"configure"3207 #line 3208 "configure" 4843 3208 #include "confdefs.h" 4844 3209 … … 4861 3226 ; return 0; } 4862 3227 EOF 4863 if { (eval echo configure: 4864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3228 if { (eval echo configure:3229: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4864 3229 rm -rf conftest* 4865 3230 bfd_cv_decl_needed_strstr=no … … 4882 3247 4883 3248 echo $ac_n "checking whether malloc must be declared""... $ac_c" 1>&6 4884 echo "configure: 4885: checking whether malloc must be declared" >&53249 echo "configure:3250: checking whether malloc must be declared" >&5 4885 3250 if eval "test \"`echo '$''{'bfd_cv_decl_needed_malloc'+set}'`\" = set"; then 4886 3251 echo $ac_n "(cached) $ac_c" 1>&6 4887 3252 else 4888 3253 cat > conftest.$ac_ext <<EOF 4889 #line 4890"configure"3254 #line 3255 "configure" 4890 3255 #include "confdefs.h" 4891 3256 … … 4908 3273 ; return 0; } 4909 3274 EOF 4910 if { (eval echo configure: 4911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3275 if { (eval echo configure:3276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4911 3276 rm -rf conftest* 4912 3277 bfd_cv_decl_needed_malloc=no … … 4929 3294 4930 3295 echo $ac_n "checking whether realloc must be declared""... $ac_c" 1>&6 4931 echo "configure: 4932: checking whether realloc must be declared" >&53296 echo "configure:3297: checking whether realloc must be declared" >&5 4932 3297 if eval "test \"`echo '$''{'bfd_cv_decl_needed_realloc'+set}'`\" = set"; then 4933 3298 echo $ac_n "(cached) $ac_c" 1>&6 4934 3299 else 4935 3300 cat > conftest.$ac_ext <<EOF 4936 #line 4937"configure"3301 #line 3302 "configure" 4937 3302 #include "confdefs.h" 4938 3303 … … 4955 3320 ; return 0; } 4956 3321 EOF 4957 if { (eval echo configure: 4958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3322 if { (eval echo configure:3323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4958 3323 rm -rf conftest* 4959 3324 bfd_cv_decl_needed_realloc=no … … 4976 3341 4977 3342 echo $ac_n "checking whether free must be declared""... $ac_c" 1>&6 4978 echo "configure: 4979: checking whether free must be declared" >&53343 echo "configure:3344: checking whether free must be declared" >&5 4979 3344 if eval "test \"`echo '$''{'bfd_cv_decl_needed_free'+set}'`\" = set"; then 4980 3345 echo $ac_n "(cached) $ac_c" 1>&6 4981 3346 else 4982 3347 cat > conftest.$ac_ext <<EOF 4983 #line 4984"configure"3348 #line 3349 "configure" 4984 3349 #include "confdefs.h" 4985 3350 … … 5002 3367 ; return 0; } 5003 3368 EOF 5004 if { (eval echo configure: 5005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3369 if { (eval echo configure:3370: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5005 3370 rm -rf conftest* 5006 3371 bfd_cv_decl_needed_free=no … … 5023 3388 5024 3389 echo $ac_n "checking whether getenv must be declared""... $ac_c" 1>&6 5025 echo "configure: 5026: checking whether getenv must be declared" >&53390 echo "configure:3391: checking whether getenv must be declared" >&5 5026 3391 if eval "test \"`echo '$''{'bfd_cv_decl_needed_getenv'+set}'`\" = set"; then 5027 3392 echo $ac_n "(cached) $ac_c" 1>&6 5028 3393 else 5029 3394 cat > conftest.$ac_ext <<EOF 5030 #line 5031"configure"3395 #line 3396 "configure" 5031 3396 #include "confdefs.h" 5032 3397 … … 5049 3414 ; return 0; } 5050 3415 EOF 5051 if { (eval echo configure: 5052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3416 if { (eval echo configure:3417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5052 3417 rm -rf conftest* 5053 3418 bfd_cv_decl_needed_getenv=no … … 5275 3640 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5276 3641 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5277 echo "configure: 5278: checking for $ac_hdr" >&53642 echo "configure:3643: checking for $ac_hdr" >&5 5278 3643 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5279 3644 echo $ac_n "(cached) $ac_c" 1>&6 … … 5281 3646 cat > conftest.$ac_ext <<EOF 5282 3647 #include <sys/types.h> 5283 #line 5284"configure"3648 #line 3649 "configure" 5284 3649 #include "confdefs.h" 5285 3650 #include <$ac_hdr> 5286 3651 EOF 5287 3652 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5288 { (eval echo configure: 5289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3653 { (eval echo configure:3654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5289 3654 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5290 3655 if test -z "$ac_err"; then … … 5314 3679 if test "$ac_cv_header_sys_procfs_h" = yes; then 5315 3680 echo $ac_n "checking for prstatus_t in sys/procfs.h""... $ac_c" 1>&6 5316 echo "configure: 5317: checking for prstatus_t in sys/procfs.h" >&53681 echo "configure:3682: checking for prstatus_t in sys/procfs.h" >&5 5317 3682 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prstatus_t'+set}'`\" = set"; then 5318 3683 echo $ac_n "(cached) $ac_c" 1>&6 5319 3684 else 5320 3685 cat > conftest.$ac_ext <<EOF 5321 #line 5322"configure"3686 #line 3687 "configure" 5322 3687 #include "confdefs.h" 5323 3688 … … 5328 3693 ; return 0; } 5329 3694 EOF 5330 if { (eval echo configure: 5331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3695 if { (eval echo configure:3696: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5331 3696 rm -rf conftest* 5332 3697 bfd_cv_have_sys_procfs_type_prstatus_t=yes … … 5350 3715 5351 3716 echo $ac_n "checking for prstatus32_t in sys/procfs.h""... $ac_c" 1>&6 5352 echo "configure: 5353: checking for prstatus32_t in sys/procfs.h" >&53717 echo "configure:3718: checking for prstatus32_t in sys/procfs.h" >&5 5353 3718 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prstatus32_t'+set}'`\" = set"; then 5354 3719 echo $ac_n "(cached) $ac_c" 1>&6 5355 3720 else 5356 3721 cat > conftest.$ac_ext <<EOF 5357 #line 5358"configure"3722 #line 3723 "configure" 5358 3723 #include "confdefs.h" 5359 3724 … … 5364 3729 ; return 0; } 5365 3730 EOF 5366 if { (eval echo configure: 5367: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3731 if { (eval echo configure:3732: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5367 3732 rm -rf conftest* 5368 3733 bfd_cv_have_sys_procfs_type_prstatus32_t=yes … … 5386 3751 5387 3752 echo $ac_n "checking for prstatus_t.pr_who in sys/procfs.h""... $ac_c" 1>&6 5388 echo "configure: 5389: checking for prstatus_t.pr_who in sys/procfs.h" >&53753 echo "configure:3754: checking for prstatus_t.pr_who in sys/procfs.h" >&5 5389 3754 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who'+set}'`\" = set"; then 5390 3755 echo $ac_n "(cached) $ac_c" 1>&6 5391 3756 else 5392 3757 cat > conftest.$ac_ext <<EOF 5393 #line 5394"configure"3758 #line 3759 "configure" 5394 3759 #include "confdefs.h" 5395 3760 … … 5400 3765 ; return 0; } 5401 3766 EOF 5402 if { (eval echo configure: 5403: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3767 if { (eval echo configure:3768: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5403 3768 rm -rf conftest* 5404 3769 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=yes … … 5422 3787 5423 3788 echo $ac_n "checking for prstatus32_t.pr_who in sys/procfs.h""... $ac_c" 1>&6 5424 echo "configure: 5425: checking for prstatus32_t.pr_who in sys/procfs.h" >&53789 echo "configure:3790: checking for prstatus32_t.pr_who in sys/procfs.h" >&5 5425 3790 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who'+set}'`\" = set"; then 5426 3791 echo $ac_n "(cached) $ac_c" 1>&6 5427 3792 else 5428 3793 cat > conftest.$ac_ext <<EOF 5429 #line 5430"configure"3794 #line 3795 "configure" 5430 3795 #include "confdefs.h" 5431 3796 … … 5436 3801 ; return 0; } 5437 3802 EOF 5438 if { (eval echo configure: 5439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3803 if { (eval echo configure:3804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5439 3804 rm -rf conftest* 5440 3805 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=yes … … 5458 3823 5459 3824 echo $ac_n "checking for pstatus_t in sys/procfs.h""... $ac_c" 1>&6 5460 echo "configure: 5461: checking for pstatus_t in sys/procfs.h" >&53825 echo "configure:3826: checking for pstatus_t in sys/procfs.h" >&5 5461 3826 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pstatus_t'+set}'`\" = set"; then 5462 3827 echo $ac_n "(cached) $ac_c" 1>&6 5463 3828 else 5464 3829 cat > conftest.$ac_ext <<EOF 5465 #line 5466"configure"3830 #line 3831 "configure" 5466 3831 #include "confdefs.h" 5467 3832 … … 5472 3837 ; return 0; } 5473 3838 EOF 5474 if { (eval echo configure: 5475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3839 if { (eval echo configure:3840: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5475 3840 rm -rf conftest* 5476 3841 bfd_cv_have_sys_procfs_type_pstatus_t=yes … … 5494 3859 5495 3860 echo $ac_n "checking for pxstatus_t in sys/procfs.h""... $ac_c" 1>&6 5496 echo "configure: 5497: checking for pxstatus_t in sys/procfs.h" >&53861 echo "configure:3862: checking for pxstatus_t in sys/procfs.h" >&5 5497 3862 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pxstatus_t'+set}'`\" = set"; then 5498 3863 echo $ac_n "(cached) $ac_c" 1>&6 5499 3864 else 5500 3865 cat > conftest.$ac_ext <<EOF 5501 #line 5502"configure"3866 #line 3867 "configure" 5502 3867 #include "confdefs.h" 5503 3868 … … 5508 3873 ; return 0; } 5509 3874 EOF 5510 if { (eval echo configure: 5511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3875 if { (eval echo configure:3876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5511 3876 rm -rf conftest* 5512 3877 bfd_cv_have_sys_procfs_type_pxstatus_t=yes … … 5530 3895 5531 3896 echo $ac_n "checking for pstatus32_t in sys/procfs.h""... $ac_c" 1>&6 5532 echo "configure: 5533: checking for pstatus32_t in sys/procfs.h" >&53897 echo "configure:3898: checking for pstatus32_t in sys/procfs.h" >&5 5533 3898 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pstatus32_t'+set}'`\" = set"; then 5534 3899 echo $ac_n "(cached) $ac_c" 1>&6 5535 3900 else 5536 3901 cat > conftest.$ac_ext <<EOF 5537 #line 5538"configure"3902 #line 3903 "configure" 5538 3903 #include "confdefs.h" 5539 3904 … … 5544 3909 ; return 0; } 5545 3910 EOF 5546 if { (eval echo configure: 5547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3911 if { (eval echo configure:3912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5547 3912 rm -rf conftest* 5548 3913 bfd_cv_have_sys_procfs_type_pstatus32_t=yes … … 5566 3931 5567 3932 echo $ac_n "checking for prpsinfo_t in sys/procfs.h""... $ac_c" 1>&6 5568 echo "configure: 5569: checking for prpsinfo_t in sys/procfs.h" >&53933 echo "configure:3934: checking for prpsinfo_t in sys/procfs.h" >&5 5569 3934 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prpsinfo_t'+set}'`\" = set"; then 5570 3935 echo $ac_n "(cached) $ac_c" 1>&6 5571 3936 else 5572 3937 cat > conftest.$ac_ext <<EOF 5573 #line 5574"configure"3938 #line 3939 "configure" 5574 3939 #include "confdefs.h" 5575 3940 … … 5580 3945 ; return 0; } 5581 3946 EOF 5582 if { (eval echo configure: 5583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3947 if { (eval echo configure:3948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5583 3948 rm -rf conftest* 5584 3949 bfd_cv_have_sys_procfs_type_prpsinfo_t=yes … … 5602 3967 5603 3968 echo $ac_n "checking for prpsinfo32_t in sys/procfs.h""... $ac_c" 1>&6 5604 echo "configure: 5605: checking for prpsinfo32_t in sys/procfs.h" >&53969 echo "configure:3970: checking for prpsinfo32_t in sys/procfs.h" >&5 5605 3970 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prpsinfo32_t'+set}'`\" = set"; then 5606 3971 echo $ac_n "(cached) $ac_c" 1>&6 5607 3972 else 5608 3973 cat > conftest.$ac_ext <<EOF 5609 #line 5610"configure"3974 #line 3975 "configure" 5610 3975 #include "confdefs.h" 5611 3976 … … 5616 3981 ; return 0; } 5617 3982 EOF 5618 if { (eval echo configure: 5619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3983 if { (eval echo configure:3984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5619 3984 rm -rf conftest* 5620 3985 bfd_cv_have_sys_procfs_type_prpsinfo32_t=yes … … 5638 4003 5639 4004 echo $ac_n "checking for psinfo_t in sys/procfs.h""... $ac_c" 1>&6 5640 echo "configure: 5641: checking for psinfo_t in sys/procfs.h" >&54005 echo "configure:4006: checking for psinfo_t in sys/procfs.h" >&5 5641 4006 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_psinfo_t'+set}'`\" = set"; then 5642 4007 echo $ac_n "(cached) $ac_c" 1>&6 5643 4008 else 5644 4009 cat > conftest.$ac_ext <<EOF 5645 #line 5646"configure"4010 #line 4011 "configure" 5646 4011 #include "confdefs.h" 5647 4012 … … 5652 4017 ; return 0; } 5653 4018 EOF 5654 if { (eval echo configure: 5655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4019 if { (eval echo configure:4020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5655 4020 rm -rf conftest* 5656 4021 bfd_cv_have_sys_procfs_type_psinfo_t=yes … … 5674 4039 5675 4040 echo $ac_n "checking for psinfo32_t in sys/procfs.h""... $ac_c" 1>&6 5676 echo "configure: 5677: checking for psinfo32_t in sys/procfs.h" >&54041 echo "configure:4042: checking for psinfo32_t in sys/procfs.h" >&5 5677 4042 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_psinfo32_t'+set}'`\" = set"; then 5678 4043 echo $ac_n "(cached) $ac_c" 1>&6 5679 4044 else 5680 4045 cat > conftest.$ac_ext <<EOF 5681 #line 5682"configure"4046 #line 4047 "configure" 5682 4047 #include "confdefs.h" 5683 4048 … … 5688 4053 ; return 0; } 5689 4054 EOF 5690 if { (eval echo configure: 5691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4055 if { (eval echo configure:4056: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5691 4056 rm -rf conftest* 5692 4057 bfd_cv_have_sys_procfs_type_psinfo32_t=yes … … 5710 4075 5711 4076 echo $ac_n "checking for lwpstatus_t in sys/procfs.h""... $ac_c" 1>&6 5712 echo "configure: 5713: checking for lwpstatus_t in sys/procfs.h" >&54077 echo "configure:4078: checking for lwpstatus_t in sys/procfs.h" >&5 5713 4078 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_lwpstatus_t'+set}'`\" = set"; then 5714 4079 echo $ac_n "(cached) $ac_c" 1>&6 5715 4080 else 5716 4081 cat > conftest.$ac_ext <<EOF 5717 #line 5718"configure"4082 #line 4083 "configure" 5718 4083 #include "confdefs.h" 5719 4084 … … 5724 4089 ; return 0; } 5725 4090 EOF 5726 if { (eval echo configure: 5727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4091 if { (eval echo configure:4092: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5727 4092 rm -rf conftest* 5728 4093 bfd_cv_have_sys_procfs_type_lwpstatus_t=yes … … 5746 4111 5747 4112 echo $ac_n "checking for lwpxstatus_t in sys/procfs.h""... $ac_c" 1>&6 5748 echo "configure: 5749: checking for lwpxstatus_t in sys/procfs.h" >&54113 echo "configure:4114: checking for lwpxstatus_t in sys/procfs.h" >&5 5749 4114 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_lwpxstatus_t'+set}'`\" = set"; then 5750 4115 echo $ac_n "(cached) $ac_c" 1>&6 5751 4116 else 5752 4117 cat > conftest.$ac_ext <<EOF 5753 #line 5754"configure"4118 #line 4119 "configure" 5754 4119 #include "confdefs.h" 5755 4120 … … 5760 4125 ; return 0; } 5761 4126 EOF 5762 if { (eval echo configure: 5763: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4127 if { (eval echo configure:4128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5763 4128 rm -rf conftest* 5764 4129 bfd_cv_have_sys_procfs_type_lwpxstatus_t=yes … … 5782 4147 5783 4148 echo $ac_n "checking for lwpstatus_t.pr_context in sys/procfs.h""... $ac_c" 1>&6 5784 echo "configure: 5785: checking for lwpstatus_t.pr_context in sys/procfs.h" >&54149 echo "configure:4150: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5 5785 4150 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context'+set}'`\" = set"; then 5786 4151 echo $ac_n "(cached) $ac_c" 1>&6 5787 4152 else 5788 4153 cat > conftest.$ac_ext <<EOF 5789 #line 5790"configure"4154 #line 4155 "configure" 5790 4155 #include "confdefs.h" 5791 4156 … … 5796 4161 ; return 0; } 5797 4162 EOF 5798 if { (eval echo configure: 5799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4163 if { (eval echo configure:4164: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5799 4164 rm -rf conftest* 5800 4165 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=yes … … 5818 4183 5819 4184 echo $ac_n "checking for lwpstatus_t.pr_reg in sys/procfs.h""... $ac_c" 1>&6 5820 echo "configure: 5821: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&54185 echo "configure:4186: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5 5821 4186 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg'+set}'`\" = set"; then 5822 4187 echo $ac_n "(cached) $ac_c" 1>&6 5823 4188 else 5824 4189 cat > conftest.$ac_ext <<EOF 5825 #line 5826"configure"4190 #line 4191 "configure" 5826 4191 #include "confdefs.h" 5827 4192 … … 5832 4197 ; return 0; } 5833 4198 EOF 5834 if { (eval echo configure: 5835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4199 if { (eval echo configure:4200: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5835 4200 rm -rf conftest* 5836 4201 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=yes … … 5854 4219 5855 4220 echo $ac_n "checking for win32_pstatus_t in sys/procfs.h""... $ac_c" 1>&6 5856 echo "configure: 5857: checking for win32_pstatus_t in sys/procfs.h" >&54221 echo "configure:4222: checking for win32_pstatus_t in sys/procfs.h" >&5 5857 4222 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_win32_pstatus_t'+set}'`\" = set"; then 5858 4223 echo $ac_n "(cached) $ac_c" 1>&6 5859 4224 else 5860 4225 cat > conftest.$ac_ext <<EOF 5861 #line 5862"configure"4226 #line 4227 "configure" 5862 4227 #include "confdefs.h" 5863 4228 … … 5868 4233 ; return 0; } 5869 4234 EOF 5870 if { (eval echo configure: 5871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4235 if { (eval echo configure:4236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5871 4236 rm -rf conftest* 5872 4237 bfd_cv_have_sys_procfs_type_win32_pstatus_t=yes … … 6267 4632 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6268 4633 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6269 echo "configure: 6270: checking for $ac_hdr" >&54634 echo "configure:4635: checking for $ac_hdr" >&5 6270 4635 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6271 4636 echo $ac_n "(cached) $ac_c" 1>&6 … … 6273 4638 cat > conftest.$ac_ext <<EOF 6274 4639 #include <sys/types.h> 6275 #line 6276"configure"4640 #line 4641 "configure" 6276 4641 #include "confdefs.h" 6277 4642 #include <$ac_hdr> 6278 4643 EOF 6279 4644 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6280 { (eval echo configure: 6281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4645 { (eval echo configure:4646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6281 4646 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6282 4647 if test -z "$ac_err"; then … … 6307 4672 do 6308 4673 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6309 echo "configure: 6310: checking for $ac_func" >&54674 echo "configure:4675: checking for $ac_func" >&5 6310 4675 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6311 4676 echo $ac_n "(cached) $ac_c" 1>&6 6312 4677 else 6313 4678 cat > conftest.$ac_ext <<EOF 6314 #line 6315"configure"4679 #line 4680 "configure" 6315 4680 #include "confdefs.h" 6316 4681 /* System header to define __stub macros and hopefully few prototypes, … … 6335 4700 ; return 0; } 6336 4701 EOF 6337 if { (eval echo configure: 6338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4702 if { (eval echo configure:4703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6338 4703 rm -rf conftest* 6339 4704 eval "ac_cv_func_$ac_func=yes" … … 6360 4725 6361 4726 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 6362 echo "configure: 6363: checking for working mmap" >&54727 echo "configure:4728: checking for working mmap" >&5 6363 4728 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 6364 4729 echo $ac_n "(cached) $ac_c" 1>&6 … … 6368 4733 else 6369 4734 cat > conftest.$ac_ext <<EOF 6370 #line 6371"configure"4735 #line 4736 "configure" 6371 4736 #include "confdefs.h" 6372 4737 … … 6508 4873 6509 4874 EOF 6510 if { (eval echo configure: 6511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null4875 if { (eval echo configure:4876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 6511 4876 then 6512 4877 ac_cv_func_mmap_fixed_mapped=yes … … 6533 4898 do 6534 4899 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6535 echo "configure: 6536: checking for $ac_func" >&54900 echo "configure:4901: checking for $ac_func" >&5 6536 4901 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6537 4902 echo $ac_n "(cached) $ac_c" 1>&6 6538 4903 else 6539 4904 cat > conftest.$ac_ext <<EOF 6540 #line 6541"configure"4905 #line 4906 "configure" 6541 4906 #include "confdefs.h" 6542 4907 /* System header to define __stub macros and hopefully few prototypes, … … 6561 4926 ; return 0; } 6562 4927 EOF 6563 if { (eval echo configure: 6564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4928 if { (eval echo configure:4929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6564 4929 rm -rf conftest* 6565 4930 eval "ac_cv_func_$ac_func=yes" … … 6770 5135 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g 6771 5136 s%@MAINT@%$MAINT%g 6772 s%@CPP@%$CPP%g6773 s%@ALLOCA@%$ALLOCA%g6774 s%@USE_NLS@%$USE_NLS%g6775 s%@MSGFMT@%$MSGFMT%g6776 s%@GMSGFMT@%$GMSGFMT%g6777 s%@XGETTEXT@%$XGETTEXT%g6778 s%@USE_INCLUDED_LIBINTL@%$USE_INCLUDED_LIBINTL%g6779 s%@CATALOGS@%$CATALOGS%g6780 s%@CATOBJEXT@%$CATOBJEXT%g6781 s%@DATADIRNAME@%$DATADIRNAME%g6782 s%@GMOFILES@%$GMOFILES%g6783 s%@INSTOBJEXT@%$INSTOBJEXT%g6784 s%@INTLDEPS@%$INTLDEPS%g6785 s%@INTLLIBS@%$INTLLIBS%g6786 s%@INTLOBJS@%$INTLOBJS%g6787 s%@POFILES@%$POFILES%g6788 s%@POSUB@%$POSUB%g6789 s%@INCLUDE_LOCALE_H@%$INCLUDE_LOCALE_H%g6790 s%@GT_NO@%$GT_NO%g6791 s%@GT_YES@%$GT_YES%g6792 s%@MKINSTALLDIRS@%$MKINSTALLDIRS%g6793 s%@l@%$l%g6794 5137 s%@HDEFINES@%$HDEFINES%g 6795 5138 s%@BFD_HOST_64BIT_LONG@%$BFD_HOST_64BIT_LONG%g … … 6799 5142 s%@CC_FOR_BUILD@%$CC_FOR_BUILD%g 6800 5143 s%@EXEEXT_FOR_BUILD@%$EXEEXT_FOR_BUILD%g 5144 s%@CPP@%$CPP%g 6801 5145 s%@COREFILE@%$COREFILE%g 6802 5146 s%@COREFLAG@%$COREFLAG%g -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.