Changeset 80 for trunk/src/gcc/libf2c
- Timestamp:
- May 2, 2003, 12:30:43 PM (22 years ago)
- Location:
- trunk/src/gcc/libf2c
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gcc/libf2c/configure
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r79 r80 542 542 fi 543 543 544 echo $ac_n "checking for path separator""... $ac_c" 1>&6 545 echo "configure:546: checking for path separator" >&5 546 # Filter path to get backslahes into forwardslashes 547 case "`uname -s 2> /dev/null`" in 548 OS/2) 549 PATH=`echo -E "$PATH" | sed 's+\\\\+/+g'` 550 PATH_IFS=';' 551 ;; 552 *) 553 PATH_IFS=':' 554 ;; 555 esac 556 echo "$ac_t""${PATH_IFS}" 1>&6 557 558 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 559 echo "configure:560: checking for Cygwin environment" >&5 560 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 561 echo $ac_n "(cached) $ac_c" 1>&6 562 else 563 cat > conftest.$ac_ext <<EOF 564 #line 565 "configure" 565 #include "confdefs.h" 566 567 int main() { 568 569 #ifndef __CYGWIN__ 570 #define __CYGWIN__ __CYGWIN32__ 571 #endif 572 return __CYGWIN__; 573 ; return 0; } 574 EOF 575 if { (eval echo configure:576: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 576 rm -rf conftest* 577 ac_cv_cygwin=yes 578 else 579 echo "configure: failed program was:" >&5 580 cat conftest.$ac_ext >&5 581 rm -rf conftest* 582 ac_cv_cygwin=no 583 fi 584 rm -f conftest* 585 rm -f conftest* 586 fi 587 588 echo "$ac_t""$ac_cv_cygwin" 1>&6 589 CYGWIN= 590 test "$ac_cv_cygwin" = yes && CYGWIN=yes 591 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 592 echo "configure:593: checking for mingw32 environment" >&5 593 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 594 echo $ac_n "(cached) $ac_c" 1>&6 595 else 596 cat > conftest.$ac_ext <<EOF 597 #line 598 "configure" 598 #include "confdefs.h" 599 600 int main() { 601 return __MINGW32__; 602 ; return 0; } 603 EOF 604 if { (eval echo configure:605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 605 rm -rf conftest* 606 ac_cv_mingw32=yes 607 else 608 echo "configure: failed program was:" >&5 609 cat conftest.$ac_ext >&5 610 rm -rf conftest* 611 ac_cv_mingw32=no 612 fi 613 rm -f conftest* 614 rm -f conftest* 615 fi 616 617 echo "$ac_t""$ac_cv_mingw32" 1>&6 618 MINGW32= 619 test "$ac_cv_mingw32" = yes && MINGW32=yes 620 echo $ac_n "checking for EMX/OS2 environment""... $ac_c" 1>&6 621 echo "configure:622: checking for EMX/OS2 environment" >&5 622 if eval "test \"`echo '$''{'ac_cv_emxos2'+set}'`\" = set"; then 623 echo $ac_n "(cached) $ac_c" 1>&6 624 else 625 : ${CC=gcc.exe} 626 cat > conftest.$ac_ext <<EOF 627 #line 628 "configure" 628 #include "confdefs.h" 629 630 int main() { 631 return __EMX__; 632 ; return 0; } 633 EOF 634 if { (eval echo configure:635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 635 rm -rf conftest* 636 ac_cv_emxos2=yes 637 else 638 echo "configure: failed program was:" >&5 639 cat conftest.$ac_ext >&5 640 rm -rf conftest* 641 ac_cv_emxos2=no 642 fi 643 rm -f conftest* 644 rm -f conftest* 645 fi 646 647 echo "$ac_t""$ac_cv_emxos2" 1>&6 648 if eval "test \"`echo '$''{'ac_cv_libpre'+set}'`\" = set"; then 649 echo $ac_n "(cached) $ac_c" 1>&6 650 else 651 if test "$ac_cv_emxos2" = yes ; then 652 ac_cv_libpre= 653 else 654 ac_cv_libpre=lib 655 fi 656 657 fi 658 659 EMXOS2= 660 test "$ac_cv_emxos2" = yes && EMXOS2=yes 661 662 663 664 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 665 echo "configure:666: checking for executable suffix" >&5 666 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 667 echo $ac_n "(cached) $ac_c" 1>&6 668 else 669 if test "$CYGWIN" = yes || test "$MINGW32" = yes || test "$EMXOS2" = yes; then 670 ac_cv_exeext=.exe 671 else 672 rm -f conftest* 673 echo 'int main () { return 0; }' > conftest.$ac_ext 674 ac_cv_exeext= 675 if { (eval echo configure:676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 676 for file in conftest.*; do 677 case $file in 678 *.c | *.o | *.obj) ;; 679 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; 680 esac 681 done 682 else 683 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } 684 fi 685 rm -f conftest* 686 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no 687 fi 688 fi 689 690 EXEEXT="" 691 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} 692 echo "$ac_t""${ac_cv_exeext}" 1>&6 693 ac_exeext=$EXEEXT 694 544 695 545 696 … … 632 783 633 784 echo $ac_n "checking host system type""... $ac_c" 1>&6 634 echo "configure: 635: checking host system type" >&5785 echo "configure:786: checking host system type" >&5 635 786 636 787 host_alias=$host … … 653 804 654 805 echo $ac_n "checking target system type""... $ac_c" 1>&6 655 echo "configure: 656: checking target system type" >&5806 echo "configure:807: checking target system type" >&5 656 807 657 808 target_alias=$target … … 671 822 672 823 echo $ac_n "checking build system type""... $ac_c" 1>&6 673 echo "configure: 674: checking build system type" >&5824 echo "configure:825: checking build system type" >&5 674 825 675 826 build_alias=$build … … 702 853 fi 703 854 704 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6705 echo "configure:706: checking for Cygwin environment" >&5706 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then707 echo $ac_n "(cached) $ac_c" 1>&6708 else709 cat > conftest.$ac_ext <<EOF710 #line 711 "configure"711 #include "confdefs.h"712 713 int main() {714 715 #ifndef __CYGWIN__716 #define __CYGWIN__ __CYGWIN32__717 #endif718 return __CYGWIN__;719 ; return 0; }720 EOF721 if { (eval echo configure:722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then722 rm -rf conftest*723 ac_cv_cygwin=yes724 else725 echo "configure: failed program was:" >&5726 cat conftest.$ac_ext >&5727 rm -rf conftest*728 ac_cv_cygwin=no729 fi730 rm -f conftest*731 rm -f conftest*732 fi733 734 echo "$ac_t""$ac_cv_cygwin" 1>&6735 CYGWIN=736 test "$ac_cv_cygwin" = yes && CYGWIN=yes737 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6738 echo "configure:739: checking for mingw32 environment" >&5739 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then740 echo $ac_n "(cached) $ac_c" 1>&6741 else742 cat > conftest.$ac_ext <<EOF743 #line 744 "configure"744 #include "confdefs.h"745 746 int main() {747 return __MINGW32__;748 ; return 0; }749 EOF750 if { (eval echo configure:751: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then751 rm -rf conftest*752 ac_cv_mingw32=yes753 else754 echo "configure: failed program was:" >&5755 cat conftest.$ac_ext >&5756 rm -rf conftest*757 ac_cv_mingw32=no758 fi759 rm -f conftest*760 rm -f conftest*761 fi762 763 echo "$ac_t""$ac_cv_mingw32" 1>&6764 MINGW32=765 test "$ac_cv_mingw32" = yes && MINGW32=yes766 855 767 856 # Export build and source directories. … … 783 872 #ac_cv_prog_LN_S='cp -p' 784 873 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 785 echo "configure: 786: checking whether ln -s works" >&5874 echo "configure:875: checking whether ln -s works" >&5 786 875 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 787 876 echo $ac_n "(cached) $ac_c" 1>&6 … … 793 882 ac_cv_prog_LN_S="ln -s" 794 883 else 795 ac_cv_prog_LN_S=ln 796 fi 884 echo A > conftestdata; 885 if ln conftestdata conftestdata2 2>/dev/null; then 886 ac_cv_prog_LN_S=ln 887 else 888 ac_cv_prog_LN_S=cp 889 fi 890 fi 891 rm -f conftestdata* 797 892 fi 798 893 LN_S="$ac_cv_prog_LN_S" … … 839 934 set dummy gcc; ac_word=$2 840 935 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 841 echo "configure: 842: checking for $ac_word" >&5936 echo "configure:937: checking for $ac_word" >&5 842 937 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 843 938 echo $ac_n "(cached) $ac_c" 1>&6 … … 846 941 ac_cv_prog_CC="$CC" # Let the user override the test. 847 942 else 848 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"943 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 849 944 ac_dummy="$PATH" 850 945 for ac_dir in $ac_dummy; do 851 946 test -z "$ac_dir" && ac_dir=. 852 if test -f $ac_dir/$ac_word; then 947 if test -f $ac_dir/$ac_word -o \ 948 -f $ac_dir/$ac_word$ac_exeext ; then 853 949 ac_cv_prog_CC="gcc" 854 950 break … … 869 965 set dummy cc; ac_word=$2 870 966 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 871 echo "configure: 872: checking for $ac_word" >&5967 echo "configure:968: checking for $ac_word" >&5 872 968 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 873 969 echo $ac_n "(cached) $ac_c" 1>&6 … … 876 972 ac_cv_prog_CC="$CC" # Let the user override the test. 877 973 else 878 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"974 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 879 975 ac_prog_rejected=no 880 976 ac_dummy="$PATH" 881 977 for ac_dir in $ac_dummy; do 882 978 test -z "$ac_dir" && ac_dir=. 883 if test -f $ac_dir/$ac_word; then 884 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 979 if test -f $ac_dir/$ac_word -o \ 980 -f $ac_dir/$ac_word$ac_exeext ; then 981 if test "$ac_dir/$ac_word" = "/usr/ucb/cc" -o \ 982 "$ac_dir/$ac_word$ac_exeext" = "/usr/ucb/cc" ; then 885 983 ac_prog_rejected=yes 886 984 continue … … 918 1016 919 1017 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 920 echo "configure: 921: checking whether we are using GNU C" >&51018 echo "configure:1019: checking whether we are using GNU C" >&5 921 1019 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 922 1020 echo $ac_n "(cached) $ac_c" 1>&6 … … 927 1025 #endif 928 1026 EOF 929 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure: 930: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1027 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 930 1028 ac_cv_prog_gcc=yes 931 1029 else … … 942 1040 CFLAGS= 943 1041 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 944 echo "configure: 945: checking whether ${CC-cc} accepts -g" >&51042 echo "configure:1043: checking whether ${CC-cc} accepts -g" >&5 945 1043 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 946 1044 echo $ac_n "(cached) $ac_c" 1>&6 … … 973 1071 set dummy ${ac_tool_prefix}as; ac_word=$2 974 1072 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 975 echo "configure: 976: checking for $ac_word" >&51073 echo "configure:1074: checking for $ac_word" >&5 976 1074 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then 977 1075 echo $ac_n "(cached) $ac_c" 1>&6 … … 980 1078 ac_cv_prog_AS="$AS" # Let the user override the test. 981 1079 else 982 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"1080 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 983 1081 ac_dummy="$PATH" 984 1082 for ac_dir in $ac_dummy; do 985 1083 test -z "$ac_dir" && ac_dir=. 986 if test -f $ac_dir/$ac_word; then 1084 if test -f $ac_dir/$ac_word -o \ 1085 -f $ac_dir/$ac_word$ac_exeext ; then 987 1086 ac_cv_prog_AS="${ac_tool_prefix}as" 988 1087 break … … 1005 1104 set dummy ${ac_tool_prefix}ar; ac_word=$2 1006 1105 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1007 echo "configure:1 008: checking for $ac_word" >&51106 echo "configure:1107: checking for $ac_word" >&5 1008 1107 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then 1009 1108 echo $ac_n "(cached) $ac_c" 1>&6 … … 1012 1111 ac_cv_prog_AR="$AR" # Let the user override the test. 1013 1112 else 1014 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"1113 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 1015 1114 ac_dummy="$PATH" 1016 1115 for ac_dir in $ac_dummy; do 1017 1116 test -z "$ac_dir" && ac_dir=. 1018 if test -f $ac_dir/$ac_word; then 1117 if test -f $ac_dir/$ac_word -o \ 1118 -f $ac_dir/$ac_word$ac_exeext ; then 1019 1119 ac_cv_prog_AR="${ac_tool_prefix}ar" 1020 1120 break … … 1037 1137 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1038 1138 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1039 echo "configure:1 040: checking for $ac_word" >&51139 echo "configure:1140: checking for $ac_word" >&5 1040 1140 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1041 1141 echo $ac_n "(cached) $ac_c" 1>&6 … … 1044 1144 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 1045 1145 else 1046 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"1146 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 1047 1147 ac_dummy="$PATH" 1048 1148 for ac_dir in $ac_dummy; do 1049 1149 test -z "$ac_dir" && ac_dir=. 1050 if test -f $ac_dir/$ac_word; then 1150 if test -f $ac_dir/$ac_word -o \ 1151 -f $ac_dir/$ac_word$ac_exeext ; then 1051 1152 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 1052 1153 break … … 1069 1170 set dummy ranlib; ac_word=$2 1070 1171 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1071 echo "configure:1 072: checking for $ac_word" >&51172 echo "configure:1173: checking for $ac_word" >&5 1072 1173 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1073 1174 echo $ac_n "(cached) $ac_c" 1>&6 … … 1076 1177 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 1077 1178 else 1078 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"1179 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 1079 1180 ac_dummy="$PATH" 1080 1181 for ac_dir in $ac_dummy; do 1081 1182 test -z "$ac_dir" && ac_dir=. 1082 if test -f $ac_dir/$ac_word; then 1183 if test -f $ac_dir/$ac_word -o \ 1184 -f $ac_dir/$ac_word$ac_exeext ; then 1083 1185 ac_cv_prog_RANLIB="ranlib" 1084 1186 break … … 1113 1215 # ./install, which can be erroneously created by make from ./install.sh. 1114 1216 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 1115 echo "configure:1 116: checking for a BSD compatible install" >&51217 echo "configure:1218: checking for a BSD compatible install" >&5 1116 1218 if test -z "$INSTALL"; then 1117 1219 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 1118 1220 echo $ac_n "(cached) $ac_c" 1>&6 1119 1221 else 1120 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=" :"1222 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$PATH_IFS" 1121 1223 for ac_dir in $PATH; do 1122 1224 # Account for people who put trailing slashes in PATH elements. 1123 1225 case "$ac_dir/" in 1124 1226 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; 1227 # We reject the install program from OS/2 or W3.1 1228 */OS2|*/OS2/*|*/WINDOWS|*/WINDOWS/*) ;; 1125 1229 *) 1126 1230 # OSF1 and SCO ODT 3.0 have their own names for install. … … 1128 1232 # by default. 1129 1233 for ac_prog in ginstall scoinst install; do 1130 if test -f $ac_dir/$ac_prog ; then1234 if test -f $ac_dir/$ac_prog$ac_exeext; then 1131 1235 if test $ac_prog = install && 1132 1236 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then … … 1134 1238 : 1135 1239 else 1136 ac_cv_path_install="$ac_dir/$ac_prog -c"1240 ac_cv_path_install="$ac_dir/$ac_prog$ac_exeext -c" 1137 1241 break 2 1138 1242 fi … … 1180 1284 1181 1285 1286 1182 1287 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 1183 echo "configure:1 184: checking for executable suffix" >&51288 echo "configure:1289: checking for executable suffix" >&5 1184 1289 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 1185 1290 echo $ac_n "(cached) $ac_c" 1>&6 1186 1291 else 1187 if test "$CYGWIN" = yes || test "$MINGW32" = yes ; then1292 if test "$CYGWIN" = yes || test "$MINGW32" = yes || test "$EMXOS2" = yes; then 1188 1293 ac_cv_exeext=.exe 1189 1294 else … … 1191 1296 echo 'int main () { return 0; }' > conftest.$ac_ext 1192 1297 ac_cv_exeext= 1193 if { (eval echo configure:1 194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1298 if { (eval echo configure:1299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1194 1299 for file in conftest.*; do 1195 1300 case $file in … … 1221 1326 1222 1327 echo $ac_n "checking for interface version number""... $ac_c" 1>&6 1223 echo "configure:1 224: checking for interface version number" >&51328 echo "configure:1329: checking for interface version number" >&5 1224 1329 libstdcxx_interface=$INTERFACE 1225 1330 echo "$ac_t""$libstdcxx_interface" 1>&6 … … 1227 1332 # Process the option "--enable-version-specific-runtime-libs" 1228 1333 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6 1229 echo "configure:1 230: checking for --enable-version-specific-runtime-libs" >&51334 echo "configure:1335: checking for --enable-version-specific-runtime-libs" >&5 1230 1335 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given. 1231 1336 if test "${enable_version_specific_runtime_libs+set}" = set; then … … 1282 1387 rm -f skip-this-dir 1283 1388 echo $ac_n "checking if compiler $compiler_name has been built""... $ac_c" 1>&6 1284 echo "configure:1 285: checking if compiler $compiler_name has been built" >&51389 echo "configure:1390: checking if compiler $compiler_name has been built" >&5 1285 1390 if eval "test \"`echo '$''{'g77_cv_compiler_exists'+set}'`\" = set"; then 1286 1391 echo $ac_n "(cached) $ac_c" 1>&6 … … 1390 1495 # Check if gcc -print-prog-name=ld gives a path. 1391 1496 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 1392 echo "configure:1 393: checking for ld used by GCC" >&51497 echo "configure:1498: checking for ld used by GCC" >&5 1393 1498 case $host in 1394 1499 *-*-mingw*) … … 1420 1525 elif test "$with_gnu_ld" = yes; then 1421 1526 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 1422 echo "configure:1 423: checking for GNU ld" >&51527 echo "configure:1528: checking for GNU ld" >&5 1423 1528 else 1424 1529 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 1425 echo "configure:1 426: checking for non-GNU ld" >&51530 echo "configure:1531: checking for non-GNU ld" >&5 1426 1531 fi 1427 1532 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then … … 1458 1563 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } 1459 1564 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 1460 echo "configure:1 461: checking if the linker ($LD) is GNU ld" >&51565 echo "configure:1566: checking if the linker ($LD) is GNU ld" >&5 1461 1566 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then 1462 1567 echo $ac_n "(cached) $ac_c" 1>&6 … … 1475 1580 1476 1581 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6 1477 echo "configure:1 478: checking for $LD option to reload object files" >&51582 echo "configure:1583: checking for $LD option to reload object files" >&5 1478 1583 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then 1479 1584 echo $ac_n "(cached) $ac_c" 1>&6 … … 1487 1592 1488 1593 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 1489 echo "configure:1 490: checking for BSD-compatible nm" >&51594 echo "configure:1595: checking for BSD-compatible nm" >&5 1490 1595 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then 1491 1596 echo $ac_n "(cached) $ac_c" 1>&6 … … 1525 1630 1526 1631 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6 1527 echo "configure:1 528: checking how to recognise dependant libraries" >&51632 echo "configure:1633: checking how to recognise dependant libraries" >&5 1528 1633 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then 1529 1634 echo $ac_n "(cached) $ac_c" 1>&6 … … 1689 1794 1690 1795 echo $ac_n "checking for object suffix""... $ac_c" 1>&6 1691 echo "configure:1 692: checking for object suffix" >&51796 echo "configure:1797: checking for object suffix" >&5 1692 1797 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then 1693 1798 echo $ac_n "(cached) $ac_c" 1>&6 … … 1695 1800 rm -f conftest* 1696 1801 echo 'int i = 1;' > conftest.$ac_ext 1697 if { (eval echo configure:1 698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1802 if { (eval echo configure:1803: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1698 1803 for ac_file in conftest.*; do 1699 1804 case $ac_file in … … 1719 1824 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 1720 1825 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6 1721 echo "configure:1 722: checking for ${ac_tool_prefix}file" >&51826 echo "configure:1827: checking for ${ac_tool_prefix}file" >&5 1722 1827 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1723 1828 echo $ac_n "(cached) $ac_c" 1>&6 … … 1781 1886 if test -n "$ac_tool_prefix"; then 1782 1887 echo $ac_n "checking for file""... $ac_c" 1>&6 1783 echo "configure:1 784: checking for file" >&51888 echo "configure:1889: checking for file" >&5 1784 1889 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1785 1890 echo $ac_n "(cached) $ac_c" 1>&6 … … 1852 1957 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1853 1958 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1854 echo "configure:1 855: checking for $ac_word" >&51959 echo "configure:1960: checking for $ac_word" >&5 1855 1960 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1856 1961 echo $ac_n "(cached) $ac_c" 1>&6 … … 1859 1964 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 1860 1965 else 1861 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"1966 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 1862 1967 ac_dummy="$PATH" 1863 1968 for ac_dir in $ac_dummy; do 1864 1969 test -z "$ac_dir" && ac_dir=. 1865 if test -f $ac_dir/$ac_word; then 1970 if test -f $ac_dir/$ac_word -o \ 1971 -f $ac_dir/$ac_word$ac_exeext ; then 1866 1972 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 1867 1973 break … … 1884 1990 set dummy ranlib; ac_word=$2 1885 1991 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1886 echo "configure:1 887: checking for $ac_word" >&51992 echo "configure:1993: checking for $ac_word" >&5 1887 1993 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1888 1994 echo $ac_n "(cached) $ac_c" 1>&6 … … 1891 1997 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 1892 1998 else 1893 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"1999 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 1894 2000 ac_dummy="$PATH" 1895 2001 for ac_dir in $ac_dummy; do 1896 2002 test -z "$ac_dir" && ac_dir=. 1897 if test -f $ac_dir/$ac_word; then 2003 if test -f $ac_dir/$ac_word -o \ 2004 -f $ac_dir/$ac_word$ac_exeext ; then 1898 2005 ac_cv_prog_RANLIB="ranlib" 1899 2006 break … … 1919 2026 set dummy ${ac_tool_prefix}strip; ac_word=$2 1920 2027 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1921 echo "configure: 1922: checking for $ac_word" >&52028 echo "configure:2029: checking for $ac_word" >&5 1922 2029 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 1923 2030 echo $ac_n "(cached) $ac_c" 1>&6 … … 1926 2033 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 1927 2034 else 1928 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"2035 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 1929 2036 ac_dummy="$PATH" 1930 2037 for ac_dir in $ac_dummy; do 1931 2038 test -z "$ac_dir" && ac_dir=. 1932 if test -f $ac_dir/$ac_word; then 2039 if test -f $ac_dir/$ac_word -o \ 2040 -f $ac_dir/$ac_word$ac_exeext ; then 1933 2041 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 1934 2042 break … … 1951 2059 set dummy strip; ac_word=$2 1952 2060 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1953 echo "configure: 1954: checking for $ac_word" >&52061 echo "configure:2062: checking for $ac_word" >&5 1954 2062 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 1955 2063 echo $ac_n "(cached) $ac_c" 1>&6 … … 1958 2066 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 1959 2067 else 1960 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"2068 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 1961 2069 ac_dummy="$PATH" 1962 2070 for ac_dir in $ac_dummy; do 1963 2071 test -z "$ac_dir" && ac_dir=. 1964 if test -f $ac_dir/$ac_word; then 2072 if test -f $ac_dir/$ac_word -o \ 2073 -f $ac_dir/$ac_word$ac_exeext ; then 1965 2074 ac_cv_prog_STRIP="strip" 1966 2075 break … … 2018 2127 *-*-irix6*) 2019 2128 # Find out which ABI we are using. 2020 echo '#line 2 021"configure"' > conftest.$ac_ext2021 if { (eval echo configure:2 022: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2129 echo '#line 2130 "configure"' > conftest.$ac_ext 2130 if { (eval echo configure:2131: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2022 2131 case `/usr/bin/file conftest.$ac_objext` in 2023 2132 *32-bit*) … … 2040 2149 CFLAGS="$CFLAGS -belf" 2041 2150 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 2042 echo "configure:2 043: checking whether the C compiler needs -belf" >&52151 echo "configure:2152: checking whether the C compiler needs -belf" >&5 2043 2152 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then 2044 2153 echo $ac_n "(cached) $ac_c" 1>&6 … … 2053 2162 2054 2163 cat > conftest.$ac_ext <<EOF 2055 #line 2 056"configure"2164 #line 2165 "configure" 2056 2165 #include "confdefs.h" 2057 2166 … … 2060 2169 ; return 0; } 2061 2170 EOF 2062 if { (eval echo configure:2 063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2171 if { (eval echo configure:2172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2063 2172 rm -rf conftest* 2064 2173 lt_cv_cc_needs_belf=yes … … 2184 2293 set dummy ranlib; ac_word=$2 2185 2294 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2186 echo "configure:2 187: checking for $ac_word" >&52295 echo "configure:2296: checking for $ac_word" >&5 2187 2296 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 2188 2297 echo $ac_n "(cached) $ac_c" 1>&6 … … 2191 2300 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 2192 2301 else 2193 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"2302 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 2194 2303 ac_dummy="$PATH" 2195 2304 for ac_dir in $ac_dummy; do 2196 2305 test -z "$ac_dir" && ac_dir=. 2197 if test -f $ac_dir/$ac_word; then 2306 if test -f $ac_dir/$ac_word -o \ 2307 -f $ac_dir/$ac_word$ac_exeext ; then 2198 2308 ac_cv_prog_RANLIB="ranlib" 2199 2309 break … … 2224 2334 # ./install, which can be erroneously created by make from ./install.sh. 2225 2335 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 2226 echo "configure:2 227: checking for a BSD compatible install" >&52336 echo "configure:2337: checking for a BSD compatible install" >&5 2227 2337 if test -z "$INSTALL"; then 2228 2338 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 2229 2339 echo $ac_n "(cached) $ac_c" 1>&6 2230 2340 else 2231 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=" :"2341 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$PATH_IFS" 2232 2342 for ac_dir in $PATH; do 2233 2343 # Account for people who put trailing slashes in PATH elements. 2234 2344 case "$ac_dir/" in 2235 2345 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; 2346 # We reject the install program from OS/2 or W3.1 2347 */OS2|*/OS2/*|*/WINDOWS|*/WINDOWS/*) ;; 2236 2348 *) 2237 2349 # OSF1 and SCO ODT 3.0 have their own names for install. … … 2239 2351 # by default. 2240 2352 for ac_prog in ginstall scoinst install; do 2241 if test -f $ac_dir/$ac_prog ; then2353 if test -f $ac_dir/$ac_prog$ac_exeext; then 2242 2354 if test $ac_prog = install && 2243 2355 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then … … 2245 2357 : 2246 2358 else 2247 ac_cv_path_install="$ac_dir/$ac_prog -c"2359 ac_cv_path_install="$ac_dir/$ac_prog$ac_exeext -c" 2248 2360 break 2 2249 2361 fi … … 2277 2389 2278 2390 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 2279 echo "configure:2 280: checking whether ${MAKE-make} sets \${MAKE}" >&52391 echo "configure:2392: checking whether ${MAKE-make} sets \${MAKE}" >&5 2280 2392 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 2281 2393 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 2306 2418 # Sanity check for the cross-compilation case: 2307 2419 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 2308 echo "configure:2 309: checking how to run the C preprocessor" >&52420 echo "configure:2421: checking how to run the C preprocessor" >&5 2309 2421 # On Suns, sometimes $CPP names a directory. 2310 2422 if test -n "$CPP" && test -d "$CPP"; then … … 2321 2433 # not just through cpp. 2322 2434 cat > conftest.$ac_ext <<EOF 2323 #line 2324 "configure" 2435 #include <sys/types.h> 2436 #line 2437 "configure" 2324 2437 #include "confdefs.h" 2325 2438 #include <assert.h> … … 2327 2440 EOF 2328 2441 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2329 { (eval echo configure:2 330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2442 { (eval echo configure:2443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2330 2443 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2331 2444 if test -z "$ac_err"; then … … 2338 2451 CPP="${CC-cc} -E -traditional-cpp" 2339 2452 cat > conftest.$ac_ext <<EOF 2340 #line 2341 "configure" 2453 #include <sys/types.h> 2454 #line 2455 "configure" 2341 2455 #include "confdefs.h" 2342 2456 #include <assert.h> … … 2344 2458 EOF 2345 2459 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2346 { (eval echo configure:2 347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2460 { (eval echo configure:2461: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2347 2461 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2348 2462 if test -z "$ac_err"; then … … 2355 2469 CPP="${CC-cc} -nologo -E" 2356 2470 cat > conftest.$ac_ext <<EOF 2357 #line 2358 "configure" 2471 #include <sys/types.h> 2472 #line 2473 "configure" 2358 2473 #include "confdefs.h" 2359 2474 #include <assert.h> … … 2361 2476 EOF 2362 2477 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2363 { (eval echo configure:2 364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2478 { (eval echo configure:2479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2364 2479 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2365 2480 if test -z "$ac_err"; then … … 2387 2502 ac_safe=`echo "stdio.h" | sed 'y%./+-%__p_%'` 2388 2503 echo $ac_n "checking for stdio.h""... $ac_c" 1>&6 2389 echo "configure:2 390: checking for stdio.h" >&52504 echo "configure:2505: checking for stdio.h" >&5 2390 2505 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2391 2506 echo $ac_n "(cached) $ac_c" 1>&6 2392 2507 else 2393 2508 cat > conftest.$ac_ext <<EOF 2394 #line 2395 "configure" 2509 #include <sys/types.h> 2510 #line 2511 "configure" 2395 2511 #include "confdefs.h" 2396 2512 #include <stdio.h> 2397 2513 EOF 2398 2514 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2399 { (eval echo configure:2 400: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2515 { (eval echo configure:2516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2400 2516 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2401 2517 if test -z "$ac_err"; then … … 2425 2541 2426 2542 echo $ac_n "checking for built-in g77 integer types""... $ac_c" 1>&6 2427 echo "configure:2 428: checking for built-in g77 integer types" >&52543 echo "configure:2544: checking for built-in g77 integer types" >&5 2428 2544 if eval "test \"`echo '$''{'libf2c_cv_has_g77_builtin_types'+set}'`\" = set"; then 2429 2545 echo $ac_n "(cached) $ac_c" 1>&6 2430 2546 else 2431 2547 cat > conftest.$ac_ext <<EOF 2432 #line 2 433"configure"2548 #line 2549 "configure" 2433 2549 #include "confdefs.h" 2434 2550 … … 2440 2556 ; return 0; } 2441 2557 EOF 2442 if { (eval echo configure:2 443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2558 if { (eval echo configure:2559: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2443 2559 rm -rf conftest* 2444 2560 libf2c_cv_has_g77_builtin_types=yes … … 2537 2653 # Protect against shell expansion while executing Makefile rules. 2538 2654 # Protect against Makefile macro expansion. 2539 # 2540 # If the first sed substitution is executed (which looks for macros that 2541 # take arguments), then we branch to the quote section. Otherwise, 2542 # look for a macro that doesn't take arguments. 2543 cat >confdef2opt.sed <<\_ACEOF 2544 t clear 2545 : clear 2546 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g 2547 t quote 2548 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g 2549 t quote 2550 d 2551 : quote 2552 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g 2553 s,\[,\\&,g 2554 s,\],\\&,g 2555 s,\$,$$,g 2556 p 2557 _ACEOF 2558 # We use echo to avoid assuming a particular line-breaking character. 2559 # The extra dot is to prevent the shell from consuming trailing 2560 # line-breaks from the sub-command output. A line-break within 2561 # single-quotes doesn't work because, if this script is created in a 2562 # platform that uses two characters for line-breaks (e.g., DOS), tr 2563 # would break. 2564 ac_LF_and_DOT=`echo; echo .` 2565 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` 2566 rm -f confdef2opt.sed 2655 cat > conftest.defs <<\EOF 2656 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g 2657 s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g 2658 s%\[%\\&%g 2659 s%\]%\\&%g 2660 s%\$%$$%g 2661 EOF 2662 DEFS=`sed -f conftest.defs confdefs.h | tr '\012\015' ' '` 2663 rm -f conftest.defs 2567 2664 2568 2665 … … 2577 2674 # Run this file to recreate the current configuration. 2578 2675 # This directory was configured as follows, 2676 EOF 2677 echo ': ${CONFIG_SHELL='"${CONFIG_SHELL-/bin/sh}"'}' >> $CONFIG_STATUS 2678 cat >> $CONFIG_STATUS <<EOF 2579 2679 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 2580 2680 # … … 2602 2702 ac_given_srcdir=$srcdir 2603 2703 ac_given_INSTALL="$INSTALL" 2704 PATHIFS="$PATH_IFS" 2604 2705 2605 2706 trap 'rm -fr `echo "Makefile g2c.h:g2c.hin" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 … … 2612 2713 $ac_vpsub 2613 2714 $extrasub 2715 s,\([^a-zA-Z0-9:]\)/bin/sh\(.exe\),\1${CONFIG_SHELL-/bin/sh}\2,g 2614 2716 s%@SHELL@%$SHELL%g 2615 2717 s%@CFLAGS@%$CFLAGS%g … … 2635 2737 s%@infodir@%$infodir%g 2636 2738 s%@mandir@%$mandir%g 2739 s%@PATH_IFS@%$PATH_IFS%g 2740 s%@EXEEXT@%$EXEEXT%g 2637 2741 s%@toplevel_srcdir@%$toplevel_srcdir%g 2638 2742 s%@host@%$host%g … … 2661 2765 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g 2662 2766 s%@INSTALL_DATA@%$INSTALL_DATA%g 2663 s%@EXEEXT@%$EXEEXT%g2664 2767 s%@gcc_version@%$gcc_version%g 2665 2768 s%@gcc_version_trigger@%$gcc_version_trigger%g … … 2743 2846 if test -z "$ac_dots"; then top_srcdir=. 2744 2847 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; 2745 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; 2848 /* | [A-Za-z]:*) 2849 srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; 2746 2850 *) # Relative path. 2747 2851 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" … … 2750 2854 2751 2855 case "$ac_given_INSTALL" in 2752 [/$]* ) INSTALL="$ac_given_INSTALL" ;;2856 [/$]* | [A-Za-z]:*) INSTALL="$ac_given_INSTALL" ;; 2753 2857 *) INSTALL="$ac_dots$ac_given_INSTALL" ;; 2754 2858 esac … … 2763 2867 esac 2764 2868 2765 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s% :% $ac_given_srcdir/%g"`2869 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%$PATHIFS% $ac_given_srcdir/%g"` 2766 2870 sed -e "$ac_comsub 2767 2871 s%@configure_input@%$configure_input%g … … 2856 2960 .) # No --srcdir option. We are building in place. 2857 2961 ac_sub_srcdir=$srcdir ;; 2858 /* ) # Absolute path.2962 /* | [A-Za-z]:*) # Absolute path. 2859 2963 ac_sub_srcdir=$srcdir/$ac_config_dir ;; 2860 2964 *) # Relative path. … … 2866 2970 ac_sub_configure=$ac_sub_srcdir/configure 2867 2971 elif test -f $ac_sub_srcdir/configure.in; then 2868 ac_sub_configure=$ac_configure 2972 ac_current_dir=`pwd` 2973 cd $ac_sub_srcdir 2974 autoconf 2975 cd $ac_current_dir 2976 ac_sub_configure=$ac_sub_srcdir/configure 2869 2977 else 2870 2978 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2 … … 2877 2985 # Make the cache file name correct relative to the subdirectory. 2878 2986 case "$cache_file" in 2879 /* ) ac_sub_cache_file=$cache_file ;;2987 /* | [A-Za-z]:*) ac_sub_cache_file=$cache_file ;; 2880 2988 *) # Relative path. 2881 2989 ac_sub_cache_file="$ac_dots$cache_file" ;; 2882 2990 esac 2883 2991 case "$ac_given_INSTALL" in 2884 [/$]* ) INSTALL="$ac_given_INSTALL" ;;2992 [/$]* | [A-Za-z]:*) INSTALL="$ac_given_INSTALL" ;; 2885 2993 *) INSTALL="$ac_dots$ac_given_INSTALL" ;; 2886 2994 esac -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/gcc/libf2c/libF77/configure
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r79 r80 29 29 silent= 30 30 site= 31 sitefile=32 31 srcdir= 33 32 target=NONE … … 144 143 --no-create do not create output files 145 144 --quiet, --silent do not print \`checking...' messages 146 --site-file=FILE use FILE as the site file147 145 --version print the version of autoconf that created configure 148 146 Directory and file names: … … 315 313 site="$ac_optarg" ;; 316 314 317 -site-file | --site-file | --site-fil | --site-fi | --site-f)318 ac_prev=sitefile ;;319 -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)320 sitefile="$ac_optarg" ;;321 322 315 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 323 316 ac_prev=srcdir ;; … … 485 478 486 479 # Prefer explicitly selected file to automatically selected ones. 487 if test -z "$sitefile"; then 488 if test -z "$CONFIG_SITE"; then 489 if test "x$prefix" != xNONE; then 490 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 491 else 492 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 493 fi 480 if test -z "$CONFIG_SITE"; then 481 if test "x$prefix" != xNONE; then 482 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 483 else 484 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 494 485 fi 495 else496 CONFIG_SITE="$sitefile"497 486 fi 498 487 for ac_site_file in $CONFIG_SITE; do … … 532 521 fi 533 522 523 echo $ac_n "checking for path separator""... $ac_c" 1>&6 524 echo "configure:525: checking for path separator" >&5 525 # Filter path to get backslahes into forwardslashes 526 case "`uname -s 2> /dev/null`" in 527 OS/2) 528 PATH=`echo -E "$PATH" | sed 's+\\\\+/+g'` 529 PATH_IFS=';' 530 ;; 531 *) 532 PATH_IFS=':' 533 ;; 534 esac 535 echo "$ac_t""${PATH_IFS}" 1>&6 536 537 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 538 echo "configure:539: checking for Cygwin environment" >&5 539 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 540 echo $ac_n "(cached) $ac_c" 1>&6 541 else 542 cat > conftest.$ac_ext <<EOF 543 #line 544 "configure" 544 #include "confdefs.h" 545 546 int main() { 547 548 #ifndef __CYGWIN__ 549 #define __CYGWIN__ __CYGWIN32__ 550 #endif 551 return __CYGWIN__; 552 ; return 0; } 553 EOF 554 if { (eval echo configure:555: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 555 rm -rf conftest* 556 ac_cv_cygwin=yes 557 else 558 echo "configure: failed program was:" >&5 559 cat conftest.$ac_ext >&5 560 rm -rf conftest* 561 ac_cv_cygwin=no 562 fi 563 rm -f conftest* 564 rm -f conftest* 565 fi 566 567 echo "$ac_t""$ac_cv_cygwin" 1>&6 568 CYGWIN= 569 test "$ac_cv_cygwin" = yes && CYGWIN=yes 570 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 571 echo "configure:572: checking for mingw32 environment" >&5 572 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 573 echo $ac_n "(cached) $ac_c" 1>&6 574 else 575 cat > conftest.$ac_ext <<EOF 576 #line 577 "configure" 577 #include "confdefs.h" 578 579 int main() { 580 return __MINGW32__; 581 ; return 0; } 582 EOF 583 if { (eval echo configure:584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 584 rm -rf conftest* 585 ac_cv_mingw32=yes 586 else 587 echo "configure: failed program was:" >&5 588 cat conftest.$ac_ext >&5 589 rm -rf conftest* 590 ac_cv_mingw32=no 591 fi 592 rm -f conftest* 593 rm -f conftest* 594 fi 595 596 echo "$ac_t""$ac_cv_mingw32" 1>&6 597 MINGW32= 598 test "$ac_cv_mingw32" = yes && MINGW32=yes 599 echo $ac_n "checking for EMX/OS2 environment""... $ac_c" 1>&6 600 echo "configure:601: checking for EMX/OS2 environment" >&5 601 if eval "test \"`echo '$''{'ac_cv_emxos2'+set}'`\" = set"; then 602 echo $ac_n "(cached) $ac_c" 1>&6 603 else 604 : ${CC=gcc.exe} 605 cat > conftest.$ac_ext <<EOF 606 #line 607 "configure" 607 #include "confdefs.h" 608 609 int main() { 610 return __EMX__; 611 ; return 0; } 612 EOF 613 if { (eval echo configure:614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 614 rm -rf conftest* 615 ac_cv_emxos2=yes 616 else 617 echo "configure: failed program was:" >&5 618 cat conftest.$ac_ext >&5 619 rm -rf conftest* 620 ac_cv_emxos2=no 621 fi 622 rm -f conftest* 623 rm -f conftest* 624 fi 625 626 echo "$ac_t""$ac_cv_emxos2" 1>&6 627 if eval "test \"`echo '$''{'ac_cv_libpre'+set}'`\" = set"; then 628 echo $ac_n "(cached) $ac_c" 1>&6 629 else 630 if test "$ac_cv_emxos2" = yes ; then 631 ac_cv_libpre= 632 else 633 ac_cv_libpre=lib 634 fi 635 636 fi 637 638 EMXOS2= 639 test "$ac_cv_emxos2" = yes && EMXOS2=yes 640 641 642 643 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 644 echo "configure:645: checking for executable suffix" >&5 645 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 646 echo $ac_n "(cached) $ac_c" 1>&6 647 else 648 if test "$CYGWIN" = yes || test "$MINGW32" = yes || test "$EMXOS2" = yes; then 649 ac_cv_exeext=.exe 650 else 651 rm -f conftest* 652 echo 'int main () { return 0; }' > conftest.$ac_ext 653 ac_cv_exeext= 654 if { (eval echo configure:655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 655 for file in conftest.*; do 656 case $file in 657 *.c | *.o | *.obj) ;; 658 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; 659 esac 660 done 661 else 662 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } 663 fi 664 rm -f conftest* 665 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no 666 fi 667 fi 668 669 EXEEXT="" 670 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} 671 echo "$ac_t""${ac_cv_exeext}" 1>&6 672 ac_exeext=$EXEEXT 673 534 674 535 675 … … 542 682 set dummy gcc; ac_word=$2 543 683 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 544 echo "configure: 545: checking for $ac_word" >&5684 echo "configure:685: checking for $ac_word" >&5 545 685 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 546 686 echo $ac_n "(cached) $ac_c" 1>&6 … … 549 689 ac_cv_prog_CC="$CC" # Let the user override the test. 550 690 else 551 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"691 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 552 692 ac_dummy="$PATH" 553 693 for ac_dir in $ac_dummy; do 554 694 test -z "$ac_dir" && ac_dir=. 555 if test -f $ac_dir/$ac_word; then 695 if test -f $ac_dir/$ac_word -o \ 696 -f $ac_dir/$ac_word$ac_exeext ; then 556 697 ac_cv_prog_CC="gcc" 557 698 break … … 572 713 set dummy cc; ac_word=$2 573 714 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 574 echo "configure: 575: checking for $ac_word" >&5715 echo "configure:716: checking for $ac_word" >&5 575 716 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 576 717 echo $ac_n "(cached) $ac_c" 1>&6 … … 579 720 ac_cv_prog_CC="$CC" # Let the user override the test. 580 721 else 581 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"722 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 582 723 ac_prog_rejected=no 583 724 ac_dummy="$PATH" 584 725 for ac_dir in $ac_dummy; do 585 726 test -z "$ac_dir" && ac_dir=. 586 if test -f $ac_dir/$ac_word; then 587 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 727 if test -f $ac_dir/$ac_word -o \ 728 -f $ac_dir/$ac_word$ac_exeext ; then 729 if test "$ac_dir/$ac_word" = "/usr/ucb/cc" -o \ 730 "$ac_dir/$ac_word$ac_exeext" = "/usr/ucb/cc" ; then 588 731 ac_prog_rejected=yes 589 732 continue … … 623 766 set dummy cl; ac_word=$2 624 767 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 625 echo "configure: 626: checking for $ac_word" >&5768 echo "configure:769: checking for $ac_word" >&5 626 769 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 627 770 echo $ac_n "(cached) $ac_c" 1>&6 … … 630 773 ac_cv_prog_CC="$CC" # Let the user override the test. 631 774 else 632 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"775 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 633 776 ac_dummy="$PATH" 634 777 for ac_dir in $ac_dummy; do 635 778 test -z "$ac_dir" && ac_dir=. 636 if test -f $ac_dir/$ac_word; then 779 if test -f $ac_dir/$ac_word -o \ 780 -f $ac_dir/$ac_word$ac_exeext ; then 637 781 ac_cv_prog_CC="cl" 638 782 break … … 656 800 657 801 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 658 echo "configure: 659: checking whether we are using GNU C" >&5802 echo "configure:803: checking whether we are using GNU C" >&5 659 803 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 660 804 echo $ac_n "(cached) $ac_c" 1>&6 … … 665 809 #endif 666 810 EOF 667 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure: 668: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then811 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 668 812 ac_cv_prog_gcc=yes 669 813 else … … 684 828 CFLAGS= 685 829 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 686 echo "configure: 687: checking whether ${CC-cc} accepts -g" >&5830 echo "configure:831: checking whether ${CC-cc} accepts -g" >&5 687 831 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 688 832 echo $ac_n "(cached) $ac_c" 1>&6 … … 727 871 set dummy ranlib; ac_word=$2 728 872 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 729 echo "configure: 730: checking for $ac_word" >&5873 echo "configure:874: checking for $ac_word" >&5 730 874 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 731 875 echo $ac_n "(cached) $ac_c" 1>&6 … … 734 878 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 735 879 else 736 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"880 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 737 881 ac_dummy="$PATH" 738 882 for ac_dir in $ac_dummy; do 739 883 test -z "$ac_dir" && ac_dir=. 740 if test -f $ac_dir/$ac_word; then 884 if test -f $ac_dir/$ac_word -o \ 885 -f $ac_dir/$ac_word$ac_exeext ; then 741 886 ac_cv_prog_RANLIB="ranlib" 742 887 break … … 756 901 fi 757 902 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 758 echo "configure: 759: checking whether ${MAKE-make} sets \${MAKE}" >&5903 echo "configure:904: checking whether ${MAKE-make} sets \${MAKE}" >&5 759 904 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 760 905 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 786 931 # Sanity check for the cross-compilation case: 787 932 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 788 echo "configure: 789: checking how to run the C preprocessor" >&5933 echo "configure:934: checking how to run the C preprocessor" >&5 789 934 # On Suns, sometimes $CPP names a directory. 790 935 if test -n "$CPP" && test -d "$CPP"; then … … 801 946 # not just through cpp. 802 947 cat > conftest.$ac_ext <<EOF 803 #line 804 "configure" 948 #include <sys/types.h> 949 #line 950 "configure" 804 950 #include "confdefs.h" 805 951 #include <assert.h> … … 807 953 EOF 808 954 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 809 { (eval echo configure: 810: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }955 { (eval echo configure:956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 810 956 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 811 957 if test -z "$ac_err"; then … … 818 964 CPP="${CC-cc} -E -traditional-cpp" 819 965 cat > conftest.$ac_ext <<EOF 820 #line 821 "configure" 966 #include <sys/types.h> 967 #line 968 "configure" 821 968 #include "confdefs.h" 822 969 #include <assert.h> … … 824 971 EOF 825 972 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 826 { (eval echo configure: 827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }973 { (eval echo configure:974: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 827 974 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 828 975 if test -z "$ac_err"; then … … 835 982 CPP="${CC-cc} -nologo -E" 836 983 cat > conftest.$ac_ext <<EOF 837 #line 838 "configure" 984 #include <sys/types.h> 985 #line 986 "configure" 838 986 #include "confdefs.h" 839 987 #include <assert.h> … … 841 989 EOF 842 990 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 843 { (eval echo configure: 844: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }991 { (eval echo configure:992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 844 992 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 845 993 if test -z "$ac_err"; then … … 867 1015 ac_safe=`echo "stdio.h" | sed 'y%./+-%__p_%'` 868 1016 echo $ac_n "checking for stdio.h""... $ac_c" 1>&6 869 echo "configure: 870: checking for stdio.h" >&51017 echo "configure:1018: checking for stdio.h" >&5 870 1018 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 871 1019 echo $ac_n "(cached) $ac_c" 1>&6 872 1020 else 873 1021 cat > conftest.$ac_ext <<EOF 874 #line 875 "configure" 1022 #include <sys/types.h> 1023 #line 1024 "configure" 875 1024 #include "confdefs.h" 876 1025 #include <stdio.h> 877 1026 EOF 878 1027 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 879 { (eval echo configure: 880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1028 { (eval echo configure:1029: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 880 1029 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 881 1030 if test -z "$ac_err"; then … … 905 1054 906 1055 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 907 echo "configure: 908: checking for ANSI C header files" >&51056 echo "configure:1057: checking for ANSI C header files" >&5 908 1057 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 909 1058 echo $ac_n "(cached) $ac_c" 1>&6 910 1059 else 911 1060 cat > conftest.$ac_ext <<EOF 912 #line 913 "configure" 1061 #include <sys/types.h> 1062 #line 1063 "configure" 913 1063 #include "confdefs.h" 914 1064 #include <stdlib.h> … … 918 1068 EOF 919 1069 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 920 { (eval echo configure: 921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1070 { (eval echo configure:1071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 921 1071 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 922 1072 if test -z "$ac_err"; then … … 935 1085 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 936 1086 cat > conftest.$ac_ext <<EOF 937 #line 938 "configure"1087 #line 1088 "configure" 938 1088 #include "confdefs.h" 939 1089 #include <string.h> … … 953 1103 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 954 1104 cat > conftest.$ac_ext <<EOF 955 #line 956 "configure"1105 #line 1106 "configure" 956 1106 #include "confdefs.h" 957 1107 #include <stdlib.h> … … 974 1124 else 975 1125 cat > conftest.$ac_ext <<EOF 976 #line 977 "configure"1126 #line 1127 "configure" 977 1127 #include "confdefs.h" 978 1128 #include <ctype.h> … … 985 1135 986 1136 EOF 987 if { (eval echo configure: 988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1137 if { (eval echo configure:1138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 988 1138 then 989 1139 : … … 1010 1160 1011 1161 echo $ac_n "checking for posix""... $ac_c" 1>&6 1012 echo "configure:1 013: checking for posix" >&51162 echo "configure:1163: checking for posix" >&5 1013 1163 if eval "test \"`echo '$''{'g77_cv_header_posix'+set}'`\" = set"; then 1014 1164 echo $ac_n "(cached) $ac_c" 1>&6 1015 1165 else 1016 1166 cat > conftest.$ac_ext <<EOF 1017 #line 1 018 "configure"1167 #line 1168 "configure" 1018 1168 #include "confdefs.h" 1019 1169 #include <sys/types.h> … … 1041 1191 # header isn't actually like checking the functions, though... 1042 1192 echo $ac_n "checking for GNU library""... $ac_c" 1>&6 1043 echo "configure:1 044: checking for GNU library" >&51193 echo "configure:1194: checking for GNU library" >&5 1044 1194 if eval "test \"`echo '$''{'g77_cv_lib_gnu'+set}'`\" = set"; then 1045 1195 echo $ac_n "(cached) $ac_c" 1>&6 1046 1196 else 1047 1197 cat > conftest.$ac_ext <<EOF 1048 #line 1 049 "configure"1198 #line 1199 "configure" 1049 1199 #include "confdefs.h" 1050 1200 #include <stdio.h> … … 1069 1219 1070 1220 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 1071 echo "configure:1 072: checking return type of signal handlers" >&51221 echo "configure:1222: checking return type of signal handlers" >&5 1072 1222 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 1073 1223 echo $ac_n "(cached) $ac_c" 1>&6 1074 1224 else 1075 1225 cat > conftest.$ac_ext <<EOF 1076 #line 1 077 "configure"1226 #line 1227 "configure" 1077 1227 #include "confdefs.h" 1078 1228 #include <sys/types.h> … … 1091 1241 ; return 0; } 1092 1242 EOF 1093 if { (eval echo configure:1 094: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1243 if { (eval echo configure:1244: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1094 1244 rm -rf conftest* 1095 1245 ac_cv_type_signal=void … … 1112 1262 if test $ac_cv_header_stdc != yes; then 1113 1263 echo $ac_n "checking for atexit""... $ac_c" 1>&6 1114 echo "configure:1 115: checking for atexit" >&51264 echo "configure:1265: checking for atexit" >&5 1115 1265 if eval "test \"`echo '$''{'ac_cv_func_atexit'+set}'`\" = set"; then 1116 1266 echo $ac_n "(cached) $ac_c" 1>&6 1117 1267 else 1118 1268 cat > conftest.$ac_ext <<EOF 1119 #line 1 120 "configure"1269 #line 1270 "configure" 1120 1270 #include "confdefs.h" 1121 1271 /* System header to define __stub macros and hopefully few prototypes, … … 1140 1290 ; return 0; } 1141 1291 EOF 1142 if { (eval echo configure:1 143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1292 if { (eval echo configure:1293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1143 1293 rm -rf conftest* 1144 1294 eval "ac_cv_func_atexit=yes" … … 1165 1315 1166 1316 echo $ac_n "checking for onexit""... $ac_c" 1>&6 1167 echo "configure:1 168: checking for onexit" >&51317 echo "configure:1318: checking for onexit" >&5 1168 1318 if eval "test \"`echo '$''{'ac_cv_func_onexit'+set}'`\" = set"; then 1169 1319 echo $ac_n "(cached) $ac_c" 1>&6 1170 1320 else 1171 1321 cat > conftest.$ac_ext <<EOF 1172 #line 1 173 "configure"1322 #line 1323 "configure" 1173 1323 #include "confdefs.h" 1174 1324 /* System header to define __stub macros and hopefully few prototypes, … … 1193 1343 ; return 0; } 1194 1344 EOF 1195 if { (eval echo configure:1 196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1345 if { (eval echo configure:1346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1196 1346 rm -rf conftest* 1197 1347 eval "ac_cv_func_onexit=yes" … … 1211 1361 echo "$ac_t""no" 1>&6 1212 1362 echo $ac_n "checking for on_exit""... $ac_c" 1>&6 1213 echo "configure:1 214: checking for on_exit" >&51363 echo "configure:1364: checking for on_exit" >&5 1214 1364 if eval "test \"`echo '$''{'ac_cv_func_on_exit'+set}'`\" = set"; then 1215 1365 echo $ac_n "(cached) $ac_c" 1>&6 1216 1366 else 1217 1367 cat > conftest.$ac_ext <<EOF 1218 #line 1 219 "configure"1368 #line 1369 "configure" 1219 1369 #include "confdefs.h" 1220 1370 /* System header to define __stub macros and hopefully few prototypes, … … 1239 1389 ; return 0; } 1240 1390 EOF 1241 if { (eval echo configure:1 242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1391 if { (eval echo configure:1392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1242 1392 rm -rf conftest* 1243 1393 eval "ac_cv_func_on_exit=yes" … … 1269 1419 1270 1420 echo $ac_n "checking for drem in -lm""... $ac_c" 1>&6 1271 echo "configure:1 272: checking for drem in -lm" >&51421 echo "configure:1422: checking for drem in -lm" >&5 1272 1422 ac_lib_var=`echo m'_'drem | sed 'y%./+-%__p_%'` 1273 1423 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1277 1427 LIBS="-lm $LIBS" 1278 1428 cat > conftest.$ac_ext <<EOF 1279 #line 1 280 "configure"1429 #line 1430 "configure" 1280 1430 #include "confdefs.h" 1281 1431 /* Override any gcc2 internal prototype to avoid an error. */ … … 1288 1438 ; return 0; } 1289 1439 EOF 1290 if { (eval echo configure:1 291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1440 if { (eval echo configure:1441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1291 1441 rm -rf conftest* 1292 1442 eval "ac_cv_lib_$ac_lib_var=yes" … … 1394 1544 s%\$%$$%g 1395 1545 EOF 1396 DEFS=`sed -f conftest.defs confdefs.h | tr '\012 ' ''`1546 DEFS=`sed -f conftest.defs confdefs.h | tr '\012\015' ' '` 1397 1547 rm -f conftest.defs 1398 1548 … … 1408 1558 # Run this file to recreate the current configuration. 1409 1559 # This directory was configured as follows, 1560 EOF 1561 echo ': ${CONFIG_SHELL='"${CONFIG_SHELL-/bin/sh}"'}' >> $CONFIG_STATUS 1562 cat >> $CONFIG_STATUS <<EOF 1410 1563 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 1411 1564 # … … 1432 1585 1433 1586 ac_given_srcdir=$srcdir 1587 PATHIFS="$PATH_IFS" 1434 1588 1435 1589 trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 … … 1442 1596 $ac_vpsub 1443 1597 $extrasub 1598 s,\([^a-zA-Z0-9:]\)/bin/sh\(.exe\),\1${CONFIG_SHELL-/bin/sh}\2,g 1444 1599 s%@SHELL@%$SHELL%g 1445 1600 s%@CFLAGS@%$CFLAGS%g … … 1465 1620 s%@infodir@%$infodir%g 1466 1621 s%@mandir@%$mandir%g 1622 s%@PATH_IFS@%$PATH_IFS%g 1623 s%@EXEEXT@%$EXEEXT%g 1467 1624 s%@CC@%$CC%g 1468 1625 s%@LIBTOOL@%$LIBTOOL%g … … 1541 1698 if test -z "$ac_dots"; then top_srcdir=. 1542 1699 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; 1543 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; 1700 /* | [A-Za-z]:*) 1701 srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; 1544 1702 *) # Relative path. 1545 1703 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" … … 1557 1715 esac 1558 1716 1559 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s% :% $ac_given_srcdir/%g"`1717 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%$PATHIFS% $ac_given_srcdir/%g"` 1560 1718 sed -e "$ac_comsub 1561 1719 s%@configure_input@%$configure_input%g -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/gcc/libf2c/libI77/configure
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r79 r80 521 521 fi 522 522 523 echo $ac_n "checking for path separator""... $ac_c" 1>&6 524 echo "configure:525: checking for path separator" >&5 525 # Filter path to get backslahes into forwardslashes 526 case "`uname -s 2> /dev/null`" in 527 OS/2) 528 PATH=`echo -E "$PATH" | sed 's+\\\\+/+g'` 529 PATH_IFS=';' 530 ;; 531 *) 532 PATH_IFS=':' 533 ;; 534 esac 535 echo "$ac_t""${PATH_IFS}" 1>&6 536 537 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 538 echo "configure:539: checking for Cygwin environment" >&5 539 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 540 echo $ac_n "(cached) $ac_c" 1>&6 541 else 542 cat > conftest.$ac_ext <<EOF 543 #line 544 "configure" 544 #include "confdefs.h" 545 546 int main() { 547 548 #ifndef __CYGWIN__ 549 #define __CYGWIN__ __CYGWIN32__ 550 #endif 551 return __CYGWIN__; 552 ; return 0; } 553 EOF 554 if { (eval echo configure:555: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 555 rm -rf conftest* 556 ac_cv_cygwin=yes 557 else 558 echo "configure: failed program was:" >&5 559 cat conftest.$ac_ext >&5 560 rm -rf conftest* 561 ac_cv_cygwin=no 562 fi 563 rm -f conftest* 564 rm -f conftest* 565 fi 566 567 echo "$ac_t""$ac_cv_cygwin" 1>&6 568 CYGWIN= 569 test "$ac_cv_cygwin" = yes && CYGWIN=yes 570 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 571 echo "configure:572: checking for mingw32 environment" >&5 572 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 573 echo $ac_n "(cached) $ac_c" 1>&6 574 else 575 cat > conftest.$ac_ext <<EOF 576 #line 577 "configure" 577 #include "confdefs.h" 578 579 int main() { 580 return __MINGW32__; 581 ; return 0; } 582 EOF 583 if { (eval echo configure:584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 584 rm -rf conftest* 585 ac_cv_mingw32=yes 586 else 587 echo "configure: failed program was:" >&5 588 cat conftest.$ac_ext >&5 589 rm -rf conftest* 590 ac_cv_mingw32=no 591 fi 592 rm -f conftest* 593 rm -f conftest* 594 fi 595 596 echo "$ac_t""$ac_cv_mingw32" 1>&6 597 MINGW32= 598 test "$ac_cv_mingw32" = yes && MINGW32=yes 599 echo $ac_n "checking for EMX/OS2 environment""... $ac_c" 1>&6 600 echo "configure:601: checking for EMX/OS2 environment" >&5 601 if eval "test \"`echo '$''{'ac_cv_emxos2'+set}'`\" = set"; then 602 echo $ac_n "(cached) $ac_c" 1>&6 603 else 604 : ${CC=gcc.exe} 605 cat > conftest.$ac_ext <<EOF 606 #line 607 "configure" 607 #include "confdefs.h" 608 609 int main() { 610 return __EMX__; 611 ; return 0; } 612 EOF 613 if { (eval echo configure:614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 614 rm -rf conftest* 615 ac_cv_emxos2=yes 616 else 617 echo "configure: failed program was:" >&5 618 cat conftest.$ac_ext >&5 619 rm -rf conftest* 620 ac_cv_emxos2=no 621 fi 622 rm -f conftest* 623 rm -f conftest* 624 fi 625 626 echo "$ac_t""$ac_cv_emxos2" 1>&6 627 if eval "test \"`echo '$''{'ac_cv_libpre'+set}'`\" = set"; then 628 echo $ac_n "(cached) $ac_c" 1>&6 629 else 630 if test "$ac_cv_emxos2" = yes ; then 631 ac_cv_libpre= 632 else 633 ac_cv_libpre=lib 634 fi 635 636 fi 637 638 EMXOS2= 639 test "$ac_cv_emxos2" = yes && EMXOS2=yes 640 641 642 643 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 644 echo "configure:645: checking for executable suffix" >&5 645 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 646 echo $ac_n "(cached) $ac_c" 1>&6 647 else 648 if test "$CYGWIN" = yes || test "$MINGW32" = yes || test "$EMXOS2" = yes; then 649 ac_cv_exeext=.exe 650 else 651 rm -f conftest* 652 echo 'int main () { return 0; }' > conftest.$ac_ext 653 ac_cv_exeext= 654 if { (eval echo configure:655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 655 for file in conftest.*; do 656 case $file in 657 *.c | *.o | *.obj) ;; 658 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; 659 esac 660 done 661 else 662 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } 663 fi 664 rm -f conftest* 665 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no 666 fi 667 fi 668 669 EXEEXT="" 670 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} 671 echo "$ac_t""${ac_cv_exeext}" 1>&6 672 ac_exeext=$EXEEXT 673 523 674 524 675 … … 557 708 set dummy gcc; ac_word=$2 558 709 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 559 echo "configure: 560: checking for $ac_word" >&5710 echo "configure:711: checking for $ac_word" >&5 560 711 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 561 712 echo $ac_n "(cached) $ac_c" 1>&6 … … 564 715 ac_cv_prog_CC="$CC" # Let the user override the test. 565 716 else 566 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"717 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 567 718 ac_dummy="$PATH" 568 719 for ac_dir in $ac_dummy; do 569 720 test -z "$ac_dir" && ac_dir=. 570 if test -f $ac_dir/$ac_word; then 721 if test -f $ac_dir/$ac_word -o \ 722 -f $ac_dir/$ac_word$ac_exeext ; then 571 723 ac_cv_prog_CC="gcc" 572 724 break … … 587 739 set dummy cc; ac_word=$2 588 740 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 589 echo "configure: 590: checking for $ac_word" >&5741 echo "configure:742: checking for $ac_word" >&5 590 742 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 591 743 echo $ac_n "(cached) $ac_c" 1>&6 … … 594 746 ac_cv_prog_CC="$CC" # Let the user override the test. 595 747 else 596 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"748 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 597 749 ac_prog_rejected=no 598 750 ac_dummy="$PATH" 599 751 for ac_dir in $ac_dummy; do 600 752 test -z "$ac_dir" && ac_dir=. 601 if test -f $ac_dir/$ac_word; then 602 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 753 if test -f $ac_dir/$ac_word -o \ 754 -f $ac_dir/$ac_word$ac_exeext ; then 755 if test "$ac_dir/$ac_word" = "/usr/ucb/cc" -o \ 756 "$ac_dir/$ac_word$ac_exeext" = "/usr/ucb/cc" ; then 603 757 ac_prog_rejected=yes 604 758 continue … … 638 792 set dummy cl; ac_word=$2 639 793 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 640 echo "configure: 641: checking for $ac_word" >&5794 echo "configure:795: checking for $ac_word" >&5 641 795 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 642 796 echo $ac_n "(cached) $ac_c" 1>&6 … … 645 799 ac_cv_prog_CC="$CC" # Let the user override the test. 646 800 else 647 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"801 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 648 802 ac_dummy="$PATH" 649 803 for ac_dir in $ac_dummy; do 650 804 test -z "$ac_dir" && ac_dir=. 651 if test -f $ac_dir/$ac_word; then 805 if test -f $ac_dir/$ac_word -o \ 806 -f $ac_dir/$ac_word$ac_exeext ; then 652 807 ac_cv_prog_CC="cl" 653 808 break … … 671 826 672 827 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 673 echo "configure: 674: checking whether we are using GNU C" >&5828 echo "configure:829: checking whether we are using GNU C" >&5 674 829 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 675 830 echo $ac_n "(cached) $ac_c" 1>&6 … … 680 835 #endif 681 836 EOF 682 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure: 683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then837 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 683 838 ac_cv_prog_gcc=yes 684 839 else … … 699 854 CFLAGS= 700 855 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 701 echo "configure: 702: checking whether ${CC-cc} accepts -g" >&5856 echo "configure:857: checking whether ${CC-cc} accepts -g" >&5 702 857 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 703 858 echo $ac_n "(cached) $ac_c" 1>&6 … … 737 892 738 893 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 739 echo "configure: 740: checking whether ${MAKE-make} sets \${MAKE}" >&5894 echo "configure:895: checking whether ${MAKE-make} sets \${MAKE}" >&5 740 895 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 741 896 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 767 922 # Sanity check for the cross-compilation case: 768 923 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 769 echo "configure: 770: checking how to run the C preprocessor" >&5924 echo "configure:925: checking how to run the C preprocessor" >&5 770 925 # On Suns, sometimes $CPP names a directory. 771 926 if test -n "$CPP" && test -d "$CPP"; then … … 782 937 # not just through cpp. 783 938 cat > conftest.$ac_ext <<EOF 784 #line 785 "configure" 939 #include <sys/types.h> 940 #line 941 "configure" 785 941 #include "confdefs.h" 786 942 #include <assert.h> … … 788 944 EOF 789 945 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 790 { (eval echo configure: 791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }946 { (eval echo configure:947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 791 947 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 792 948 if test -z "$ac_err"; then … … 799 955 CPP="${CC-cc} -E -traditional-cpp" 800 956 cat > conftest.$ac_ext <<EOF 801 #line 802 "configure" 957 #include <sys/types.h> 958 #line 959 "configure" 802 959 #include "confdefs.h" 803 960 #include <assert.h> … … 805 962 EOF 806 963 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 807 { (eval echo configure: 808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }964 { (eval echo configure:965: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 808 965 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 809 966 if test -z "$ac_err"; then … … 816 973 CPP="${CC-cc} -nologo -E" 817 974 cat > conftest.$ac_ext <<EOF 818 #line 819 "configure" 975 #include <sys/types.h> 976 #line 977 "configure" 819 977 #include "confdefs.h" 820 978 #include <assert.h> … … 822 980 EOF 823 981 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 824 { (eval echo configure: 825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }982 { (eval echo configure:983: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 825 983 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 826 984 if test -z "$ac_err"; then … … 848 1006 ac_safe=`echo "stdio.h" | sed 'y%./+-%__p_%'` 849 1007 echo $ac_n "checking for stdio.h""... $ac_c" 1>&6 850 echo "configure: 851: checking for stdio.h" >&51008 echo "configure:1009: checking for stdio.h" >&5 851 1009 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 852 1010 echo $ac_n "(cached) $ac_c" 1>&6 853 1011 else 854 1012 cat > conftest.$ac_ext <<EOF 855 #line 856 "configure" 1013 #include <sys/types.h> 1014 #line 1015 "configure" 856 1015 #include "confdefs.h" 857 1016 #include <stdio.h> 858 1017 EOF 859 1018 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 860 { (eval echo configure: 861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1019 { (eval echo configure:1020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 861 1020 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 862 1021 if test -z "$ac_err"; then … … 886 1045 887 1046 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 888 echo "configure: 889: checking for ANSI C header files" >&51047 echo "configure:1048: checking for ANSI C header files" >&5 889 1048 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 890 1049 echo $ac_n "(cached) $ac_c" 1>&6 891 1050 else 892 1051 cat > conftest.$ac_ext <<EOF 893 #line 894 "configure" 1052 #include <sys/types.h> 1053 #line 1054 "configure" 894 1054 #include "confdefs.h" 895 1055 #include <stdlib.h> … … 899 1059 EOF 900 1060 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 901 { (eval echo configure: 902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1061 { (eval echo configure:1062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 902 1062 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 903 1063 if test -z "$ac_err"; then … … 916 1076 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 917 1077 cat > conftest.$ac_ext <<EOF 918 #line 919 "configure"1078 #line 1079 "configure" 919 1079 #include "confdefs.h" 920 1080 #include <string.h> … … 934 1094 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 935 1095 cat > conftest.$ac_ext <<EOF 936 #line 937 "configure"1096 #line 1097 "configure" 937 1097 #include "confdefs.h" 938 1098 #include <stdlib.h> … … 955 1115 else 956 1116 cat > conftest.$ac_ext <<EOF 957 #line 958 "configure"1117 #line 1118 "configure" 958 1118 #include "confdefs.h" 959 1119 #include <ctype.h> … … 966 1126 967 1127 EOF 968 if { (eval echo configure: 969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1128 if { (eval echo configure:1129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 969 1129 then 970 1130 : … … 991 1151 992 1152 echo $ac_n "checking for posix""... $ac_c" 1>&6 993 echo "configure: 994: checking for posix" >&51153 echo "configure:1154: checking for posix" >&5 994 1154 if eval "test \"`echo '$''{'g77_cv_header_posix'+set}'`\" = set"; then 995 1155 echo $ac_n "(cached) $ac_c" 1>&6 996 1156 else 997 1157 cat > conftest.$ac_ext <<EOF 998 #line 999 "configure"1158 #line 1159 "configure" 999 1159 #include "confdefs.h" 1000 1160 #include <sys/types.h> … … 1022 1182 # header isn't actually like checking the functions, though... 1023 1183 echo $ac_n "checking for GNU library""... $ac_c" 1>&6 1024 echo "configure:1 025: checking for GNU library" >&51184 echo "configure:1185: checking for GNU library" >&5 1025 1185 if eval "test \"`echo '$''{'g77_cv_lib_gnu'+set}'`\" = set"; then 1026 1186 echo $ac_n "(cached) $ac_c" 1>&6 1027 1187 else 1028 1188 cat > conftest.$ac_ext <<EOF 1029 #line 1 030 "configure"1189 #line 1190 "configure" 1030 1190 #include "confdefs.h" 1031 1191 #include <stdio.h> … … 1051 1211 # Apparently cygwin needs to be special-cased. 1052 1212 echo $ac_n "checking for cyg\`win'32""... $ac_c" 1>&6 1053 echo "configure:1 054: checking for cyg\`win'32" >&51213 echo "configure:1214: checking for cyg\`win'32" >&5 1054 1214 if eval "test \"`echo '$''{'g77_cv_sys_cygwin32'+set}'`\" = set"; then 1055 1215 echo $ac_n "(cached) $ac_c" 1>&6 1056 1216 else 1057 1217 cat > conftest.$ac_ext <<EOF 1058 #line 1 059 "configure"1218 #line 1219 "configure" 1059 1219 #include "confdefs.h" 1060 1220 #ifdef __CYGWIN32__ … … 1079 1239 # ditto for mingw32. 1080 1240 echo $ac_n "checking for mingw32""... $ac_c" 1>&6 1081 echo "configure:1 082: checking for mingw32" >&51241 echo "configure:1242: checking for mingw32" >&5 1082 1242 if eval "test \"`echo '$''{'g77_cv_sys_mingw32'+set}'`\" = set"; then 1083 1243 echo $ac_n "(cached) $ac_c" 1>&6 1084 1244 else 1085 1245 cat > conftest.$ac_ext <<EOF 1086 #line 1 087 "configure"1246 #line 1247 "configure" 1087 1247 #include "confdefs.h" 1088 1248 #ifdef __MINGW32__ … … 1107 1267 1108 1268 echo $ac_n "checking for working const""... $ac_c" 1>&6 1109 echo "configure:1 110: checking for working const" >&51269 echo "configure:1270: checking for working const" >&5 1110 1270 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 1111 1271 echo $ac_n "(cached) $ac_c" 1>&6 1112 1272 else 1113 1273 cat > conftest.$ac_ext <<EOF 1114 #line 1 115 "configure"1274 #line 1275 "configure" 1115 1275 #include "confdefs.h" 1116 1276 … … 1161 1321 ; return 0; } 1162 1322 EOF 1163 if { (eval echo configure:1 164: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1323 if { (eval echo configure:1324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1164 1324 rm -rf conftest* 1165 1325 ac_cv_c_const=yes … … 1182 1342 1183 1343 echo $ac_n "checking for size_t""... $ac_c" 1>&6 1184 echo "configure:1 185: checking for size_t" >&51344 echo "configure:1345: checking for size_t" >&5 1185 1345 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 1186 1346 echo $ac_n "(cached) $ac_c" 1>&6 1187 1347 else 1188 1348 cat > conftest.$ac_ext <<EOF 1189 #line 1 190 "configure"1349 #line 1350 "configure" 1190 1350 #include "confdefs.h" 1191 1351 #include <sys/types.h> … … 1220 1380 # (as of cygwin b18). Likewise on mingw. 1221 1381 echo $ac_n "checking for fstat""... $ac_c" 1>&6 1222 echo "configure:1 223: checking for fstat" >&51382 echo "configure:1383: checking for fstat" >&5 1223 1383 if eval "test \"`echo '$''{'ac_cv_func_fstat'+set}'`\" = set"; then 1224 1384 echo $ac_n "(cached) $ac_c" 1>&6 1225 1385 else 1226 1386 cat > conftest.$ac_ext <<EOF 1227 #line 1 228 "configure"1387 #line 1388 "configure" 1228 1388 #include "confdefs.h" 1229 1389 /* System header to define __stub macros and hopefully few prototypes, … … 1248 1408 ; return 0; } 1249 1409 EOF 1250 if { (eval echo configure:1 251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1410 if { (eval echo configure:1411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1251 1411 rm -rf conftest* 1252 1412 eval "ac_cv_func_fstat=yes" … … 1268 1428 1269 1429 echo $ac_n "checking need for NON_UNIX_STDIO""... $ac_c" 1>&6 1270 echo "configure:1 271: checking need for NON_UNIX_STDIO" >&51430 echo "configure:1431: checking need for NON_UNIX_STDIO" >&5 1271 1431 if test $g77_cv_sys_cygwin32 = yes \ 1272 1432 || test $g77_cv_sys_mingw32 = yes \ … … 1284 1444 do 1285 1445 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1286 echo "configure:1 287: checking for $ac_func" >&51446 echo "configure:1447: checking for $ac_func" >&5 1287 1447 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1288 1448 echo $ac_n "(cached) $ac_c" 1>&6 1289 1449 else 1290 1450 cat > conftest.$ac_ext <<EOF 1291 #line 1 292 "configure"1451 #line 1452 "configure" 1292 1452 #include "confdefs.h" 1293 1453 /* System header to define __stub macros and hopefully few prototypes, … … 1312 1472 ; return 0; } 1313 1473 EOF 1314 if { (eval echo configure:1 315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1474 if { (eval echo configure:1475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1315 1475 rm -rf conftest* 1316 1476 eval "ac_cv_func_$ac_func=yes" … … 1339 1499 do 1340 1500 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1341 echo "configure:1 342: checking for $ac_func" >&51501 echo "configure:1502: checking for $ac_func" >&5 1342 1502 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1343 1503 echo $ac_n "(cached) $ac_c" 1>&6 1344 1504 else 1345 1505 cat > conftest.$ac_ext <<EOF 1346 #line 1 347 "configure"1506 #line 1507 "configure" 1347 1507 #include "confdefs.h" 1348 1508 /* System header to define __stub macros and hopefully few prototypes, … … 1367 1527 ; return 0; } 1368 1528 EOF 1369 if { (eval echo configure:1 370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1529 if { (eval echo configure:1530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1370 1530 rm -rf conftest* 1371 1531 eval "ac_cv_func_$ac_func=yes" … … 1394 1554 do 1395 1555 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1396 echo "configure:1 397: checking for $ac_func" >&51556 echo "configure:1557: checking for $ac_func" >&5 1397 1557 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1398 1558 echo $ac_n "(cached) $ac_c" 1>&6 1399 1559 else 1400 1560 cat > conftest.$ac_ext <<EOF 1401 #line 1 402 "configure"1561 #line 1562 "configure" 1402 1562 #include "confdefs.h" 1403 1563 /* System header to define __stub macros and hopefully few prototypes, … … 1422 1582 ; return 0; } 1423 1583 EOF 1424 if { (eval echo configure:1 425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1584 if { (eval echo configure:1585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1425 1585 rm -rf conftest* 1426 1586 eval "ac_cv_func_$ac_func=yes" … … 1449 1609 do 1450 1610 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1451 echo "configure:1 452: checking for $ac_func" >&51611 echo "configure:1612: checking for $ac_func" >&5 1452 1612 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1453 1613 echo $ac_n "(cached) $ac_c" 1>&6 1454 1614 else 1455 1615 cat > conftest.$ac_ext <<EOF 1456 #line 1 457 "configure"1616 #line 1617 "configure" 1457 1617 #include "confdefs.h" 1458 1618 /* System header to define __stub macros and hopefully few prototypes, … … 1477 1637 ; return 0; } 1478 1638 EOF 1479 if { (eval echo configure:1 480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1639 if { (eval echo configure:1640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1480 1640 rm -rf conftest* 1481 1641 eval "ac_cv_func_$ac_func=yes" … … 1504 1664 do 1505 1665 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1506 echo "configure:1 507: checking for $ac_func" >&51666 echo "configure:1667: checking for $ac_func" >&5 1507 1667 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1508 1668 echo $ac_n "(cached) $ac_c" 1>&6 1509 1669 else 1510 1670 cat > conftest.$ac_ext <<EOF 1511 #line 1 512 "configure"1671 #line 1672 "configure" 1512 1672 #include "confdefs.h" 1513 1673 /* System header to define __stub macros and hopefully few prototypes, … … 1532 1692 ; return 0; } 1533 1693 EOF 1534 if { (eval echo configure:1 535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1694 if { (eval echo configure:1695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1535 1695 rm -rf conftest* 1536 1696 eval "ac_cv_func_$ac_func=yes" … … 1559 1719 do 1560 1720 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1561 echo "configure:1 562: checking for $ac_func" >&51721 echo "configure:1722: checking for $ac_func" >&5 1562 1722 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1563 1723 echo $ac_n "(cached) $ac_c" 1>&6 1564 1724 else 1565 1725 cat > conftest.$ac_ext <<EOF 1566 #line 1 567 "configure"1726 #line 1727 "configure" 1567 1727 #include "confdefs.h" 1568 1728 /* System header to define __stub macros and hopefully few prototypes, … … 1587 1747 ; return 0; } 1588 1748 EOF 1589 if { (eval echo configure:1 590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1749 if { (eval echo configure:1750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1590 1750 rm -rf conftest* 1591 1751 eval "ac_cv_func_$ac_func=yes" … … 1617 1777 # we're posix-conformant, so always do the test. 1618 1778 echo $ac_n "checking for ansi/posix sprintf result""... $ac_c" 1>&6 1619 echo "configure:1 620: checking for ansi/posix sprintf result" >&51779 echo "configure:1780: checking for ansi/posix sprintf result" >&5 1620 1780 if test "$cross_compiling" = yes; then 1621 1781 g77_cv_sys_sprintf_ansi=no 1622 1782 else 1623 1783 cat > conftest.$ac_ext <<EOF 1624 #line 1 625 "configure"1784 #line 1785 "configure" 1625 1785 #include "confdefs.h" 1626 1786 #include <stdio.h> … … 1629 1789 1630 1790 EOF 1631 if { (eval echo configure:1 632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1791 if { (eval echo configure:1792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1632 1792 then 1633 1793 g77_cv_sys_sprintf_ansi=yes … … 1660 1820 # define NON_ANSI_RW_MODES on unix (can't hurt) 1661 1821 echo $ac_n "checking NON_ANSI_RW_MODES""... $ac_c" 1>&6 1662 echo "configure:1 663: checking NON_ANSI_RW_MODES" >&51822 echo "configure:1823: checking NON_ANSI_RW_MODES" >&5 1663 1823 cat > conftest.$ac_ext <<EOF 1664 #line 1 665 "configure"1824 #line 1825 "configure" 1665 1825 #include "confdefs.h" 1666 1826 #ifdef unix … … 1707 1867 1708 1868 echo $ac_n "checking for off_t""... $ac_c" 1>&6 1709 echo "configure:1 710: checking for off_t" >&51869 echo "configure:1870: checking for off_t" >&5 1710 1870 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then 1711 1871 echo $ac_n "(cached) $ac_c" 1>&6 1712 1872 else 1713 1873 cat > conftest.$ac_ext <<EOF 1714 #line 1 715 "configure"1874 #line 1875 "configure" 1715 1875 #include "confdefs.h" 1716 1876 #include <sys/types.h> … … 1820 1980 # Run this file to recreate the current configuration. 1821 1981 # This directory was configured as follows, 1982 EOF 1983 echo ': ${CONFIG_SHELL='"${CONFIG_SHELL-/bin/sh}"'}' >> $CONFIG_STATUS 1984 cat >> $CONFIG_STATUS <<EOF 1822 1985 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 1823 1986 # … … 1844 2007 1845 2008 ac_given_srcdir=$srcdir 2009 PATHIFS="$PATH_IFS" 1846 2010 1847 2011 trap 'rm -fr `echo "Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 … … 1854 2018 $ac_vpsub 1855 2019 $extrasub 2020 s,\([^a-zA-Z0-9:]\)/bin/sh\(.exe\),\1${CONFIG_SHELL-/bin/sh}\2,g 1856 2021 s%@SHELL@%$SHELL%g 1857 2022 s%@CFLAGS@%$CFLAGS%g … … 1877 2042 s%@infodir@%$infodir%g 1878 2043 s%@mandir@%$mandir%g 2044 s%@PATH_IFS@%$PATH_IFS%g 2045 s%@EXEEXT@%$EXEEXT%g 1879 2046 s%@CC@%$CC%g 1880 2047 s%@LIBTOOL@%$LIBTOOL%g … … 1952 2119 if test -z "$ac_dots"; then top_srcdir=. 1953 2120 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; 1954 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; 2121 /* | [A-Za-z]:*) 2122 srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; 1955 2123 *) # Relative path. 1956 2124 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" … … 1968 2136 esac 1969 2137 1970 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s% :% $ac_given_srcdir/%g"`2138 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%$PATHIFS% $ac_given_srcdir/%g"` 1971 2139 sed -e "$ac_comsub 1972 2140 s%@configure_input@%$configure_input%g … … 2014 2182 2015 2183 rm -f conftest.frag conftest.in conftest.out 2016 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` 2184 # kso the other way around might work better with drive letters and such. 2185 # ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` 2186 ac_file_inputs=`echo $ac_file_in|sed -e "s%:% $ac_given_srcdir/%g" -e "s%^%$ac_given_srcdir/%" ` 2017 2187 cat $ac_file_inputs > conftest.in 2018 2188 -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/gcc/libf2c/libU77/configure
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r79 r80 521 521 fi 522 522 523 echo $ac_n "checking for path separator""... $ac_c" 1>&6 524 echo "configure:525: checking for path separator" >&5 525 # Filter path to get backslahes into forwardslashes 526 case "`uname -s 2> /dev/null`" in 527 OS/2) 528 PATH=`echo -E "$PATH" | sed 's+\\\\+/+g'` 529 PATH_IFS=';' 530 ;; 531 *) 532 PATH_IFS=':' 533 ;; 534 esac 535 echo "$ac_t""${PATH_IFS}" 1>&6 536 537 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 538 echo "configure:539: checking for Cygwin environment" >&5 539 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 540 echo $ac_n "(cached) $ac_c" 1>&6 541 else 542 cat > conftest.$ac_ext <<EOF 543 #line 544 "configure" 544 #include "confdefs.h" 545 546 int main() { 547 548 #ifndef __CYGWIN__ 549 #define __CYGWIN__ __CYGWIN32__ 550 #endif 551 return __CYGWIN__; 552 ; return 0; } 553 EOF 554 if { (eval echo configure:555: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 555 rm -rf conftest* 556 ac_cv_cygwin=yes 557 else 558 echo "configure: failed program was:" >&5 559 cat conftest.$ac_ext >&5 560 rm -rf conftest* 561 ac_cv_cygwin=no 562 fi 563 rm -f conftest* 564 rm -f conftest* 565 fi 566 567 echo "$ac_t""$ac_cv_cygwin" 1>&6 568 CYGWIN= 569 test "$ac_cv_cygwin" = yes && CYGWIN=yes 570 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 571 echo "configure:572: checking for mingw32 environment" >&5 572 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 573 echo $ac_n "(cached) $ac_c" 1>&6 574 else 575 cat > conftest.$ac_ext <<EOF 576 #line 577 "configure" 577 #include "confdefs.h" 578 579 int main() { 580 return __MINGW32__; 581 ; return 0; } 582 EOF 583 if { (eval echo configure:584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 584 rm -rf conftest* 585 ac_cv_mingw32=yes 586 else 587 echo "configure: failed program was:" >&5 588 cat conftest.$ac_ext >&5 589 rm -rf conftest* 590 ac_cv_mingw32=no 591 fi 592 rm -f conftest* 593 rm -f conftest* 594 fi 595 596 echo "$ac_t""$ac_cv_mingw32" 1>&6 597 MINGW32= 598 test "$ac_cv_mingw32" = yes && MINGW32=yes 599 echo $ac_n "checking for EMX/OS2 environment""... $ac_c" 1>&6 600 echo "configure:601: checking for EMX/OS2 environment" >&5 601 if eval "test \"`echo '$''{'ac_cv_emxos2'+set}'`\" = set"; then 602 echo $ac_n "(cached) $ac_c" 1>&6 603 else 604 : ${CC=gcc.exe} 605 cat > conftest.$ac_ext <<EOF 606 #line 607 "configure" 607 #include "confdefs.h" 608 609 int main() { 610 return __EMX__; 611 ; return 0; } 612 EOF 613 if { (eval echo configure:614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 614 rm -rf conftest* 615 ac_cv_emxos2=yes 616 else 617 echo "configure: failed program was:" >&5 618 cat conftest.$ac_ext >&5 619 rm -rf conftest* 620 ac_cv_emxos2=no 621 fi 622 rm -f conftest* 623 rm -f conftest* 624 fi 625 626 echo "$ac_t""$ac_cv_emxos2" 1>&6 627 if eval "test \"`echo '$''{'ac_cv_libpre'+set}'`\" = set"; then 628 echo $ac_n "(cached) $ac_c" 1>&6 629 else 630 if test "$ac_cv_emxos2" = yes ; then 631 ac_cv_libpre= 632 else 633 ac_cv_libpre=lib 634 fi 635 636 fi 637 638 EMXOS2= 639 test "$ac_cv_emxos2" = yes && EMXOS2=yes 640 641 642 643 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 644 echo "configure:645: checking for executable suffix" >&5 645 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 646 echo $ac_n "(cached) $ac_c" 1>&6 647 else 648 if test "$CYGWIN" = yes || test "$MINGW32" = yes || test "$EMXOS2" = yes; then 649 ac_cv_exeext=.exe 650 else 651 rm -f conftest* 652 echo 'int main () { return 0; }' > conftest.$ac_ext 653 ac_cv_exeext= 654 if { (eval echo configure:655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 655 for file in conftest.*; do 656 case $file in 657 *.c | *.o | *.obj) ;; 658 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; 659 esac 660 done 661 else 662 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } 663 fi 664 rm -f conftest* 665 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no 666 fi 667 fi 668 669 EXEEXT="" 670 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} 671 echo "$ac_t""${ac_cv_exeext}" 1>&6 672 ac_exeext=$EXEEXT 673 523 674 524 675 … … 553 704 set dummy gcc; ac_word=$2 554 705 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 555 echo "configure: 556: checking for $ac_word" >&5706 echo "configure:707: checking for $ac_word" >&5 556 707 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 557 708 echo $ac_n "(cached) $ac_c" 1>&6 … … 560 711 ac_cv_prog_CC="$CC" # Let the user override the test. 561 712 else 562 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"713 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 563 714 ac_dummy="$PATH" 564 715 for ac_dir in $ac_dummy; do 565 716 test -z "$ac_dir" && ac_dir=. 566 if test -f $ac_dir/$ac_word; then 717 if test -f $ac_dir/$ac_word -o \ 718 -f $ac_dir/$ac_word$ac_exeext ; then 567 719 ac_cv_prog_CC="gcc" 568 720 break … … 583 735 set dummy cc; ac_word=$2 584 736 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 585 echo "configure: 586: checking for $ac_word" >&5737 echo "configure:738: checking for $ac_word" >&5 586 738 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 587 739 echo $ac_n "(cached) $ac_c" 1>&6 … … 590 742 ac_cv_prog_CC="$CC" # Let the user override the test. 591 743 else 592 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"744 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 593 745 ac_prog_rejected=no 594 746 ac_dummy="$PATH" 595 747 for ac_dir in $ac_dummy; do 596 748 test -z "$ac_dir" && ac_dir=. 597 if test -f $ac_dir/$ac_word; then 598 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 749 if test -f $ac_dir/$ac_word -o \ 750 -f $ac_dir/$ac_word$ac_exeext ; then 751 if test "$ac_dir/$ac_word" = "/usr/ucb/cc" -o \ 752 "$ac_dir/$ac_word$ac_exeext" = "/usr/ucb/cc" ; then 599 753 ac_prog_rejected=yes 600 754 continue … … 634 788 set dummy cl; ac_word=$2 635 789 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 636 echo "configure: 637: checking for $ac_word" >&5790 echo "configure:791: checking for $ac_word" >&5 637 791 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 638 792 echo $ac_n "(cached) $ac_c" 1>&6 … … 641 795 ac_cv_prog_CC="$CC" # Let the user override the test. 642 796 else 643 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"797 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 644 798 ac_dummy="$PATH" 645 799 for ac_dir in $ac_dummy; do 646 800 test -z "$ac_dir" && ac_dir=. 647 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 648 803 ac_cv_prog_CC="cl" 649 804 break … … 667 822 668 823 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 669 echo "configure: 670: checking whether we are using GNU C" >&5824 echo "configure:825: checking whether we are using GNU C" >&5 670 825 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 671 826 echo $ac_n "(cached) $ac_c" 1>&6 … … 676 831 #endif 677 832 EOF 678 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure: 679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then833 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 679 834 ac_cv_prog_gcc=yes 680 835 else … … 695 850 CFLAGS= 696 851 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 697 echo "configure: 698: checking whether ${CC-cc} accepts -g" >&5852 echo "configure:853: checking whether ${CC-cc} accepts -g" >&5 698 853 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 699 854 echo $ac_n "(cached) $ac_c" 1>&6 … … 739 894 740 895 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 741 echo "configure: 742: checking whether ${MAKE-make} sets \${MAKE}" >&5896 echo "configure:897: checking whether ${MAKE-make} sets \${MAKE}" >&5 742 897 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 743 898 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 769 924 set dummy chmod; ac_word=$2 770 925 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 771 echo "configure: 772: checking for $ac_word" >&5926 echo "configure:927: checking for $ac_word" >&5 772 927 if eval "test \"`echo '$''{'ac_cv_path_ac_cv_prog_chmod'+set}'`\" = set"; then 773 928 echo $ac_n "(cached) $ac_c" 1>&6 774 929 else 775 930 case "$ac_cv_prog_chmod" in 776 /* )931 /* | [a-zA-Z]:*) 777 932 ac_cv_path_ac_cv_prog_chmod="$ac_cv_prog_chmod" # Let the user override the test with a path. 778 933 ;; 779 ?:/*) 934 ?:/*) 780 935 ac_cv_path_ac_cv_prog_chmod="$ac_cv_prog_chmod" # Let the user override the test with a dos path. 781 936 ;; 782 937 *) 783 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"938 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 784 939 ac_dummy="$PATH" 785 for ac_dir in $ac_dummy; do 940 for ac_dir in $ac_dummy; do 786 941 test -z "$ac_dir" && ac_dir=. 787 942 if test -f $ac_dir/$ac_word; then 788 943 ac_cv_path_ac_cv_prog_chmod="$ac_dir/$ac_word" 944 break 945 fi 946 if test -f $ac_dir/$ac_word$ac_exeext; then 947 ac_cv_path_ac_cv_prog_chmod="$ac_dir/$ac_word$ac_exeext" 789 948 break 790 949 fi … … 813 972 814 973 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 815 echo "configure: 816: checking how to run the C preprocessor" >&5974 echo "configure:975: checking how to run the C preprocessor" >&5 816 975 # On Suns, sometimes $CPP names a directory. 817 976 if test -n "$CPP" && test -d "$CPP"; then … … 828 987 # not just through cpp. 829 988 cat > conftest.$ac_ext <<EOF 830 #line 831 "configure" 989 #include <sys/types.h> 990 #line 991 "configure" 831 991 #include "confdefs.h" 832 992 #include <assert.h> … … 834 994 EOF 835 995 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 836 { (eval echo configure: 837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }996 { (eval echo configure:997: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 837 997 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 838 998 if test -z "$ac_err"; then … … 845 1005 CPP="${CC-cc} -E -traditional-cpp" 846 1006 cat > conftest.$ac_ext <<EOF 847 #line 848 "configure" 1007 #include <sys/types.h> 1008 #line 1009 "configure" 848 1009 #include "confdefs.h" 849 1010 #include <assert.h> … … 851 1012 EOF 852 1013 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 853 { (eval echo configure: 854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1014 { (eval echo configure:1015: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 854 1015 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 855 1016 if test -z "$ac_err"; then … … 862 1023 CPP="${CC-cc} -nologo -E" 863 1024 cat > conftest.$ac_ext <<EOF 864 #line 865 "configure" 1025 #include <sys/types.h> 1026 #line 1027 "configure" 865 1027 #include "confdefs.h" 866 1028 #include <assert.h> … … 868 1030 EOF 869 1031 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 870 { (eval echo configure: 871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1032 { (eval echo configure:1033: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 871 1033 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 872 1034 if test -z "$ac_err"; then … … 893 1055 894 1056 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 895 echo "configure: 896: checking for ANSI C header files" >&51057 echo "configure:1058: checking for ANSI C header files" >&5 896 1058 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 897 1059 echo $ac_n "(cached) $ac_c" 1>&6 898 1060 else 899 1061 cat > conftest.$ac_ext <<EOF 900 #line 901 "configure" 1062 #include <sys/types.h> 1063 #line 1064 "configure" 901 1064 #include "confdefs.h" 902 1065 #include <stdlib.h> … … 906 1069 EOF 907 1070 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 908 { (eval echo configure: 909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1071 { (eval echo configure:1072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 909 1072 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 910 1073 if test -z "$ac_err"; then … … 923 1086 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 924 1087 cat > conftest.$ac_ext <<EOF 925 #line 926"configure"1088 #line 1089 "configure" 926 1089 #include "confdefs.h" 927 1090 #include <string.h> … … 941 1104 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 942 1105 cat > conftest.$ac_ext <<EOF 943 #line 944"configure"1106 #line 1107 "configure" 944 1107 #include "confdefs.h" 945 1108 #include <stdlib.h> … … 962 1125 else 963 1126 cat > conftest.$ac_ext <<EOF 964 #line 965"configure"1127 #line 1128 "configure" 965 1128 #include "confdefs.h" 966 1129 #include <ctype.h> … … 973 1136 974 1137 EOF 975 if { (eval echo configure: 976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1138 if { (eval echo configure:1139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 976 1139 then 977 1140 : … … 998 1161 999 1162 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 1000 echo "configure:1 001: checking whether time.h and sys/time.h may both be included" >&51163 echo "configure:1164: checking whether time.h and sys/time.h may both be included" >&5 1001 1164 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 1002 1165 echo $ac_n "(cached) $ac_c" 1>&6 1003 1166 else 1004 1167 cat > conftest.$ac_ext <<EOF 1005 #line 1 006"configure"1168 #line 1169 "configure" 1006 1169 #include "confdefs.h" 1007 1170 #include <sys/types.h> … … 1012 1175 ; return 0; } 1013 1176 EOF 1014 if { (eval echo configure:1 015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1177 if { (eval echo configure:1178: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1015 1178 rm -rf conftest* 1016 1179 ac_cv_header_time=yes … … 1037 1200 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1038 1201 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1039 echo "configure:1 040: checking for $ac_hdr" >&51202 echo "configure:1203: checking for $ac_hdr" >&5 1040 1203 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1041 1204 echo $ac_n "(cached) $ac_c" 1>&6 1042 1205 else 1043 1206 cat > conftest.$ac_ext <<EOF 1044 #line 1045 "configure" 1207 #include <sys/types.h> 1208 #line 1209 "configure" 1045 1209 #include "confdefs.h" 1046 1210 #include <$ac_hdr> 1047 1211 EOF 1048 1212 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1049 { (eval echo configure:1 050: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1213 { (eval echo configure:1214: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1050 1214 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1051 1215 if test -z "$ac_err"; then … … 1075 1239 1076 1240 echo $ac_n "checking for working const""... $ac_c" 1>&6 1077 echo "configure:1 078: checking for working const" >&51241 echo "configure:1242: checking for working const" >&5 1078 1242 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 1079 1243 echo $ac_n "(cached) $ac_c" 1>&6 1080 1244 else 1081 1245 cat > conftest.$ac_ext <<EOF 1082 #line 1 083"configure"1246 #line 1247 "configure" 1083 1247 #include "confdefs.h" 1084 1248 … … 1129 1293 ; return 0; } 1130 1294 EOF 1131 if { (eval echo configure:1 132: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1295 if { (eval echo configure:1296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1132 1296 rm -rf conftest* 1133 1297 ac_cv_c_const=yes … … 1150 1314 1151 1315 echo $ac_n "checking for size_t""... $ac_c" 1>&6 1152 echo "configure:1 153: checking for size_t" >&51316 echo "configure:1317: checking for size_t" >&5 1153 1317 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 1154 1318 echo $ac_n "(cached) $ac_c" 1>&6 1155 1319 else 1156 1320 cat > conftest.$ac_ext <<EOF 1157 #line 1 158"configure"1321 #line 1322 "configure" 1158 1322 #include "confdefs.h" 1159 1323 #include <sys/types.h> … … 1183 1347 1184 1348 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 1185 echo "configure:1 186: checking for mode_t" >&51349 echo "configure:1350: checking for mode_t" >&5 1186 1350 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then 1187 1351 echo $ac_n "(cached) $ac_c" 1>&6 1188 1352 else 1189 1353 cat > conftest.$ac_ext <<EOF 1190 #line 1 191"configure"1354 #line 1355 "configure" 1191 1355 #include "confdefs.h" 1192 1356 #include <sys/types.h> … … 1217 1381 1218 1382 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 1219 echo "configure:1 220: checking for pid_t" >&51383 echo "configure:1384: checking for pid_t" >&5 1220 1384 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then 1221 1385 echo $ac_n "(cached) $ac_c" 1>&6 1222 1386 else 1223 1387 cat > conftest.$ac_ext <<EOF 1224 #line 1 225"configure"1388 #line 1389 "configure" 1225 1389 #include "confdefs.h" 1226 1390 #include <sys/types.h> … … 1250 1414 1251 1415 echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6 1252 echo "configure:1 253: checking for st_blksize in struct stat" >&51416 echo "configure:1417: checking for st_blksize in struct stat" >&5 1253 1417 if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then 1254 1418 echo $ac_n "(cached) $ac_c" 1>&6 1255 1419 else 1256 1420 cat > conftest.$ac_ext <<EOF 1257 #line 1 258"configure"1421 #line 1422 "configure" 1258 1422 #include "confdefs.h" 1259 1423 #include <sys/types.h> … … 1263 1427 ; return 0; } 1264 1428 EOF 1265 if { (eval echo configure:1 266: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1429 if { (eval echo configure:1430: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1266 1430 rm -rf conftest* 1267 1431 ac_cv_struct_st_blksize=yes … … 1284 1448 1285 1449 echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&6 1286 echo "configure:1 287: checking for st_blocks in struct stat" >&51450 echo "configure:1451: checking for st_blocks in struct stat" >&5 1287 1451 if eval "test \"`echo '$''{'ac_cv_struct_st_blocks'+set}'`\" = set"; then 1288 1452 echo $ac_n "(cached) $ac_c" 1>&6 1289 1453 else 1290 1454 cat > conftest.$ac_ext <<EOF 1291 #line 1 292"configure"1455 #line 1456 "configure" 1292 1456 #include "confdefs.h" 1293 1457 #include <sys/types.h> … … 1297 1461 ; return 0; } 1298 1462 EOF 1299 if { (eval echo configure:1 300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1463 if { (eval echo configure:1464: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1300 1464 rm -rf conftest* 1301 1465 ac_cv_struct_st_blocks=yes … … 1320 1484 1321 1485 echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6 1322 echo "configure:1 323: checking for st_rdev in struct stat" >&51486 echo "configure:1487: checking for st_rdev in struct stat" >&5 1323 1487 if eval "test \"`echo '$''{'ac_cv_struct_st_rdev'+set}'`\" = set"; then 1324 1488 echo $ac_n "(cached) $ac_c" 1>&6 1325 1489 else 1326 1490 cat > conftest.$ac_ext <<EOF 1327 #line 1 328"configure"1491 #line 1492 "configure" 1328 1492 #include "confdefs.h" 1329 1493 #include <sys/types.h> … … 1333 1497 ; return 0; } 1334 1498 EOF 1335 if { (eval echo configure:1 336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1499 if { (eval echo configure:1500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1336 1500 rm -rf conftest* 1337 1501 ac_cv_struct_st_rdev=yes … … 1354 1518 1355 1519 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 1356 echo "configure:1 357: checking whether struct tm is in sys/time.h or time.h" >&51520 echo "configure:1521: checking whether struct tm is in sys/time.h or time.h" >&5 1357 1521 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 1358 1522 echo $ac_n "(cached) $ac_c" 1>&6 1359 1523 else 1360 1524 cat > conftest.$ac_ext <<EOF 1361 #line 1 362"configure"1525 #line 1526 "configure" 1362 1526 #include "confdefs.h" 1363 1527 #include <sys/types.h> … … 1367 1531 ; return 0; } 1368 1532 EOF 1369 if { (eval echo configure:1 370: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1533 if { (eval echo configure:1534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1370 1534 rm -rf conftest* 1371 1535 ac_cv_struct_tm=time.h … … 1389 1553 1390 1554 echo $ac_n "checking for gethostname in -lsocket""... $ac_c" 1>&6 1391 echo "configure:1 392: checking for gethostname in -lsocket" >&51555 echo "configure:1556: checking for gethostname in -lsocket" >&5 1392 1556 ac_lib_var=`echo socket'_'gethostname | sed 'y%./+-%__p_%'` 1393 1557 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1397 1561 LIBS="-lsocket $LIBS" 1398 1562 cat > conftest.$ac_ext <<EOF 1399 #line 1 400"configure"1563 #line 1564 "configure" 1400 1564 #include "confdefs.h" 1401 1565 /* Override any gcc2 internal prototype to avoid an error. */ … … 1408 1572 ; return 0; } 1409 1573 EOF 1410 if { (eval echo configure:1 411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1574 if { (eval echo configure:1575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1411 1575 rm -rf conftest* 1412 1576 eval "ac_cv_lib_$ac_lib_var=yes" … … 1434 1598 do 1435 1599 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1436 echo "configure:1 437: checking for $ac_func" >&51600 echo "configure:1601: checking for $ac_func" >&5 1437 1601 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1438 1602 echo $ac_n "(cached) $ac_c" 1>&6 1439 1603 else 1440 1604 cat > conftest.$ac_ext <<EOF 1441 #line 1 442"configure"1605 #line 1606 "configure" 1442 1606 #include "confdefs.h" 1443 1607 /* System header to define __stub macros and hopefully few prototypes, … … 1462 1626 ; return 0; } 1463 1627 EOF 1464 if { (eval echo configure:1 465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1628 if { (eval echo configure:1629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1465 1629 rm -rf conftest* 1466 1630 eval "ac_cv_func_$ac_func=yes" … … 1491 1655 do 1492 1656 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1493 echo "configure:1 494: checking for $ac_func" >&51657 echo "configure:1658: checking for $ac_func" >&5 1494 1658 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1495 1659 echo $ac_n "(cached) $ac_c" 1>&6 1496 1660 else 1497 1661 cat > conftest.$ac_ext <<EOF 1498 #line 1 499"configure"1662 #line 1663 "configure" 1499 1663 #include "confdefs.h" 1500 1664 /* System header to define __stub macros and hopefully few prototypes, … … 1519 1683 ; return 0; } 1520 1684 EOF 1521 if { (eval echo configure:1 522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1685 if { (eval echo configure:1686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1522 1686 rm -rf conftest* 1523 1687 eval "ac_cv_func_$ac_func=yes" … … 1545 1709 if test "$ac_cv_func_gettimeofday" = yes; then 1546 1710 echo $ac_n "checking for struct timezone""... $ac_c" 1>&6 1547 echo "configure:1 548: checking for struct timezone" >&51711 echo "configure:1712: checking for struct timezone" >&5 1548 1712 if eval "test \"`echo '$''{'g77_cv_struct_timezone'+set}'`\" = set"; then 1549 1713 echo $ac_n "(cached) $ac_c" 1>&6 1550 1714 else 1551 1715 cat > conftest.$ac_ext <<EOF 1552 #line 1 553"configure"1716 #line 1717 "configure" 1553 1717 #include "confdefs.h" 1554 1718 #include <sys/time.h> … … 1557 1721 ; return 0; } 1558 1722 EOF 1559 if { (eval echo configure:1 560: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1723 if { (eval echo configure:1724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1560 1724 rm -rf conftest* 1561 1725 g77_cv_struct_timezone=yes … … 1578 1742 else 1579 1743 cat > conftest.$ac_ext <<EOF 1580 #line 1 581"configure"1744 #line 1745 "configure" 1581 1745 #include "confdefs.h" 1582 1746 … … 1601 1765 } 1602 1766 EOF 1603 if { (eval echo configure:1 604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1767 if { (eval echo configure:1768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1604 1768 then 1605 1769 cat >> confdefs.h <<\EOF … … 1617 1781 1618 1782 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 1619 echo "configure:1 620: checking whether gettimeofday can accept two arguments" >&51783 echo "configure:1784: checking whether gettimeofday can accept two arguments" >&5 1620 1784 if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then 1621 1785 echo $ac_n "(cached) $ac_c" 1>&6 1622 1786 else 1623 1787 cat > conftest.$ac_ext <<EOF 1624 #line 1 625"configure"1788 #line 1789 "configure" 1625 1789 #include "confdefs.h" 1626 1790 … … 1648 1812 ; return 0; } 1649 1813 EOF 1650 if { (eval echo configure:1 651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1814 if { (eval echo configure:1815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1651 1815 rm -rf conftest* 1652 1816 emacs_cv_gettimeofday_two_arguments=yes … … 1754 1918 # Run this file to recreate the current configuration. 1755 1919 # This directory was configured as follows, 1920 EOF 1921 echo ': ${CONFIG_SHELL='"${CONFIG_SHELL-/bin/sh}"'}' >> $CONFIG_STATUS 1922 cat >> $CONFIG_STATUS <<EOF 1756 1923 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 1757 1924 # … … 1778 1945 1779 1946 ac_given_srcdir=$srcdir 1947 PATHIFS="$PATH_IFS" 1780 1948 1781 1949 trap 'rm -fr `echo "Makefile config.h:config.hin" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 … … 1788 1956 $ac_vpsub 1789 1957 $extrasub 1958 s,\([^a-zA-Z0-9:]\)/bin/sh\(.exe\),\1${CONFIG_SHELL-/bin/sh}\2,g 1790 1959 s%@SHELL@%$SHELL%g 1791 1960 s%@CFLAGS@%$CFLAGS%g … … 1811 1980 s%@infodir@%$infodir%g 1812 1981 s%@mandir@%$mandir%g 1982 s%@PATH_IFS@%$PATH_IFS%g 1983 s%@EXEEXT@%$EXEEXT%g 1813 1984 s%@CC@%$CC%g 1814 1985 s%@LIBTOOL@%$LIBTOOL%g … … 1892 2063 if test -z "$ac_dots"; then top_srcdir=. 1893 2064 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; 1894 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; 2065 /* | [A-Za-z]:*) 2066 srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; 1895 2067 *) # Relative path. 1896 2068 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" … … 1908 2080 esac 1909 2081 1910 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s% :% $ac_given_srcdir/%g"`2082 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%$PATHIFS% $ac_given_srcdir/%g"` 1911 2083 sed -e "$ac_comsub 1912 2084 s%@configure_input@%$configure_input%g … … 1954 2126 1955 2127 rm -f conftest.frag conftest.in conftest.out 1956 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` 2128 # kso the other way around might work better with drive letters and such. 2129 # ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` 2130 ac_file_inputs=`echo $ac_file_in|sed -e "s%:% $ac_given_srcdir/%g" -e "s%^%$ac_given_srcdir/%" ` 1957 2131 cat $ac_file_inputs > conftest.in 1958 2132 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.