Changeset 16b993 in git
- Timestamp:
- Jul 14, 1998, 10:14:52 AM (26 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 5f5ed99f9b719654ec2840cba9d72efdb02c129b
- Parents:
- 27f5f1edf9475934ab02b6a47a62274167d11887
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/configure
r27f5f1e r16b993 2 2 3 3 # Guess values for system-dependent variables and create Makefiles. 4 # Generated automatically using autoconf version 2. 94 # Generated automatically using autoconf version 2.12 5 5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 6 6 # … … 79 79 subdirs= 80 80 MFLAGS= MAKEFLAGS= 81 # Maximum number of lines to put in a shell here document. 82 ac_max_here_lines=12 81 83 82 84 ac_prev= … … 360 362 361 363 -version | --version | --versio | --versi | --vers) 362 echo "configure generated by autoconf version 2. 9"364 echo "configure generated by autoconf version 2.12" 363 365 exit 0 ;; 364 366 … … 462 464 463 465 # NLS nuisances. 464 # Only set LANG and LC_ALL to C if already set. 465 # These must not be set unconditionally because not all systems understand 466 # e.g. LANG=C (notably SCO). 466 # Only set these to C if already set. These must not be set unconditionally 467 # because not all systems understand e.g. LANG=C (notably SCO). 468 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! 469 # Non-C LC_CTYPE values break the ctype check. 470 if test "${LANG+set}" = set; then LANG=C; export LANG; fi 467 471 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi 468 if test "${LANG+set}" = set; then LANG=C; export LANG; fi 472 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi 473 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi 469 474 470 475 # confdefs.h avoids OS command line length limits that DEFS can exceed. … … 528 533 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 529 534 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 535 cross_compiling=$ac_cv_prog_cc_cross 530 536 531 537 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then … … 546 552 547 553 echo $ac_n "checking uname for singular""... $ac_c" 1>&6 554 echo "configure:555: checking uname for singular" >&5 548 555 if eval "test \"`echo '$''{'ac_cv_singuname'+set}'`\" = set"; then 549 556 echo $ac_n "(cached) $ac_c" 1>&6 … … 565 572 echo "$ac_t""$ac_cv_singuname" 1>&6 566 573 if test "$ac_cv_singuname" = unknown; then 567 { echo "configure: error: Unknown architecture: Check singuname.sh" 1>&2; exit 1; } 574 echo "configure: warning: Unknown architecture: Check singuname.sh" 1>&2 575 ac_cv_singuname="unknown" 568 576 fi 569 577 cat >> confdefs.h <<EOF … … 581 589 582 590 SINGULAR_MAJOR_VERSION=${SINGULAR_MAJOR_VERSION:-1} 583 SINGULAR_MINOR_VERSION=${SINGULAR_MINOR_VERSION:- 2}591 SINGULAR_MINOR_VERSION=${SINGULAR_MINOR_VERSION:-3} 584 592 SINGULAR_SUB_VERSION=${SINGULAR_SUB_VERSION:-0} 585 593 SINGULAR_VERSION="${SINGULAR_VERSION:-$SINGULAR_MAJOR_VERSION${VERSION_SEP}$SINGULAR_MINOR_VERSION${VERSION_SEP}$SINGULAR_SUB_VERSION}" 586 VERSION_DATE=${VERSION_DATE:-"Ju ne1998"}594 VERSION_DATE=${VERSION_DATE:-"July 1998"} 587 595 588 596 … … 631 639 set dummy gcc; ac_word=$2 632 640 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 641 echo "configure:642: checking for $ac_word" >&5 633 642 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 634 643 echo $ac_n "(cached) $ac_c" 1>&6 … … 659 668 set dummy cc; ac_word=$2 660 669 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 670 echo "configure:671: checking for $ac_word" >&5 661 671 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 662 672 echo $ac_n "(cached) $ac_c" 1>&6 … … 705 715 fi 706 716 717 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 718 echo "configure:719: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 719 720 ac_ext=c 721 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 722 ac_cpp='$CPP $CPPFLAGS' 723 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 724 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 725 cross_compiling=$ac_cv_prog_cc_cross 726 727 cat > conftest.$ac_ext <<EOF 728 #line 729 "configure" 729 #include "confdefs.h" 730 main(){return(0);} 731 EOF 732 if { (eval echo configure:733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 733 ac_cv_prog_cc_works=yes 734 # If we can't run a trivial program, we are probably using a cross compiler. 735 if (./conftest; exit) 2>/dev/null; then 736 ac_cv_prog_cc_cross=no 737 else 738 ac_cv_prog_cc_cross=yes 739 fi 740 else 741 echo "configure: failed program was:" >&5 742 cat conftest.$ac_ext >&5 743 ac_cv_prog_cc_works=no 744 fi 745 rm -fr conftest* 746 747 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 748 if test $ac_cv_prog_cc_works = no; then 749 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 750 fi 751 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 752 echo "configure:753: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 753 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 754 cross_compiling=$ac_cv_prog_cc_cross 755 707 756 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 757 echo "configure:758: checking whether we are using GNU C" >&5 708 758 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 709 759 echo $ac_n "(cached) $ac_c" 1>&6 … … 714 764 #endif 715 765 EOF 716 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:7 17: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then766 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:767: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 717 767 ac_cv_prog_gcc=yes 718 768 else … … 722 772 723 773 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 774 724 775 if test $ac_cv_prog_gcc = yes; then 725 776 GCC=yes 726 if test "${CFLAGS+set}" != set; then 727 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 728 if eval "test \"`echo '$''{'ac_cv_prog_gcc_g'+set}'`\" = set"; then 777 ac_test_CFLAGS="${CFLAGS+set}" 778 ac_save_CFLAGS="$CFLAGS" 779 CFLAGS= 780 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 781 echo "configure:782: checking whether ${CC-cc} accepts -g" >&5 782 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 729 783 echo $ac_n "(cached) $ac_c" 1>&6 730 784 else 731 785 echo 'void f(){}' > conftest.c 732 786 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 733 ac_cv_prog_gcc_g=yes 734 else 735 ac_cv_prog_gcc_g=no 736 fi 737 rm -f conftest* 738 739 fi 740 741 echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6 742 if test $ac_cv_prog_gcc_g = yes; then 743 CFLAGS="-g -O" 744 else 745 CFLAGS="-O" 746 fi 787 ac_cv_prog_cc_g=yes 788 else 789 ac_cv_prog_cc_g=no 790 fi 791 rm -f conftest* 792 793 fi 794 795 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 796 if test "$ac_test_CFLAGS" = set; then 797 CFLAGS="$ac_save_CFLAGS" 798 elif test $ac_cv_prog_cc_g = yes; then 799 CFLAGS="-g -O2" 800 else 801 CFLAGS="-O2" 747 802 fi 748 803 else … … 752 807 753 808 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 809 echo "configure:810: checking how to run the C preprocessor" >&5 754 810 # On Suns, sometimes $CPP names a directory. 755 811 if test -n "$CPP" && test -d "$CPP"; then … … 766 822 # not just through cpp. 767 823 cat > conftest.$ac_ext <<EOF 768 #line 769"configure"824 #line 825 "configure" 769 825 #include "confdefs.h" 770 826 #include <assert.h> … … 772 828 EOF 773 829 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 774 { (eval echo configure: 775: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }830 { (eval echo configure:831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 775 831 ac_err=`grep -v '^ *+' conftest.out` 776 832 if test -z "$ac_err"; then … … 778 834 else 779 835 echo "$ac_err" >&5 836 echo "configure: failed program was:" >&5 837 cat conftest.$ac_ext >&5 780 838 rm -rf conftest* 781 839 CPP="${CC-cc} -E -traditional-cpp" 782 840 cat > conftest.$ac_ext <<EOF 783 #line 784"configure"841 #line 842 "configure" 784 842 #include "confdefs.h" 785 843 #include <assert.h> … … 787 845 EOF 788 846 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 789 { (eval echo configure: 790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }847 { (eval echo configure:848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 790 848 ac_err=`grep -v '^ *+' conftest.out` 791 849 if test -z "$ac_err"; then … … 793 851 else 794 852 echo "$ac_err" >&5 853 echo "configure: failed program was:" >&5 854 cat conftest.$ac_ext >&5 795 855 rm -rf conftest* 796 856 CPP=/lib/cpp … … 807 867 echo "$ac_t""$CPP" 1>&6 808 868 809 for ac_prog in $CCC c++ g++ gcc CC cxx 869 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ 810 870 do 811 871 # Extract the first word of "$ac_prog", so it can be a program name with args. 812 872 set dummy $ac_prog; ac_word=$2 813 873 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 874 echo "configure:875: checking for $ac_word" >&5 814 875 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then 815 876 echo $ac_n "(cached) $ac_c" 1>&6 … … 841 902 842 903 904 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 905 echo "configure:906: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 906 907 ac_ext=C 908 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 909 ac_cpp='$CXXCPP $CPPFLAGS' 910 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 911 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 912 cross_compiling=$ac_cv_prog_cxx_cross 913 914 cat > conftest.$ac_ext <<EOF 915 #line 916 "configure" 916 #include "confdefs.h" 917 main(){return(0);} 918 EOF 919 if { (eval echo configure:920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 920 ac_cv_prog_cxx_works=yes 921 # If we can't run a trivial program, we are probably using a cross compiler. 922 if (./conftest; exit) 2>/dev/null; then 923 ac_cv_prog_cxx_cross=no 924 else 925 ac_cv_prog_cxx_cross=yes 926 fi 927 else 928 echo "configure: failed program was:" >&5 929 cat conftest.$ac_ext >&5 930 ac_cv_prog_cxx_works=no 931 fi 932 rm -fr conftest* 933 ac_ext=c 934 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 935 ac_cpp='$CPP $CPPFLAGS' 936 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 937 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 938 cross_compiling=$ac_cv_prog_cc_cross 939 940 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6 941 if test $ac_cv_prog_cxx_works = no; then 942 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; } 943 fi 944 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 945 echo "configure:946: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 946 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 947 cross_compiling=$ac_cv_prog_cxx_cross 948 843 949 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 950 echo "configure:951: checking whether we are using GNU C++" >&5 844 951 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then 845 952 echo $ac_n "(cached) $ac_c" 1>&6 … … 850 957 #endif 851 958 EOF 852 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure: 853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then959 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 853 960 ac_cv_prog_gxx=yes 854 961 else … … 858 965 859 966 echo "$ac_t""$ac_cv_prog_gxx" 1>&6 967 860 968 if test $ac_cv_prog_gxx = yes; then 861 969 GXX=yes 862 if test "${CXXFLAGS+set}" != set; then 863 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 864 if eval "test \"`echo '$''{'ac_cv_prog_gxx_g'+set}'`\" = set"; then 970 ac_test_CXXFLAGS="${CXXFLAGS+set}" 971 ac_save_CXXFLAGS="$CXXFLAGS" 972 CXXFLAGS= 973 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 974 echo "configure:975: checking whether ${CXX-g++} accepts -g" >&5 975 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then 865 976 echo $ac_n "(cached) $ac_c" 1>&6 866 977 else 867 978 echo 'void f(){}' > conftest.cc 868 979 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then 869 ac_cv_prog_gxx_g=yes 870 else 871 ac_cv_prog_gxx_g=no 872 fi 873 rm -f conftest* 874 875 fi 876 877 echo "$ac_t""$ac_cv_prog_gxx_g" 1>&6 878 if test $ac_cv_prog_gxx_g = yes; then 879 CXXFLAGS="-g -O" 880 else 881 CXXFLAGS="-O" 882 fi 980 ac_cv_prog_cxx_g=yes 981 else 982 ac_cv_prog_cxx_g=no 983 fi 984 rm -f conftest* 985 986 fi 987 988 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6 989 if test "$ac_test_CXXFLAGS" = set; then 990 CXXFLAGS="$ac_save_CXXFLAGS" 991 elif test $ac_cv_prog_cxx_g = yes; then 992 CXXFLAGS="-g -O2" 993 else 994 CXXFLAGS="-O2" 883 995 fi 884 996 else … … 888 1000 889 1001 echo $ac_n "checking for AIX""... $ac_c" 1>&6 1002 echo "configure:1003: checking for AIX" >&5 890 1003 cat > conftest.$ac_ext <<EOF 891 #line 892"configure"1004 #line 1005 "configure" 892 1005 #include "confdefs.h" 893 1006 #ifdef _AIX … … 919 1032 # check whether the compiler accepts -pipe 920 1033 echo $ac_n "checking whether compiler accepts -pipe""... $ac_c" 1>&6 1034 echo "configure:1035: checking whether compiler accepts -pipe" >&5 921 1035 temp_cflags=${CFLAGS} 922 1036 CFLAGS="${CFLAGS} -pipe" … … 925 1039 else 926 1040 cat > conftest.$ac_ext <<EOF 927 #line 928 "configure" 928 #include "confdefs.h" 929 930 int main() { return 0; } 931 int t() { 1041 #line 1042 "configure" 1042 #include "confdefs.h" 1043 1044 int main() { 932 1045 933 1046 ; return 0; } 934 1047 EOF 935 if { (eval echo configure: 936: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1048 if { (eval echo configure:1049: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 936 1049 rm -rf conftest* 937 1050 ac_cv_cxx_have_pipe=yes 938 1051 else 1052 echo "configure: failed program was:" >&5 1053 cat conftest.$ac_ext >&5 939 1054 rm -rf conftest* 940 1055 ac_cv_cxx_have_pipe=no 941 1056 fi 942 1057 rm -f conftest* 943 944 1058 945 1059 fi … … 956 1070 # Customize CFLAGS 957 1071 echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6 1072 echo "configure:1073: checking whether _AIX is defined" >&5 958 1073 if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then 959 1074 echo $ac_n "(cached) $ac_c" 1>&6 960 1075 else 961 1076 cat > conftest.$ac_ext <<EOF 962 #line 963"configure"1077 #line 1078 "configure" 963 1078 #include "confdefs.h" 964 1079 #ifdef _AIX … … 1011 1126 1012 1127 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 1013 set dummy ${MAKE-make}; ac_make=$2 1128 echo "configure:1129: checking whether ${MAKE-make} sets \${MAKE}" >&5 1129 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 1014 1130 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 1015 1131 echo $ac_n "(cached) $ac_c" 1>&6 … … 1083 1199 if test "${with_lex+set}" != set; then 1084 1200 echo $ac_n "checking for flex""... $ac_c" 1>&6 1201 echo "configure:1202: checking for flex" >&5 1085 1202 if eval "test \"`echo '$''{'ac_cv_prog_flex'+set}'`\" = set"; then 1086 1203 echo $ac_n "(cached) $ac_c" 1>&6 … … 1113 1230 set dummy $ac_prog; ac_word=$2 1114 1231 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1232 echo "configure:1233: checking for $ac_word" >&5 1115 1233 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then 1116 1234 echo $ac_n "(cached) $ac_c" 1>&6 … … 1148 1266 if test "${with_perl5+set}" != set; then 1149 1267 echo $ac_n "checking for perl5""... $ac_c" 1>&6 1268 echo "configure:1269: checking for perl5" >&5 1150 1269 if eval "test \"`echo '$''{'ac_cv_prog_perl5'+set}'`\" = set"; then 1151 1270 echo $ac_n "(cached) $ac_c" 1>&6 … … 1184 1303 set dummy $ac_prog; ac_word=$2 1185 1304 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1305 echo "configure:1306: checking for $ac_word" >&5 1186 1306 if eval "test \"`echo '$''{'ac_cv_prog_PERL5'+set}'`\" = set"; then 1187 1307 echo $ac_n "(cached) $ac_c" 1>&6 … … 1222 1342 set dummy $ac_prog; ac_word=$2 1223 1343 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1344 echo "configure:1345: checking for $ac_word" >&5 1224 1345 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then 1225 1346 echo $ac_n "(cached) $ac_c" 1>&6 … … 1259 1380 set dummy $ac_prog; ac_word=$2 1260 1381 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1382 echo "configure:1383: checking for $ac_word" >&5 1261 1383 if eval "test \"`echo '$''{'ac_cv_prog_INFO'+set}'`\" = set"; then 1262 1384 echo $ac_n "(cached) $ac_c" 1>&6 … … 1302 1424 set dummy $ac_prog; ac_word=$2 1303 1425 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1426 echo "configure:1427: checking for $ac_word" >&5 1304 1427 if eval "test \"`echo '$''{'ac_cv_prog_INFO'+set}'`\" = set"; then 1305 1428 echo $ac_n "(cached) $ac_c" 1>&6 … … 1341 1464 # ln -s 1342 1465 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1466 echo "configure:1467: checking whether ln -s works" >&5 1343 1467 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1344 1468 echo $ac_n "(cached) $ac_c" 1>&6 … … 1362 1486 1363 1487 # lib checks 1364 echo $ac_n "checking for -lm""... $ac_c" 1>&6 1365 ac_lib_var=`echo m_atof | tr '.-/+' '___p'` 1488 echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6 1489 echo "configure:1490: checking for atof in -lm" >&5 1490 ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'` 1366 1491 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1367 1492 echo $ac_n "(cached) $ac_c" 1>&6 … … 1370 1495 LIBS="-lm $LIBS" 1371 1496 cat > conftest.$ac_ext <<EOF 1372 #line 1 373"configure"1497 #line 1498 "configure" 1373 1498 #include "confdefs.h" 1374 1499 /* Override any gcc2 internal prototype to avoid an error. */ 1500 /* We use char because int might match the return type of a gcc2 1501 builtin and then its argument prototype would still apply. */ 1375 1502 char atof(); 1376 1503 1377 int main() { return 0; } 1378 int t() { 1504 int main() { 1379 1505 atof() 1380 1506 ; return 0; } 1381 1507 EOF 1382 if { (eval echo configure:1 383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1508 if { (eval echo configure:1509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1383 1509 rm -rf conftest* 1384 1510 eval "ac_cv_lib_$ac_lib_var=yes" 1385 1511 else 1512 echo "configure: failed program was:" >&5 1513 cat conftest.$ac_ext >&5 1386 1514 rm -rf conftest* 1387 1515 eval "ac_cv_lib_$ac_lib_var=no" … … 1393 1521 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1394 1522 echo "$ac_t""yes" 1>&6 1395 ac_tr_lib=HAVE_LIB`echo m | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 1523 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1524 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1396 1525 cat >> confdefs.h <<EOF 1397 1526 #define $ac_tr_lib 1 … … 1404 1533 fi 1405 1534 1406 echo $ac_n "checking for -lbsd""... $ac_c" 1>&6 1407 ac_lib_var=`echo bsd_socket | tr '.-/+' '___p'` 1535 echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6 1536 echo "configure:1537: checking for socket in -lbsd" >&5 1537 ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'` 1408 1538 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1409 1539 echo $ac_n "(cached) $ac_c" 1>&6 … … 1412 1542 LIBS="-lbsd $LIBS" 1413 1543 cat > conftest.$ac_ext <<EOF 1414 #line 1 415 "configure"1544 #line 1545 "configure" 1415 1545 #include "confdefs.h" 1416 1546 /* Override any gcc2 internal prototype to avoid an error. */ 1547 /* We use char because int might match the return type of a gcc2 1548 builtin and then its argument prototype would still apply. */ 1417 1549 char socket(); 1418 1550 1419 int main() { return 0; } 1420 int t() { 1551 int main() { 1421 1552 socket() 1422 1553 ; return 0; } 1423 1554 EOF 1424 if { (eval echo configure:1 425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1555 if { (eval echo configure:1556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1425 1556 rm -rf conftest* 1426 1557 eval "ac_cv_lib_$ac_lib_var=yes" 1427 1558 else 1559 echo "configure: failed program was:" >&5 1560 cat conftest.$ac_ext >&5 1428 1561 rm -rf conftest* 1429 1562 eval "ac_cv_lib_$ac_lib_var=no" … … 1435 1568 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1436 1569 echo "$ac_t""yes" 1>&6 1437 ac_tr_lib=HAVE_LIB`echo bsd | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 1570 ac_tr_lib=HAVE_LIB`echo bsd | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1571 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1438 1572 cat >> confdefs.h <<EOF 1439 1573 #define $ac_tr_lib 1 … … 1446 1580 fi 1447 1581 1448 echo $ac_n "checking for -lsocket""... $ac_c" 1>&6 1449 ac_lib_var=`echo socket_listen | tr '.-/+' '___p'` 1582 echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6 1583 echo "configure:1584: checking for listen in -lsocket" >&5 1584 ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'` 1450 1585 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1451 1586 echo $ac_n "(cached) $ac_c" 1>&6 … … 1454 1589 LIBS="-lsocket $LIBS" 1455 1590 cat > conftest.$ac_ext <<EOF 1456 #line 1 457"configure"1591 #line 1592 "configure" 1457 1592 #include "confdefs.h" 1458 1593 /* Override any gcc2 internal prototype to avoid an error. */ 1594 /* We use char because int might match the return type of a gcc2 1595 builtin and then its argument prototype would still apply. */ 1459 1596 char listen(); 1460 1597 1461 int main() { return 0; } 1462 int t() { 1598 int main() { 1463 1599 listen() 1464 1600 ; return 0; } 1465 1601 EOF 1466 if { (eval echo configure:1 467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1602 if { (eval echo configure:1603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1467 1603 rm -rf conftest* 1468 1604 eval "ac_cv_lib_$ac_lib_var=yes" 1469 1605 else 1606 echo "configure: failed program was:" >&5 1607 cat conftest.$ac_ext >&5 1470 1608 rm -rf conftest* 1471 1609 eval "ac_cv_lib_$ac_lib_var=no" … … 1477 1615 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1478 1616 echo "$ac_t""yes" 1>&6 1479 ac_tr_lib=HAVE_LIB`echo socket | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 1617 ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1618 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1480 1619 cat >> confdefs.h <<EOF 1481 1620 #define $ac_tr_lib 1 … … 1488 1627 fi 1489 1628 1490 echo $ac_n "checking for -lnsl""... $ac_c" 1>&6 1491 ac_lib_var=`echo nsl_gethostbyname | tr '.-/+' '___p'` 1629 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 1630 echo "configure:1631: checking for gethostbyname in -lnsl" >&5 1631 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 1492 1632 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1493 1633 echo $ac_n "(cached) $ac_c" 1>&6 … … 1496 1636 LIBS="-lnsl $LIBS" 1497 1637 cat > conftest.$ac_ext <<EOF 1498 #line 1 499 "configure"1638 #line 1639 "configure" 1499 1639 #include "confdefs.h" 1500 1640 /* Override any gcc2 internal prototype to avoid an error. */ 1641 /* We use char because int might match the return type of a gcc2 1642 builtin and then its argument prototype would still apply. */ 1501 1643 char gethostbyname(); 1502 1644 1503 int main() { return 0; } 1504 int t() { 1645 int main() { 1505 1646 gethostbyname() 1506 1647 ; return 0; } 1507 1648 EOF 1508 if { (eval echo configure:1 509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1649 if { (eval echo configure:1650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1509 1650 rm -rf conftest* 1510 1651 eval "ac_cv_lib_$ac_lib_var=yes" 1511 1652 else 1653 echo "configure: failed program was:" >&5 1654 cat conftest.$ac_ext >&5 1512 1655 rm -rf conftest* 1513 1656 eval "ac_cv_lib_$ac_lib_var=no" … … 1519 1662 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1520 1663 echo "$ac_t""yes" 1>&6 1521 ac_tr_lib=HAVE_LIB`echo nsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 1664 ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1665 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1522 1666 cat >> confdefs.h <<EOF 1523 1667 #define $ac_tr_lib 1 … … 1530 1674 fi 1531 1675 1532 echo $ac_n "checking for -lucb""... $ac_c" 1>&6 1533 ac_lib_var=`echo ucb_index | tr '.-/+' '___p'` 1676 echo $ac_n "checking for index in -lucb""... $ac_c" 1>&6 1677 echo "configure:1678: checking for index in -lucb" >&5 1678 ac_lib_var=`echo ucb'_'index | sed 'y%./+-%__p_%'` 1534 1679 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1535 1680 echo $ac_n "(cached) $ac_c" 1>&6 … … 1538 1683 LIBS="-lucb $LIBS" 1539 1684 cat > conftest.$ac_ext <<EOF 1540 #line 1 541"configure"1685 #line 1686 "configure" 1541 1686 #include "confdefs.h" 1542 1687 /* Override any gcc2 internal prototype to avoid an error. */ 1543 char index(); 1544 1545 int main() { return 0; } 1546 int t() { 1688 /* We use char because int might match the return type of a gcc2 1689 builtin and then its argument prototype would still apply. */ 1690 char ; 1691 1692 int main() { 1547 1693 index() 1548 1694 ; return 0; } 1549 1695 EOF 1550 if { (eval echo configure:1 551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1696 if { (eval echo configure:1697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1551 1697 rm -rf conftest* 1552 1698 eval "ac_cv_lib_$ac_lib_var=yes" 1553 1699 else 1700 echo "configure: failed program was:" >&5 1701 cat conftest.$ac_ext >&5 1554 1702 rm -rf conftest* 1555 1703 eval "ac_cv_lib_$ac_lib_var=no" … … 1561 1709 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1562 1710 echo "$ac_t""yes" 1>&6 1563 ac_tr_lib=HAVE_LIB`echo ucb | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 1711 ac_tr_lib=HAVE_LIB`echo ucb | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1712 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1564 1713 cat >> confdefs.h <<EOF 1565 1714 #define $ac_tr_lib 1 … … 1574 1723 1575 1724 # heder file checks 1576 # If we cannot run a trivial program, we must be cross compiling.1577 echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&61578 if eval "test \"`echo '$''{'ac_cv_c_cross'+set}'`\" = set"; then1579 echo $ac_n "(cached) $ac_c" 1>&61580 else1581 if test "$cross_compiling" = yes; then1582 ac_cv_c_cross=yes1583 else1584 cat > conftest.$ac_ext <<EOF1585 #line 1586 "configure"1586 #include "confdefs.h"1587 main(){return(0);}1588 EOF1589 { (eval echo configure:1590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }1590 if test -s conftest && (./conftest; exit) 2>/dev/null; then1591 ac_cv_c_cross=no1592 else1593 ac_cv_c_cross=yes1594 fi1595 fi1596 rm -fr conftest*1597 fi1598 1599 echo "$ac_t""$ac_cv_c_cross" 1>&61600 cross_compiling=$ac_cv_c_cross1601 1602 1725 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 1726 echo "configure:1727: checking for ANSI C header files" >&5 1603 1727 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 1604 1728 echo $ac_n "(cached) $ac_c" 1>&6 1605 1729 else 1606 1730 cat > conftest.$ac_ext <<EOF 1607 #line 1 608"configure"1731 #line 1732 "configure" 1608 1732 #include "confdefs.h" 1609 1733 #include <stdlib.h> … … 1613 1737 EOF 1614 1738 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1615 { (eval echo configure:1 616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1739 { (eval echo configure:1740: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1616 1740 ac_err=`grep -v '^ *+' conftest.out` 1617 1741 if test -z "$ac_err"; then … … 1620 1744 else 1621 1745 echo "$ac_err" >&5 1746 echo "configure: failed program was:" >&5 1747 cat conftest.$ac_ext >&5 1622 1748 rm -rf conftest* 1623 1749 ac_cv_header_stdc=no … … 1628 1754 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1629 1755 cat > conftest.$ac_ext <<EOF 1630 #line 1 631"configure"1756 #line 1757 "configure" 1631 1757 #include "confdefs.h" 1632 1758 #include <string.h> … … 1646 1772 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1647 1773 cat > conftest.$ac_ext <<EOF 1648 #line 1 649"configure"1774 #line 1775 "configure" 1649 1775 #include "confdefs.h" 1650 1776 #include <stdlib.h> … … 1666 1792 : 1667 1793 else 1668 cat > conftest.$ac_ext <<EOF1669 #line 1 670"configure"1794 cat > conftest.$ac_ext <<EOF 1795 #line 1796 "configure" 1670 1796 #include "confdefs.h" 1671 1797 #include <ctype.h> … … 1678 1804 1679 1805 EOF 1680 { (eval echo configure:1681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 1681 if test -s conftest && (./conftest; exit) 2>/dev/null;then1806 if { (eval echo configure:1807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 1807 then 1682 1808 : 1683 1809 else 1810 echo "configure: failed program was:" >&5 1811 cat conftest.$ac_ext >&5 1812 rm -fr conftest* 1684 1813 ac_cv_header_stdc=no 1685 1814 fi 1686 fi1687 1815 rm -fr conftest* 1816 fi 1817 1688 1818 fi 1689 1819 fi … … 1699 1829 for ac_hdr in limits.h unistd.h 1700 1830 do 1701 ac_safe=`echo "$ac_hdr" | tr './\055' '___'`1831 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1702 1832 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1833 echo "configure:1834: checking for $ac_hdr" >&5 1703 1834 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1704 1835 echo $ac_n "(cached) $ac_c" 1>&6 1705 1836 else 1706 1837 cat > conftest.$ac_ext <<EOF 1707 #line 1 708"configure"1838 #line 1839 "configure" 1708 1839 #include "confdefs.h" 1709 1840 #include <$ac_hdr> 1710 1841 EOF 1711 1842 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1712 { (eval echo configure:1 713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1843 { (eval echo configure:1844: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1713 1844 ac_err=`grep -v '^ *+' conftest.out` 1714 1845 if test -z "$ac_err"; then … … 1717 1848 else 1718 1849 echo "$ac_err" >&5 1850 echo "configure: failed program was:" >&5 1851 cat conftest.$ac_ext >&5 1719 1852 rm -rf conftest* 1720 1853 eval "ac_cv_header_$ac_safe=no" … … 1724 1857 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 1725 1858 echo "$ac_t""yes" 1>&6 1726 ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`1859 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 1727 1860 cat >> confdefs.h <<EOF 1728 1861 #define $ac_tr_hdr 1 … … 1738 1871 for ac_hdr in sys/file.h sys/ioctl.h sys/time.h sys/times.h sys/types.h sys/stat.h fcntl.h sys/param.h pwd.h 1739 1872 do 1740 ac_safe=`echo "$ac_hdr" | tr './\055' '___'`1873 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1741 1874 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1875 echo "configure:1876: checking for $ac_hdr" >&5 1742 1876 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1743 1877 echo $ac_n "(cached) $ac_c" 1>&6 1744 1878 else 1745 1879 cat > conftest.$ac_ext <<EOF 1746 #line 1 747"configure"1880 #line 1881 "configure" 1747 1881 #include "confdefs.h" 1748 1882 #include <$ac_hdr> 1749 1883 EOF 1750 1884 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1751 { (eval echo configure:1 752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1885 { (eval echo configure:1886: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1752 1886 ac_err=`grep -v '^ *+' conftest.out` 1753 1887 if test -z "$ac_err"; then … … 1756 1890 else 1757 1891 echo "$ac_err" >&5 1892 echo "configure: failed program was:" >&5 1893 cat conftest.$ac_ext >&5 1758 1894 rm -rf conftest* 1759 1895 eval "ac_cv_header_$ac_safe=no" … … 1763 1899 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 1764 1900 echo "$ac_t""yes" 1>&6 1765 ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`1901 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 1766 1902 cat >> confdefs.h <<EOF 1767 1903 #define $ac_tr_hdr 1 … … 1776 1912 # typedefs, structures 1777 1913 echo $ac_n "checking for working const""... $ac_c" 1>&6 1914 echo "configure:1915: checking for working const" >&5 1778 1915 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 1779 1916 echo $ac_n "(cached) $ac_c" 1>&6 1780 1917 else 1781 1918 cat > conftest.$ac_ext <<EOF 1782 #line 1783 "configure" 1783 #include "confdefs.h" 1784 1785 int main() { return 0; } 1786 int t() { 1919 #line 1920 "configure" 1920 #include "confdefs.h" 1921 1922 int main() { 1787 1923 1788 1924 /* Ultrix mips cc rejects this. */ … … 1830 1966 ; return 0; } 1831 1967 EOF 1832 if { (eval echo configure:1 833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1968 if { (eval echo configure:1969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1833 1969 rm -rf conftest* 1834 1970 ac_cv_c_const=yes 1835 1971 else 1972 echo "configure: failed program was:" >&5 1973 cat conftest.$ac_ext >&5 1836 1974 rm -rf conftest* 1837 1975 ac_cv_c_const=no 1838 1976 fi 1839 1977 rm -f conftest* 1840 1841 1978 fi 1842 1979 … … 1850 1987 1851 1988 echo $ac_n "checking for inline""... $ac_c" 1>&6 1989 echo "configure:1990: checking for inline" >&5 1852 1990 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 1853 1991 echo $ac_n "(cached) $ac_c" 1>&6 … … 1856 1994 for ac_kw in inline __inline__ __inline; do 1857 1995 cat > conftest.$ac_ext <<EOF 1858 #line 1859 "configure" 1859 #include "confdefs.h" 1860 1861 int main() { return 0; } 1862 int t() { 1996 #line 1997 "configure" 1997 #include "confdefs.h" 1998 1999 int main() { 1863 2000 } $ac_kw foo() { 1864 2001 ; return 0; } 1865 2002 EOF 1866 if { (eval echo configure: 1867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2003 if { (eval echo configure:2004: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1867 2004 rm -rf conftest* 1868 2005 ac_cv_c_inline=$ac_kw; break 1869 fi 1870 rm -f conftest* 1871 2006 else 2007 echo "configure: failed program was:" >&5 2008 cat conftest.$ac_ext >&5 2009 fi 2010 rm -f conftest* 1872 2011 done 1873 2012 … … 1888 2027 1889 2028 echo $ac_n "checking for size_t""... $ac_c" 1>&6 2029 echo "configure:2030: checking for size_t" >&5 1890 2030 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 1891 2031 echo $ac_n "(cached) $ac_c" 1>&6 1892 2032 else 1893 2033 cat > conftest.$ac_ext <<EOF 1894 #line 1895 "configure"2034 #line 2035 "configure" 1895 2035 #include "confdefs.h" 1896 2036 #include <sys/types.h> 1897 2037 #if STDC_HEADERS 1898 2038 #include <stdlib.h> 2039 #include <stddef.h> 1899 2040 #endif 1900 2041 EOF 1901 2042 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1902 egrep "size_t " >/dev/null 2>&1; then2043 egrep "size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then 1903 2044 rm -rf conftest* 1904 2045 ac_cv_type_size_t=yes … … 1919 2060 1920 2061 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 2062 echo "configure:2063: checking whether time.h and sys/time.h may both be included" >&5 1921 2063 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 1922 2064 echo $ac_n "(cached) $ac_c" 1>&6 1923 2065 else 1924 2066 cat > conftest.$ac_ext <<EOF 1925 #line 1926"configure"2067 #line 2068 "configure" 1926 2068 #include "confdefs.h" 1927 2069 #include <sys/types.h> 1928 2070 #include <sys/time.h> 1929 2071 #include <time.h> 1930 int main() { return 0; } 1931 int t() { 2072 int main() { 1932 2073 struct tm *tp; 1933 2074 ; return 0; } 1934 2075 EOF 1935 if { (eval echo configure: 1936: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2076 if { (eval echo configure:2077: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1936 2077 rm -rf conftest* 1937 2078 ac_cv_header_time=yes 1938 2079 else 2080 echo "configure: failed program was:" >&5 2081 cat conftest.$ac_ext >&5 1939 2082 rm -rf conftest* 1940 2083 ac_cv_header_time=no 1941 2084 fi 1942 2085 rm -f conftest* 1943 1944 2086 fi 1945 2087 … … 1953 2095 1954 2096 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 2097 echo "configure:2098: checking whether struct tm is in sys/time.h or time.h" >&5 1955 2098 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 1956 2099 echo $ac_n "(cached) $ac_c" 1>&6 1957 2100 else 1958 2101 cat > conftest.$ac_ext <<EOF 1959 #line 1960"configure"2102 #line 2103 "configure" 1960 2103 #include "confdefs.h" 1961 2104 #include <sys/types.h> 1962 2105 #include <time.h> 1963 int main() { return 0; } 1964 int t() { 2106 int main() { 1965 2107 struct tm *tp; tp->tm_sec; 1966 2108 ; return 0; } 1967 2109 EOF 1968 if { (eval echo configure: 1969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2110 if { (eval echo configure:2111: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1969 2111 rm -rf conftest* 1970 2112 ac_cv_struct_tm=time.h 1971 2113 else 2114 echo "configure: failed program was:" >&5 2115 cat conftest.$ac_ext >&5 1972 2116 rm -rf conftest* 1973 2117 ac_cv_struct_tm=sys/time.h 1974 2118 fi 1975 2119 rm -f conftest* 1976 1977 2120 fi 1978 2121 … … 1990 2133 # for constant arguments. Useless! 1991 2134 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 2135 echo "configure:2136: checking for working alloca.h" >&5 1992 2136 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 1993 2137 echo $ac_n "(cached) $ac_c" 1>&6 1994 2138 else 1995 2139 cat > conftest.$ac_ext <<EOF 1996 #line 1997"configure"2140 #line 2141 "configure" 1997 2141 #include "confdefs.h" 1998 2142 #include <alloca.h> 1999 int main() { return 0; } 2000 int t() { 2143 int main() { 2001 2144 char *p = alloca(2 * sizeof(int)); 2002 2145 ; return 0; } 2003 2146 EOF 2004 if { (eval echo configure:2 005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2147 if { (eval echo configure:2148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2005 2148 rm -rf conftest* 2006 2149 ac_cv_header_alloca_h=yes 2007 2150 else 2151 echo "configure: failed program was:" >&5 2152 cat conftest.$ac_ext >&5 2008 2153 rm -rf conftest* 2009 2154 ac_cv_header_alloca_h=no 2010 2155 fi 2011 2156 rm -f conftest* 2012 2013 2157 fi 2014 2158 … … 2022 2166 2023 2167 echo $ac_n "checking for alloca""... $ac_c" 1>&6 2024 if eval "test \"`echo '$''{'ac_cv_func_alloca'+set}'`\" = set"; then 2168 echo "configure:2169: checking for alloca" >&5 2169 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 2025 2170 echo $ac_n "(cached) $ac_c" 1>&6 2026 2171 else 2027 2172 cat > conftest.$ac_ext <<EOF 2028 #line 2 029"configure"2173 #line 2174 "configure" 2029 2174 #include "confdefs.h" 2030 2175 … … 2045 2190 #endif 2046 2191 2047 int main() { return 0; } 2048 int t() { 2192 int main() { 2049 2193 char *p = (char *) alloca(1); 2050 2194 ; return 0; } 2051 2195 EOF 2052 if { (eval echo configure:2053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 2053 rm -rf conftest* 2054 ac_cv_func_alloca=yes 2055 else 2056 rm -rf conftest* 2057 ac_cv_func_alloca=no 2058 fi 2059 rm -f conftest* 2060 2061 fi 2062 2063 echo "$ac_t""$ac_cv_func_alloca" 1>&6 2064 if test $ac_cv_func_alloca = yes; then 2196 if { (eval echo configure:2197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2197 rm -rf conftest* 2198 ac_cv_func_alloca_works=yes 2199 else 2200 echo "configure: failed program was:" >&5 2201 cat conftest.$ac_ext >&5 2202 rm -rf conftest* 2203 ac_cv_func_alloca_works=no 2204 fi 2205 rm -f conftest* 2206 fi 2207 2208 echo "$ac_t""$ac_cv_func_alloca_works" 1>&6 2209 if test $ac_cv_func_alloca_works = yes; then 2065 2210 cat >> confdefs.h <<\EOF 2066 2211 #define HAVE_ALLOCA 1 … … 2069 2214 fi 2070 2215 2071 if test $ac_cv_func_alloca = no; then2216 if test $ac_cv_func_alloca_works = no; then 2072 2217 # The SVR3 libPW and SVR4 libucb both contain incompatible functions 2073 2218 # that cause trouble. Some versions do not even contain alloca or … … 2081 2226 2082 2227 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 2228 echo "configure:2229: checking whether alloca needs Cray hooks" >&5 2083 2229 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 2084 2230 echo $ac_n "(cached) $ac_c" 1>&6 2085 2231 else 2086 2232 cat > conftest.$ac_ext <<EOF 2087 #line 2 088"configure"2233 #line 2234 "configure" 2088 2234 #include "confdefs.h" 2089 2235 #if defined(CRAY) && ! defined(CRAY2) … … 2110 2256 for ac_func in _getb67 GETB67 getb67; do 2111 2257 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2258 echo "configure:2259: checking for $ac_func" >&5 2112 2259 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2113 2260 echo $ac_n "(cached) $ac_c" 1>&6 2114 2261 else 2115 2262 cat > conftest.$ac_ext <<EOF 2116 #line 2 117"configure"2263 #line 2264 "configure" 2117 2264 #include "confdefs.h" 2118 2265 /* System header to define __stub macros and hopefully few prototypes, … … 2120 2267 #include <assert.h> 2121 2268 /* Override any gcc2 internal prototype to avoid an error. */ 2269 /* We use char because int might match the return type of a gcc2 2270 builtin and then its argument prototype would still apply. */ 2122 2271 char $ac_func(); 2123 2272 2124 int main() { return 0; } 2125 int t() { 2273 int main() { 2126 2274 2127 2275 /* The GNU C library defines this for functions which it implements … … 2136 2284 ; return 0; } 2137 2285 EOF 2138 if { (eval echo configure:2 139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2286 if { (eval echo configure:2287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2139 2287 rm -rf conftest* 2140 2288 eval "ac_cv_func_$ac_func=yes" 2141 2289 else 2290 echo "configure: failed program was:" >&5 2291 cat conftest.$ac_ext >&5 2142 2292 rm -rf conftest* 2143 2293 eval "ac_cv_func_$ac_func=no" 2144 2294 fi 2145 2295 rm -f conftest* 2146 2147 fi 2296 fi 2297 2148 2298 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then 2149 2299 echo "$ac_t""yes" 1>&6 … … 2161 2311 2162 2312 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 2313 echo "configure:2314: checking stack direction for C alloca" >&5 2163 2314 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 2164 2315 echo $ac_n "(cached) $ac_c" 1>&6 … … 2167 2318 ac_cv_c_stack_direction=0 2168 2319 else 2169 cat > conftest.$ac_ext <<EOF2170 #line 2 171"configure"2320 cat > conftest.$ac_ext <<EOF 2321 #line 2322 "configure" 2171 2322 #include "confdefs.h" 2172 2323 find_stack_direction () … … 2187 2338 } 2188 2339 EOF 2189 { (eval echo configure:2190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 2190 if test -s conftest && (./conftest; exit) 2>/dev/null;then2340 if { (eval echo configure:2341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 2341 then 2191 2342 ac_cv_c_stack_direction=1 2192 2343 else 2344 echo "configure: failed program was:" >&5 2345 cat conftest.$ac_ext >&5 2346 rm -fr conftest* 2193 2347 ac_cv_c_stack_direction=-1 2194 2348 fi 2195 fi2196 2349 rm -fr conftest* 2350 fi 2351 2197 2352 fi 2198 2353 … … 2206 2361 if test $ac_cv_prog_gcc = yes; then 2207 2362 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 2363 echo "configure:2364: checking whether ${CC-cc} needs -traditional" >&5 2208 2364 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then 2209 2365 echo $ac_n "(cached) $ac_c" 1>&6 … … 2211 2367 ac_pattern="Autoconf.*'x'" 2212 2368 cat > conftest.$ac_ext <<EOF 2213 #line 2 214"configure"2369 #line 2370 "configure" 2214 2370 #include "confdefs.h" 2215 2371 #include <sgtty.h> … … 2229 2385 if test $ac_cv_prog_gcc_traditional = no; then 2230 2386 cat > conftest.$ac_ext <<EOF 2231 #line 2 232"configure"2387 #line 2388 "configure" 2232 2388 #include "confdefs.h" 2233 2389 #include <termio.h> … … 2250 2406 fi 2251 2407 2252 for ac_func in valloc getpagesize 2408 for ac_hdr in unistd.h 2409 do 2410 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2411 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2412 echo "configure:2413: checking for $ac_hdr" >&5 2413 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2414 echo $ac_n "(cached) $ac_c" 1>&6 2415 else 2416 cat > conftest.$ac_ext <<EOF 2417 #line 2418 "configure" 2418 #include "confdefs.h" 2419 #include <$ac_hdr> 2420 EOF 2421 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2422 { (eval echo configure:2423: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2423 ac_err=`grep -v '^ *+' conftest.out` 2424 if test -z "$ac_err"; then 2425 rm -rf conftest* 2426 eval "ac_cv_header_$ac_safe=yes" 2427 else 2428 echo "$ac_err" >&5 2429 echo "configure: failed program was:" >&5 2430 cat conftest.$ac_ext >&5 2431 rm -rf conftest* 2432 eval "ac_cv_header_$ac_safe=no" 2433 fi 2434 rm -f conftest* 2435 fi 2436 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 2437 echo "$ac_t""yes" 1>&6 2438 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 2439 cat >> confdefs.h <<EOF 2440 #define $ac_tr_hdr 1 2441 EOF 2442 2443 else 2444 echo "$ac_t""no" 1>&6 2445 fi 2446 done 2447 2448 for ac_func in getpagesize 2253 2449 do 2254 2450 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2451 echo "configure:2452: checking for $ac_func" >&5 2255 2452 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2256 2453 echo $ac_n "(cached) $ac_c" 1>&6 2257 2454 else 2258 2455 cat > conftest.$ac_ext <<EOF 2259 #line 2 260"configure"2456 #line 2457 "configure" 2260 2457 #include "confdefs.h" 2261 2458 /* System header to define __stub macros and hopefully few prototypes, … … 2263 2460 #include <assert.h> 2264 2461 /* Override any gcc2 internal prototype to avoid an error. */ 2462 /* We use char because int might match the return type of a gcc2 2463 builtin and then its argument prototype would still apply. */ 2265 2464 char $ac_func(); 2266 2465 2267 int main() { return 0; } 2268 int t() { 2466 int main() { 2269 2467 2270 2468 /* The GNU C library defines this for functions which it implements … … 2279 2477 ; return 0; } 2280 2478 EOF 2281 if { (eval echo configure:2 282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2479 if { (eval echo configure:2480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2282 2480 rm -rf conftest* 2283 2481 eval "ac_cv_func_$ac_func=yes" 2284 2482 else 2483 echo "configure: failed program was:" >&5 2484 cat conftest.$ac_ext >&5 2285 2485 rm -rf conftest* 2286 2486 eval "ac_cv_func_$ac_func=no" 2287 2487 fi 2288 2488 rm -f conftest* 2289 2290 fi 2489 fi 2490 2291 2491 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then 2292 2492 echo "$ac_t""yes" 1>&6 … … 2302 2502 2303 2503 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 2304 if eval "test \"`echo '$''{'ac_cv_func_mmap'+set}'`\" = set"; then 2504 echo "configure:2505: checking for working mmap" >&5 2505 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 2305 2506 echo $ac_n "(cached) $ac_c" 1>&6 2306 2507 else 2307 2508 if test "$cross_compiling" = yes; then 2308 ac_cv_func_mmap=no 2309 else 2310 cat > conftest.$ac_ext <<EOF 2311 #line 2312 "configure" 2312 #include "confdefs.h" 2313 2314 /* Thanks to Mike Haertel and Jim Avera for this test. */ 2509 ac_cv_func_mmap_fixed_mapped=no 2510 else 2511 cat > conftest.$ac_ext <<EOF 2512 #line 2513 "configure" 2513 #include "confdefs.h" 2514 2515 /* Thanks to Mike Haertel and Jim Avera for this test. 2516 Here is a matrix of mmap possibilities: 2517 mmap private not fixed 2518 mmap private fixed at somewhere currently unmapped 2519 mmap private fixed at somewhere already mapped 2520 mmap shared not fixed 2521 mmap shared fixed at somewhere currently unmapped 2522 mmap shared fixed at somewhere already mapped 2523 For private mappings, we should verify that changes cannot be read() 2524 back from the file, nor mmap's back from the file at a different 2525 address. (There have been systems where private was not correctly 2526 implemented like the infamous i386 svr4.0, and systems where the 2527 VM page cache was not coherent with the filesystem buffer cache 2528 like early versions of FreeBSD and possibly contemporary NetBSD.) 2529 For shared mappings, we should conversely verify that changes get 2530 propogated back to all the places they're supposed to be. 2531 2532 Grep wants private fixed already mapped. 2533 The main things grep needs to know about mmap are: 2534 * does it exist and is it safe to write into the mmap'd area 2535 * how to use it (BSD variants) */ 2315 2536 #include <sys/types.h> 2316 2537 #include <fcntl.h> 2317 2538 #include <sys/mman.h> 2318 2539 2540 /* This mess was copied from the GNU getpagesize.h. */ 2319 2541 #ifndef HAVE_GETPAGESIZE 2320 # include <sys/param.h> 2321 # ifdef EXEC_PAGESIZE 2322 # define getpagesize() EXEC_PAGESIZE 2323 # else 2324 # ifdef NBPG 2325 # define getpagesize() NBPG * CLSIZE 2326 # ifndef CLSIZE 2327 # define CLSIZE 1 2328 # endif 2329 # else 2330 # ifdef NBPC 2331 # define getpagesize() NBPC 2332 # else 2333 # define getpagesize() PAGESIZE /* SVR4 */ 2334 # endif 2335 # endif 2542 # ifdef HAVE_UNISTD_H 2543 # include <unistd.h> 2336 2544 # endif 2337 #endif 2338 2339 #ifndef HAVE_VALLOC 2340 # define valloc malloc 2341 #endif 2545 2546 /* Assume that all systems that can run configure have sys/param.h. */ 2547 # ifndef HAVE_SYS_PARAM_H 2548 # define HAVE_SYS_PARAM_H 1 2549 # endif 2550 2551 # ifdef _SC_PAGESIZE 2552 # define getpagesize() sysconf(_SC_PAGESIZE) 2553 # else /* no _SC_PAGESIZE */ 2554 # ifdef HAVE_SYS_PARAM_H 2555 # include <sys/param.h> 2556 # ifdef EXEC_PAGESIZE 2557 # define getpagesize() EXEC_PAGESIZE 2558 # else /* no EXEC_PAGESIZE */ 2559 # ifdef NBPG 2560 # define getpagesize() NBPG * CLSIZE 2561 # ifndef CLSIZE 2562 # define CLSIZE 1 2563 # endif /* no CLSIZE */ 2564 # else /* no NBPG */ 2565 # ifdef NBPC 2566 # define getpagesize() NBPC 2567 # else /* no NBPC */ 2568 # ifdef PAGESIZE 2569 # define getpagesize() PAGESIZE 2570 # endif /* PAGESIZE */ 2571 # endif /* no NBPC */ 2572 # endif /* no NBPG */ 2573 # endif /* no EXEC_PAGESIZE */ 2574 # else /* no HAVE_SYS_PARAM_H */ 2575 # define getpagesize() 8192 /* punt totally */ 2576 # endif /* no HAVE_SYS_PARAM_H */ 2577 # endif /* no _SC_PAGESIZE */ 2578 2579 #endif /* no HAVE_GETPAGESIZE */ 2342 2580 2343 2581 #ifdef __cplusplus 2344 extern "C" { void * valloc(unsigned), *malloc(unsigned); }2582 extern "C" { void *malloc(unsigned); } 2345 2583 #else 2346 char * valloc(), *malloc();2584 char *malloc(); 2347 2585 #endif 2348 2586 … … 2350 2588 main() 2351 2589 { 2352 char *buf1, *buf2, *buf3; 2353 int i = getpagesize(), j; 2354 int i2 = i * 2; 2355 int fd; 2356 2357 buf1 = (char *)valloc(i2); 2358 buf2 = (char *)valloc(i); 2359 buf3 = (char *)malloc(i2); 2360 for (j = 0; j < i2; ++j) 2361 *(buf1 + j) = rand(); 2362 fd = open("conftestmmap", O_CREAT | O_RDWR, 0666); 2363 write(fd, buf1, i2); 2364 mmap(buf2, i, PROT_READ | PROT_WRITE, MAP_FIXED | MAP_PRIVATE, fd, 0); 2365 for (j = 0; j < i; ++j) 2366 if (*(buf1 + j) != *(buf2 + j)) 2367 exit(1); 2368 lseek(fd, (long)i, 0); 2369 read(fd, buf2, i); /* read into mapped memory -- file should not change */ 2370 /* (it does in i386 SVR4.0 - Jim Avera, jima@netcom.com) */ 2371 lseek(fd, (long)0, 0); 2372 read(fd, buf3, i2); 2373 for (j = 0; j < i2; ++j) 2374 if (*(buf1 + j) != *(buf3 + j)) 2375 exit(1); 2376 exit(0); 2590 char *data, *data2, *data3; 2591 int i, pagesize; 2592 int fd; 2593 2594 pagesize = getpagesize(); 2595 2596 /* 2597 * First, make a file with some known garbage in it. 2598 */ 2599 data = malloc(pagesize); 2600 if (!data) 2601 exit(1); 2602 for (i = 0; i < pagesize; ++i) 2603 *(data + i) = rand(); 2604 umask(0); 2605 fd = creat("conftestmmap", 0600); 2606 if (fd < 0) 2607 exit(1); 2608 if (write(fd, data, pagesize) != pagesize) 2609 exit(1); 2610 close(fd); 2611 2612 /* 2613 * Next, try to mmap the file at a fixed address which 2614 * already has something else allocated at it. If we can, 2615 * also make sure that we see the same garbage. 2616 */ 2617 fd = open("conftestmmap", O_RDWR); 2618 if (fd < 0) 2619 exit(1); 2620 data2 = malloc(2 * pagesize); 2621 if (!data2) 2622 exit(1); 2623 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); 2624 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE, 2625 MAP_PRIVATE | MAP_FIXED, fd, 0L)) 2626 exit(1); 2627 for (i = 0; i < pagesize; ++i) 2628 if (*(data + i) != *(data2 + i)) 2629 exit(1); 2630 2631 /* 2632 * Finally, make sure that changes to the mapped area 2633 * do not percolate back to the file as seen by read(). 2634 * (This is a bug on some variants of i386 svr4.0.) 2635 */ 2636 for (i = 0; i < pagesize; ++i) 2637 *(data2 + i) = *(data2 + i) + 1; 2638 data3 = malloc(pagesize); 2639 if (!data3) 2640 exit(1); 2641 if (read(fd, data3, pagesize) != pagesize) 2642 exit(1); 2643 for (i = 0; i < pagesize; ++i) 2644 if (*(data + i) != *(data3 + i)) 2645 exit(1); 2646 close(fd); 2647 unlink("conftestmmap"); 2648 exit(0); 2377 2649 } 2378 2650 2379 2651 EOF 2380 { (eval echo configure:2381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 2381 if test -s conftest && (./conftest; exit) 2>/dev/null; then 2382 ac_cv_func_mmap=yes 2383 else 2384 ac_cv_func_mmap=no 2385 fi 2652 if { (eval echo configure:2653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 2653 then 2654 ac_cv_func_mmap_fixed_mapped=yes 2655 else 2656 echo "configure: failed program was:" >&5 2657 cat conftest.$ac_ext >&5 2658 rm -fr conftest* 2659 ac_cv_func_mmap_fixed_mapped=no 2386 2660 fi 2387 2661 rm -fr conftest* 2388 2662 fi 2389 2663 2390 echo "$ac_t""$ac_cv_func_mmap" 1>&6 2391 if test $ac_cv_func_mmap = yes; then 2664 fi 2665 2666 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6 2667 if test $ac_cv_func_mmap_fixed_mapped = yes; then 2392 2668 cat >> confdefs.h <<\EOF 2393 2669 #define HAVE_MMAP 1 … … 2397 2673 2398 2674 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 2675 echo "configure:2676: checking return type of signal handlers" >&5 2399 2676 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 2400 2677 echo $ac_n "(cached) $ac_c" 1>&6 2401 2678 else 2402 2679 cat > conftest.$ac_ext <<EOF 2403 #line 2 404"configure"2680 #line 2681 "configure" 2404 2681 #include "confdefs.h" 2405 2682 #include <sys/types.h> … … 2414 2691 #endif 2415 2692 2416 int main() { return 0; } 2417 int t() { 2693 int main() { 2418 2694 int i; 2419 2695 ; return 0; } 2420 2696 EOF 2421 if { (eval echo configure:2 422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2697 if { (eval echo configure:2698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2422 2698 rm -rf conftest* 2423 2699 ac_cv_type_signal=void 2424 2700 else 2701 echo "configure: failed program was:" >&5 2702 cat conftest.$ac_ext >&5 2425 2703 rm -rf conftest* 2426 2704 ac_cv_type_signal=int 2427 2705 fi 2428 2706 rm -f conftest* 2429 2430 2707 fi 2431 2708 … … 2437 2714 2438 2715 echo $ac_n "checking for vprintf""... $ac_c" 1>&6 2716 echo "configure:2717: checking for vprintf" >&5 2439 2717 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then 2440 2718 echo $ac_n "(cached) $ac_c" 1>&6 2441 2719 else 2442 2720 cat > conftest.$ac_ext <<EOF 2443 #line 2 444"configure"2721 #line 2722 "configure" 2444 2722 #include "confdefs.h" 2445 2723 /* System header to define __stub macros and hopefully few prototypes, … … 2447 2725 #include <assert.h> 2448 2726 /* Override any gcc2 internal prototype to avoid an error. */ 2727 /* We use char because int might match the return type of a gcc2 2728 builtin and then its argument prototype would still apply. */ 2449 2729 char vprintf(); 2450 2730 2451 int main() { return 0; } 2452 int t() { 2731 int main() { 2453 2732 2454 2733 /* The GNU C library defines this for functions which it implements … … 2463 2742 ; return 0; } 2464 2743 EOF 2465 if { (eval echo configure:2 466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2744 if { (eval echo configure:2745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2466 2745 rm -rf conftest* 2467 2746 eval "ac_cv_func_vprintf=yes" 2468 2747 else 2748 echo "configure: failed program was:" >&5 2749 cat conftest.$ac_ext >&5 2469 2750 rm -rf conftest* 2470 2751 eval "ac_cv_func_vprintf=no" 2471 2752 fi 2472 2753 rm -f conftest* 2473 2474 fi 2754 fi 2755 2475 2756 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then 2476 2757 echo "$ac_t""yes" 1>&6 … … 2485 2766 if test "$ac_cv_func_vprintf" != yes; then 2486 2767 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 2768 echo "configure:2769: checking for _doprnt" >&5 2487 2769 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then 2488 2770 echo $ac_n "(cached) $ac_c" 1>&6 2489 2771 else 2490 2772 cat > conftest.$ac_ext <<EOF 2491 #line 2 492"configure"2773 #line 2774 "configure" 2492 2774 #include "confdefs.h" 2493 2775 /* System header to define __stub macros and hopefully few prototypes, … … 2495 2777 #include <assert.h> 2496 2778 /* Override any gcc2 internal prototype to avoid an error. */ 2779 /* We use char because int might match the return type of a gcc2 2780 builtin and then its argument prototype would still apply. */ 2497 2781 char _doprnt(); 2498 2782 2499 int main() { return 0; } 2500 int t() { 2783 int main() { 2501 2784 2502 2785 /* The GNU C library defines this for functions which it implements … … 2511 2794 ; return 0; } 2512 2795 EOF 2513 if { (eval echo configure:2 514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2796 if { (eval echo configure:2797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2514 2797 rm -rf conftest* 2515 2798 eval "ac_cv_func__doprnt=yes" 2516 2799 else 2800 echo "configure: failed program was:" >&5 2801 cat conftest.$ac_ext >&5 2517 2802 rm -rf conftest* 2518 2803 eval "ac_cv_func__doprnt=no" 2519 2804 fi 2520 2805 rm -f conftest* 2521 2522 fi 2806 fi 2807 2523 2808 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then 2524 2809 echo "$ac_t""yes" 1>&6 … … 2536 2821 do 2537 2822 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2823 echo "configure:2824: checking for $ac_func" >&5 2538 2824 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2539 2825 echo $ac_n "(cached) $ac_c" 1>&6 2540 2826 else 2541 2827 cat > conftest.$ac_ext <<EOF 2542 #line 2 543"configure"2828 #line 2829 "configure" 2543 2829 #include "confdefs.h" 2544 2830 /* System header to define __stub macros and hopefully few prototypes, … … 2546 2832 #include <assert.h> 2547 2833 /* Override any gcc2 internal prototype to avoid an error. */ 2834 /* We use char because int might match the return type of a gcc2 2835 builtin and then its argument prototype would still apply. */ 2548 2836 char $ac_func(); 2549 2837 2550 int main() { return 0; } 2551 int t() { 2838 int main() { 2552 2839 2553 2840 /* The GNU C library defines this for functions which it implements … … 2562 2849 ; return 0; } 2563 2850 EOF 2564 if { (eval echo configure:2 565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2851 if { (eval echo configure:2852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2565 2852 rm -rf conftest* 2566 2853 eval "ac_cv_func_$ac_func=yes" 2567 2854 else 2855 echo "configure: failed program was:" >&5 2856 cat conftest.$ac_ext >&5 2568 2857 rm -rf conftest* 2569 2858 eval "ac_cv_func_$ac_func=no" 2570 2859 fi 2571 2860 rm -f conftest* 2572 2573 fi 2861 fi 2862 2574 2863 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then 2575 2864 echo "$ac_t""yes" 1>&6 … … 2588 2877 # arithmetic shifts 2589 2878 echo $ac_n "checking whether your machine has correct arithmetic shifts""... $ac_c" 1>&6 2879 echo "configure:2880: checking whether your machine has correct arithmetic shifts" >&5 2590 2880 if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then 2591 2881 echo $ac_n "(cached) $ac_c" 1>&6 … … 2599 2889 fi 2600 2890 else 2601 cat > conftest.$ac_ext <<EOF2602 #line 2 603 "configure"2891 cat > conftest.$ac_ext <<EOF 2892 #line 2893 "configure" 2603 2893 #include "confdefs.h" 2604 2894 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); } 2605 2895 EOF 2606 { (eval echo configure:2607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 2607 if test -s conftest && (./conftest; exit) 2>/dev/null;then2896 if { (eval echo configure:2897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 2897 then 2608 2898 ac_cv_shift=yes 2609 2899 else 2900 echo "configure: failed program was:" >&5 2901 cat conftest.$ac_ext >&5 2902 rm -fr conftest* 2610 2903 ac_cv_shift=no 2611 2904 fi 2612 fi2613 2905 rm -fr conftest* 2906 fi 2907 2614 2908 fi 2615 2909 … … 2625 2919 # check for a peculiar constructor initialization 2626 2920 echo $ac_n "checking whether explicit C++ constructor calls are allowed""... $ac_c" 1>&6 2921 echo "configure:2922: checking whether explicit C++ constructor calls are allowed" >&5 2627 2922 2628 2923 ac_ext=C … … 2631 2926 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 2632 2927 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 2928 cross_compiling=$ac_cv_prog_cxx_cross 2633 2929 2634 2930 if eval "test \"`echo '$''{'ac_cv_explicit_const'+set}'`\" = set"; then … … 2636 2932 else 2637 2933 cat > conftest.$ac_ext <<EOF 2638 #line 2639 "configure" 2639 #include "confdefs.h" 2640 2641 int main() { return 0; } 2642 int t() { 2934 #line 2935 "configure" 2935 #include "confdefs.h" 2936 2937 int main() { 2643 2938 class testclass 2644 2939 { … … 2655 2950 ; return 0; } 2656 2951 EOF 2657 if { (eval echo configure:2 658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2952 if { (eval echo configure:2953: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2658 2953 rm -rf conftest* 2659 2954 ac_cv_explicit_const=yes 2660 2955 else 2956 echo "configure: failed program was:" >&5 2957 cat conftest.$ac_ext >&5 2661 2958 rm -rf conftest* 2662 2959 ac_cv_explicit_const=no 2663 2960 fi 2664 2961 rm -f conftest* 2665 2666 2962 fi 2667 2963 … … 2671 2967 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 2672 2968 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 2969 cross_compiling=$ac_cv_prog_cc_cross 2673 2970 2674 2971 echo "$ac_t""$ac_cv_explicit_const" 1>&6 … … 2682 2979 # sprintf returns number of printed chars 2683 2980 echo $ac_n "checking whether vsprintf returns number of printed chars""... $ac_c" 1>&6 2981 echo "configure:2982: checking whether vsprintf returns number of printed chars" >&5 2684 2982 if eval "test \"`echo '$''{'ac_cv_returns_n_of_chars'+set}'`\" = set"; then 2685 2983 echo $ac_n "(cached) $ac_c" 1>&6 … … 2688 2986 ac_cv_returns_n_of_chars=no 2689 2987 else 2690 cat > conftest.$ac_ext <<EOF2691 #line 2 692"configure"2988 cat > conftest.$ac_ext <<EOF 2989 #line 2990 "configure" 2692 2990 #include "confdefs.h" 2693 2991 #include <stdio.h> 2694 2992 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); } 2695 2993 EOF 2696 { (eval echo configure:2697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 2697 if test -s conftest && (./conftest; exit) 2>/dev/null;then2994 if { (eval echo configure:2995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 2995 then 2698 2996 ac_cv_returns_n_of_chars=yes 2699 2997 else 2998 echo "configure: failed program was:" >&5 2999 cat conftest.$ac_ext >&5 3000 rm -fr conftest* 2700 3001 ac_cv_returns_n_of_chars=no 2701 3002 fi 2702 fi2703 3003 rm -fr conftest* 3004 fi 3005 2704 3006 fi 2705 3007 … … 2716 3018 # determine ALIGN_8 2717 3019 echo $ac_n "checking size of char""... $ac_c" 1>&6 3020 echo "configure:3021: checking size of char" >&5 2718 3021 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then 2719 3022 echo $ac_n "(cached) $ac_c" 1>&6 … … 2722 3025 ac_cv_sizeof_char=1 2723 3026 else 2724 cat > conftest.$ac_ext <<EOF2725 #line 2726"configure"3027 cat > conftest.$ac_ext <<EOF 3028 #line 3029 "configure" 2726 3029 #include "confdefs.h" 2727 3030 #include <stdio.h> … … 2734 3037 } 2735 3038 EOF 2736 { (eval echo configure:2737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 2737 if test -s conftest && (./conftest; exit) 2>/dev/null;then3039 if { (eval echo configure:3040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3040 then 2738 3041 ac_cv_sizeof_char=`cat conftestval` 2739 3042 else 3043 echo "configure: failed program was:" >&5 3044 cat conftest.$ac_ext >&5 3045 rm -fr conftest* 2740 3046 ac_cv_sizeof_char=0 2741 3047 fi 2742 fi2743 3048 rm -fr conftest* 3049 fi 3050 2744 3051 fi 2745 3052 echo "$ac_t""$ac_cv_sizeof_char" 1>&6 … … 2750 3057 2751 3058 echo $ac_n "checking size of short""... $ac_c" 1>&6 3059 echo "configure:3060: checking size of short" >&5 2752 3060 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then 2753 3061 echo $ac_n "(cached) $ac_c" 1>&6 … … 2756 3064 ac_cv_sizeof_short=2 2757 3065 else 2758 cat > conftest.$ac_ext <<EOF2759 #line 2760"configure"3066 cat > conftest.$ac_ext <<EOF 3067 #line 3068 "configure" 2760 3068 #include "confdefs.h" 2761 3069 #include <stdio.h> … … 2768 3076 } 2769 3077 EOF 2770 { (eval echo configure:2771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 2771 if test -s conftest && (./conftest; exit) 2>/dev/null;then3078 if { (eval echo configure:3079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3079 then 2772 3080 ac_cv_sizeof_short=`cat conftestval` 2773 3081 else 3082 echo "configure: failed program was:" >&5 3083 cat conftest.$ac_ext >&5 3084 rm -fr conftest* 2774 3085 ac_cv_sizeof_short=0 2775 3086 fi 2776 fi2777 3087 rm -fr conftest* 3088 fi 3089 2778 3090 fi 2779 3091 echo "$ac_t""$ac_cv_sizeof_short" 1>&6 … … 2784 3096 2785 3097 echo $ac_n "checking size of int""... $ac_c" 1>&6 3098 echo "configure:3099: checking size of int" >&5 2786 3099 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then 2787 3100 echo $ac_n "(cached) $ac_c" 1>&6 … … 2790 3103 ac_cv_sizeof_int=4 2791 3104 else 2792 cat > conftest.$ac_ext <<EOF2793 #line 2794"configure"3105 cat > conftest.$ac_ext <<EOF 3106 #line 3107 "configure" 2794 3107 #include "confdefs.h" 2795 3108 #include <stdio.h> … … 2802 3115 } 2803 3116 EOF 2804 { (eval echo configure:2805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 2805 if test -s conftest && (./conftest; exit) 2>/dev/null;then3117 if { (eval echo configure:3118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3118 then 2806 3119 ac_cv_sizeof_int=`cat conftestval` 2807 3120 else 3121 echo "configure: failed program was:" >&5 3122 cat conftest.$ac_ext >&5 3123 rm -fr conftest* 2808 3124 ac_cv_sizeof_int=0 2809 3125 fi 2810 fi2811 3126 rm -fr conftest* 3127 fi 3128 2812 3129 fi 2813 3130 echo "$ac_t""$ac_cv_sizeof_int" 1>&6 … … 2818 3135 2819 3136 echo $ac_n "checking size of long""... $ac_c" 1>&6 3137 echo "configure:3138: checking size of long" >&5 2820 3138 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then 2821 3139 echo $ac_n "(cached) $ac_c" 1>&6 … … 2824 3142 ac_cv_sizeof_long=4 2825 3143 else 2826 cat > conftest.$ac_ext <<EOF2827 #line 2828"configure"3144 cat > conftest.$ac_ext <<EOF 3145 #line 3146 "configure" 2828 3146 #include "confdefs.h" 2829 3147 #include <stdio.h> … … 2836 3154 } 2837 3155 EOF 2838 { (eval echo configure:2839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 2839 if test -s conftest && (./conftest; exit) 2>/dev/null;then3156 if { (eval echo configure:3157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3157 then 2840 3158 ac_cv_sizeof_long=`cat conftestval` 2841 3159 else 3160 echo "configure: failed program was:" >&5 3161 cat conftest.$ac_ext >&5 3162 rm -fr conftest* 2842 3163 ac_cv_sizeof_long=0 2843 3164 fi 2844 fi2845 3165 rm -fr conftest* 3166 fi 3167 2846 3168 fi 2847 3169 echo "$ac_t""$ac_cv_sizeof_long" 1>&6 … … 2852 3174 2853 3175 echo $ac_n "checking size of void*""... $ac_c" 1>&6 3176 echo "configure:3177: checking size of void*" >&5 2854 3177 if eval "test \"`echo '$''{'ac_cv_sizeof_voidp'+set}'`\" = set"; then 2855 3178 echo $ac_n "(cached) $ac_c" 1>&6 … … 2858 3181 ac_cv_sizeof_voidp=4 2859 3182 else 2860 cat > conftest.$ac_ext <<EOF2861 #line 2862"configure"3183 cat > conftest.$ac_ext <<EOF 3184 #line 3185 "configure" 2862 3185 #include "confdefs.h" 2863 3186 #include <stdio.h> … … 2870 3193 } 2871 3194 EOF 2872 { (eval echo configure:2873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 2873 if test -s conftest && (./conftest; exit) 2>/dev/null;then3195 if { (eval echo configure:3196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3196 then 2874 3197 ac_cv_sizeof_voidp=`cat conftestval` 2875 3198 else 3199 echo "configure: failed program was:" >&5 3200 cat conftest.$ac_ext >&5 3201 rm -fr conftest* 2876 3202 ac_cv_sizeof_voidp=0 2877 3203 fi 2878 fi2879 3204 rm -fr conftest* 3205 fi 3206 2880 3207 fi 2881 3208 echo "$ac_t""$ac_cv_sizeof_voidp" 1>&6 … … 2886 3213 2887 3214 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 3215 echo "configure:3216: checking whether byte ordering is bigendian" >&5 2888 3216 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then 2889 3217 echo $ac_n "(cached) $ac_c" 1>&6 … … 2892 3220 # See if sys/param.h defines the BYTE_ORDER macro. 2893 3221 cat > conftest.$ac_ext <<EOF 2894 #line 2895"configure"3222 #line 3223 "configure" 2895 3223 #include "confdefs.h" 2896 3224 #include <sys/types.h> 2897 3225 #include <sys/param.h> 2898 int main() { return 0; } 2899 int t() { 3226 int main() { 2900 3227 2901 3228 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN … … 2904 3231 ; return 0; } 2905 3232 EOF 2906 if { (eval echo configure: 2907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3233 if { (eval echo configure:3234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2907 3234 rm -rf conftest* 2908 3235 # It does; now see whether it defined to BIG_ENDIAN or not. 2909 3236 cat > conftest.$ac_ext <<EOF 2910 #line 2911"configure"3237 #line 3238 "configure" 2911 3238 #include "confdefs.h" 2912 3239 #include <sys/types.h> 2913 3240 #include <sys/param.h> 2914 int main() { return 0; } 2915 int t() { 3241 int main() { 2916 3242 2917 3243 #if BYTE_ORDER != BIG_ENDIAN … … 2920 3246 ; return 0; } 2921 3247 EOF 2922 if { (eval echo configure: 2923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3248 if { (eval echo configure:3249: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2923 3249 rm -rf conftest* 2924 3250 ac_cv_c_bigendian=yes 2925 3251 else 3252 echo "configure: failed program was:" >&5 3253 cat conftest.$ac_ext >&5 2926 3254 rm -rf conftest* 2927 3255 ac_cv_c_bigendian=no 2928 3256 fi 2929 3257 rm -f conftest* 2930 2931 fi 2932 rm -f conftest* 2933 3258 else 3259 echo "configure: failed program was:" >&5 3260 cat conftest.$ac_ext >&5 3261 fi 3262 rm -f conftest* 2934 3263 if test $ac_cv_c_bigendian = unknown; then 2935 3264 if test "$cross_compiling" = yes; then 2936 3265 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } 2937 3266 else 2938 cat > conftest.$ac_ext <<EOF2939 #line 2940"configure"3267 cat > conftest.$ac_ext <<EOF 3268 #line 3269 "configure" 2940 3269 #include "confdefs.h" 2941 3270 main () { … … 2950 3279 } 2951 3280 EOF 2952 { (eval echo configure:2953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 2953 if test -s conftest && (./conftest; exit) 2>/dev/null;then3281 if { (eval echo configure:3282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3282 then 2954 3283 ac_cv_c_bigendian=no 2955 3284 else 3285 echo "configure: failed program was:" >&5 3286 cat conftest.$ac_ext >&5 3287 rm -fr conftest* 2956 3288 ac_cv_c_bigendian=yes 2957 3289 fi 2958 fi2959 3290 rm -fr conftest* 3291 fi 3292 2960 3293 fi 2961 3294 fi … … 3056 3389 # readline 3057 3390 if test "$with_readline" != no; then 3058 echo $ac_n "checking for -lncurses""... $ac_c" 1>&6 3059 ac_lib_var=`echo ncurses_tgetent | tr '.-/+' '___p'` 3391 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 3392 echo "configure:3393: checking for tgetent in -lncurses" >&5 3393 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 3060 3394 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3061 3395 echo $ac_n "(cached) $ac_c" 1>&6 … … 3064 3398 LIBS="-lncurses $LIBS" 3065 3399 cat > conftest.$ac_ext <<EOF 3066 #line 3 067"configure"3400 #line 3401 "configure" 3067 3401 #include "confdefs.h" 3068 3402 /* Override any gcc2 internal prototype to avoid an error. */ 3403 /* We use char because int might match the return type of a gcc2 3404 builtin and then its argument prototype would still apply. */ 3069 3405 char tgetent(); 3070 3406 3071 int main() { return 0; } 3072 int t() { 3407 int main() { 3073 3408 tgetent() 3074 3409 ; return 0; } 3075 3410 EOF 3076 if { (eval echo configure:3 077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then3411 if { (eval echo configure:3412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3077 3412 rm -rf conftest* 3078 3413 eval "ac_cv_lib_$ac_lib_var=yes" 3079 3414 else 3415 echo "configure: failed program was:" >&5 3416 cat conftest.$ac_ext >&5 3080 3417 rm -rf conftest* 3081 3418 eval "ac_cv_lib_$ac_lib_var=no" … … 3087 3424 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 3088 3425 echo "$ac_t""yes" 1>&6 3089 ac_tr_lib=HAVE_LIB`echo ncurses | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 3426 ac_tr_lib=HAVE_LIB`echo ncurses | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 3427 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 3090 3428 cat >> confdefs.h <<EOF 3091 3429 #define $ac_tr_lib 1 … … 3097 3435 echo "$ac_t""no" 1>&6 3098 3436 \ 3099 echo $ac_n "checking for -lcurses""... $ac_c" 1>&6 3100 ac_lib_var=`echo curses_tgetent | tr '.-/+' '___p'` 3437 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 3438 echo "configure:3439: checking for tgetent in -lcurses" >&5 3439 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 3101 3440 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3102 3441 echo $ac_n "(cached) $ac_c" 1>&6 … … 3105 3444 LIBS="-lcurses $LIBS" 3106 3445 cat > conftest.$ac_ext <<EOF 3107 #line 3 108"configure"3446 #line 3447 "configure" 3108 3447 #include "confdefs.h" 3109 3448 /* Override any gcc2 internal prototype to avoid an error. */ 3449 /* We use char because int might match the return type of a gcc2 3450 builtin and then its argument prototype would still apply. */ 3110 3451 char tgetent(); 3111 3452 3112 int main() { return 0; } 3113 int t() { 3453 int main() { 3114 3454 tgetent() 3115 3455 ; return 0; } 3116 3456 EOF 3117 if { (eval echo configure:3 118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then3457 if { (eval echo configure:3458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3118 3458 rm -rf conftest* 3119 3459 eval "ac_cv_lib_$ac_lib_var=yes" 3120 3460 else 3461 echo "configure: failed program was:" >&5 3462 cat conftest.$ac_ext >&5 3121 3463 rm -rf conftest* 3122 3464 eval "ac_cv_lib_$ac_lib_var=no" … … 3128 3470 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 3129 3471 echo "$ac_t""yes" 1>&6 3130 ac_tr_lib=HAVE_LIB`echo curses | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 3472 ac_tr_lib=HAVE_LIB`echo curses | sed -e 's/^a-zA-Z0-9_/_/g' \ 3473 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 3131 3474 cat >> confdefs.h <<EOF 3132 3475 #define $ac_tr_lib 1 … … 3138 3481 echo "$ac_t""no" 1>&6 3139 3482 \ 3140 echo $ac_n "checking for -ltermcap""... $ac_c" 1>&6 3141 ac_lib_var=`echo termcap_tgetent | tr '.-/+' '___p'` 3483 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 3484 echo "configure:3485: checking for tgetent in -ltermcap" >&5 3485 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 3142 3486 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3143 3487 echo $ac_n "(cached) $ac_c" 1>&6 … … 3146 3490 LIBS="-ltermcap $LIBS" 3147 3491 cat > conftest.$ac_ext <<EOF 3148 #line 3 149"configure"3492 #line 3493 "configure" 3149 3493 #include "confdefs.h" 3150 3494 /* Override any gcc2 internal prototype to avoid an error. */ 3495 /* We use char because int might match the return type of a gcc2 3496 builtin and then its argument prototype would still apply. */ 3151 3497 char tgetent(); 3152 3498 3153 int main() { return 0; } 3154 int t() { 3499 int main() { 3155 3500 tgetent() 3156 3501 ; return 0; } 3157 3502 EOF 3158 if { (eval echo configure:3 159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then3503 if { (eval echo configure:3504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3159 3504 rm -rf conftest* 3160 3505 eval "ac_cv_lib_$ac_lib_var=yes" 3161 3506 else 3507 echo "configure: failed program was:" >&5 3508 cat conftest.$ac_ext >&5 3162 3509 rm -rf conftest* 3163 3510 eval "ac_cv_lib_$ac_lib_var=no" … … 3169 3516 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 3170 3517 echo "$ac_t""yes" 1>&6 3171 ac_tr_lib=HAVE_LIB`echo termcap | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 3518 ac_tr_lib=HAVE_LIB`echo termcap | sed -e 's/^a-zA-Z0-9_/_/g' \ 3519 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 3172 3520 cat >> confdefs.h <<EOF 3173 3521 #define $ac_tr_lib 1 … … 3184 3532 fi 3185 3533 3186 echo $ac_n "checking for -lreadline""... $ac_c" 1>&6 3187 ac_lib_var=`echo readline_rl_abort | tr '.-/+' '___p'` 3534 echo $ac_n "checking for rl_abort in -lreadline""... $ac_c" 1>&6 3535 echo "configure:3536: checking for rl_abort in -lreadline" >&5 3536 ac_lib_var=`echo readline'_'rl_abort | sed 'y%./+-%__p_%'` 3188 3537 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3189 3538 echo $ac_n "(cached) $ac_c" 1>&6 … … 3192 3541 LIBS="-lreadline $LIBS" 3193 3542 cat > conftest.$ac_ext <<EOF 3194 #line 3 195"configure"3543 #line 3544 "configure" 3195 3544 #include "confdefs.h" 3196 3545 /* Override any gcc2 internal prototype to avoid an error. */ 3546 /* We use char because int might match the return type of a gcc2 3547 builtin and then its argument prototype would still apply. */ 3197 3548 char rl_abort(); 3198 3549 3199 int main() { return 0; } 3200 int t() { 3550 int main() { 3201 3551 rl_abort() 3202 3552 ; return 0; } 3203 3553 EOF 3204 if { (eval echo configure:3 205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then3554 if { (eval echo configure:3555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3205 3555 rm -rf conftest* 3206 3556 eval "ac_cv_lib_$ac_lib_var=yes" 3207 3557 else 3558 echo "configure: failed program was:" >&5 3559 cat conftest.$ac_ext >&5 3208 3560 rm -rf conftest* 3209 3561 eval "ac_cv_lib_$ac_lib_var=no" … … 3215 3567 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 3216 3568 echo "$ac_t""yes" 1>&6 3217 ac_tr_lib=HAVE_LIB`echo readline | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 3569 ac_tr_lib=HAVE_LIB`echo readline | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 3570 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 3218 3571 cat >> confdefs.h <<EOF 3219 3572 #define $ac_tr_lib 1 … … 3228 3581 for ac_hdr in readline/readline.h readline/history.h 3229 3582 do 3230 ac_safe=`echo "$ac_hdr" | tr './\055' '___'`3583 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3231 3584 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3585 echo "configure:3586: checking for $ac_hdr" >&5 3232 3586 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3233 3587 echo $ac_n "(cached) $ac_c" 1>&6 3234 3588 else 3235 3589 cat > conftest.$ac_ext <<EOF 3236 #line 3 237"configure"3590 #line 3591 "configure" 3237 3591 #include "confdefs.h" 3238 3592 #include <$ac_hdr> 3239 3593 EOF 3240 3594 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3241 { (eval echo configure:3 242: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3595 { (eval echo configure:3596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3242 3596 ac_err=`grep -v '^ *+' conftest.out` 3243 3597 if test -z "$ac_err"; then … … 3246 3600 else 3247 3601 echo "$ac_err" >&5 3602 echo "configure: failed program was:" >&5 3603 cat conftest.$ac_ext >&5 3248 3604 rm -rf conftest* 3249 3605 eval "ac_cv_header_$ac_safe=no" … … 3253 3609 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 3254 3610 echo "$ac_t""yes" 1>&6 3255 ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`3611 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 3256 3612 cat >> confdefs.h <<EOF 3257 3613 #define $ac_tr_hdr 1 … … 3266 3622 test "$ac_cv_header_readline_readline_h" = yes; then 3267 3623 echo $ac_n "checking whether readline.h is ok""... $ac_c" 1>&6 3624 echo "configure:3625: checking whether readline.h is ok" >&5 3268 3625 if eval "test \"`echo '$''{'ac_cv_header_readline_readline_h_ok'+set}'`\" = set"; then 3269 3626 echo $ac_n "(cached) $ac_c" 1>&6 3270 3627 else 3271 3628 cat > conftest.$ac_ext <<EOF 3272 #line 3 273"configure"3629 #line 3630 "configure" 3273 3630 #include "confdefs.h" 3274 3631 #include<unistd.h> … … 3279 3636 #endif 3280 3637 3281 int main() { return 0; } 3282 int t() { 3638 int main() { 3283 3639 #ifndef NULL 3284 3640 #define NULL 0 … … 3296 3652 ; return 0; } 3297 3653 EOF 3298 if { (eval echo configure:3 299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then3654 if { (eval echo configure:3655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3299 3655 rm -rf conftest* 3300 3656 ac_cv_header_readline_readline_h_ok="yes" 3301 3657 else 3658 echo "configure: failed program was:" >&5 3659 cat conftest.$ac_ext >&5 3302 3660 rm -rf conftest* 3303 3661 ac_cv_header_readline_readline_h_ok="no" 3304 3662 fi 3305 3663 rm -f conftest* 3306 3307 3664 fi 3308 3665 … … 3311 3668 #not ok -- try once more with explicitly declaring everything 3312 3669 echo $ac_n "checking whether or not we nevertheless can use readline""... $ac_c" 1>&6 3670 echo "configure:3671: checking whether or not we nevertheless can use readline" >&5 3313 3671 if eval "test \"`echo '$''{'ac_cv_have_readline'+set}'`\" = set"; then 3314 3672 echo $ac_n "(cached) $ac_c" 1>&6 3315 3673 else 3316 3674 cat > conftest.$ac_ext <<EOF 3317 #line 3 318"configure"3675 #line 3676 "configure" 3318 3676 #include "confdefs.h" 3319 3677 #include <stdio.h> 3320 3678 3321 int main() { return 0; } 3322 int t() { 3679 int main() { 3323 3680 extern char * rl_readline_name; 3324 3681 extern char *rl_line_buffer; … … 3346 3703 ; return 0; } 3347 3704 EOF 3348 if { (eval echo configure:3 349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then3705 if { (eval echo configure:3706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3349 3706 rm -rf conftest* 3350 3707 ac_cv_have_readline="yes" 3351 3708 3352 3709 else 3710 echo "configure: failed program was:" >&5 3711 cat conftest.$ac_ext >&5 3353 3712 rm -rf conftest* 3354 3713 ac_cv_have_readline="no" … … 3356 3715 fi 3357 3716 rm -f conftest* 3358 3359 3717 fi 3360 3718 … … 3390 3748 # dld 3391 3749 if test "$with_dld" = yes; then 3392 echo $ac_n "checking for -ldld""... $ac_c" 1>&6 3393 ac_lib_var=`echo dld_dld_init | tr '.-/+' '___p'` 3750 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 3751 echo "configure:3752: checking for dld_init in -ldld" >&5 3752 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` 3394 3753 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3395 3754 echo $ac_n "(cached) $ac_c" 1>&6 … … 3398 3757 LIBS="-ldld $LIBS" 3399 3758 cat > conftest.$ac_ext <<EOF 3400 #line 3 401"configure"3759 #line 3760 "configure" 3401 3760 #include "confdefs.h" 3402 3761 /* Override any gcc2 internal prototype to avoid an error. */ 3762 /* We use char because int might match the return type of a gcc2 3763 builtin and then its argument prototype would still apply. */ 3403 3764 char dld_init(); 3404 3765 3405 int main() { return 0; } 3406 int t() { 3766 int main() { 3407 3767 dld_init() 3408 3768 ; return 0; } 3409 3769 EOF 3410 if { (eval echo configure:3 411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then3770 if { (eval echo configure:3771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3411 3771 rm -rf conftest* 3412 3772 eval "ac_cv_lib_$ac_lib_var=yes" 3413 3773 else 3774 echo "configure: failed program was:" >&5 3775 cat conftest.$ac_ext >&5 3414 3776 rm -rf conftest* 3415 3777 eval "ac_cv_lib_$ac_lib_var=no" … … 3432 3794 3433 3795 # gmp, smallgmp, MP, MPT, factory, libfac 3434 echo $ac_n "checking for -lgmp""... $ac_c" 1>&6 3435 ac_lib_var=`echo gmp_mpq_init | tr '.-/+' '___p'` 3796 echo $ac_n "checking for mpq_init in -lgmp""... $ac_c" 1>&6 3797 echo "configure:3798: checking for mpq_init in -lgmp" >&5 3798 ac_lib_var=`echo gmp'_'mpq_init | sed 'y%./+-%__p_%'` 3436 3799 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3437 3800 echo $ac_n "(cached) $ac_c" 1>&6 … … 3440 3803 LIBS="-lgmp $LIBS" 3441 3804 cat > conftest.$ac_ext <<EOF 3442 #line 3 443"configure"3805 #line 3806 "configure" 3443 3806 #include "confdefs.h" 3444 3807 /* Override any gcc2 internal prototype to avoid an error. */ 3808 /* We use char because int might match the return type of a gcc2 3809 builtin and then its argument prototype would still apply. */ 3445 3810 char mpq_init(); 3446 3811 3447 int main() { return 0; } 3448 int t() { 3812 int main() { 3449 3813 mpq_init() 3450 3814 ; return 0; } 3451 3815 EOF 3452 if { (eval echo configure:3 453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then3816 if { (eval echo configure:3817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3453 3817 rm -rf conftest* 3454 3818 eval "ac_cv_lib_$ac_lib_var=yes" 3455 3819 else 3820 echo "configure: failed program was:" >&5 3821 cat conftest.$ac_ext >&5 3456 3822 rm -rf conftest* 3457 3823 eval "ac_cv_lib_$ac_lib_var=no" … … 3463 3829 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 3464 3830 echo "$ac_t""yes" 1>&6 3465 ac_tr_lib=HAVE_LIB`echo gmp | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 3831 ac_tr_lib=HAVE_LIB`echo gmp | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 3832 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 3466 3833 cat >> confdefs.h <<EOF 3467 3834 #define $ac_tr_lib 1 … … 3477 3844 LIBS=NEED_LIBS 3478 3845 fi 3479 echo $ac_n "checking for -lsmallgmp""... $ac_c" 1>&6 3480 ac_lib_var=`echo smallgmp_mpz_init | tr '.-/+' '___p'` 3846 echo $ac_n "checking for mpz_init in -lsmallgmp""... $ac_c" 1>&6 3847 echo "configure:3848: checking for mpz_init in -lsmallgmp" >&5 3848 ac_lib_var=`echo smallgmp'_'mpz_init | sed 'y%./+-%__p_%'` 3481 3849 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3482 3850 echo $ac_n "(cached) $ac_c" 1>&6 … … 3485 3853 LIBS="-lsmallgmp $LIBS" 3486 3854 cat > conftest.$ac_ext <<EOF 3487 #line 3 488"configure"3855 #line 3856 "configure" 3488 3856 #include "confdefs.h" 3489 3857 /* Override any gcc2 internal prototype to avoid an error. */ 3858 /* We use char because int might match the return type of a gcc2 3859 builtin and then its argument prototype would still apply. */ 3490 3860 char mpz_init(); 3491 3861 3492 int main() { return 0; } 3493 int t() { 3862 int main() { 3494 3863 mpz_init() 3495 3864 ; return 0; } 3496 3865 EOF 3497 if { (eval echo configure:3 498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then3866 if { (eval echo configure:3867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3498 3867 rm -rf conftest* 3499 3868 eval "ac_cv_lib_$ac_lib_var=yes" 3500 3869 else 3870 echo "configure: failed program was:" >&5 3871 cat conftest.$ac_ext >&5 3501 3872 rm -rf conftest* 3502 3873 eval "ac_cv_lib_$ac_lib_var=no" … … 3508 3879 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 3509 3880 echo "$ac_t""yes" 1>&6 3510 ac_tr_lib=HAVE_LIB`echo smallgmp | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 3881 ac_tr_lib=HAVE_LIB`echo smallgmp | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 3882 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 3511 3883 cat >> confdefs.h <<EOF 3512 3884 #define $ac_tr_lib 1 … … 3519 3891 fi 3520 3892 3521 echo $ac_n "checking for -lMP""... $ac_c" 1>&6 3522 ac_lib_var=`echo MP_IMP_PutGmpInt | tr '.-/+' '___p'` 3893 echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6 3894 echo "configure:3895: checking for IMP_PutGmpInt in -lMP" >&5 3895 ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'` 3523 3896 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3524 3897 echo $ac_n "(cached) $ac_c" 1>&6 … … 3527 3900 LIBS="-lMP $LIBS" 3528 3901 cat > conftest.$ac_ext <<EOF 3529 #line 3 530"configure"3902 #line 3903 "configure" 3530 3903 #include "confdefs.h" 3531 3904 /* Override any gcc2 internal prototype to avoid an error. */ 3905 /* We use char because int might match the return type of a gcc2 3906 builtin and then its argument prototype would still apply. */ 3532 3907 char IMP_PutGmpInt(); 3533 3908 3534 int main() { return 0; } 3535 int t() { 3909 int main() { 3536 3910 IMP_PutGmpInt() 3537 3911 ; return 0; } 3538 3912 EOF 3539 if { (eval echo configure:3 540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then3913 if { (eval echo configure:3914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3540 3914 rm -rf conftest* 3541 3915 eval "ac_cv_lib_$ac_lib_var=yes" 3542 3916 else 3917 echo "configure: failed program was:" >&5 3918 cat conftest.$ac_ext >&5 3543 3919 rm -rf conftest* 3544 3920 eval "ac_cv_lib_$ac_lib_var=no" … … 3550 3926 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 3551 3927 echo "$ac_t""yes" 1>&6 3552 ac_tr_lib=HAVE_LIB`echo MP | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 3928 ac_tr_lib=HAVE_LIB`echo MP | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 3929 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 3553 3930 cat >> confdefs.h <<EOF 3554 3931 #define $ac_tr_lib 1 … … 3561 3938 fi 3562 3939 3563 echo $ac_n "checking for -lMPT""... $ac_c" 1>&6 3564 ac_lib_var=`echo MPT_MPT_GetTree | tr '.-/+' '___p'` 3940 echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6 3941 echo "configure:3942: checking for MPT_GetTree in -lMPT" >&5 3942 ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'` 3565 3943 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3566 3944 echo $ac_n "(cached) $ac_c" 1>&6 … … 3569 3947 LIBS="-lMPT $LIBS" 3570 3948 cat > conftest.$ac_ext <<EOF 3571 #line 3 572"configure"3949 #line 3950 "configure" 3572 3950 #include "confdefs.h" 3573 3951 /* Override any gcc2 internal prototype to avoid an error. */ 3952 /* We use char because int might match the return type of a gcc2 3953 builtin and then its argument prototype would still apply. */ 3574 3954 char MPT_GetTree(); 3575 3955 3576 int main() { return 0; } 3577 int t() { 3956 int main() { 3578 3957 MPT_GetTree() 3579 3958 ; return 0; } 3580 3959 EOF 3581 if { (eval echo configure:3 582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then3960 if { (eval echo configure:3961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3582 3961 rm -rf conftest* 3583 3962 eval "ac_cv_lib_$ac_lib_var=yes" 3584 3963 else 3964 echo "configure: failed program was:" >&5 3965 cat conftest.$ac_ext >&5 3585 3966 rm -rf conftest* 3586 3967 eval "ac_cv_lib_$ac_lib_var=no" … … 3592 3973 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 3593 3974 echo "$ac_t""yes" 1>&6 3594 ac_tr_lib=HAVE_LIB`echo MPT | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 3975 ac_tr_lib=HAVE_LIB`echo MPT | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 3976 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 3595 3977 cat >> confdefs.h <<EOF 3596 3978 #define $ac_tr_lib 1 … … 3603 3985 fi 3604 3986 3605 echo $ac_n "checking for -lsingcf""... $ac_c" 1>&6 3606 ac_lib_var=`echo singcf_atof | tr '.-/+' '___p'` 3987 echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6 3988 echo "configure:3989: checking for atof in -lsingcf" >&5 3989 ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'` 3607 3990 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3608 3991 echo $ac_n "(cached) $ac_c" 1>&6 … … 3611 3994 LIBS="-lsingcf $LIBS" 3612 3995 cat > conftest.$ac_ext <<EOF 3613 #line 3 614"configure"3996 #line 3997 "configure" 3614 3997 #include "confdefs.h" 3615 3998 /* Override any gcc2 internal prototype to avoid an error. */ 3999 /* We use char because int might match the return type of a gcc2 4000 builtin and then its argument prototype would still apply. */ 3616 4001 char atof(); 3617 4002 3618 int main() { return 0; } 3619 int t() { 4003 int main() { 3620 4004 atof() 3621 4005 ; return 0; } 3622 4006 EOF 3623 if { (eval echo configure: 3624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then4007 if { (eval echo configure:4008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3624 4008 rm -rf conftest* 3625 4009 eval "ac_cv_lib_$ac_lib_var=yes" 3626 4010 else 4011 echo "configure: failed program was:" >&5 4012 cat conftest.$ac_ext >&5 3627 4013 rm -rf conftest* 3628 4014 eval "ac_cv_lib_$ac_lib_var=no" … … 3634 4020 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 3635 4021 echo "$ac_t""yes" 1>&6 3636 ac_tr_lib=HAVE_LIB`echo singcf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 4022 ac_tr_lib=HAVE_LIB`echo singcf | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 4023 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 3637 4024 cat >> confdefs.h <<EOF 3638 4025 #define $ac_tr_lib 1 … … 3645 4032 fi 3646 4033 3647 echo $ac_n "checking for -lsingfac""... $ac_c" 1>&6 3648 ac_lib_var=`echo singfac_atof | tr '.-/+' '___p'` 4034 echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6 4035 echo "configure:4036: checking for atof in -lsingfac" >&5 4036 ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'` 3649 4037 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3650 4038 echo $ac_n "(cached) $ac_c" 1>&6 … … 3653 4041 LIBS="-lsingfac $LIBS" 3654 4042 cat > conftest.$ac_ext <<EOF 3655 #line 3656"configure"4043 #line 4044 "configure" 3656 4044 #include "confdefs.h" 3657 4045 /* Override any gcc2 internal prototype to avoid an error. */ 4046 /* We use char because int might match the return type of a gcc2 4047 builtin and then its argument prototype would still apply. */ 3658 4048 char atof(); 3659 4049 3660 int main() { return 0; } 3661 int t() { 4050 int main() { 3662 4051 atof() 3663 4052 ; return 0; } 3664 4053 EOF 3665 if { (eval echo configure: 3666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then4054 if { (eval echo configure:4055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3666 4055 rm -rf conftest* 3667 4056 eval "ac_cv_lib_$ac_lib_var=yes" 3668 4057 else 4058 echo "configure: failed program was:" >&5 4059 cat conftest.$ac_ext >&5 3669 4060 rm -rf conftest* 3670 4061 eval "ac_cv_lib_$ac_lib_var=no" … … 3676 4067 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 3677 4068 echo "$ac_t""yes" 1>&6 3678 ac_tr_lib=HAVE_LIB`echo singfac | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 4069 ac_tr_lib=HAVE_LIB`echo singfac | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 4070 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 3679 4071 cat >> confdefs.h <<EOF 3680 4072 #define $ac_tr_lib 1 … … 3690 4082 for ac_hdr in gmp.h smallgmp.h MP.h MPT.h factory.h factor.h 3691 4083 do 3692 ac_safe=`echo "$ac_hdr" | tr './\055' '___'`4084 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3693 4085 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4086 echo "configure:4087: checking for $ac_hdr" >&5 3694 4087 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3695 4088 echo $ac_n "(cached) $ac_c" 1>&6 3696 4089 else 3697 4090 cat > conftest.$ac_ext <<EOF 3698 #line 3699"configure"4091 #line 4092 "configure" 3699 4092 #include "confdefs.h" 3700 4093 #include <$ac_hdr> 3701 4094 EOF 3702 4095 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3703 { (eval echo configure: 3704: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4096 { (eval echo configure:4097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3704 4097 ac_err=`grep -v '^ *+' conftest.out` 3705 4098 if test -z "$ac_err"; then … … 3708 4101 else 3709 4102 echo "$ac_err" >&5 4103 echo "configure: failed program was:" >&5 4104 cat conftest.$ac_ext >&5 3710 4105 rm -rf conftest* 3711 4106 eval "ac_cv_header_$ac_safe=no" … … 3715 4110 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 3716 4111 echo "$ac_t""yes" 1>&6 3717 ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`4112 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 3718 4113 cat >> confdefs.h <<EOF 3719 4114 #define $ac_tr_hdr 1 … … 3756 4151 # evaluate results 3757 4152 echo $ac_n "checking which apint package to use""... $ac_c" 1>&6 4153 echo "configure:4154: checking which apint package to use" >&5 3758 4154 if test "${with_apint}" != gmp && test "${with_apint}" != smallgmp; then 3759 4155 if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then … … 3796 4192 3797 4193 echo $ac_n "checking whether to have MP""... $ac_c" 1>&6 4194 echo "configure:4195: checking whether to have MP" >&5 3798 4195 if test "${with_MP}" != yes && test "${with_MP}" != no; then 3799 4196 if (test "${will_have_gmp}" = yes) && \ … … 3826 4223 3827 4224 echo $ac_n "checking whether to have factory""... $ac_c" 1>&6 4225 echo "configure:4226: checking whether to have factory" >&5 3828 4226 if test "${with_factory}" != yes && test "${with_factory}" != no; then 3829 4227 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then … … 3856 4254 3857 4255 echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6 4256 echo "configure:4257: checking whether to have libfac" >&5 3858 4257 if test "${with_libfac}" != yes && test "${with_libfac}" != no; then 3859 4258 if (test "${will_have_factory}" = yes) && \ … … 3887 4286 3888 4287 echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6 4288 echo "configure:4289: checking whether to have dbm links" >&5 3889 4289 if test "$with_dbm" != no; then 3890 4290 cat >> confdefs.h <<\EOF … … 3898 4298 3899 4299 echo $ac_n "checking which exponent types to use""... $ac_c" 1>&6 4300 echo "configure:4301: checking which exponent types to use" >&5 3900 4301 if test "$with_exp_type" = "char"; then 3901 4302 echo "$ac_t""char" 1>&6 … … 3947 4348 # 3948 4349 EOF 4350 # The following way of writing the cache mishandles newlines in values, 4351 # but we know of no workaround that is simple, portable, and efficient. 4352 # So, don't put newlines in cache variables' values. 3949 4353 # Ultrix sh set writes to stderr and can't be redirected directly, 3950 4354 # and sets the high bit in the cache file unless we assign to the vars. 3951 4355 (set) 2>&1 | 3952 sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \ 3953 >> confcache 4356 case `(ac_space=' '; set) 2>&1` in 4357 *ac_space=\ *) 4358 # `set' does not quote correctly, so add quotes (double-quote substitution 4359 # turns \\\\ into \\, and sed turns \\ into \). 4360 sed -n \ 4361 -e "s/'/'\\\\''/g" \ 4362 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" 4363 ;; 4364 *) 4365 # `set' quotes correctly as required by POSIX, so do not add quotes. 4366 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' 4367 ;; 4368 esac >> confcache 3954 4369 if cmp -s $cache_file confcache; then 3955 4370 : … … 4006 4421 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 4007 4422 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) 4008 echo "$CONFIG_STATUS generated by autoconf version 2. 9"4423 echo "$CONFIG_STATUS generated by autoconf version 2.12" 4009 4424 exit 0 ;; 4010 4425 -help | --help | --hel | --he | --h) … … 4066 4481 CEOF 4067 4482 EOF 4483 4484 cat >> $CONFIG_STATUS <<\EOF 4485 4486 # Split the substitutions into bite-sized pieces for seds with 4487 # small command number limits, like on Digital OSF/1 and HP-UX. 4488 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. 4489 ac_file=1 # Number of current file. 4490 ac_beg=1 # First line for current file. 4491 ac_end=$ac_max_sed_cmds # Line after last line for current file. 4492 ac_more_lines=: 4493 ac_sed_cmds="" 4494 while $ac_more_lines; do 4495 if test $ac_beg -gt 1; then 4496 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file 4497 else 4498 sed "${ac_end}q" conftest.subs > conftest.s$ac_file 4499 fi 4500 if test ! -s conftest.s$ac_file; then 4501 ac_more_lines=false 4502 rm -f conftest.s$ac_file 4503 else 4504 if test -z "$ac_sed_cmds"; then 4505 ac_sed_cmds="sed -f conftest.s$ac_file" 4506 else 4507 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" 4508 fi 4509 ac_file=`expr $ac_file + 1` 4510 ac_beg=$ac_end 4511 ac_end=`expr $ac_end + $ac_max_sed_cmds` 4512 fi 4513 done 4514 if test -z "$ac_sed_cmds"; then 4515 ac_sed_cmds=cat 4516 fi 4517 EOF 4518 4068 4519 cat >> $CONFIG_STATUS <<EOF 4069 4520 … … 4072 4523 cat >> $CONFIG_STATUS <<\EOF 4073 4524 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then 4074 # Support "outfile[:infile ]", defaulting infile="outfile.in".4525 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 4075 4526 case "$ac_file" in 4076 *:*) ac_file_in=`echo "$ac_file"|sed 's% .*:%%'`4527 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` 4077 4528 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 4078 4529 *) ac_file_in="${ac_file}.in" ;; 4079 4530 esac 4080 4531 4081 # Adjust relative srcdir, etc.for subdirectories.4532 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. 4082 4533 4083 4534 # Remove last slash and all that follows it. Not all systems have dirname. … … 4103 4554 esac 4104 4555 4556 4105 4557 echo creating "$ac_file" 4106 4558 rm -f "$ac_file" … … 4111 4563 *) ac_comsub= ;; 4112 4564 esac 4565 4566 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` 4113 4567 sed -e "$ac_comsub 4114 4568 s%@configure_input@%$configure_input%g 4115 4569 s%@srcdir@%$srcdir%g 4116 4570 s%@top_srcdir@%$top_srcdir%g 4117 " -f conftest.subs $ac_given_srcdir/$ac_file_in> $ac_file4571 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file 4118 4572 fi; done 4119 rm -f conftest.s ubs4573 rm -f conftest.s* 4120 4574 4121 4575 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where … … 4138 4592 ac_eD='%g' 4139 4593 4140 CONFIG_HEADERS=${CONFIG_HEADERS-"mod2.h si_paths.h"} 4594 if test "${CONFIG_HEADERS+set}" != set; then 4595 EOF 4596 cat >> $CONFIG_STATUS <<EOF 4597 CONFIG_HEADERS="mod2.h si_paths.h" 4598 EOF 4599 cat >> $CONFIG_STATUS <<\EOF 4600 fi 4141 4601 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then 4142 # Support "outfile[:infile ]", defaulting infile="outfile.in".4602 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 4143 4603 case "$ac_file" in 4144 *:*) ac_file_in=`echo "$ac_file"|sed 's% .*:%%'`4604 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` 4145 4605 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 4146 4606 *) ac_file_in="${ac_file}.in" ;; … … 4150 4610 4151 4611 rm -f conftest.frag conftest.in conftest.out 4152 cp $ac_given_srcdir/$ac_file_in conftest.in 4612 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` 4613 cat $ac_file_inputs > conftest.in 4153 4614 4154 4615 EOF … … 4178 4639 # Break up conftest.vals because some shells have a limit on 4179 4640 # the size of here documents, and old seds have small limits too. 4180 # Maximum number of lines to put in a single here document.4181 ac_max_here_lines=124182 4641 4183 4642 rm -f conftest.tail … … 4210 4669 rm -f conftest.h 4211 4670 else 4671 # Remove last slash and all that follows it. Not all systems have dirname. 4672 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` 4673 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 4674 # The file is in a subdirectory. 4675 test ! -d "$ac_dir" && mkdir "$ac_dir" 4676 fi 4212 4677 rm -f $ac_file 4213 4678 mv conftest.h $ac_file … … 4215 4680 fi; done 4216 4681 4217 4682 EOF 4683 cat >> $CONFIG_STATUS <<EOF 4684 4685 EOF 4686 cat >> $CONFIG_STATUS <<\EOF 4218 4687 \ 4219 4688 if test "$CONFIG_HEADERS"; then echo timestamp > stamp-h; fi -
Singular/configure.in
r27f5f1e r16b993 23 23 AC_MSG_RESULT($ac_cv_singuname) 24 24 if test "$ac_cv_singuname" = unknown; then 25 AC_MSG_ERROR(Unknown architecture: Check singuname.sh) 25 AC_MSG_WARN(Unknown architecture: Check singuname.sh) 26 ac_cv_singuname="unknown" 26 27 fi 27 28 AC_DEFINE_UNQUOTED(S_UNAME, "$ac_cv_singuname") … … 40 41 41 42 SINGULAR_MAJOR_VERSION=${SINGULAR_MAJOR_VERSION:-1} 42 SINGULAR_MINOR_VERSION=${SINGULAR_MINOR_VERSION:- 2}43 SINGULAR_MINOR_VERSION=${SINGULAR_MINOR_VERSION:-3} 43 44 SINGULAR_SUB_VERSION=${SINGULAR_SUB_VERSION:-0} 44 45 SINGULAR_VERSION="${SINGULAR_VERSION:-$SINGULAR_MAJOR_VERSION${VERSION_SEP}$SINGULAR_MINOR_VERSION${VERSION_SEP}$SINGULAR_SUB_VERSION}" 45 VERSION_DATE=${VERSION_DATE:-"Ju ne1998"}46 VERSION_DATE=${VERSION_DATE:-"July 1998"} 46 47 47 48 dnl pass them on into the Makefiles -
configure
r27f5f1e r16b993 599 599 # pass them indirectly to subsequent configures 600 600 SINGULAR_MAJOR_VERSION=1 601 SINGULAR_MINOR_VERSION= 2601 SINGULAR_MINOR_VERSION=3 602 602 SINGULAR_SUB_VERSION=0 603 603 SINGULAR_VERSION="${SINGULAR_MAJOR_VERSION}${VERSION_SEP}${SINGULAR_MINOR_VERSION}${VERSION_SEP}${SINGULAR_SUB_VERSION}" 604 VERSION_DATE="Ju ne1998"604 VERSION_DATE="July 1998" 605 605 SINGULAR_DOS_VERSION="${SINGULAR_MAJOR_VERSION}-${SINGULAR_MINOR_VERSION}-${SINGULAR_SUB_VERSION}" 606 606 export SINGULAR_MINOR_VERSION -
configure.in
r27f5f1e r16b993 38 38 # pass them indirectly to subsequent configures 39 39 SINGULAR_MAJOR_VERSION=1 40 SINGULAR_MINOR_VERSION= 240 SINGULAR_MINOR_VERSION=3 41 41 SINGULAR_SUB_VERSION=0 42 42 SINGULAR_VERSION="${SINGULAR_MAJOR_VERSION}${VERSION_SEP}${SINGULAR_MINOR_VERSION}${VERSION_SEP}${SINGULAR_SUB_VERSION}" 43 VERSION_DATE="Ju ne1998"43 VERSION_DATE="July 1998" 44 44 SINGULAR_DOS_VERSION="${SINGULAR_MAJOR_VERSION}-${SINGULAR_MINOR_VERSION}-${SINGULAR_SUB_VERSION}" 45 45 export SINGULAR_MINOR_VERSION
Note: See TracChangeset
for help on using the changeset viewer.