Changeset 101 for trunk/src/binutils/libiberty
- Timestamp:
- May 7, 2003, 5:35:03 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/binutils/libiberty/configure
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r100 r101 527 527 fi 528 528 529 echo $ac_n "checking for path separator""... $ac_c" 1>&6 530 echo "configure:531: checking for path separator" >&5 531 # Filter path to get backslahes into forwardslashes 532 case "`uname -s 2> /dev/null`" in 533 OS/2) 534 PATH=`echo -E "$PATH" | sed 's+\\\\+/+g'` 535 PATH_IFS=';' 536 ;; 537 *) 538 PATH_IFS=':' 539 ;; 540 esac 541 echo "$ac_t""${PATH_IFS}" 1>&6 542 543 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 544 echo "configure:545: checking for Cygwin environment" >&5 545 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 546 echo $ac_n "(cached) $ac_c" 1>&6 547 else 548 cat > conftest.$ac_ext <<EOF 549 #line 550 "configure" 550 #include "confdefs.h" 551 552 int main() { 553 554 #ifndef __CYGWIN__ 555 #define __CYGWIN__ __CYGWIN32__ 556 #endif 557 return __CYGWIN__; 558 ; return 0; } 559 EOF 560 if { (eval echo configure:561: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 561 rm -rf conftest* 562 ac_cv_cygwin=yes 563 else 564 echo "configure: failed program was:" >&5 565 cat conftest.$ac_ext >&5 566 rm -rf conftest* 567 ac_cv_cygwin=no 568 fi 569 rm -f conftest* 570 rm -f conftest* 571 fi 572 573 echo "$ac_t""$ac_cv_cygwin" 1>&6 574 CYGWIN= 575 test "$ac_cv_cygwin" = yes && CYGWIN=yes 576 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 577 echo "configure:578: checking for mingw32 environment" >&5 578 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 579 echo $ac_n "(cached) $ac_c" 1>&6 580 else 581 cat > conftest.$ac_ext <<EOF 582 #line 583 "configure" 583 #include "confdefs.h" 584 585 int main() { 586 return __MINGW32__; 587 ; return 0; } 588 EOF 589 if { (eval echo configure:590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 590 rm -rf conftest* 591 ac_cv_mingw32=yes 592 else 593 echo "configure: failed program was:" >&5 594 cat conftest.$ac_ext >&5 595 rm -rf conftest* 596 ac_cv_mingw32=no 597 fi 598 rm -f conftest* 599 rm -f conftest* 600 fi 601 602 echo "$ac_t""$ac_cv_mingw32" 1>&6 603 MINGW32= 604 test "$ac_cv_mingw32" = yes && MINGW32=yes 605 echo $ac_n "checking for EMX/OS2 environment""... $ac_c" 1>&6 606 echo "configure:607: checking for EMX/OS2 environment" >&5 607 if eval "test \"`echo '$''{'ac_cv_emxos2'+set}'`\" = set"; then 608 echo $ac_n "(cached) $ac_c" 1>&6 609 else 610 : ${CC=gcc.exe} 611 cat > conftest.$ac_ext <<EOF 612 #line 613 "configure" 613 #include "confdefs.h" 614 615 int main() { 616 return __EMX__; 617 ; return 0; } 618 EOF 619 if { (eval echo configure:620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 620 rm -rf conftest* 621 ac_cv_emxos2=yes 622 else 623 echo "configure: failed program was:" >&5 624 cat conftest.$ac_ext >&5 625 rm -rf conftest* 626 ac_cv_emxos2=no 627 fi 628 rm -f conftest* 629 rm -f conftest* 630 fi 631 632 echo "$ac_t""$ac_cv_emxos2" 1>&6 633 if eval "test \"`echo '$''{'ac_cv_libpre'+set}'`\" = set"; then 634 echo $ac_n "(cached) $ac_c" 1>&6 635 else 636 if test "$ac_cv_emxos2" = yes ; then 637 ac_cv_libpre= 638 else 639 ac_cv_libpre=lib 640 fi 641 642 fi 643 644 EMXOS2= 645 test "$ac_cv_emxos2" = yes && EMXOS2=yes 646 647 648 649 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 650 echo "configure:651: checking for executable suffix" >&5 651 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 652 echo $ac_n "(cached) $ac_c" 1>&6 653 else 654 if test "$CYGWIN" = yes || test "$MINGW32" = yes || test "$EMXOS2" = yes; then 655 ac_cv_exeext=.exe 656 else 657 rm -f conftest* 658 echo 'int main () { return 0; }' > conftest.$ac_ext 659 ac_cv_exeext= 660 if { (eval echo configure:661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 661 for file in conftest.*; do 662 case $file in 663 *.c | *.o | *.obj) ;; 664 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; 665 esac 666 done 667 else 668 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } 669 fi 670 rm -f conftest* 671 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no 672 fi 673 fi 674 675 EXEEXT="" 676 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} 677 echo "$ac_t""${ac_cv_exeext}" 1>&6 678 ac_exeext=$EXEEXT 679 529 680 530 681 … … 588 739 589 740 echo $ac_n "checking host system type""... $ac_c" 1>&6 590 echo "configure: 591: checking host system type" >&5741 echo "configure:742: checking host system type" >&5 591 742 592 743 host_alias=$host … … 611 762 612 763 echo $ac_n "checking build system type""... $ac_c" 1>&6 613 echo "configure: 614: checking build system type" >&5764 echo "configure:765: checking build system type" >&5 614 765 615 766 build_alias=$build … … 637 788 set dummy ${ac_tool_prefix}ar; ac_word=$2 638 789 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 639 echo "configure: 640: checking for $ac_word" >&5790 echo "configure:791: checking for $ac_word" >&5 640 791 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then 641 792 echo $ac_n "(cached) $ac_c" 1>&6 … … 644 795 ac_cv_prog_AR="$AR" # Let the user override the test. 645 796 else 646 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"797 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 647 798 ac_dummy="$PATH" 648 799 for ac_dir in $ac_dummy; do 649 800 test -z "$ac_dir" && ac_dir=. 650 if test -f $ac_dir/$ac_word; then 801 if test -f $ac_dir/$ac_word -o \ 802 -f $ac_dir/$ac_word$ac_exeext ; then 651 803 ac_cv_prog_AR="${ac_tool_prefix}ar" 652 804 break … … 669 821 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 670 822 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 671 echo "configure: 672: checking for $ac_word" >&5823 echo "configure:824: checking for $ac_word" >&5 672 824 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 673 825 echo $ac_n "(cached) $ac_c" 1>&6 … … 676 828 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 677 829 else 678 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"830 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 679 831 ac_dummy="$PATH" 680 832 for ac_dir in $ac_dummy; do 681 833 test -z "$ac_dir" && ac_dir=. 682 if test -f $ac_dir/$ac_word; then 834 if test -f $ac_dir/$ac_word -o \ 835 -f $ac_dir/$ac_word$ac_exeext ; then 683 836 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 684 837 break … … 701 854 set dummy ranlib; ac_word=$2 702 855 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 703 echo "configure: 704: checking for $ac_word" >&5856 echo "configure:857: checking for $ac_word" >&5 704 857 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 705 858 echo $ac_n "(cached) $ac_c" 1>&6 … … 708 861 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 709 862 else 710 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"863 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 711 864 ac_dummy="$PATH" 712 865 for ac_dir in $ac_dummy; do 713 866 test -z "$ac_dir" && ac_dir=. 714 if test -f $ac_dir/$ac_word; then 867 if test -f $ac_dir/$ac_word -o \ 868 -f $ac_dir/$ac_word$ac_exeext ; then 715 869 ac_cv_prog_RANLIB="ranlib" 716 870 break … … 738 892 set dummy gcc; ac_word=$2 739 893 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 740 echo "configure: 741: checking for $ac_word" >&5894 echo "configure:895: checking for $ac_word" >&5 741 895 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 742 896 echo $ac_n "(cached) $ac_c" 1>&6 … … 745 899 ac_cv_prog_CC="$CC" # Let the user override the test. 746 900 else 747 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"901 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 748 902 ac_dummy="$PATH" 749 903 for ac_dir in $ac_dummy; do 750 904 test -z "$ac_dir" && ac_dir=. 751 if test -f $ac_dir/$ac_word; then 905 if test -f $ac_dir/$ac_word -o \ 906 -f $ac_dir/$ac_word$ac_exeext ; then 752 907 ac_cv_prog_CC="gcc" 753 908 break … … 768 923 set dummy cc; ac_word=$2 769 924 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 770 echo "configure: 771: checking for $ac_word" >&5925 echo "configure:926: checking for $ac_word" >&5 771 926 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 772 927 echo $ac_n "(cached) $ac_c" 1>&6 … … 775 930 ac_cv_prog_CC="$CC" # Let the user override the test. 776 931 else 777 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"932 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 778 933 ac_prog_rejected=no 779 934 ac_dummy="$PATH" 780 935 for ac_dir in $ac_dummy; do 781 936 test -z "$ac_dir" && ac_dir=. 782 if test -f $ac_dir/$ac_word; then 783 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 937 if test -f $ac_dir/$ac_word -o \ 938 -f $ac_dir/$ac_word$ac_exeext ; then 939 if test "$ac_dir/$ac_word" = "/usr/ucb/cc" -o \ 940 "$ac_dir/$ac_word$ac_exeext" = "/usr/ucb/cc" ; then 784 941 ac_prog_rejected=yes 785 942 continue … … 817 974 818 975 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 819 echo "configure: 820: checking whether we are using GNU C" >&5976 echo "configure:977: checking whether we are using GNU C" >&5 820 977 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 821 978 echo $ac_n "(cached) $ac_c" 1>&6 … … 826 983 #endif 827 984 EOF 828 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure: 829: \"$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 829 986 ac_cv_prog_gcc=yes 830 987 else … … 842 999 CFLAGS= 843 1000 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 844 echo "configure: 845: checking whether ${CC-cc} accepts -g" >&51001 echo "configure:1002: checking whether ${CC-cc} accepts -g" >&5 845 1002 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 846 1003 echo $ac_n "(cached) $ac_c" 1>&6 … … 873 1030 874 1031 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 875 echo "configure: 876: checking for POSIXized ISC" >&51032 echo "configure:1033: checking for POSIXized ISC" >&5 876 1033 if test -d /etc/conf/kconfig.d && 877 1034 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 … … 894 1051 895 1052 echo $ac_n "checking for working const""... $ac_c" 1>&6 896 echo "configure: 897: checking for working const" >&51053 echo "configure:1054: checking for working const" >&5 897 1054 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 898 1055 echo $ac_n "(cached) $ac_c" 1>&6 899 1056 else 900 1057 cat > conftest.$ac_ext <<EOF 901 #line 902"configure"1058 #line 1059 "configure" 902 1059 #include "confdefs.h" 903 1060 … … 948 1105 ; return 0; } 949 1106 EOF 950 if { (eval echo configure: 951: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1107 if { (eval echo configure:1108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 951 1108 rm -rf conftest* 952 1109 ac_cv_c_const=yes … … 969 1126 970 1127 echo $ac_n "checking for inline""... $ac_c" 1>&6 971 echo "configure: 972: checking for inline" >&51128 echo "configure:1129: checking for inline" >&5 972 1129 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 973 1130 echo $ac_n "(cached) $ac_c" 1>&6 … … 976 1133 for ac_kw in inline __inline__ __inline; do 977 1134 cat > conftest.$ac_ext <<EOF 978 #line 979"configure"1135 #line 1136 "configure" 979 1136 #include "confdefs.h" 980 1137 … … 983 1140 ; return 0; } 984 1141 EOF 985 if { (eval echo configure: 986: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1142 if { (eval echo configure:1143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 986 1143 rm -rf conftest* 987 1144 ac_cv_c_inline=$ac_kw; break … … 1026 1183 # ./install, which can be erroneously created by make from ./install.sh. 1027 1184 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 1028 echo "configure:1 029: checking for a BSD compatible install" >&51185 echo "configure:1186: checking for a BSD compatible install" >&5 1029 1186 if test -z "$INSTALL"; then 1030 1187 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 1031 1188 echo $ac_n "(cached) $ac_c" 1>&6 1032 1189 else 1033 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=" :"1190 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$PATH_IFS" 1034 1191 for ac_dir in $PATH; do 1035 1192 # Account for people who put trailing slashes in PATH elements. 1036 1193 case "$ac_dir/" in 1037 1194 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; 1195 # We reject the install program from OS/2 or W3.1 1196 */OS2|*/OS2/*|*/WINDOWS|*/WINDOWS/*) ;; 1038 1197 *) 1039 1198 # OSF1 and SCO ODT 3.0 have their own names for install. … … 1041 1200 # by default. 1042 1201 for ac_prog in ginstall scoinst install; do 1043 if test -f $ac_dir/$ac_prog ; then1202 if test -f $ac_dir/$ac_prog$ac_exeext; then 1044 1203 if test $ac_prog = install && 1045 1204 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then … … 1047 1206 : 1048 1207 else 1049 ac_cv_path_install="$ac_dir/$ac_prog -c"1208 ac_cv_path_install="$ac_dir/$ac_prog$ac_exeext -c" 1050 1209 break 2 1051 1210 fi … … 1087 1246 # something. 1088 1247 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 1089 echo "configure:1 090: checking how to run the C preprocessor" >&51248 echo "configure:1249: checking how to run the C preprocessor" >&5 1090 1249 # On Suns, sometimes $CPP names a directory. 1091 1250 if test -n "$CPP" && test -d "$CPP"; then … … 1102 1261 # not just through cpp. 1103 1262 cat > conftest.$ac_ext <<EOF 1104 #line 1105 "configure" 1263 #include <sys/types.h> 1264 #line 1265 "configure" 1105 1265 #include "confdefs.h" 1106 1266 #include <assert.h> … … 1108 1268 EOF 1109 1269 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1110 { (eval echo configure:1 111: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1270 { (eval echo configure:1271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1111 1271 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1112 1272 if test -z "$ac_err"; then … … 1119 1279 CPP="${CC-cc} -E -traditional-cpp" 1120 1280 cat > conftest.$ac_ext <<EOF 1121 #line 1122 "configure" 1281 #include <sys/types.h> 1282 #line 1283 "configure" 1122 1283 #include "confdefs.h" 1123 1284 #include <assert.h> … … 1125 1286 EOF 1126 1287 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1127 { (eval echo configure:1 128: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1288 { (eval echo configure:1289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1128 1289 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1129 1290 if test -z "$ac_err"; then … … 1136 1297 CPP="${CC-cc} -nologo -E" 1137 1298 cat > conftest.$ac_ext <<EOF 1138 #line 1139 "configure" 1299 #include <sys/types.h> 1300 #line 1301 "configure" 1139 1301 #include "confdefs.h" 1140 1302 #include <assert.h> … … 1142 1304 EOF 1143 1305 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1144 { (eval echo configure:1 145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1306 { (eval echo configure:1307: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1145 1307 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1146 1308 if test -z "$ac_err"; then … … 1170 1332 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1171 1333 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1172 echo "configure:1 173: checking for $ac_hdr" >&51334 echo "configure:1335: checking for $ac_hdr" >&5 1173 1335 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1174 1336 echo $ac_n "(cached) $ac_c" 1>&6 1175 1337 else 1176 1338 cat > conftest.$ac_ext <<EOF 1177 #line 1178 "configure" 1339 #include <sys/types.h> 1340 #line 1341 "configure" 1178 1341 #include "confdefs.h" 1179 1342 #include <$ac_hdr> 1180 1343 EOF 1181 1344 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1182 { (eval echo configure:1 183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1345 { (eval echo configure:1346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1183 1346 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1184 1347 if test -z "$ac_err"; then … … 1207 1370 1208 1371 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 1209 echo "configure:1 210: checking for sys/wait.h that is POSIX.1 compatible" >&51372 echo "configure:1373: checking for sys/wait.h that is POSIX.1 compatible" >&5 1210 1373 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then 1211 1374 echo $ac_n "(cached) $ac_c" 1>&6 1212 1375 else 1213 1376 cat > conftest.$ac_ext <<EOF 1214 #line 1 215"configure"1377 #line 1378 "configure" 1215 1378 #include "confdefs.h" 1216 1379 #include <sys/types.h> … … 1228 1391 ; return 0; } 1229 1392 EOF 1230 if { (eval echo configure:1 231: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1393 if { (eval echo configure:1394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1231 1394 rm -rf conftest* 1232 1395 ac_cv_header_sys_wait_h=yes … … 1249 1412 1250 1413 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 1251 echo "configure:1 252: checking whether time.h and sys/time.h may both be included" >&51414 echo "configure:1415: checking whether time.h and sys/time.h may both be included" >&5 1252 1415 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 1253 1416 echo $ac_n "(cached) $ac_c" 1>&6 1254 1417 else 1255 1418 cat > conftest.$ac_ext <<EOF 1256 #line 1 257"configure"1419 #line 1420 "configure" 1257 1420 #include "confdefs.h" 1258 1421 #include <sys/types.h> … … 1263 1426 ; return 0; } 1264 1427 EOF 1265 if { (eval echo configure:1 266: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1428 if { (eval echo configure:1429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1266 1429 rm -rf conftest* 1267 1430 ac_cv_header_time=yes … … 1285 1448 1286 1449 echo $ac_n "checking whether errno must be declared""... $ac_c" 1>&6 1287 echo "configure:1 288: checking whether errno must be declared" >&51450 echo "configure:1451: checking whether errno must be declared" >&5 1288 1451 if eval "test \"`echo '$''{'libiberty_cv_declare_errno'+set}'`\" = set"; then 1289 1452 echo $ac_n "(cached) $ac_c" 1>&6 1290 1453 else 1291 1454 cat > conftest.$ac_ext <<EOF 1292 #line 1 293"configure"1455 #line 1456 "configure" 1293 1456 #include "confdefs.h" 1294 1457 #include <errno.h> … … 1297 1460 ; return 0; } 1298 1461 EOF 1299 if { (eval echo configure:1 300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1462 if { (eval echo configure:1463: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1300 1463 rm -rf conftest* 1301 1464 libiberty_cv_declare_errno=no … … 1374 1537 do 1375 1538 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1376 echo "configure:1 377: checking for $ac_func" >&51539 echo "configure:1540: checking for $ac_func" >&5 1377 1540 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1378 1541 echo $ac_n "(cached) $ac_c" 1>&6 1379 1542 else 1380 1543 cat > conftest.$ac_ext <<EOF 1381 #line 1 382"configure"1544 #line 1545 "configure" 1382 1545 #include "confdefs.h" 1383 1546 /* System header to define __stub macros and hopefully few prototypes, … … 1402 1565 ; return 0; } 1403 1566 EOF 1404 if { (eval echo configure:1 405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1567 if { (eval echo configure:1568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1405 1568 rm -rf conftest* 1406 1569 eval "ac_cv_func_$ac_func=yes" … … 1429 1592 do 1430 1593 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1431 echo "configure:1 432: checking for $ac_func" >&51594 echo "configure:1595: checking for $ac_func" >&5 1432 1595 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1433 1596 echo $ac_n "(cached) $ac_c" 1>&6 1434 1597 else 1435 1598 cat > conftest.$ac_ext <<EOF 1436 #line 1 437"configure"1599 #line 1600 "configure" 1437 1600 #include "confdefs.h" 1438 1601 /* System header to define __stub macros and hopefully few prototypes, … … 1457 1620 ; return 0; } 1458 1621 EOF 1459 if { (eval echo configure:1 460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1622 if { (eval echo configure:1623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1460 1623 rm -rf conftest* 1461 1624 eval "ac_cv_func_$ac_func=yes" … … 1484 1647 do 1485 1648 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1486 echo "configure:1 487: checking for $ac_func" >&51649 echo "configure:1650: checking for $ac_func" >&5 1487 1650 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1488 1651 echo $ac_n "(cached) $ac_c" 1>&6 1489 1652 else 1490 1653 cat > conftest.$ac_ext <<EOF 1491 #line 1 492"configure"1654 #line 1655 "configure" 1492 1655 #include "confdefs.h" 1493 1656 /* System header to define __stub macros and hopefully few prototypes, … … 1512 1675 ; return 0; } 1513 1676 EOF 1514 if { (eval echo configure:1 515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1677 if { (eval echo configure:1678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1515 1678 rm -rf conftest* 1516 1679 eval "ac_cv_func_$ac_func=yes" … … 1539 1702 do 1540 1703 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1541 echo "configure:1 542: checking for $ac_func" >&51704 echo "configure:1705: checking for $ac_func" >&5 1542 1705 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1543 1706 echo $ac_n "(cached) $ac_c" 1>&6 1544 1707 else 1545 1708 cat > conftest.$ac_ext <<EOF 1546 #line 1 547"configure"1709 #line 1710 "configure" 1547 1710 #include "confdefs.h" 1548 1711 /* System header to define __stub macros and hopefully few prototypes, … … 1567 1730 ; return 0; } 1568 1731 EOF 1569 if { (eval echo configure:1 570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1732 if { (eval echo configure:1733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1570 1733 rm -rf conftest* 1571 1734 eval "ac_cv_func_$ac_func=yes" … … 1594 1757 do 1595 1758 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1596 echo "configure:1 597: checking for $ac_func" >&51759 echo "configure:1760: checking for $ac_func" >&5 1597 1760 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1598 1761 echo $ac_n "(cached) $ac_c" 1>&6 1599 1762 else 1600 1763 cat > conftest.$ac_ext <<EOF 1601 #line 1 602"configure"1764 #line 1765 "configure" 1602 1765 #include "confdefs.h" 1603 1766 /* System header to define __stub macros and hopefully few prototypes, … … 1622 1785 ; return 0; } 1623 1786 EOF 1624 if { (eval echo configure:1 625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1787 if { (eval echo configure:1788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1625 1788 rm -rf conftest* 1626 1789 eval "ac_cv_func_$ac_func=yes" … … 1649 1812 do 1650 1813 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1651 echo "configure:1 652: checking for $ac_func" >&51814 echo "configure:1815: checking for $ac_func" >&5 1652 1815 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1653 1816 echo $ac_n "(cached) $ac_c" 1>&6 1654 1817 else 1655 1818 cat > conftest.$ac_ext <<EOF 1656 #line 1 657"configure"1819 #line 1820 "configure" 1657 1820 #include "confdefs.h" 1658 1821 /* System header to define __stub macros and hopefully few prototypes, … … 1677 1840 ; return 0; } 1678 1841 EOF 1679 if { (eval echo configure:1 680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1842 if { (eval echo configure:1843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1680 1843 rm -rf conftest* 1681 1844 eval "ac_cv_func_$ac_func=yes" … … 1704 1867 do 1705 1868 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1706 echo "configure:1 707: checking for $ac_func" >&51869 echo "configure:1870: checking for $ac_func" >&5 1707 1870 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1708 1871 echo $ac_n "(cached) $ac_c" 1>&6 1709 1872 else 1710 1873 cat > conftest.$ac_ext <<EOF 1711 #line 1 712"configure"1874 #line 1875 "configure" 1712 1875 #include "confdefs.h" 1713 1876 /* System header to define __stub macros and hopefully few prototypes, … … 1732 1895 ; return 0; } 1733 1896 EOF 1734 if { (eval echo configure:1 735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1897 if { (eval echo configure:1898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1735 1898 rm -rf conftest* 1736 1899 eval "ac_cv_func_$ac_func=yes" … … 1918 2081 # tests. This will only work if the compiler works. 1919 2082 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1920 echo "configure: 1921: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&52083 echo "configure:2084: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1921 2084 1922 2085 ac_ext=c … … 1929 2092 cat > conftest.$ac_ext << EOF 1930 2093 1931 #line 1932"configure"2094 #line 2095 "configure" 1932 2095 #include "confdefs.h" 1933 2096 1934 2097 main(){return(0);} 1935 2098 EOF 1936 if { (eval echo configure: 1937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2099 if { (eval echo configure:2100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1937 2100 ac_cv_prog_cc_works=yes 1938 2101 # If we can't run a trivial program, we are probably using a cross compiler. … … 1960 2123 fi 1961 2124 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1962 echo "configure: 1963: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&52125 echo "configure:2126: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1963 2126 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1964 2127 cross_compiling=$ac_cv_prog_cc_cross … … 1967 2130 do 1968 2131 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1969 echo "configure: 1970: checking for $ac_func" >&52132 echo "configure:2133: checking for $ac_func" >&5 1970 2133 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1971 2134 echo $ac_n "(cached) $ac_c" 1>&6 1972 2135 else 1973 2136 cat > conftest.$ac_ext <<EOF 1974 #line 1975"configure"2137 #line 2138 "configure" 1975 2138 #include "confdefs.h" 1976 2139 /* System header to define __stub macros and hopefully few prototypes, … … 1995 2158 ; return 0; } 1996 2159 EOF 1997 if { (eval echo configure: 1998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2160 if { (eval echo configure:2161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1998 2161 rm -rf conftest* 1999 2162 eval "ac_cv_func_$ac_func=yes" … … 2042 2205 # for constant arguments. Useless! 2043 2206 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 2044 echo "configure:2 045: checking for working alloca.h" >&52207 echo "configure:2208: checking for working alloca.h" >&5 2045 2208 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 2046 2209 echo $ac_n "(cached) $ac_c" 1>&6 2047 2210 else 2048 2211 cat > conftest.$ac_ext <<EOF 2049 #line 2 050"configure"2212 #line 2213 "configure" 2050 2213 #include "confdefs.h" 2051 2214 #include <alloca.h> … … 2054 2217 ; return 0; } 2055 2218 EOF 2056 if { (eval echo configure:2 057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2219 if { (eval echo configure:2220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2057 2220 rm -rf conftest* 2058 2221 ac_cv_header_alloca_h=yes … … 2075 2238 2076 2239 echo $ac_n "checking for alloca""... $ac_c" 1>&6 2077 echo "configure:2 078: checking for alloca" >&52240 echo "configure:2241: checking for alloca" >&5 2078 2241 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 2079 2242 echo $ac_n "(cached) $ac_c" 1>&6 2080 2243 else 2081 2244 cat > conftest.$ac_ext <<EOF 2082 #line 2 083"configure"2245 #line 2246 "configure" 2083 2246 #include "confdefs.h" 2084 2247 … … 2108 2271 ; return 0; } 2109 2272 EOF 2110 if { (eval echo configure:2 111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2273 if { (eval echo configure:2274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2111 2274 rm -rf conftest* 2112 2275 ac_cv_func_alloca_works=yes … … 2140 2303 2141 2304 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 2142 echo "configure:2 143: checking whether alloca needs Cray hooks" >&52305 echo "configure:2306: checking whether alloca needs Cray hooks" >&5 2143 2306 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 2144 2307 echo $ac_n "(cached) $ac_c" 1>&6 2145 2308 else 2146 2309 cat > conftest.$ac_ext <<EOF 2147 #line 2 148"configure"2310 #line 2311 "configure" 2148 2311 #include "confdefs.h" 2149 2312 #if defined(CRAY) && ! defined(CRAY2) … … 2170 2333 for ac_func in _getb67 GETB67 getb67; do 2171 2334 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2172 echo "configure:2 173: checking for $ac_func" >&52335 echo "configure:2336: checking for $ac_func" >&5 2173 2336 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2174 2337 echo $ac_n "(cached) $ac_c" 1>&6 2175 2338 else 2176 2339 cat > conftest.$ac_ext <<EOF 2177 #line 2 178"configure"2340 #line 2341 "configure" 2178 2341 #include "confdefs.h" 2179 2342 /* System header to define __stub macros and hopefully few prototypes, … … 2198 2361 ; return 0; } 2199 2362 EOF 2200 if { (eval echo configure:2 201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2363 if { (eval echo configure:2364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2201 2364 rm -rf conftest* 2202 2365 eval "ac_cv_func_$ac_func=yes" … … 2225 2388 2226 2389 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 2227 echo "configure:2 228: checking stack direction for C alloca" >&52390 echo "configure:2391: checking stack direction for C alloca" >&5 2228 2391 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 2229 2392 echo $ac_n "(cached) $ac_c" 1>&6 … … 2233 2396 else 2234 2397 cat > conftest.$ac_ext <<EOF 2235 #line 2 236"configure"2398 #line 2399 "configure" 2236 2399 #include "confdefs.h" 2237 2400 find_stack_direction () … … 2252 2415 } 2253 2416 EOF 2254 if { (eval echo configure:2 255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2417 if { (eval echo configure:2418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2255 2418 then 2256 2419 ac_cv_c_stack_direction=1 … … 2277 2440 2278 2441 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2279 echo "configure:2 280: checking for ANSI C header files" >&52442 echo "configure:2443: checking for ANSI C header files" >&5 2280 2443 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2281 2444 echo $ac_n "(cached) $ac_c" 1>&6 2282 2445 else 2283 2446 cat > conftest.$ac_ext <<EOF 2284 #line 2285 "configure" 2447 #include <sys/types.h> 2448 #line 2449 "configure" 2285 2449 #include "confdefs.h" 2286 2450 #include <stdlib.h> … … 2290 2454 EOF 2291 2455 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2292 { (eval echo configure:2 293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2456 { (eval echo configure:2457: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2293 2457 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2294 2458 if test -z "$ac_err"; then … … 2307 2471 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2308 2472 cat > conftest.$ac_ext <<EOF 2309 #line 2 310"configure"2473 #line 2474 "configure" 2310 2474 #include "confdefs.h" 2311 2475 #include <string.h> … … 2325 2489 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2326 2490 cat > conftest.$ac_ext <<EOF 2327 #line 2 328"configure"2491 #line 2492 "configure" 2328 2492 #include "confdefs.h" 2329 2493 #include <stdlib.h> … … 2346 2510 else 2347 2511 cat > conftest.$ac_ext <<EOF 2348 #line 2 349"configure"2512 #line 2513 "configure" 2349 2513 #include "confdefs.h" 2350 2514 #include <ctype.h> … … 2357 2521 2358 2522 EOF 2359 if { (eval echo configure:2 360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2523 if { (eval echo configure:2524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2360 2524 then 2361 2525 : … … 2381 2545 2382 2546 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 2383 echo "configure:2 384: checking for pid_t" >&52547 echo "configure:2548: checking for pid_t" >&5 2384 2548 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then 2385 2549 echo $ac_n "(cached) $ac_c" 1>&6 2386 2550 else 2387 2551 cat > conftest.$ac_ext <<EOF 2388 #line 2 389"configure"2552 #line 2553 "configure" 2389 2553 #include "confdefs.h" 2390 2554 #include <sys/types.h> … … 2415 2579 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 2416 2580 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 2417 echo "configure:2 418: checking for vfork.h" >&52581 echo "configure:2582: checking for vfork.h" >&5 2418 2582 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2419 2583 echo $ac_n "(cached) $ac_c" 1>&6 2420 2584 else 2421 2585 cat > conftest.$ac_ext <<EOF 2422 #line 2423 "configure" 2586 #include <sys/types.h> 2587 #line 2588 "configure" 2423 2588 #include "confdefs.h" 2424 2589 #include <vfork.h> 2425 2590 EOF 2426 2591 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2427 { (eval echo configure:2 428: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2592 { (eval echo configure:2593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2428 2593 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2429 2594 if test -z "$ac_err"; then … … 2450 2615 2451 2616 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 2452 echo "configure:2 453: checking for working vfork" >&52617 echo "configure:2618: checking for working vfork" >&5 2453 2618 if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then 2454 2619 echo $ac_n "(cached) $ac_c" 1>&6 … … 2456 2621 if test "$cross_compiling" = yes; then 2457 2622 echo $ac_n "checking for vfork""... $ac_c" 1>&6 2458 echo "configure:2 459: checking for vfork" >&52623 echo "configure:2624: checking for vfork" >&5 2459 2624 if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then 2460 2625 echo $ac_n "(cached) $ac_c" 1>&6 2461 2626 else 2462 2627 cat > conftest.$ac_ext <<EOF 2463 #line 2 464"configure"2628 #line 2629 "configure" 2464 2629 #include "confdefs.h" 2465 2630 /* System header to define __stub macros and hopefully few prototypes, … … 2484 2649 ; return 0; } 2485 2650 EOF 2486 if { (eval echo configure:2 487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2651 if { (eval echo configure:2652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2487 2652 rm -rf conftest* 2488 2653 eval "ac_cv_func_vfork=yes" … … 2506 2671 else 2507 2672 cat > conftest.$ac_ext <<EOF 2508 #line 2 509"configure"2673 #line 2674 "configure" 2509 2674 #include "confdefs.h" 2510 2675 /* Thanks to Paul Eggert for this test. */ … … 2601 2766 } 2602 2767 EOF 2603 if { (eval echo configure:2 604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2768 if { (eval echo configure:2769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2604 2769 then 2605 2770 ac_cv_func_vfork_works=yes … … 2628 2793 for v in $vars; do 2629 2794 echo $ac_n "checking for $v""... $ac_c" 1>&6 2630 echo "configure:2 631: checking for $v" >&52795 echo "configure:2796: checking for $v" >&5 2631 2796 if eval "test \"`echo '$''{'libiberty_cv_var_$v'+set}'`\" = set"; then 2632 2797 echo $ac_n "(cached) $ac_c" 1>&6 2633 2798 else 2634 2799 cat > conftest.$ac_ext <<EOF 2635 #line 2 636"configure"2800 #line 2801 "configure" 2636 2801 #include "confdefs.h" 2637 2802 int *p; … … 2640 2805 ; return 0; } 2641 2806 EOF 2642 if { (eval echo configure:2 643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2807 if { (eval echo configure:2808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2643 2808 rm -rf conftest* 2644 2809 eval "libiberty_cv_var_$v=yes" … … 2666 2831 do 2667 2832 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2668 echo "configure:2 669: checking for $ac_func" >&52833 echo "configure:2834: checking for $ac_func" >&5 2669 2834 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2670 2835 echo $ac_n "(cached) $ac_c" 1>&6 2671 2836 else 2672 2837 cat > conftest.$ac_ext <<EOF 2673 #line 2 674"configure"2838 #line 2839 "configure" 2674 2839 #include "confdefs.h" 2675 2840 /* System header to define __stub macros and hopefully few prototypes, … … 2694 2859 ; return 0; } 2695 2860 EOF 2696 if { (eval echo configure:2 697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2861 if { (eval echo configure:2862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2697 2862 rm -rf conftest* 2698 2863 eval "ac_cv_func_$ac_func=yes" … … 2724 2889 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2725 2890 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2726 echo "configure:2 727: checking for $ac_hdr" >&52891 echo "configure:2892: checking for $ac_hdr" >&5 2727 2892 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2728 2893 echo $ac_n "(cached) $ac_c" 1>&6 2729 2894 else 2730 2895 cat > conftest.$ac_ext <<EOF 2731 #line 2732 "configure" 2896 #include <sys/types.h> 2897 #line 2898 "configure" 2732 2898 #include "confdefs.h" 2733 2899 #include <$ac_hdr> 2734 2900 EOF 2735 2901 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2736 { (eval echo configure:2 737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2902 { (eval echo configure:2903: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2737 2903 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2738 2904 if test -z "$ac_err"; then … … 2763 2929 do 2764 2930 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2765 echo "configure:2 766: checking for $ac_func" >&52931 echo "configure:2932: checking for $ac_func" >&5 2766 2932 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2767 2933 echo $ac_n "(cached) $ac_c" 1>&6 2768 2934 else 2769 2935 cat > conftest.$ac_ext <<EOF 2770 #line 2 771"configure"2936 #line 2937 "configure" 2771 2937 #include "confdefs.h" 2772 2938 /* System header to define __stub macros and hopefully few prototypes, … … 2791 2957 ; return 0; } 2792 2958 EOF 2793 if { (eval echo configure:2 794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2959 if { (eval echo configure:2960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2794 2960 rm -rf conftest* 2795 2961 eval "ac_cv_func_$ac_func=yes" … … 2816 2982 2817 2983 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 2818 echo "configure:2 819: checking for working mmap" >&52984 echo "configure:2985: checking for working mmap" >&5 2819 2985 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 2820 2986 echo $ac_n "(cached) $ac_c" 1>&6 … … 2824 2990 else 2825 2991 cat > conftest.$ac_ext <<EOF 2826 #line 2 827"configure"2992 #line 2993 "configure" 2827 2993 #include "confdefs.h" 2828 2994 … … 2964 3130 2965 3131 EOF 2966 if { (eval echo configure: 2967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3132 if { (eval echo configure:3133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2967 3133 then 2968 3134 ac_cv_func_mmap_fixed_mapped=yes … … 2988 3154 2989 3155 echo $ac_n "checking for working strncmp""... $ac_c" 1>&6 2990 echo "configure: 2991: checking for working strncmp" >&53156 echo "configure:3157: checking for working strncmp" >&5 2991 3157 if eval "test \"`echo '$''{'ac_cv_func_strncmp_works'+set}'`\" = set"; then 2992 3158 echo $ac_n "(cached) $ac_c" 1>&6 … … 2996 3162 else 2997 3163 cat > conftest.$ac_ext <<EOF 2998 #line 2999"configure"3164 #line 3165 "configure" 2999 3165 #include "confdefs.h" 3000 3166 … … 3057 3223 3058 3224 EOF 3059 if { (eval echo configure:3 060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3225 if { (eval echo configure:3226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3060 3226 then 3061 3227 ac_cv_func_strncmp_works=yes … … 3163 3329 # Run this file to recreate the current configuration. 3164 3330 # This directory was configured as follows, 3331 EOF 3332 echo ': ${CONFIG_SHELL='"${CONFIG_SHELL-/bin/sh}"'}' >> $CONFIG_STATUS 3333 cat >> $CONFIG_STATUS <<EOF 3165 3334 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 3166 3335 # … … 3188 3357 ac_given_srcdir=$srcdir 3189 3358 ac_given_INSTALL="$INSTALL" 3359 PATHIFS="$PATH_IFS" 3190 3360 3191 3361 trap 'rm -fr `echo "Makefile testsuite/Makefile config.h:config.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 … … 3198 3368 $ac_vpsub 3199 3369 $extrasub 3370 s,\([^a-zA-Z0-9:]\)/bin/sh\(.exe\),\1${CONFIG_SHELL-/bin/sh}\2,g 3200 3371 s%@SHELL@%$SHELL%g 3201 3372 s%@CFLAGS@%$CFLAGS%g … … 3221 3392 s%@infodir@%$infodir%g 3222 3393 s%@mandir@%$mandir%g 3394 s%@PATH_IFS@%$PATH_IFS%g 3395 s%@EXEEXT@%$EXEEXT%g 3223 3396 s%@host@%$host%g 3224 3397 s%@host_alias@%$host_alias%g … … 3315 3488 if test -z "$ac_dots"; then top_srcdir=. 3316 3489 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; 3317 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; 3490 /* | [A-Za-z]:*) 3491 srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; 3318 3492 *) # Relative path. 3319 3493 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" … … 3322 3496 3323 3497 case "$ac_given_INSTALL" in 3324 [/$]* ) INSTALL="$ac_given_INSTALL" ;;3498 [/$]* | [A-Za-z]:*) INSTALL="$ac_given_INSTALL" ;; 3325 3499 *) INSTALL="$ac_dots$ac_given_INSTALL" ;; 3326 3500 esac … … 3335 3509 esac 3336 3510 3337 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s% :% $ac_given_srcdir/%g"`3511 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%$PATHIFS% $ac_given_srcdir/%g"` 3338 3512 sed -e "$ac_comsub 3339 3513 s%@configure_input@%$configure_input%g … … 3382 3556 3383 3557 rm -f conftest.frag conftest.in conftest.out 3384 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` 3558 # kso the other way around might work better with drive letters and such. 3559 # ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` 3560 ac_file_inputs=`echo $ac_file_in|sed -e "s%:% $ac_given_srcdir/%g" -e "s%^%$ac_given_srcdir/%" ` 3385 3561 cat $ac_file_inputs > conftest.in 3386 3562 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.