Changeset 80 for trunk/src/gcc/libiberty/configure
- Timestamp:
- May 2, 2003, 12:30:43 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gcc/libiberty/configure
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r79 r80 531 531 fi 532 532 533 echo $ac_n "checking for path separator""... $ac_c" 1>&6 534 echo "configure:535: checking for path separator" >&5 535 # Filter path to get backslahes into forwardslashes 536 case "`uname -s 2> /dev/null`" in 537 OS/2) 538 PATH=`echo -E "$PATH" | sed 's+\\\\+/+g'` 539 PATH_IFS=';' 540 ;; 541 *) 542 PATH_IFS=':' 543 ;; 544 esac 545 echo "$ac_t""${PATH_IFS}" 1>&6 546 547 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 548 echo "configure:549: checking for Cygwin environment" >&5 549 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 550 echo $ac_n "(cached) $ac_c" 1>&6 551 else 552 cat > conftest.$ac_ext <<EOF 553 #line 554 "configure" 554 #include "confdefs.h" 555 556 int main() { 557 558 #ifndef __CYGWIN__ 559 #define __CYGWIN__ __CYGWIN32__ 560 #endif 561 return __CYGWIN__; 562 ; return 0; } 563 EOF 564 if { (eval echo configure:565: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 565 rm -rf conftest* 566 ac_cv_cygwin=yes 567 else 568 echo "configure: failed program was:" >&5 569 cat conftest.$ac_ext >&5 570 rm -rf conftest* 571 ac_cv_cygwin=no 572 fi 573 rm -f conftest* 574 rm -f conftest* 575 fi 576 577 echo "$ac_t""$ac_cv_cygwin" 1>&6 578 CYGWIN= 579 test "$ac_cv_cygwin" = yes && CYGWIN=yes 580 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 581 echo "configure:582: checking for mingw32 environment" >&5 582 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 583 echo $ac_n "(cached) $ac_c" 1>&6 584 else 585 cat > conftest.$ac_ext <<EOF 586 #line 587 "configure" 587 #include "confdefs.h" 588 589 int main() { 590 return __MINGW32__; 591 ; return 0; } 592 EOF 593 if { (eval echo configure:594: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 594 rm -rf conftest* 595 ac_cv_mingw32=yes 596 else 597 echo "configure: failed program was:" >&5 598 cat conftest.$ac_ext >&5 599 rm -rf conftest* 600 ac_cv_mingw32=no 601 fi 602 rm -f conftest* 603 rm -f conftest* 604 fi 605 606 echo "$ac_t""$ac_cv_mingw32" 1>&6 607 MINGW32= 608 test "$ac_cv_mingw32" = yes && MINGW32=yes 609 echo $ac_n "checking for EMX/OS2 environment""... $ac_c" 1>&6 610 echo "configure:611: checking for EMX/OS2 environment" >&5 611 if eval "test \"`echo '$''{'ac_cv_emxos2'+set}'`\" = set"; then 612 echo $ac_n "(cached) $ac_c" 1>&6 613 else 614 : ${CC=gcc.exe} 615 cat > conftest.$ac_ext <<EOF 616 #line 617 "configure" 617 #include "confdefs.h" 618 619 int main() { 620 return __EMX__; 621 ; return 0; } 622 EOF 623 if { (eval echo configure:624: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 624 rm -rf conftest* 625 ac_cv_emxos2=yes 626 else 627 echo "configure: failed program was:" >&5 628 cat conftest.$ac_ext >&5 629 rm -rf conftest* 630 ac_cv_emxos2=no 631 fi 632 rm -f conftest* 633 rm -f conftest* 634 fi 635 636 echo "$ac_t""$ac_cv_emxos2" 1>&6 637 if eval "test \"`echo '$''{'ac_cv_libpre'+set}'`\" = set"; then 638 echo $ac_n "(cached) $ac_c" 1>&6 639 else 640 if test "$ac_cv_emxos2" = yes ; then 641 ac_cv_libpre= 642 else 643 ac_cv_libpre=lib 644 fi 645 646 fi 647 648 EMXOS2= 649 test "$ac_cv_emxos2" = yes && EMXOS2=yes 650 651 652 653 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 654 echo "configure:655: checking for executable suffix" >&5 655 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 656 echo $ac_n "(cached) $ac_c" 1>&6 657 else 658 if test "$CYGWIN" = yes || test "$MINGW32" = yes || test "$EMXOS2" = yes; then 659 ac_cv_exeext=.exe 660 else 661 rm -f conftest* 662 echo 'int main () { return 0; }' > conftest.$ac_ext 663 ac_cv_exeext= 664 if { (eval echo configure:665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 665 for file in conftest.*; do 666 case $file in 667 *.c | *.o | *.obj) ;; 668 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; 669 esac 670 done 671 else 672 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } 673 fi 674 rm -f conftest* 675 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no 676 fi 677 fi 678 679 EXEEXT="" 680 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} 681 echo "$ac_t""${ac_cv_exeext}" 1>&6 682 ac_exeext=$EXEEXT 683 533 684 534 685 … … 594 745 595 746 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 596 echo "configure: 597: checking whether to enable maintainer-specific portions of Makefiles" >&5747 echo "configure:748: checking whether to enable maintainer-specific portions of Makefiles" >&5 597 748 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 598 749 if test "${enable_maintainer_mode+set}" = set; then … … 619 770 set dummy makeinfo; ac_word=$2 620 771 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 621 echo "configure: 622: checking for $ac_word" >&5772 echo "configure:773: checking for $ac_word" >&5 622 773 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then 623 774 echo $ac_n "(cached) $ac_c" 1>&6 … … 626 777 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test. 627 778 else 628 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"779 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 629 780 ac_dummy="$PATH" 630 781 for ac_dir in $ac_dummy; do 631 782 test -z "$ac_dir" && ac_dir=. 632 if test -f $ac_dir/$ac_word; then 783 if test -f $ac_dir/$ac_word -o \ 784 -f $ac_dir/$ac_word$ac_exeext ; then 633 785 ac_cv_prog_MAKEINFO="makeinfo" 634 786 break … … 665 817 set dummy perl; ac_word=$2 666 818 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 667 echo "configure: 668: checking for $ac_word" >&5819 echo "configure:820: checking for $ac_word" >&5 668 820 if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then 669 821 echo $ac_n "(cached) $ac_c" 1>&6 … … 672 824 ac_cv_prog_PERL="$PERL" # Let the user override the test. 673 825 else 674 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"826 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 675 827 ac_dummy="$PATH" 676 828 for ac_dir in $ac_dummy; do 677 829 test -z "$ac_dir" && ac_dir=. 678 if test -f $ac_dir/$ac_word; then 830 if test -f $ac_dir/$ac_word -o \ 831 -f $ac_dir/$ac_word$ac_exeext ; then 679 832 ac_cv_prog_PERL="perl" 680 833 break … … 705 858 706 859 echo $ac_n "checking host system type""... $ac_c" 1>&6 707 echo "configure: 708: checking host system type" >&5860 echo "configure:861: checking host system type" >&5 708 861 709 862 host_alias=$host … … 728 881 729 882 echo $ac_n "checking build system type""... $ac_c" 1>&6 730 echo "configure: 731: checking build system type" >&5883 echo "configure:884: checking build system type" >&5 731 884 732 885 build_alias=$build … … 754 907 set dummy ${ac_tool_prefix}ar; ac_word=$2 755 908 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 756 echo "configure: 757: checking for $ac_word" >&5909 echo "configure:910: checking for $ac_word" >&5 757 910 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then 758 911 echo $ac_n "(cached) $ac_c" 1>&6 … … 761 914 ac_cv_prog_AR="$AR" # Let the user override the test. 762 915 else 763 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"916 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 764 917 ac_dummy="$PATH" 765 918 for ac_dir in $ac_dummy; do 766 919 test -z "$ac_dir" && ac_dir=. 767 if test -f $ac_dir/$ac_word; then 920 if test -f $ac_dir/$ac_word -o \ 921 -f $ac_dir/$ac_word$ac_exeext ; then 768 922 ac_cv_prog_AR="${ac_tool_prefix}ar" 769 923 break … … 786 940 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 787 941 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 788 echo "configure: 789: checking for $ac_word" >&5942 echo "configure:943: checking for $ac_word" >&5 789 943 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 790 944 echo $ac_n "(cached) $ac_c" 1>&6 … … 793 947 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 794 948 else 795 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"949 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 796 950 ac_dummy="$PATH" 797 951 for ac_dir in $ac_dummy; do 798 952 test -z "$ac_dir" && ac_dir=. 799 if test -f $ac_dir/$ac_word; then 953 if test -f $ac_dir/$ac_word -o \ 954 -f $ac_dir/$ac_word$ac_exeext ; then 800 955 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 801 956 break … … 818 973 set dummy ranlib; ac_word=$2 819 974 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 820 echo "configure: 821: checking for $ac_word" >&5975 echo "configure:976: checking for $ac_word" >&5 821 976 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 822 977 echo $ac_n "(cached) $ac_c" 1>&6 … … 825 980 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 826 981 else 827 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"982 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 828 983 ac_dummy="$PATH" 829 984 for ac_dir in $ac_dummy; do 830 985 test -z "$ac_dir" && ac_dir=. 831 if test -f $ac_dir/$ac_word; then 986 if test -f $ac_dir/$ac_word -o \ 987 -f $ac_dir/$ac_word$ac_exeext ; then 832 988 ac_cv_prog_RANLIB="ranlib" 833 989 break … … 855 1011 set dummy gcc; ac_word=$2 856 1012 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 857 echo "configure: 858: checking for $ac_word" >&51013 echo "configure:1014: checking for $ac_word" >&5 858 1014 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 859 1015 echo $ac_n "(cached) $ac_c" 1>&6 … … 862 1018 ac_cv_prog_CC="$CC" # Let the user override the test. 863 1019 else 864 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"1020 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 865 1021 ac_dummy="$PATH" 866 1022 for ac_dir in $ac_dummy; do 867 1023 test -z "$ac_dir" && ac_dir=. 868 if test -f $ac_dir/$ac_word; then 1024 if test -f $ac_dir/$ac_word -o \ 1025 -f $ac_dir/$ac_word$ac_exeext ; then 869 1026 ac_cv_prog_CC="gcc" 870 1027 break … … 885 1042 set dummy cc; ac_word=$2 886 1043 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 887 echo "configure: 888: checking for $ac_word" >&51044 echo "configure:1045: checking for $ac_word" >&5 888 1045 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 889 1046 echo $ac_n "(cached) $ac_c" 1>&6 … … 892 1049 ac_cv_prog_CC="$CC" # Let the user override the test. 893 1050 else 894 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"1051 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 895 1052 ac_prog_rejected=no 896 1053 ac_dummy="$PATH" 897 1054 for ac_dir in $ac_dummy; do 898 1055 test -z "$ac_dir" && ac_dir=. 899 if test -f $ac_dir/$ac_word; then 900 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 1056 if test -f $ac_dir/$ac_word -o \ 1057 -f $ac_dir/$ac_word$ac_exeext ; then 1058 if test "$ac_dir/$ac_word" = "/usr/ucb/cc" -o \ 1059 "$ac_dir/$ac_word$ac_exeext" = "/usr/ucb/cc" ; then 901 1060 ac_prog_rejected=yes 902 1061 continue … … 934 1093 935 1094 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 936 echo "configure: 937: checking whether we are using GNU C" >&51095 echo "configure:1096: checking whether we are using GNU C" >&5 937 1096 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 938 1097 echo $ac_n "(cached) $ac_c" 1>&6 … … 943 1102 #endif 944 1103 EOF 945 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure: 946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1104 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1105: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 946 1105 ac_cv_prog_gcc=yes 947 1106 else … … 959 1118 CFLAGS= 960 1119 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 961 echo "configure: 962: checking whether ${CC-cc} accepts -g" >&51120 echo "configure:1121: checking whether ${CC-cc} accepts -g" >&5 962 1121 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 963 1122 echo $ac_n "(cached) $ac_c" 1>&6 … … 990 1149 991 1150 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 992 echo "configure: 993: checking for POSIXized ISC" >&51151 echo "configure:1152: checking for POSIXized ISC" >&5 993 1152 if test -d /etc/conf/kconfig.d && 994 1153 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 … … 1011 1170 1012 1171 echo $ac_n "checking for working const""... $ac_c" 1>&6 1013 echo "configure:1 014: checking for working const" >&51172 echo "configure:1173: checking for working const" >&5 1014 1173 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 1015 1174 echo $ac_n "(cached) $ac_c" 1>&6 1016 1175 else 1017 1176 cat > conftest.$ac_ext <<EOF 1018 #line 1 019"configure"1177 #line 1178 "configure" 1019 1178 #include "confdefs.h" 1020 1179 … … 1065 1224 ; return 0; } 1066 1225 EOF 1067 if { (eval echo configure:1 068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1226 if { (eval echo configure:1227: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1068 1227 rm -rf conftest* 1069 1228 ac_cv_c_const=yes … … 1086 1245 1087 1246 echo $ac_n "checking for inline""... $ac_c" 1>&6 1088 echo "configure:1 089: checking for inline" >&51247 echo "configure:1248: checking for inline" >&5 1089 1248 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 1090 1249 echo $ac_n "(cached) $ac_c" 1>&6 … … 1093 1252 for ac_kw in inline __inline__ __inline; do 1094 1253 cat > conftest.$ac_ext <<EOF 1095 #line 1 096"configure"1254 #line 1255 "configure" 1096 1255 #include "confdefs.h" 1097 1256 … … 1100 1259 ; return 0; } 1101 1260 EOF 1102 if { (eval echo configure:1 103: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1261 if { (eval echo configure:1262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1103 1262 rm -rf conftest* 1104 1263 ac_cv_c_inline=$ac_kw; break … … 1143 1302 # ./install, which can be erroneously created by make from ./install.sh. 1144 1303 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 1145 echo "configure:1 146: checking for a BSD compatible install" >&51304 echo "configure:1305: checking for a BSD compatible install" >&5 1146 1305 if test -z "$INSTALL"; then 1147 1306 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 1148 1307 echo $ac_n "(cached) $ac_c" 1>&6 1149 1308 else 1150 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=" :"1309 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$PATH_IFS" 1151 1310 for ac_dir in $PATH; do 1152 1311 # Account for people who put trailing slashes in PATH elements. 1153 1312 case "$ac_dir/" in 1154 1313 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; 1314 # We reject the install program from OS/2 or W3.1 1315 */OS2|*/OS2/*|*/WINDOWS|*/WINDOWS/*) ;; 1155 1316 *) 1156 1317 # OSF1 and SCO ODT 3.0 have their own names for install. … … 1158 1319 # by default. 1159 1320 for ac_prog in ginstall scoinst install; do 1160 if test -f $ac_dir/$ac_prog ; then1321 if test -f $ac_dir/$ac_prog$ac_exeext; then 1161 1322 if test $ac_prog = install && 1162 1323 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then … … 1164 1325 : 1165 1326 else 1166 ac_cv_path_install="$ac_dir/$ac_prog -c"1327 ac_cv_path_install="$ac_dir/$ac_prog$ac_exeext -c" 1167 1328 break 2 1168 1329 fi … … 1204 1365 # something. 1205 1366 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 1206 echo "configure:1 207: checking how to run the C preprocessor" >&51367 echo "configure:1368: checking how to run the C preprocessor" >&5 1207 1368 # On Suns, sometimes $CPP names a directory. 1208 1369 if test -n "$CPP" && test -d "$CPP"; then … … 1219 1380 # not just through cpp. 1220 1381 cat > conftest.$ac_ext <<EOF 1221 #line 1222 "configure" 1382 #include <sys/types.h> 1383 #line 1384 "configure" 1222 1384 #include "confdefs.h" 1223 1385 #include <assert.h> … … 1225 1387 EOF 1226 1388 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1227 { (eval echo configure:1 228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1389 { (eval echo configure:1390: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1228 1390 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1229 1391 if test -z "$ac_err"; then … … 1236 1398 CPP="${CC-cc} -E -traditional-cpp" 1237 1399 cat > conftest.$ac_ext <<EOF 1238 #line 1239 "configure" 1400 #include <sys/types.h> 1401 #line 1402 "configure" 1239 1402 #include "confdefs.h" 1240 1403 #include <assert.h> … … 1242 1405 EOF 1243 1406 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1244 { (eval echo configure:1 245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1407 { (eval echo configure:1408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1245 1408 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1246 1409 if test -z "$ac_err"; then … … 1253 1416 CPP="${CC-cc} -nologo -E" 1254 1417 cat > conftest.$ac_ext <<EOF 1255 #line 1256 "configure" 1418 #include <sys/types.h> 1419 #line 1420 "configure" 1256 1420 #include "confdefs.h" 1257 1421 #include <assert.h> … … 1259 1423 EOF 1260 1424 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1261 { (eval echo configure:1 262: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1425 { (eval echo configure:1426: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1262 1426 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1263 1427 if test -z "$ac_err"; then … … 1287 1451 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1288 1452 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1289 echo "configure:1 290: checking for $ac_hdr" >&51453 echo "configure:1454: checking for $ac_hdr" >&5 1290 1454 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1291 1455 echo $ac_n "(cached) $ac_c" 1>&6 1292 1456 else 1293 1457 cat > conftest.$ac_ext <<EOF 1294 #line 1295 "configure" 1458 #include <sys/types.h> 1459 #line 1460 "configure" 1295 1460 #include "confdefs.h" 1296 1461 #include <$ac_hdr> 1297 1462 EOF 1298 1463 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1299 { (eval echo configure:1 300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1464 { (eval echo configure:1465: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1300 1465 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1301 1466 if test -z "$ac_err"; then … … 1324 1489 1325 1490 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 1326 echo "configure:1 327: checking for sys/wait.h that is POSIX.1 compatible" >&51491 echo "configure:1492: checking for sys/wait.h that is POSIX.1 compatible" >&5 1327 1492 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then 1328 1493 echo $ac_n "(cached) $ac_c" 1>&6 1329 1494 else 1330 1495 cat > conftest.$ac_ext <<EOF 1331 #line 1 332"configure"1496 #line 1497 "configure" 1332 1497 #include "confdefs.h" 1333 1498 #include <sys/types.h> … … 1345 1510 ; return 0; } 1346 1511 EOF 1347 if { (eval echo configure:1 348: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1512 if { (eval echo configure:1513: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1348 1513 rm -rf conftest* 1349 1514 ac_cv_header_sys_wait_h=yes … … 1366 1531 1367 1532 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 1368 echo "configure:1 369: checking whether time.h and sys/time.h may both be included" >&51533 echo "configure:1534: checking whether time.h and sys/time.h may both be included" >&5 1369 1534 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 1370 1535 echo $ac_n "(cached) $ac_c" 1>&6 1371 1536 else 1372 1537 cat > conftest.$ac_ext <<EOF 1373 #line 1 374"configure"1538 #line 1539 "configure" 1374 1539 #include "confdefs.h" 1375 1540 #include <sys/types.h> … … 1380 1545 ; return 0; } 1381 1546 EOF 1382 if { (eval echo configure:1 383: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1547 if { (eval echo configure:1548: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1383 1548 rm -rf conftest* 1384 1549 ac_cv_header_time=yes … … 1402 1567 1403 1568 echo $ac_n "checking whether errno must be declared""... $ac_c" 1>&6 1404 echo "configure:1 405: checking whether errno must be declared" >&51569 echo "configure:1570: checking whether errno must be declared" >&5 1405 1570 if eval "test \"`echo '$''{'libiberty_cv_declare_errno'+set}'`\" = set"; then 1406 1571 echo $ac_n "(cached) $ac_c" 1>&6 1407 1572 else 1408 1573 cat > conftest.$ac_ext <<EOF 1409 #line 1 410"configure"1574 #line 1575 "configure" 1410 1575 #include "confdefs.h" 1411 1576 #include <errno.h> … … 1414 1579 ; return 0; } 1415 1580 EOF 1416 if { (eval echo configure:1 417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1581 if { (eval echo configure:1582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1417 1582 rm -rf conftest* 1418 1583 libiberty_cv_declare_errno=no … … 1436 1601 1437 1602 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 1438 echo "configure:1 439: checking for ANSI C header files" >&51603 echo "configure:1604: checking for ANSI C header files" >&5 1439 1604 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 1440 1605 echo $ac_n "(cached) $ac_c" 1>&6 1441 1606 else 1442 1607 cat > conftest.$ac_ext <<EOF 1443 #line 1444 "configure" 1608 #include <sys/types.h> 1609 #line 1610 "configure" 1444 1610 #include "confdefs.h" 1445 1611 #include <stdlib.h> … … 1449 1615 EOF 1450 1616 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1451 { (eval echo configure:1 452: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1617 { (eval echo configure:1618: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1452 1618 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1453 1619 if test -z "$ac_err"; then … … 1466 1632 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1467 1633 cat > conftest.$ac_ext <<EOF 1468 #line 1 469"configure"1634 #line 1635 "configure" 1469 1635 #include "confdefs.h" 1470 1636 #include <string.h> … … 1484 1650 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1485 1651 cat > conftest.$ac_ext <<EOF 1486 #line 1 487"configure"1652 #line 1653 "configure" 1487 1653 #include "confdefs.h" 1488 1654 #include <stdlib.h> … … 1505 1671 else 1506 1672 cat > conftest.$ac_ext <<EOF 1507 #line 1 508"configure"1673 #line 1674 "configure" 1508 1674 #include "confdefs.h" 1509 1675 #include <ctype.h> … … 1516 1682 1517 1683 EOF 1518 if { (eval echo configure:1 519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1684 if { (eval echo configure:1685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1519 1685 then 1520 1686 : … … 1540 1706 1541 1707 echo $ac_n "checking for uintptr_t""... $ac_c" 1>&6 1542 echo "configure:1 543: checking for uintptr_t" >&51708 echo "configure:1709: checking for uintptr_t" >&5 1543 1709 if eval "test \"`echo '$''{'ac_cv_type_uintptr_t'+set}'`\" = set"; then 1544 1710 echo $ac_n "(cached) $ac_c" 1>&6 1545 1711 else 1546 1712 cat > conftest.$ac_ext <<EOF 1547 #line 1 548"configure"1713 #line 1714 "configure" 1548 1714 #include "confdefs.h" 1549 1715 #include <sys/types.h> … … 1638 1804 do 1639 1805 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1640 echo "configure:1 641: checking for $ac_func" >&51806 echo "configure:1807: checking for $ac_func" >&5 1641 1807 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1642 1808 echo $ac_n "(cached) $ac_c" 1>&6 1643 1809 else 1644 1810 cat > conftest.$ac_ext <<EOF 1645 #line 1 646"configure"1811 #line 1812 "configure" 1646 1812 #include "confdefs.h" 1647 1813 /* System header to define __stub macros and hopefully few prototypes, … … 1666 1832 ; return 0; } 1667 1833 EOF 1668 if { (eval echo configure:1 669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1834 if { (eval echo configure:1835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1669 1835 rm -rf conftest* 1670 1836 eval "ac_cv_func_$ac_func=yes" … … 1693 1859 do 1694 1860 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1695 echo "configure:1 696: checking for $ac_func" >&51861 echo "configure:1862: checking for $ac_func" >&5 1696 1862 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1697 1863 echo $ac_n "(cached) $ac_c" 1>&6 1698 1864 else 1699 1865 cat > conftest.$ac_ext <<EOF 1700 #line 1 701"configure"1866 #line 1867 "configure" 1701 1867 #include "confdefs.h" 1702 1868 /* System header to define __stub macros and hopefully few prototypes, … … 1721 1887 ; return 0; } 1722 1888 EOF 1723 if { (eval echo configure:1 724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1889 if { (eval echo configure:1890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1724 1890 rm -rf conftest* 1725 1891 eval "ac_cv_func_$ac_func=yes" … … 1748 1914 do 1749 1915 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1750 echo "configure:1 751: checking for $ac_func" >&51916 echo "configure:1917: checking for $ac_func" >&5 1751 1917 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1752 1918 echo $ac_n "(cached) $ac_c" 1>&6 1753 1919 else 1754 1920 cat > conftest.$ac_ext <<EOF 1755 #line 1 756"configure"1921 #line 1922 "configure" 1756 1922 #include "confdefs.h" 1757 1923 /* System header to define __stub macros and hopefully few prototypes, … … 1776 1942 ; return 0; } 1777 1943 EOF 1778 if { (eval echo configure:1 779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1944 if { (eval echo configure:1945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1779 1945 rm -rf conftest* 1780 1946 eval "ac_cv_func_$ac_func=yes" … … 1803 1969 do 1804 1970 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1805 echo "configure:1 806: checking for $ac_func" >&51971 echo "configure:1972: checking for $ac_func" >&5 1806 1972 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1807 1973 echo $ac_n "(cached) $ac_c" 1>&6 1808 1974 else 1809 1975 cat > conftest.$ac_ext <<EOF 1810 #line 1 811"configure"1976 #line 1977 "configure" 1811 1977 #include "confdefs.h" 1812 1978 /* System header to define __stub macros and hopefully few prototypes, … … 1831 1997 ; return 0; } 1832 1998 EOF 1833 if { (eval echo configure: 1834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1999 if { (eval echo configure:2000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1834 2000 rm -rf conftest* 1835 2001 eval "ac_cv_func_$ac_func=yes" … … 1858 2024 do 1859 2025 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1860 echo "configure: 1861: checking for $ac_func" >&52026 echo "configure:2027: checking for $ac_func" >&5 1861 2027 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1862 2028 echo $ac_n "(cached) $ac_c" 1>&6 1863 2029 else 1864 2030 cat > conftest.$ac_ext <<EOF 1865 #line 1866"configure"2031 #line 2032 "configure" 1866 2032 #include "confdefs.h" 1867 2033 /* System header to define __stub macros and hopefully few prototypes, … … 1886 2052 ; return 0; } 1887 2053 EOF 1888 if { (eval echo configure: 1889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2054 if { (eval echo configure:2055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1889 2055 rm -rf conftest* 1890 2056 eval "ac_cv_func_$ac_func=yes" … … 1913 2079 do 1914 2080 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1915 echo "configure: 1916: checking for $ac_func" >&52081 echo "configure:2082: checking for $ac_func" >&5 1916 2082 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1917 2083 echo $ac_n "(cached) $ac_c" 1>&6 1918 2084 else 1919 2085 cat > conftest.$ac_ext <<EOF 1920 #line 1921"configure"2086 #line 2087 "configure" 1921 2087 #include "confdefs.h" 1922 2088 /* System header to define __stub macros and hopefully few prototypes, … … 1941 2107 ; return 0; } 1942 2108 EOF 1943 if { (eval echo configure: 1944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2109 if { (eval echo configure:2110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1944 2110 rm -rf conftest* 1945 2111 eval "ac_cv_func_$ac_func=yes" … … 1968 2134 do 1969 2135 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1970 echo "configure: 1971: checking for $ac_func" >&52136 echo "configure:2137: checking for $ac_func" >&5 1971 2137 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1972 2138 echo $ac_n "(cached) $ac_c" 1>&6 1973 2139 else 1974 2140 cat > conftest.$ac_ext <<EOF 1975 #line 1976"configure"2141 #line 2142 "configure" 1976 2142 #include "confdefs.h" 1977 2143 /* System header to define __stub macros and hopefully few prototypes, … … 1996 2162 ; return 0; } 1997 2163 EOF 1998 if { (eval echo configure: 1999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2164 if { (eval echo configure:2165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1999 2165 rm -rf conftest* 2000 2166 eval "ac_cv_func_$ac_func=yes" … … 2200 2366 # tests. This will only work if the compiler works. 2201 2367 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 2202 echo "configure:2 203: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&52368 echo "configure:2369: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 2203 2369 2204 2370 ac_ext=c … … 2211 2377 cat > conftest.$ac_ext << EOF 2212 2378 2213 #line 2 214"configure"2379 #line 2380 "configure" 2214 2380 #include "confdefs.h" 2215 2381 2216 2382 main(){return(0);} 2217 2383 EOF 2218 if { (eval echo configure:2 219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2384 if { (eval echo configure:2385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2219 2385 ac_cv_prog_cc_works=yes 2220 2386 # If we can't run a trivial program, we are probably using a cross compiler. … … 2242 2408 fi 2243 2409 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 2244 echo "configure:2 245: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&52410 echo "configure:2411: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 2245 2411 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 2246 2412 cross_compiling=$ac_cv_prog_cc_cross … … 2249 2415 do 2250 2416 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2251 echo "configure:2 252: checking for $ac_func" >&52417 echo "configure:2418: checking for $ac_func" >&5 2252 2418 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2253 2419 echo $ac_n "(cached) $ac_c" 1>&6 2254 2420 else 2255 2421 cat > conftest.$ac_ext <<EOF 2256 #line 2 257"configure"2422 #line 2423 "configure" 2257 2423 #include "confdefs.h" 2258 2424 /* System header to define __stub macros and hopefully few prototypes, … … 2277 2443 ; return 0; } 2278 2444 EOF 2279 if { (eval echo configure:2 280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2445 if { (eval echo configure:2446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2280 2446 rm -rf conftest* 2281 2447 eval "ac_cv_func_$ac_func=yes" … … 2304 2470 2305 2471 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 2306 echo "configure:2 307: checking whether alloca needs Cray hooks" >&52472 echo "configure:2473: checking whether alloca needs Cray hooks" >&5 2307 2473 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 2308 2474 echo $ac_n "(cached) $ac_c" 1>&6 2309 2475 else 2310 2476 cat > conftest.$ac_ext <<EOF 2311 #line 2 312"configure"2477 #line 2478 "configure" 2312 2478 #include "confdefs.h" 2313 2479 #if defined(CRAY) && ! defined(CRAY2) … … 2334 2500 for ac_func in _getb67 GETB67 getb67; do 2335 2501 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2336 echo "configure:2 337: checking for $ac_func" >&52502 echo "configure:2503: checking for $ac_func" >&5 2337 2503 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2338 2504 echo $ac_n "(cached) $ac_c" 1>&6 2339 2505 else 2340 2506 cat > conftest.$ac_ext <<EOF 2341 #line 2 342"configure"2507 #line 2508 "configure" 2342 2508 #include "confdefs.h" 2343 2509 /* System header to define __stub macros and hopefully few prototypes, … … 2362 2528 ; return 0; } 2363 2529 EOF 2364 if { (eval echo configure:2 365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2530 if { (eval echo configure:2531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2365 2531 rm -rf conftest* 2366 2532 eval "ac_cv_func_$ac_func=yes" … … 2388 2554 2389 2555 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 2390 echo "configure:2 391: checking stack direction for C alloca" >&52556 echo "configure:2557: checking stack direction for C alloca" >&5 2391 2557 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 2392 2558 echo $ac_n "(cached) $ac_c" 1>&6 … … 2396 2562 else 2397 2563 cat > conftest.$ac_ext <<EOF 2398 #line 2 399"configure"2564 #line 2565 "configure" 2399 2565 #include "confdefs.h" 2400 2566 find_stack_direction () … … 2415 2581 } 2416 2582 EOF 2417 if { (eval echo configure:2 418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2583 if { (eval echo configure:2584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2418 2584 then 2419 2585 ac_cv_c_stack_direction=1 … … 2436 2602 2437 2603 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 2438 echo "configure:2 439: checking for pid_t" >&52604 echo "configure:2605: checking for pid_t" >&5 2439 2605 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then 2440 2606 echo $ac_n "(cached) $ac_c" 1>&6 2441 2607 else 2442 2608 cat > conftest.$ac_ext <<EOF 2443 #line 2 444"configure"2609 #line 2610 "configure" 2444 2610 #include "confdefs.h" 2445 2611 #include <sys/types.h> … … 2470 2636 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 2471 2637 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 2472 echo "configure:2 473: checking for vfork.h" >&52638 echo "configure:2639: checking for vfork.h" >&5 2473 2639 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2474 2640 echo $ac_n "(cached) $ac_c" 1>&6 2475 2641 else 2476 2642 cat > conftest.$ac_ext <<EOF 2477 #line 2478 "configure" 2643 #include <sys/types.h> 2644 #line 2645 "configure" 2478 2645 #include "confdefs.h" 2479 2646 #include <vfork.h> 2480 2647 EOF 2481 2648 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2482 { (eval echo configure:2 483: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2649 { (eval echo configure:2650: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2483 2650 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2484 2651 if test -z "$ac_err"; then … … 2505 2672 2506 2673 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 2507 echo "configure:2 508: checking for working vfork" >&52674 echo "configure:2675: checking for working vfork" >&5 2508 2675 if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then 2509 2676 echo $ac_n "(cached) $ac_c" 1>&6 … … 2511 2678 if test "$cross_compiling" = yes; then 2512 2679 echo $ac_n "checking for vfork""... $ac_c" 1>&6 2513 echo "configure:2 514: checking for vfork" >&52680 echo "configure:2681: checking for vfork" >&5 2514 2681 if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then 2515 2682 echo $ac_n "(cached) $ac_c" 1>&6 2516 2683 else 2517 2684 cat > conftest.$ac_ext <<EOF 2518 #line 2 519"configure"2685 #line 2686 "configure" 2519 2686 #include "confdefs.h" 2520 2687 /* System header to define __stub macros and hopefully few prototypes, … … 2539 2706 ; return 0; } 2540 2707 EOF 2541 if { (eval echo configure:2 542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2708 if { (eval echo configure:2709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2542 2709 rm -rf conftest* 2543 2710 eval "ac_cv_func_vfork=yes" … … 2561 2728 else 2562 2729 cat > conftest.$ac_ext <<EOF 2563 #line 2 564"configure"2730 #line 2731 "configure" 2564 2731 #include "confdefs.h" 2565 2732 /* Thanks to Paul Eggert for this test. */ … … 2656 2823 } 2657 2824 EOF 2658 if { (eval echo configure:2 659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2825 if { (eval echo configure:2826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2659 2826 then 2660 2827 ac_cv_func_vfork_works=yes … … 2688 2855 do 2689 2856 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2690 echo "configure:2 691: checking for $ac_func" >&52857 echo "configure:2858: checking for $ac_func" >&5 2691 2858 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2692 2859 echo $ac_n "(cached) $ac_c" 1>&6 2693 2860 else 2694 2861 cat > conftest.$ac_ext <<EOF 2695 #line 2 696"configure"2862 #line 2863 "configure" 2696 2863 #include "confdefs.h" 2697 2864 /* System header to define __stub macros and hopefully few prototypes, … … 2716 2883 ; return 0; } 2717 2884 EOF 2718 if { (eval echo configure:2 719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2885 if { (eval echo configure:2886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2719 2886 rm -rf conftest* 2720 2887 eval "ac_cv_func_$ac_func=yes" … … 2746 2913 do 2747 2914 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2748 echo "configure:2 749: checking for $ac_func" >&52915 echo "configure:2916: checking for $ac_func" >&5 2749 2916 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2750 2917 echo $ac_n "(cached) $ac_c" 1>&6 2751 2918 else 2752 2919 cat > conftest.$ac_ext <<EOF 2753 #line 2 754"configure"2920 #line 2921 "configure" 2754 2921 #include "confdefs.h" 2755 2922 /* System header to define __stub macros and hopefully few prototypes, … … 2774 2941 ; return 0; } 2775 2942 EOF 2776 if { (eval echo configure:2 777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2943 if { (eval echo configure:2944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2777 2944 rm -rf conftest* 2778 2945 eval "ac_cv_func_$ac_func=yes" … … 2802 2969 for v in $vars; do 2803 2970 echo $ac_n "checking for $v""... $ac_c" 1>&6 2804 echo "configure:2 805: checking for $v" >&52971 echo "configure:2972: checking for $v" >&5 2805 2972 if eval "test \"`echo '$''{'libiberty_cv_var_$v'+set}'`\" = set"; then 2806 2973 echo $ac_n "(cached) $ac_c" 1>&6 2807 2974 else 2808 2975 cat > conftest.$ac_ext <<EOF 2809 #line 2 810"configure"2976 #line 2977 "configure" 2810 2977 #include "confdefs.h" 2811 2978 int *p; … … 2814 2981 ; return 0; } 2815 2982 EOF 2816 if { (eval echo configure:2 817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2983 if { (eval echo configure:2984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2817 2984 rm -rf conftest* 2818 2985 eval "libiberty_cv_var_$v=yes" … … 2840 3007 do 2841 3008 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2842 echo "configure: 2843: checking for $ac_func" >&53009 echo "configure:3010: checking for $ac_func" >&5 2843 3010 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2844 3011 echo $ac_n "(cached) $ac_c" 1>&6 2845 3012 else 2846 3013 cat > conftest.$ac_ext <<EOF 2847 #line 2848"configure"3014 #line 3015 "configure" 2848 3015 #include "confdefs.h" 2849 3016 /* System header to define __stub macros and hopefully few prototypes, … … 2868 3035 ; return 0; } 2869 3036 EOF 2870 if { (eval echo configure: 2871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3037 if { (eval echo configure:3038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2871 3038 rm -rf conftest* 2872 3039 eval "ac_cv_func_$ac_func=yes" … … 2898 3065 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2899 3066 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2900 echo "configure: 2901: checking for $ac_hdr" >&53067 echo "configure:3068: checking for $ac_hdr" >&5 2901 3068 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2902 3069 echo $ac_n "(cached) $ac_c" 1>&6 2903 3070 else 2904 3071 cat > conftest.$ac_ext <<EOF 2905 #line 2906 "configure" 3072 #include <sys/types.h> 3073 #line 3074 "configure" 2906 3074 #include "confdefs.h" 2907 3075 #include <$ac_hdr> 2908 3076 EOF 2909 3077 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2910 { (eval echo configure: 2911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3078 { (eval echo configure:3079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2911 3079 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2912 3080 if test -z "$ac_err"; then … … 2937 3105 do 2938 3106 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2939 echo "configure: 2940: checking for $ac_func" >&53107 echo "configure:3108: checking for $ac_func" >&5 2940 3108 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2941 3109 echo $ac_n "(cached) $ac_c" 1>&6 2942 3110 else 2943 3111 cat > conftest.$ac_ext <<EOF 2944 #line 2945"configure"3112 #line 3113 "configure" 2945 3113 #include "confdefs.h" 2946 3114 /* System header to define __stub macros and hopefully few prototypes, … … 2965 3133 ; return 0; } 2966 3134 EOF 2967 if { (eval echo configure: 2968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3135 if { (eval echo configure:3136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2968 3136 rm -rf conftest* 2969 3137 eval "ac_cv_func_$ac_func=yes" … … 2990 3158 2991 3159 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 2992 echo "configure: 2993: checking for working mmap" >&53160 echo "configure:3161: checking for working mmap" >&5 2993 3161 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 2994 3162 echo $ac_n "(cached) $ac_c" 1>&6 … … 2998 3166 else 2999 3167 cat > conftest.$ac_ext <<EOF 3000 #line 3 001"configure"3168 #line 3169 "configure" 3001 3169 #include "confdefs.h" 3002 3170 … … 3138 3306 3139 3307 EOF 3140 if { (eval echo configure:3 141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3308 if { (eval echo configure:3309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3141 3309 then 3142 3310 ac_cv_func_mmap_fixed_mapped=yes … … 3162 3330 3163 3331 echo $ac_n "checking for working strncmp""... $ac_c" 1>&6 3164 echo "configure:3 165: checking for working strncmp" >&53332 echo "configure:3333: checking for working strncmp" >&5 3165 3333 if eval "test \"`echo '$''{'ac_cv_func_strncmp_works'+set}'`\" = set"; then 3166 3334 echo $ac_n "(cached) $ac_c" 1>&6 … … 3170 3338 else 3171 3339 cat > conftest.$ac_ext <<EOF 3172 #line 3 173"configure"3340 #line 3341 "configure" 3173 3341 #include "confdefs.h" 3174 3342 … … 3234 3402 3235 3403 EOF 3236 if { (eval echo configure:3 237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3404 if { (eval echo configure:3405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3237 3405 then 3238 3406 ac_cv_func_strncmp_works=yes … … 3340 3508 # Run this file to recreate the current configuration. 3341 3509 # This directory was configured as follows, 3510 EOF 3511 echo ': ${CONFIG_SHELL='"${CONFIG_SHELL-/bin/sh}"'}' >> $CONFIG_STATUS 3512 cat >> $CONFIG_STATUS <<EOF 3342 3513 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 3343 3514 # … … 3365 3536 ac_given_srcdir=$srcdir 3366 3537 ac_given_INSTALL="$INSTALL" 3538 PATHIFS="$PATH_IFS" 3367 3539 3368 3540 trap 'rm -fr `echo "Makefile testsuite/Makefile config.h:config.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 … … 3375 3547 $ac_vpsub 3376 3548 $extrasub 3549 s,\([^a-zA-Z0-9:]\)/bin/sh\(.exe\),\1${CONFIG_SHELL-/bin/sh}\2,g 3377 3550 s%@SHELL@%$SHELL%g 3378 3551 s%@CFLAGS@%$CFLAGS%g … … 3398 3571 s%@infodir@%$infodir%g 3399 3572 s%@mandir@%$mandir%g 3573 s%@PATH_IFS@%$PATH_IFS%g 3574 s%@EXEEXT@%$EXEEXT%g 3400 3575 s%@libiberty_topdir@%$libiberty_topdir%g 3401 3576 s%@MAINT@%$MAINT%g … … 3498 3673 if test -z "$ac_dots"; then top_srcdir=. 3499 3674 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; 3500 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; 3675 /* | [A-Za-z]:*) 3676 srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; 3501 3677 *) # Relative path. 3502 3678 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" … … 3505 3681 3506 3682 case "$ac_given_INSTALL" in 3507 [/$]* ) INSTALL="$ac_given_INSTALL" ;;3683 [/$]* | [A-Za-z]:*) INSTALL="$ac_given_INSTALL" ;; 3508 3684 *) INSTALL="$ac_dots$ac_given_INSTALL" ;; 3509 3685 esac … … 3518 3694 esac 3519 3695 3520 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s% :% $ac_given_srcdir/%g"`3696 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%$PATHIFS% $ac_given_srcdir/%g"` 3521 3697 sed -e "$ac_comsub 3522 3698 s%@configure_input@%$configure_input%g … … 3565 3741 3566 3742 rm -f conftest.frag conftest.in conftest.out 3567 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` 3743 # kso the other way around might work better with drive letters and such. 3744 # ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` 3745 ac_file_inputs=`echo $ac_file_in|sed -e "s%:% $ac_given_srcdir/%g" -e "s%^%$ac_given_srcdir/%" ` 3568 3746 cat $ac_file_inputs > conftest.in 3569 3747 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.