Changeset be1d41 in git for libfac/configure
- Timestamp:
- Aug 16, 2001, 3:13:25 PM (22 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- 22e3fe8c4a103f035dea126cdb127a25a03aebce
- Parents:
- 409dbae4d2b7922de2ec630a46a377606b2b6628
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfac/configure
r409dbae rbe1d41 16 16 ac_help="$ac_help 17 17 --with-Singular build for use with Singular" 18 ac_help="$ac_help 19 --with-Singularerror use error reporting from Singular" 20 ac_help="$ac_help 21 --with-NOSTREAMIO : do not require iostream include nor library" 18 22 19 23 # Initialize some variables set by options. … … 585 589 fi 586 590 591 # Check whether --with-Singularerror or --without-Singularerror was given. 592 if test "${with_Singularerror+set}" = set; then 593 withval="$with_Singularerror" 594 : 595 fi 596 597 598 if test "$with_Singularerror" = yes; then 599 cat >> confdefs.h <<\EOF 600 #define SINGULAR_ERROR 1 601 EOF 602 603 fi 604 605 # Check whether --with-NOSTREAMIO or --without-NOSTREAMIO was given. 606 if test "${with_NOSTREAMIO+set}" = set; then 607 withval="$with_NOSTREAMIO" 608 : 609 fi 610 611 612 if test "$with_NOSTREAMIO" = yes; then 613 cat >> confdefs.h <<\EOF 614 #define NOSTREAMIO 1 615 EOF 616 617 fi 618 587 619 if (test "x${prefix} != xNONE && test "${prefix} != "/usr/local") || \ 588 620 test "${ac_default_prefix}" != "/usr/local" || \ … … 624 656 set dummy $ac_prog; ac_word=$2 625 657 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 626 echo "configure:6 27: checking for $ac_word" >&5658 echo "configure:659: checking for $ac_word" >&5 627 659 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then 628 660 echo $ac_n "(cached) $ac_c" 1>&6 … … 656 688 657 689 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 658 echo "configure:6 59: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5690 echo "configure:691: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 659 691 660 692 ac_ext=C … … 667 699 cat > conftest.$ac_ext << EOF 668 700 669 #line 670"configure"701 #line 702 "configure" 670 702 #include "confdefs.h" 671 703 672 704 int main(){return(0);} 673 705 EOF 674 if { (eval echo configure: 675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then706 if { (eval echo configure:707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 675 707 ac_cv_prog_cxx_works=yes 676 708 # If we can't run a trivial program, we are probably using a cross compiler. … … 698 730 fi 699 731 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 700 echo "configure:7 01: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5732 echo "configure:733: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 701 733 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 702 734 cross_compiling=$ac_cv_prog_cxx_cross 703 735 704 736 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 705 echo "configure:7 06: checking whether we are using GNU C++" >&5737 echo "configure:738: checking whether we are using GNU C++" >&5 706 738 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then 707 739 echo $ac_n "(cached) $ac_c" 1>&6 … … 712 744 #endif 713 745 EOF 714 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:7 15: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then746 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 715 747 ac_cv_prog_gxx=yes 716 748 else … … 731 763 CXXFLAGS= 732 764 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 733 echo "configure:7 34: checking whether ${CXX-g++} accepts -g" >&5765 echo "configure:766: checking whether ${CXX-g++} accepts -g" >&5 734 766 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then 735 767 echo $ac_n "(cached) $ac_c" 1>&6 … … 763 795 764 796 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6 765 echo "configure:7 66: checking how to run the C++ preprocessor" >&5797 echo "configure:798: checking how to run the C++ preprocessor" >&5 766 798 if test -z "$CXXCPP"; then 767 799 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then … … 776 808 CXXCPP="${CXX-g++} -E" 777 809 cat > conftest.$ac_ext <<EOF 778 #line 779"configure"810 #line 811 "configure" 779 811 #include "confdefs.h" 780 812 #include <stdlib.h> 781 813 EOF 782 814 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 783 { (eval echo configure: 784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }815 { (eval echo configure:816: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 784 816 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 785 817 if test -z "$ac_err"; then … … 807 839 808 840 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 809 echo "configure:8 10: checking whether ${MAKE-make} sets \${MAKE}" >&5841 echo "configure:842: checking whether ${MAKE-make} sets \${MAKE}" >&5 810 842 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 811 843 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 836 868 set dummy ranlib; ac_word=$2 837 869 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 838 echo "configure:8 39: checking for $ac_word" >&5870 echo "configure:871: checking for $ac_word" >&5 839 871 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 840 872 echo $ac_n "(cached) $ac_c" 1>&6 … … 866 898 set dummy ar; ac_word=$2 867 899 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 868 echo "configure: 869: checking for $ac_word" >&5900 echo "configure:901: checking for $ac_word" >&5 869 901 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then 870 902 echo $ac_n "(cached) $ac_c" 1>&6 … … 899 931 ac_safe=`echo "factory.h" | sed 'y%./+-%__p_%'` 900 932 echo $ac_n "checking for factory.h""... $ac_c" 1>&6 901 echo "configure:9 02: checking for factory.h" >&5933 echo "configure:934: checking for factory.h" >&5 902 934 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 903 935 echo $ac_n "(cached) $ac_c" 1>&6 904 936 else 905 937 cat > conftest.$ac_ext <<EOF 906 #line 9 07"configure"938 #line 939 "configure" 907 939 #include "confdefs.h" 908 940 #include <factory.h> 909 941 EOF 910 942 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 911 { (eval echo configure:9 12: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }943 { (eval echo configure:944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 912 944 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 913 945 if test -z "$ac_err"; then … … 935 967 936 968 echo $ac_n "checking for working const""... $ac_c" 1>&6 937 echo "configure:9 38: checking for working const" >&5969 echo "configure:970: checking for working const" >&5 938 970 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 939 971 echo $ac_n "(cached) $ac_c" 1>&6 940 972 else 941 973 cat > conftest.$ac_ext <<EOF 942 #line 9 43"configure"974 #line 975 "configure" 943 975 #include "confdefs.h" 944 976 … … 989 1021 ; return 0; } 990 1022 EOF 991 if { (eval echo configure: 992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1023 if { (eval echo configure:1024: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 992 1024 rm -rf conftest* 993 1025 ac_cv_c_const=yes … … 1010 1042 1011 1043 echo $ac_n "checking for inline""... $ac_c" 1>&6 1012 echo "configure:10 13: checking for inline" >&51044 echo "configure:1045: checking for inline" >&5 1013 1045 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 1014 1046 echo $ac_n "(cached) $ac_c" 1>&6 … … 1017 1049 for ac_kw in inline __inline__ __inline; do 1018 1050 cat > conftest.$ac_ext <<EOF 1019 #line 10 20"configure"1051 #line 1052 "configure" 1020 1052 #include "confdefs.h" 1021 1053 … … 1024 1056 ; return 0; } 1025 1057 EOF 1026 if { (eval echo configure:10 27: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1058 if { (eval echo configure:1059: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1027 1059 rm -rf conftest* 1028 1060 ac_cv_c_inline=$ac_kw; break … … 1068 1100 1069 1101 echo $ac_n "checking whether gcc accepts --no-rtti""... $ac_c" 1>&6 1070 echo "configure:1 071: checking whether gcc accepts --no-rtti" >&51102 echo "configure:1103: checking whether gcc accepts --no-rtti" >&5 1071 1103 tmp_flags=${CXXFLAGS} 1072 1104 CXXFLAGS="${CXXFLAGS} --no-rtti" … … 1075 1107 else 1076 1108 cat > conftest.$ac_ext <<EOF 1077 #line 1 078"configure"1109 #line 1110 "configure" 1078 1110 #include "confdefs.h" 1079 1111 … … 1082 1114 ; return 0; } 1083 1115 EOF 1084 if { (eval echo configure:1 085: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1116 if { (eval echo configure:1117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1085 1117 rm -rf conftest* 1086 1118 ac_cv_cxx_have_rtti=yes … … 1102 1134 1103 1135 echo $ac_n "checking whether gcc accepts --no-exceptions""... $ac_c" 1>&6 1104 echo "configure:11 05: checking whether gcc accepts --no-exceptions" >&51136 echo "configure:1137: checking whether gcc accepts --no-exceptions" >&5 1105 1137 tmp_flags=${CXXFLAGS} 1106 1138 CXXFLAGS="${CXXFLAGS} --no-exceptions" … … 1109 1141 else 1110 1142 cat > conftest.$ac_ext <<EOF 1111 #line 11 12"configure"1143 #line 1144 "configure" 1112 1144 #include "confdefs.h" 1113 1145 … … 1116 1148 ; return 0; } 1117 1149 EOF 1118 if { (eval echo configure:11 19: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1150 if { (eval echo configure:1151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1119 1151 rm -rf conftest* 1120 1152 ac_cv_cxx_have_exceptions=yes
Note: See TracChangeset
for help on using the changeset viewer.