Changeset 80 for trunk/src/gcc/libf2c/libF77/configure
- Timestamp:
- May 2, 2003, 12:30:43 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note:
See TracChangeset
for help on using the changeset viewer.