Changeset e9be05 in git
- Timestamp:
- Jun 3, 1998, 1:47:57 PM (26 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- d815c9c1c33dc5306990138d6a57124181de2671
- Parents:
- 0f6c82ea7fc2878510357cb3196e5ef3a44590ed
- Location:
- factory
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/configure
r0f6c82 re9be05 3 3 # From configure.in Id: configure.in 4 4 # Guess values for system-dependent variables and create Makefiles. 5 # Generated automatically using autoconf version 2.1 05 # Generated automatically using autoconf version 2.12 6 6 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 7 7 # … … 74 74 subdirs= 75 75 MFLAGS= MAKEFLAGS= 76 # Maximum number of lines to put in a shell here document. 77 ac_max_here_lines=12 76 78 77 79 ac_prev= … … 355 357 356 358 -version | --version | --versio | --versi | --vers) 357 echo "configure generated by autoconf version 2.1 0"359 echo "configure generated by autoconf version 2.12" 358 360 exit 0 ;; 359 361 … … 457 459 458 460 # NLS nuisances. 459 # Only set LANG and LC_ALL to C if already set. 460 # These must not be set unconditionally because not all systems understand 461 # e.g. LANG=C (notably SCO). 461 # Only set these to C if already set. These must not be set unconditionally 462 # because not all systems understand e.g. LANG=C (notably SCO). 463 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! 464 # Non-C LC_CTYPE values break the ctype check. 465 if test "${LANG+set}" = set; then LANG=C; export LANG; fi 462 466 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi 463 if test "${LANG+set}" = set; then LANG=C; export LANG; fi 467 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi 468 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi 464 469 465 470 # confdefs.h avoids OS command line length limits that DEFS can exceed. … … 523 528 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 524 529 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 530 cross_compiling=$ac_cv_prog_cc_cross 525 531 526 532 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then … … 685 691 set dummy gcc; ac_word=$2 686 692 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 693 echo "configure:694: checking for $ac_word" >&5 687 694 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 688 695 echo $ac_n "(cached) $ac_c" 1>&6 … … 713 720 set dummy cc; ac_word=$2 714 721 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 722 echo "configure:723: checking for $ac_word" >&5 715 723 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 716 724 echo $ac_n "(cached) $ac_c" 1>&6 … … 759 767 fi 760 768 769 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 770 echo "configure:771: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 771 772 ac_ext=c 773 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 774 ac_cpp='$CPP $CPPFLAGS' 775 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 776 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 777 cross_compiling=$ac_cv_prog_cc_cross 778 779 cat > conftest.$ac_ext <<EOF 780 #line 781 "configure" 781 #include "confdefs.h" 782 main(){return(0);} 783 EOF 784 if { (eval echo configure:785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 785 ac_cv_prog_cc_works=yes 786 # If we can't run a trivial program, we are probably using a cross compiler. 787 if (./conftest; exit) 2>/dev/null; then 788 ac_cv_prog_cc_cross=no 789 else 790 ac_cv_prog_cc_cross=yes 791 fi 792 else 793 echo "configure: failed program was:" >&5 794 cat conftest.$ac_ext >&5 795 ac_cv_prog_cc_works=no 796 fi 797 rm -fr conftest* 798 799 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 800 if test $ac_cv_prog_cc_works = no; then 801 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 802 fi 803 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 804 echo "configure:805: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 805 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 806 cross_compiling=$ac_cv_prog_cc_cross 807 761 808 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 809 echo "configure:810: checking whether we are using GNU C" >&5 762 810 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 763 811 echo $ac_n "(cached) $ac_c" 1>&6 … … 768 816 #endif 769 817 EOF 770 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure: 771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then818 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:819: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 771 819 ac_cv_prog_gcc=yes 772 820 else … … 776 824 777 825 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 826 778 827 if test $ac_cv_prog_gcc = yes; then 779 828 GCC=yes 780 if test "${CFLAGS+set}" != set; then 781 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 782 if eval "test \"`echo '$''{'ac_cv_prog_gcc_g'+set}'`\" = set"; then 829 ac_test_CFLAGS="${CFLAGS+set}" 830 ac_save_CFLAGS="$CFLAGS" 831 CFLAGS= 832 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 833 echo "configure:834: checking whether ${CC-cc} accepts -g" >&5 834 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 783 835 echo $ac_n "(cached) $ac_c" 1>&6 784 836 else 785 837 echo 'void f(){}' > conftest.c 786 838 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 787 ac_cv_prog_ gcc_g=yes788 else 789 ac_cv_prog_ gcc_g=no839 ac_cv_prog_cc_g=yes 840 else 841 ac_cv_prog_cc_g=no 790 842 fi 791 843 rm -f conftest* … … 793 845 fi 794 846 795 echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6 796 if test $ac_cv_prog_gcc_g = yes; then 797 CFLAGS="-g -O" 798 else 799 CFLAGS="-O" 800 fi 847 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 848 if test "$ac_test_CFLAGS" = set; then 849 CFLAGS="$ac_save_CFLAGS" 850 elif test $ac_cv_prog_cc_g = yes; then 851 CFLAGS="-g -O2" 852 else 853 CFLAGS="-O2" 801 854 fi 802 855 else … … 806 859 807 860 test "${CXXFLAGS+set}" = set || cxxflags_expl_set=no 808 for ac_prog in $CCC c++ g++ gcc CC cxx 861 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ 809 862 do 810 863 # Extract the first word of "$ac_prog", so it can be a program name with args. 811 864 set dummy $ac_prog; ac_word=$2 812 865 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 866 echo "configure:867: checking for $ac_word" >&5 813 867 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then 814 868 echo $ac_n "(cached) $ac_c" 1>&6 … … 840 894 841 895 896 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 897 echo "configure:898: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 898 899 ac_ext=C 900 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 901 ac_cpp='$CXXCPP $CPPFLAGS' 902 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 903 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 904 cross_compiling=$ac_cv_prog_cxx_cross 905 906 cat > conftest.$ac_ext <<EOF 907 #line 908 "configure" 908 #include "confdefs.h" 909 main(){return(0);} 910 EOF 911 if { (eval echo configure:912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 912 ac_cv_prog_cxx_works=yes 913 # If we can't run a trivial program, we are probably using a cross compiler. 914 if (./conftest; exit) 2>/dev/null; then 915 ac_cv_prog_cxx_cross=no 916 else 917 ac_cv_prog_cxx_cross=yes 918 fi 919 else 920 echo "configure: failed program was:" >&5 921 cat conftest.$ac_ext >&5 922 ac_cv_prog_cxx_works=no 923 fi 924 rm -fr conftest* 925 ac_ext=c 926 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 927 ac_cpp='$CPP $CPPFLAGS' 928 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 929 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 930 cross_compiling=$ac_cv_prog_cc_cross 931 932 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6 933 if test $ac_cv_prog_cxx_works = no; then 934 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; } 935 fi 936 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 937 echo "configure:938: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 938 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 939 cross_compiling=$ac_cv_prog_cxx_cross 940 842 941 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 942 echo "configure:943: checking whether we are using GNU C++" >&5 843 943 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then 844 944 echo $ac_n "(cached) $ac_c" 1>&6 … … 849 949 #endif 850 950 EOF 851 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure: 852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then951 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:952: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 852 952 ac_cv_prog_gxx=yes 853 953 else … … 857 957 858 958 echo "$ac_t""$ac_cv_prog_gxx" 1>&6 959 859 960 if test $ac_cv_prog_gxx = yes; then 860 961 GXX=yes 861 if test "${CXXFLAGS+set}" != set; then 862 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 863 if eval "test \"`echo '$''{'ac_cv_prog_gxx_g'+set}'`\" = set"; then 962 ac_test_CXXFLAGS="${CXXFLAGS+set}" 963 ac_save_CXXFLAGS="$CXXFLAGS" 964 CXXFLAGS= 965 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 966 echo "configure:967: checking whether ${CXX-g++} accepts -g" >&5 967 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then 864 968 echo $ac_n "(cached) $ac_c" 1>&6 865 969 else 866 970 echo 'void f(){}' > conftest.cc 867 971 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then 868 ac_cv_prog_ gxx_g=yes869 else 870 ac_cv_prog_ gxx_g=no972 ac_cv_prog_cxx_g=yes 973 else 974 ac_cv_prog_cxx_g=no 871 975 fi 872 976 rm -f conftest* … … 874 978 fi 875 979 876 echo "$ac_t""$ac_cv_prog_gxx_g" 1>&6 877 if test $ac_cv_prog_gxx_g = yes; then 878 CXXFLAGS="-g -O" 879 else 880 CXXFLAGS="-O" 881 fi 980 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6 981 if test "$ac_test_CXXFLAGS" = set; then 982 CXXFLAGS="$ac_save_CXXFLAGS" 983 elif test $ac_cv_prog_cxx_g = yes; then 984 CXXFLAGS="-g -O2" 985 else 986 CXXFLAGS="-O2" 882 987 fi 883 988 else … … 903 1008 # 904 1009 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 1010 echo "configure:1011: checking how to run the C preprocessor" >&5 905 1011 # On Suns, sometimes $CPP names a directory. 906 1012 if test -n "$CPP" && test -d "$CPP"; then … … 917 1023 # not just through cpp. 918 1024 cat > conftest.$ac_ext <<EOF 919 #line 920"configure"1025 #line 1026 "configure" 920 1026 #include "confdefs.h" 921 1027 #include <assert.h> … … 923 1029 EOF 924 1030 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 925 { (eval echo configure: 926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1031 { (eval echo configure:1032: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 926 1032 ac_err=`grep -v '^ *+' conftest.out` 927 1033 if test -z "$ac_err"; then … … 929 1035 else 930 1036 echo "$ac_err" >&5 1037 echo "configure: failed program was:" >&5 1038 cat conftest.$ac_ext >&5 931 1039 rm -rf conftest* 932 1040 CPP="${CC-cc} -E -traditional-cpp" 933 1041 cat > conftest.$ac_ext <<EOF 934 #line 935"configure"1042 #line 1043 "configure" 935 1043 #include "confdefs.h" 936 1044 #include <assert.h> … … 938 1046 EOF 939 1047 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 940 { (eval echo configure: 941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1048 { (eval echo configure:1049: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 941 1049 ac_err=`grep -v '^ *+' conftest.out` 942 1050 if test -z "$ac_err"; then … … 944 1052 else 945 1053 echo "$ac_err" >&5 1054 echo "configure: failed program was:" >&5 1055 cat conftest.$ac_ext >&5 946 1056 rm -rf conftest* 947 1057 CPP=/lib/cpp … … 959 1069 960 1070 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6 1071 echo "configure:1072: checking how to run the C++ preprocessor" >&5 961 1072 if test -z "$CXXCPP"; then 962 1073 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then … … 968 1079 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 969 1080 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 1081 cross_compiling=$ac_cv_prog_cxx_cross 970 1082 CXXCPP="${CXX-g++} -E" 971 1083 cat > conftest.$ac_ext <<EOF 972 #line 973"configure"1084 #line 1085 "configure" 973 1085 #include "confdefs.h" 974 1086 #include <stdlib.h> 975 1087 EOF 976 1088 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 977 { (eval echo configure: 978: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1089 { (eval echo configure:1090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 978 1090 ac_err=`grep -v '^ *+' conftest.out` 979 1091 if test -z "$ac_err"; then … … 981 1093 else 982 1094 echo "$ac_err" >&5 1095 echo "configure: failed program was:" >&5 1096 cat conftest.$ac_ext >&5 983 1097 rm -rf conftest* 984 1098 CXXCPP=/lib/cpp … … 991 1105 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 992 1106 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 1107 cross_compiling=$ac_cv_prog_cc_cross 993 1108 fi 994 1109 fi … … 997 1112 998 1113 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1114 echo "configure:1115: checking whether ln -s works" >&5 999 1115 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1000 1116 echo $ac_n "(cached) $ac_c" 1>&6 … … 1027 1143 # ./install, which can be erroneously created by make from ./install.sh. 1028 1144 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 1145 echo "configure:1146: checking for a BSD compatible install" >&5 1029 1146 if test -z "$INSTALL"; then 1030 1147 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 1031 1148 echo $ac_n "(cached) $ac_c" 1>&6 1032 1149 else 1033 IFS="${IFS= }"; ac_save_ ifs="$IFS"; IFS="${IFS}:"1150 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" 1034 1151 for ac_dir in $PATH; do 1035 1152 # Account for people who put trailing slashes in PATH elements. … … 1054 1171 esac 1055 1172 done 1056 IFS="$ac_save_ ifs"1173 IFS="$ac_save_IFS" 1057 1174 1058 1175 fi … … 1078 1195 set dummy ranlib; ac_word=$2 1079 1196 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1197 echo "configure:1198: checking for $ac_word" >&5 1080 1198 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1081 1199 echo $ac_n "(cached) $ac_c" 1>&6 … … 1104 1222 1105 1223 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 1106 set dummy ${MAKE-make}; ac_make=$2 1224 echo "configure:1225: checking whether ${MAKE-make} sets \${MAKE}" >&5 1225 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 1107 1226 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 1108 1227 echo $ac_n "(cached) $ac_c" 1>&6 … … 1132 1251 set dummy ar; ac_word=$2 1133 1252 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1253 echo "configure:1254: checking for $ac_word" >&5 1134 1254 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then 1135 1255 echo $ac_n "(cached) $ac_c" 1>&6 … … 1160 1280 set dummy m4; ac_word=$2 1161 1281 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1282 echo "configure:1283: checking for $ac_word" >&5 1162 1283 if eval "test \"`echo '$''{'ac_cv_prog_M4'+set}'`\" = set"; then 1163 1284 echo $ac_n "(cached) $ac_c" 1>&6 … … 1188 1309 set dummy bison; ac_word=$2 1189 1310 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1311 echo "configure:1312: checking for $ac_word" >&5 1190 1312 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then 1191 1313 echo $ac_n "(cached) $ac_c" 1>&6 … … 1223 1345 set dummy mkinstalldirs; ac_word=$2 1224 1346 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1347 echo "configure:1348: checking for $ac_word" >&5 1225 1348 if eval "test \"`echo '$''{'ac_cv_path_FACTORY_MKINSTALLDIRS'+set}'`\" = set"; then 1226 1349 echo $ac_n "(cached) $ac_c" 1>&6 … … 1232 1355 *) 1233 1356 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1234 for ac_dir in $PATH:$srcdir/bin ; do1357 for ac_dir in $PATH:$srcdir/bin$ac_dummy; do 1235 1358 test -z "$ac_dir" && ac_dir=. 1236 1359 if test -f $ac_dir/$ac_word; then … … 1254 1377 set dummy makeheader; ac_word=$2 1255 1378 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1379 echo "configure:1380: checking for $ac_word" >&5 1256 1380 if eval "test \"`echo '$''{'ac_cv_path_FACTORY_MAKEHEADER'+set}'`\" = set"; then 1257 1381 echo $ac_n "(cached) $ac_c" 1>&6 … … 1263 1387 *) 1264 1388 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1265 for ac_dir in $srcdir/bin:$PATH ; do1389 for ac_dir in $srcdir/bin:$PATH$ac_dummy; do 1266 1390 test -z "$ac_dir" && ac_dir=. 1267 1391 if test -f $ac_dir/$ac_word; then … … 1285 1409 # - check for libraries. 1286 1410 # 1287 echo $ac_n "checking for -lm""... $ac_c" 1>&6 1288 ac_lib_var=`echo m'_'atof | tr './+\055' '__p_'` 1411 echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6 1412 echo "configure:1413: checking for atof in -lm" >&5 1413 ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'` 1289 1414 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1290 1415 echo $ac_n "(cached) $ac_c" 1>&6 … … 1293 1418 LIBS="-lm $LIBS" 1294 1419 cat > conftest.$ac_ext <<EOF 1295 #line 1 296"configure"1420 #line 1421 "configure" 1296 1421 #include "confdefs.h" 1297 1422 /* Override any gcc2 internal prototype to avoid an error. */ … … 1300 1425 char atof(); 1301 1426 1302 int main() { return 0; } 1303 int t() { 1427 int main() { 1304 1428 atof() 1305 1429 ; return 0; } 1306 1430 EOF 1307 if { (eval echo configure:1 308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1431 if { (eval echo configure:1432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1308 1432 rm -rf conftest* 1309 1433 eval "ac_cv_lib_$ac_lib_var=yes" 1310 1434 else 1435 echo "configure: failed program was:" >&5 1436 cat conftest.$ac_ext >&5 1311 1437 rm -rf conftest* 1312 1438 eval "ac_cv_lib_$ac_lib_var=no" … … 1318 1444 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1319 1445 echo "$ac_t""yes" 1>&6 1320 ac_tr_lib=HAVE_LIB`echo m | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 1446 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1447 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1321 1448 cat >> confdefs.h <<EOF 1322 1449 #define $ac_tr_lib 1 … … 1332 1459 1333 1460 if test "x$gmp_in_installation" != xyes; then 1334 echo $ac_n "checking for -lgmp""... $ac_c" 1>&6 1335 ac_lib_var=`echo gmp'_'mpz_init | tr './+\055' '__p_'` 1461 echo $ac_n "checking for mpz_init in -lgmp""... $ac_c" 1>&6 1462 echo "configure:1463: checking for mpz_init in -lgmp" >&5 1463 ac_lib_var=`echo gmp'_'mpz_init | sed 'y%./+-%__p_%'` 1336 1464 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1337 1465 echo $ac_n "(cached) $ac_c" 1>&6 … … 1340 1468 LIBS="-lgmp $LIBS" 1341 1469 cat > conftest.$ac_ext <<EOF 1342 #line 1 343"configure"1470 #line 1471 "configure" 1343 1471 #include "confdefs.h" 1344 1472 /* Override any gcc2 internal prototype to avoid an error. */ … … 1347 1475 char mpz_init(); 1348 1476 1349 int main() { return 0; } 1350 int t() { 1477 int main() { 1351 1478 mpz_init() 1352 1479 ; return 0; } 1353 1480 EOF 1354 if { (eval echo configure:1 355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1481 if { (eval echo configure:1482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1355 1482 rm -rf conftest* 1356 1483 eval "ac_cv_lib_$ac_lib_var=yes" 1357 1484 else 1485 echo "configure: failed program was:" >&5 1486 cat conftest.$ac_ext >&5 1358 1487 rm -rf conftest* 1359 1488 eval "ac_cv_lib_$ac_lib_var=no" … … 1365 1494 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1366 1495 echo "$ac_t""yes" 1>&6 1367 ac_tr_lib=HAVE_LIB`echo gmp | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 1496 ac_tr_lib=HAVE_LIB`echo gmp | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1497 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1368 1498 cat >> confdefs.h <<EOF 1369 1499 #define $ac_tr_lib 1 … … 1387 1517 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 1388 1518 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 1519 cross_compiling=$ac_cv_prog_cxx_cross 1389 1520 1390 1521 … … 1392 1523 for ac_hdr in gmp.h 1393 1524 do 1394 ac_safe=`echo "$ac_hdr" | tr './\055' '___'`1525 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1395 1526 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1527 echo "configure:1528: checking for $ac_hdr" >&5 1396 1528 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1397 1529 echo $ac_n "(cached) $ac_c" 1>&6 1398 1530 else 1399 1531 cat > conftest.$ac_ext <<EOF 1400 #line 1 401"configure"1532 #line 1533 "configure" 1401 1533 #include "confdefs.h" 1402 1534 #include <$ac_hdr> 1403 1535 EOF 1404 1536 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1405 { (eval echo configure:1 406: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1537 { (eval echo configure:1538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1406 1538 ac_err=`grep -v '^ *+' conftest.out` 1407 1539 if test -z "$ac_err"; then … … 1410 1542 else 1411 1543 echo "$ac_err" >&5 1544 echo "configure: failed program was:" >&5 1545 cat conftest.$ac_ext >&5 1412 1546 rm -rf conftest* 1413 1547 eval "ac_cv_header_$ac_safe=no" … … 1417 1551 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 1418 1552 echo "$ac_t""yes" 1>&6 1419 ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`1553 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 1420 1554 cat >> confdefs.h <<EOF 1421 1555 #define $ac_tr_hdr 1 … … 1432 1566 for ac_hdr in stdio.h stdlib.h string.h time.h math.h 1433 1567 do 1434 ac_safe=`echo "$ac_hdr" | tr './\055' '___'`1568 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1435 1569 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1570 echo "configure:1571: checking for $ac_hdr" >&5 1436 1571 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1437 1572 echo $ac_n "(cached) $ac_c" 1>&6 1438 1573 else 1439 1574 cat > conftest.$ac_ext <<EOF 1440 #line 1 441"configure"1575 #line 1576 "configure" 1441 1576 #include "confdefs.h" 1442 1577 #include <$ac_hdr> 1443 1578 EOF 1444 1579 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1445 { (eval echo configure:1 446: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1580 { (eval echo configure:1581: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1446 1581 ac_err=`grep -v '^ *+' conftest.out` 1447 1582 if test -z "$ac_err"; then … … 1450 1585 else 1451 1586 echo "$ac_err" >&5 1587 echo "configure: failed program was:" >&5 1588 cat conftest.$ac_ext >&5 1452 1589 rm -rf conftest* 1453 1590 eval "ac_cv_header_$ac_safe=no" … … 1457 1594 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 1458 1595 echo "$ac_t""yes" 1>&6 1459 ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`1596 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 1460 1597 cat >> confdefs.h <<EOF 1461 1598 #define $ac_tr_hdr 1 … … 1472 1609 for ac_hdr in iostream.h strstream.h fstream.h 1473 1610 do 1474 ac_safe=`echo "$ac_hdr" | tr './\055' '___'`1611 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1475 1612 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1613 echo "configure:1614: checking for $ac_hdr" >&5 1476 1614 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1477 1615 echo $ac_n "(cached) $ac_c" 1>&6 1478 1616 else 1479 1617 cat > conftest.$ac_ext <<EOF 1480 #line 1 481"configure"1618 #line 1619 "configure" 1481 1619 #include "confdefs.h" 1482 1620 #include <$ac_hdr> 1483 1621 EOF 1484 1622 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1485 { (eval echo configure:1 486: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1623 { (eval echo configure:1624: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1486 1624 ac_err=`grep -v '^ *+' conftest.out` 1487 1625 if test -z "$ac_err"; then … … 1490 1628 else 1491 1629 echo "$ac_err" >&5 1630 echo "configure: failed program was:" >&5 1631 cat conftest.$ac_ext >&5 1492 1632 rm -rf conftest* 1493 1633 eval "ac_cv_header_$ac_safe=no" … … 1497 1637 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 1498 1638 echo "$ac_t""yes" 1>&6 1499 ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`1639 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 1500 1640 cat >> confdefs.h <<EOF 1501 1641 #define $ac_tr_hdr 1 … … 1510 1650 for ac_hdr in ctype.h 1511 1651 do 1512 ac_safe=`echo "$ac_hdr" | tr './\055' '___'`1652 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1513 1653 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1654 echo "configure:1655: checking for $ac_hdr" >&5 1514 1655 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1515 1656 echo $ac_n "(cached) $ac_c" 1>&6 1516 1657 else 1517 1658 cat > conftest.$ac_ext <<EOF 1518 #line 1 519"configure"1659 #line 1660 "configure" 1519 1660 #include "confdefs.h" 1520 1661 #include <$ac_hdr> 1521 1662 EOF 1522 1663 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1523 { (eval echo configure:1 524: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1664 { (eval echo configure:1665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1524 1665 ac_err=`grep -v '^ *+' conftest.out` 1525 1666 if test -z "$ac_err"; then … … 1528 1669 else 1529 1670 echo "$ac_err" >&5 1671 echo "configure: failed program was:" >&5 1672 cat conftest.$ac_ext >&5 1530 1673 rm -rf conftest* 1531 1674 eval "ac_cv_header_$ac_safe=no" … … 1535 1678 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 1536 1679 echo "$ac_t""yes" 1>&6 1537 ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`1680 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 1538 1681 cat >> confdefs.h <<EOF 1539 1682 #define $ac_tr_hdr 1 … … 1551 1694 for ac_hdr in stdarg.h signal.h errno.h unistd.h 1552 1695 do 1553 ac_safe=`echo "$ac_hdr" | tr './\055' '___'`1696 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1554 1697 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1698 echo "configure:1699: checking for $ac_hdr" >&5 1555 1699 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1556 1700 echo $ac_n "(cached) $ac_c" 1>&6 1557 1701 else 1558 1702 cat > conftest.$ac_ext <<EOF 1559 #line 1 560"configure"1703 #line 1704 "configure" 1560 1704 #include "confdefs.h" 1561 1705 #include <$ac_hdr> 1562 1706 EOF 1563 1707 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1564 { (eval echo configure:1 565: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1708 { (eval echo configure:1709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1565 1709 ac_err=`grep -v '^ *+' conftest.out` 1566 1710 if test -z "$ac_err"; then … … 1569 1713 else 1570 1714 echo "$ac_err" >&5 1715 echo "configure: failed program was:" >&5 1716 cat conftest.$ac_ext >&5 1571 1717 rm -rf conftest* 1572 1718 eval "ac_cv_header_$ac_safe=no" … … 1576 1722 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 1577 1723 echo "$ac_t""yes" 1>&6 1578 ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`1724 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 1579 1725 cat >> confdefs.h <<EOF 1580 1726 #define $ac_tr_hdr 1 … … 1594 1740 for ac_hdr in sys/param.h sys/times.h 1595 1741 do 1596 ac_safe=`echo "$ac_hdr" | tr './\055' '___'`1742 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1597 1743 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1744 echo "configure:1745: checking for $ac_hdr" >&5 1598 1745 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1599 1746 echo $ac_n "(cached) $ac_c" 1>&6 1600 1747 else 1601 1748 cat > conftest.$ac_ext <<EOF 1602 #line 1 603"configure"1749 #line 1750 "configure" 1603 1750 #include "confdefs.h" 1604 1751 #include <$ac_hdr> 1605 1752 EOF 1606 1753 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1607 { (eval echo configure:1 608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1754 { (eval echo configure:1755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1608 1755 ac_err=`grep -v '^ *+' conftest.out` 1609 1756 if test -z "$ac_err"; then … … 1612 1759 else 1613 1760 echo "$ac_err" >&5 1761 echo "configure: failed program was:" >&5 1762 cat conftest.$ac_ext >&5 1614 1763 rm -rf conftest* 1615 1764 eval "ac_cv_header_$ac_safe=no" … … 1619 1768 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 1620 1769 echo "$ac_t""yes" 1>&6 1621 ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`1770 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 1622 1771 cat >> confdefs.h <<EOF 1623 1772 #define $ac_tr_hdr 1 … … 1646 1795 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 1647 1796 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 1797 cross_compiling=$ac_cv_prog_cc_cross 1648 1798 1649 1799 1650 1800 # cross-compiling ?! 1651 # If we cannot run a trivial program, we must be cross compiling.1652 echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&61653 if eval "test \"`echo '$''{'ac_cv_c_cross'+set}'`\" = set"; then1654 echo $ac_n "(cached) $ac_c" 1>&61655 else1656 if test "$cross_compiling" = yes; then1657 ac_cv_c_cross=yes1658 else1659 cat > conftest.$ac_ext <<EOF1660 #line 1661 "configure"1661 #include "confdefs.h"1662 main(){return(0);}1663 EOF1664 { (eval echo configure:1665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }1665 if test -s conftest && (./conftest; exit) 2>/dev/null; then1666 ac_cv_c_cross=no1667 else1668 ac_cv_c_cross=yes1669 fi1670 fi1671 rm -fr conftest*1672 fi1673 1674 echo "$ac_t""$ac_cv_c_cross" 1>&61675 cross_compiling=$ac_cv_c_cross1676 1801 1677 1802 if test "x$cross_compiling" = xyes; then … … 1686 1811 1687 1812 echo $ac_n "checking for working const""... $ac_c" 1>&6 1813 echo "configure:1814: checking for working const" >&5 1688 1814 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 1689 1815 echo $ac_n "(cached) $ac_c" 1>&6 1690 1816 else 1691 1817 cat > conftest.$ac_ext <<EOF 1692 #line 1 693"configure"1818 #line 1819 "configure" 1693 1819 #include "confdefs.h" 1694 1820 1695 int main() { return 0; } 1696 int t() { 1821 int main() { 1697 1822 1698 1823 /* Ultrix mips cc rejects this. */ … … 1740 1865 ; return 0; } 1741 1866 EOF 1742 if { (eval echo configure:1 743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1867 if { (eval echo configure:1868: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1743 1868 rm -rf conftest* 1744 1869 ac_cv_c_const=yes 1745 1870 else 1871 echo "configure: failed program was:" >&5 1872 cat conftest.$ac_ext >&5 1746 1873 rm -rf conftest* 1747 1874 ac_cv_c_const=no 1748 1875 fi 1749 1876 rm -f conftest* 1750 1751 1877 fi 1752 1878 … … 1760 1886 1761 1887 echo $ac_n "checking for inline""... $ac_c" 1>&6 1888 echo "configure:1889: checking for inline" >&5 1762 1889 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 1763 1890 echo $ac_n "(cached) $ac_c" 1>&6 … … 1766 1893 for ac_kw in inline __inline__ __inline; do 1767 1894 cat > conftest.$ac_ext <<EOF 1768 #line 1 769"configure"1895 #line 1896 "configure" 1769 1896 #include "confdefs.h" 1770 1897 1771 int main() { return 0; } 1772 int t() { 1898 int main() { 1773 1899 } $ac_kw foo() { 1774 1900 ; return 0; } 1775 1901 EOF 1776 if { (eval echo configure:1 777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1902 if { (eval echo configure:1903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1777 1903 rm -rf conftest* 1778 1904 ac_cv_c_inline=$ac_kw; break 1905 else 1906 echo "configure: failed program was:" >&5 1907 cat conftest.$ac_ext >&5 1779 1908 fi 1780 1909 rm -f conftest* 1781 1782 1910 done 1783 1911 … … 1800 1928 # arithmetic shift 1801 1929 echo $ac_n "checking whether your compiler does arithmetic shifts""... $ac_c" 1>&6 1930 echo "configure:1931: checking whether your compiler does arithmetic shifts" >&5 1802 1931 if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then 1803 1932 echo $ac_n "(cached) $ac_c" 1>&6 … … 1806 1935 ac_cv_shift=yes 1807 1936 else 1808 cat > conftest.$ac_ext <<EOF1809 #line 1 810"configure"1937 cat > conftest.$ac_ext <<EOF 1938 #line 1939 "configure" 1810 1939 #include "confdefs.h" 1811 1940 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); } 1812 1941 EOF 1813 { (eval echo configure:1814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 1814 if test -s conftest && (./conftest; exit) 2>/dev/null;then1942 if { (eval echo configure:1943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 1943 then 1815 1944 ac_cv_shift=yes 1816 1945 else 1946 echo "configure: failed program was:" >&5 1947 cat conftest.$ac_ext >&5 1948 rm -fr conftest* 1817 1949 ac_cv_shift=no 1818 1950 fi 1819 fi 1820 rm -fr conftest* 1951 rm -fr conftest* 1952 fi 1953 1821 1954 fi 1822 1955 … … 2044 2177 # 2045 2178 EOF 2179 # The following way of writing the cache mishandles newlines in values, 2180 # but we know of no workaround that is simple, portable, and efficient. 2181 # So, don't put newlines in cache variables' values. 2046 2182 # Ultrix sh set writes to stderr and can't be redirected directly, 2047 2183 # and sets the high bit in the cache file unless we assign to the vars. 2048 2184 (set) 2>&1 | 2049 sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \ 2050 >> confcache 2185 case `(ac_space=' '; set) 2>&1` in 2186 *ac_space=\ *) 2187 # `set' does not quote correctly, so add quotes (double-quote substitution 2188 # turns \\\\ into \\, and sed turns \\ into \). 2189 sed -n \ 2190 -e "s/'/'\\\\''/g" \ 2191 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" 2192 ;; 2193 *) 2194 # `set' quotes correctly as required by POSIX, so do not add quotes. 2195 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' 2196 ;; 2197 esac >> confcache 2051 2198 if cmp -s $cache_file confcache; then 2052 2199 : … … 2103 2250 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 2104 2251 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) 2105 echo "$CONFIG_STATUS generated by autoconf version 2.1 0"2252 echo "$CONFIG_STATUS generated by autoconf version 2.12" 2106 2253 exit 0 ;; 2107 2254 -help | --help | --hel | --he | --h) … … 2175 2322 CEOF 2176 2323 EOF 2324 2325 cat >> $CONFIG_STATUS <<\EOF 2326 2327 # Split the substitutions into bite-sized pieces for seds with 2328 # small command number limits, like on Digital OSF/1 and HP-UX. 2329 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. 2330 ac_file=1 # Number of current file. 2331 ac_beg=1 # First line for current file. 2332 ac_end=$ac_max_sed_cmds # Line after last line for current file. 2333 ac_more_lines=: 2334 ac_sed_cmds="" 2335 while $ac_more_lines; do 2336 if test $ac_beg -gt 1; then 2337 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file 2338 else 2339 sed "${ac_end}q" conftest.subs > conftest.s$ac_file 2340 fi 2341 if test ! -s conftest.s$ac_file; then 2342 ac_more_lines=false 2343 rm -f conftest.s$ac_file 2344 else 2345 if test -z "$ac_sed_cmds"; then 2346 ac_sed_cmds="sed -f conftest.s$ac_file" 2347 else 2348 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" 2349 fi 2350 ac_file=`expr $ac_file + 1` 2351 ac_beg=$ac_end 2352 ac_end=`expr $ac_end + $ac_max_sed_cmds` 2353 fi 2354 done 2355 if test -z "$ac_sed_cmds"; then 2356 ac_sed_cmds=cat 2357 fi 2358 EOF 2359 2177 2360 cat >> $CONFIG_STATUS <<EOF 2178 2361 … … 2181 2364 cat >> $CONFIG_STATUS <<\EOF 2182 2365 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then 2183 # Support "outfile[:infile ]", defaulting infile="outfile.in".2366 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 2184 2367 case "$ac_file" in 2185 *:*) ac_file_in=`echo "$ac_file"|sed 's% .*:%%'`2368 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` 2186 2369 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 2187 2370 *) ac_file_in="${ac_file}.in" ;; 2188 2371 esac 2189 2372 2190 # Adjust relative srcdir, etc.for subdirectories.2373 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. 2191 2374 2192 2375 # Remove last slash and all that follows it. Not all systems have dirname. … … 2216 2399 *) INSTALL="$ac_dots$ac_given_INSTALL" ;; 2217 2400 esac 2401 2218 2402 echo creating "$ac_file" 2219 2403 rm -f "$ac_file" … … 2224 2408 *) ac_comsub= ;; 2225 2409 esac 2410 2411 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` 2226 2412 sed -e "$ac_comsub 2227 2413 s%@configure_input@%$configure_input%g … … 2229 2415 s%@top_srcdir@%$top_srcdir%g 2230 2416 s%@INSTALL@%$INSTALL%g 2231 " -f conftest.subs $ac_given_srcdir/$ac_file_in> $ac_file2417 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file 2232 2418 fi; done 2233 rm -f conftest.s ubs2419 rm -f conftest.s* 2234 2420 2235 2421 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where … … 2252 2438 ac_eD='%g' 2253 2439 2254 CONFIG_HEADERS=${CONFIG_HEADERS-"config.h"} 2440 if test "${CONFIG_HEADERS+set}" != set; then 2441 EOF 2442 cat >> $CONFIG_STATUS <<EOF 2443 CONFIG_HEADERS="config.h" 2444 EOF 2445 cat >> $CONFIG_STATUS <<\EOF 2446 fi 2255 2447 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then 2256 # Support "outfile[:infile ]", defaulting infile="outfile.in".2448 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 2257 2449 case "$ac_file" in 2258 *:*) ac_file_in=`echo "$ac_file"|sed 's% .*:%%'`2450 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` 2259 2451 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 2260 2452 *) ac_file_in="${ac_file}.in" ;; … … 2264 2456 2265 2457 rm -f conftest.frag conftest.in conftest.out 2266 cp $ac_given_srcdir/$ac_file_in conftest.in 2458 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` 2459 cat $ac_file_inputs > conftest.in 2267 2460 2268 2461 EOF … … 2292 2485 # Break up conftest.vals because some shells have a limit on 2293 2486 # the size of here documents, and old seds have small limits too. 2294 # Maximum number of lines to put in a single here document.2295 ac_max_here_lines=122296 2487 2297 2488 rm -f conftest.tail … … 2335 2526 fi; done 2336 2527 2337 2528 EOF 2529 cat >> $CONFIG_STATUS <<EOF 2530 2531 EOF 2532 cat >> $CONFIG_STATUS <<\EOF 2338 2533 2339 2534 exit 0 -
factory/gfops.cc
r0f6c82 re9be05 1 1 /* emacs edit mode for this file is -*- C++ -*- */ 2 /* $Id: gfops.cc,v 1. 3 1997-10-10 12:30:40 schmidtExp $ */2 /* $Id: gfops.cc,v 1.4 1998-06-03 11:47:56 Singular Exp $ */ 3 3 4 4 #include <config.h> … … 85 85 #ifndef SINGULAR 86 86 sprintf( buffer, GFTABLEDIR "/gftable.%d.%d", p, n ); 87 FILE * inputfile = fopen( buffer, "r" ); 87 88 #else 88 sprintf( buffer, GFTABLEDIR "/%d", q ); 89 sprintf( buffer, "gftables/%d", q ); 90 FILE * inputfile = feFopen( buffer, "r" ); 89 91 #endif 90 FILE * inputfile = fopen( buffer, "r" );91 92 STICKYASSERT( inputfile, "can not open GF(q) table" ); 92 93 -
factory/singext.h
r0f6c82 re9be05 1 1 /* emacs edit mode for this file is -*- C++ -*- */ 2 /* $Id: singext.h,v 1. 3 1997-06-19 12:21:57 schmidtExp $ */2 /* $Id: singext.h,v 1.4 1998-06-03 11:47:57 Singular Exp $ */ 3 3 4 4 #ifndef INCL_SINGEXT_H … … 17 17 extern int nfMinPoly[]; 18 18 extern short nfPlus1Table[]; 19 extern FILE * feFopen(char *path, char *mode, 20 char *where=0, int useWerror=0); 19 21 20 22
Note: See TracChangeset
for help on using the changeset viewer.